Click on any factory building on the farm:

In the information above, the left number 74 indicates the number of available workers on the farm, while the right number 6 represents the number of workers required to operate the bakery.

If the left number is smaller than the right number, the factory won't be able to operate. In this case, you need to add more workers.