Earlier on Tuesday, a stunning Thiago Almada strike helped Argentina to a 2-0 victory over Ukraine in Group B.
Almada charged through the Ukraine defence before curling home from about 25 yards out, before Claudio Echeverri scored a late tap-in.
But Morocco topped Group B following a 3-0 win against Iraq as they finished level on points and goal difference with Argentina but beat the South American side in their opening game.
The USA progressed alongside France from Group A on goal difference after beating Guinea 3-0, with the final-day results seeing them finish above New Zealand.
Elsewhere, Spain suffered a shock 2-1 defeat against Egypt and finished as runners-up in Group C, with their opponents leapfrogging them to go top.
It took Spain until the final minute of normal time to pull a goal back, with Samu Omorodion’s reply coming after two Ibrahim Adel goals.
Moa Hosoya scored an injury-time goal as Japan beat Israel 1-0 to top Group D with a perfect record.
Paraguay progressed as Group D’s runners-up after their 1-0 win against Mali, ending the group stage three points behind Japan.
The Dominican Republic and Uzbekistan, who both failed to progress, drew 1-1.