Rio de Janeiro has become the first city to reach full compliance with the Compact of Mayors, a global coalition of city leaders dedicated to making their cities more resilient to climate change.