Put something tasty in an empty 30 gallon trash can, with a ramp like board too the top. They will jump in for feed corn or whatever you use, but can not get out.
Works in my barn.