Latrines. It has ALWAYS, since ancient Egypt, been a popular punishment to have criminals dig latrines during their incarcerations. They were usually public, and after the latrine was full, they would benefit from the fact that human waste contains nutrients by topping it off with soil, and, come spring, use the nutrients to grow food.

Gross? Yes. True? yes.
Likely the solution? Yes.