TORONTO — Canada's main stock index rose on Wednesday amid gains in resource stocks, while U.S. markets lost ground. “Markets both in Canada and the U.S.