Libertarians took over a town in NH and abolished town wide garbage collection. The free market produced a bunch of trash in people's yards, which attracted bears, causing havoc all around town. True story.
That's not to say you can't solve a lot of problems with markets. It just means waving your hands at "the free market" like it's a magic talisman is a childish thing to do.