Rabbits usually fail to raid carrot crops
There are multiple problems inside net.minecraft.world.entity.animal.Rabbit$RaidGardenGoal and related code:
1. Rabbits can't reach the crops and always stop one block short of them.
2. Rabbits eat the crop instantly even while still jumping and being in the air.
3. The goal is immediately aborted (usually after a few ticks - when a target crop block was selected) due to problems inside canContinueToUse and isValidTarget
Further helpful links:
Related: MC-150224