Not really a corrosion guy myself but looks like external corrosion of the pipe likely caused a significant reduction in the wall thickness of the pipe in that area. There?s a reason certain industries employ pipe coatings and cathodic protection. Delivery of clean water under low pressure isn?t likely to kill anyone or ruin the environment so I guess just burying metal pipe straight in the ground is perfectly fine.