I created a carrot farm/villager breeder, but the villagers won't sleep. I have a theory that they will only sleep in their original beds, but I burned the entire village down. They did get transferred to a new biome (Savannah to Plains) I don't know if that has anything to do with it.
Are the villagers from pre 1.14? I've seen issues with some villagers from before the update not behaving as the new 1.14 villagers usually do. They shouldn't have a problem switching beds. Villagers in a village don't always sleep in the same bed when left alone.