Canada put up a valiant effort but ran out of steam in the end as Morocco piled on the goals in the second half to end Canada's World Cup.