The French Cup semifinals will contain a team from the country’s fourth tier after Cannes produced another shock by beating second-tier Guingamp 3-1.