Published when working conditions for industrial laborers were terrible and the economy was tough all across Europe , it analyzes capitalism and warns that the free-market system is destined to crash .