Sorry, this was an issue with 1.14.60, made worse in 1.16 with the inclusion of an additional Featured Server.
I have this same problem.
Windows 10, MC 1.14.30
If it helps people, if you put enough compostable materials into the compost bin, it will raise the bottom of the bin so the villager can walk or get pushed out of the bin.
My friend on the realm just had the same thing happen to her, so it's not just something on my computer.