Pep Guardiola bid farewell after 10 years at Manchester City as Michael Carrick took charge across the city at Old Trafford.