Canada’s main stock index drove further into record territory on Thursday, helped by gains in the basic materials sector, while U.S. markets were mixed.