Okay, the discharge is flowing into the pipe, and swimmer could become entrapped in the flow, submerged, etc. Got ya.
1. Put up a fence around the pond with "no swimming" signs.
2. String a safety rope upstream of the inlet (such that if someone falls in by accident, they have a last chance to grab onto something and pull themselves to safety.
A local irrigation channel is about 12 ft. deep, with water flowing up to 10 mi/hr (guesstimating here). The channel enters several siphon tubes along its ~30 mile run, enabling the flow to traverse deep valleys. The only thing preventing somebody from drowning in a siphon are the items listed above. I think some of the siphon inlets located near a state park also have an alarm switch rigged to the safety rope, to let somebody know when something big has snagged the rope.
Floating, moored buoys with a rope attached could work too, perhaps even with danger/warning signs painted/affixed on the part of the buoy above water.
A safety cage can work, but how do you keep a submerged swimmer from getting "pinned" on it (I'd argue that it's not my problem if 1 and 2 are there too, it's the swimmers own damn fault). Also, it will act as a strainer, and need to be periodically cleaned of leaves/branches/beer cans etc. etc.