I am playing on a 1.15.2 Vanilla Minecraft server that I started in order to play with my friends. I have created a villager enclosure, but the 5 villagers that I have won't breed to fill my 8 beds. I also have plenty of workstations, and I have given them plenty of carrots (Like a stack each). If anyone has any ideas, please let me know. Thanks!
You could try feeding them other foods that they will eat.
According to the Minecraft Wiki, you can feed them Bread, Carrots, Potatoes, and Beetroots. Bread gives 3 food points while Carrots, Potatoes and Beetroots give 1 food point. Your best bet would be to feed them bread.
Any mix of the items mentioned can be used as long as they total at least 12 points.