What kind of market failures are you talking about?
Robust futures markets are perfectly capable of protecting producers and consumers from price fluctuations (and help stabilize prices as they do so). Similarly for long term contracts between consumers and suppliers.