Water and sewer infrastructure provider Core & Main exceeded third-quarter forecasts and raised its outlook as it benefited from acquisitions.