Circa 1990, composting of waste was supposed to be the "solution". Some smaller cities set up municipal solid waste composting operations. They were failing as fast as new ones opened, I would guess none exist today (they do compost yard waste, a very good change). Problem 1 was malodor and Problem 2 was cost. When things degrade without oxygen, they stink. If you've ever left a pile of grass clippings around for any period of time you know what I mean.
And of course MSW contains batteries, heavy metals, and all sorts of "garbage". That leads to "leachate", the liquid goo that gets generated. That leachate often is contaminated and toxic and has to be ... collected and managed. We had a pretty large drum composter where I worked for experiments. The materials added were tightly controlled, no batteries etc. and it worked, it took a lot of energy to turn it, I'd guess it was 10 feet diameter and 25 feet long. They used as ingredients shredded paper, dog food, ground glass, and some mulch, and we'd add a few percent of our material to test what happened to it.
This is great for yard waste IF you can turn and aerate the material fairly often. Not so for MSW, nor is burning it a good idea, that releases stuff into the air we don't want in the air.
This is where I got into trouble. I started reading up on composting facilities and noted how many closed and how few were being started and published a report on that (internally). I didn't think anyone would read it, but apparently it got kicked up to high levels. I got some very angry emails that copied my boss and his boss and his boss. My boss' boss caught me at lunch and said "Whatever you do, DO NOT RESPOND to any emails on this, let me deal with it." He later told me I had initiated a fire storm that could only happen because my facts were correct, but it went against a very public program we had going on and some VP types had staked their careers on this.
It took about another two years before all the programs we had in R&D were shit down, mine was last to go. I got transferred to a place I did not want to go after being asked 3 times if I wanted to go there. I was also on the edge of a nice promotion which was delayed 7 years as a result.
Don't be a round peg if they have square holes.