Spain recorded a historic sixth shutout of the World Cup, as France failed to score for the first time, falling 2-0 in the semifinal.