The US Treasury market has erased all its gains for the year as the war-driven surge in oil prices sets investors panicking about both inflation and growth risks.