U.S. crude oil inventories rose last week as imports grew, and stocks of gasoline and distillate fuels increased with refineries raising their capacity use.