they can be very determined when there is food around.
One way to protect your crickets is by setting somewhat of a fortress. Get a pan filled with water. Put some heavy object in the middle of the pan and put the cricket container on top of that object. So, the crix will be safe contained in the middle of the body of water. No ants will be able to cross it.