President-elect Donald Trump will face a “big mess” once his term as president starts in the aftermath of a spending bill passed to avoid a government shutdown.