Two people died after a 50-metre section of a bike path built as part of Olympic infrastructure improvements in Rio collapsed. Credit:Bloomberg Nine months after the Games, violent crime is surging, the bay is as polluted as ever, and the arenas are padlocked and deteriorating. New transport networks are poorly integrated and under-used, and favelas remain neglected by the state, lacking the most basic modern conveniences. At best, the Olympics represent a criminal waste of a prosperous decade. The gulf between promises made and change delivered is galling. "What was the true legacy? Lots of money for developers and construction companies, and for their colonels, the politicians," says Roberto Marinho, a community leader in Morro da Providencia, Rio's oldest favela. "Where are the basic services in this city? Security is in chaos, the idea of social development has been abandoned … The only legacy is the millions that were pocketed." Last month a federal prosecutor delivered a scathing report on the event's aftermath. "There was no planning," Leandro Mitidieri told the public hearing on the Olympics. "[The venues] are white elephants today". Strolling down Olympic Boulevard in Rio's renovated port zone, at the foot of Providencia Hill, the city does appear transformed. Light rail trains with 'Hello Future' written on the doors glide past. Santiago Calatrava's​ stunning Museum of Tomorrow juts out into the bay, the skeleton of an impossibly elegant dinosaur with rippling ribs of solar panels along its flanks.

Back view of the new Museu do Amanha (Museum of Tomorrow) facing Guanabara Bay in Rio. Credit:Getty Images But stray off the avenue, into the streets of Saude, and the colourful facade painted by graffiti artist Kobra is revealed to be just that. The road has been torn up to lay light rail tracks, but the trains are a year late and may never arrive. On the hill, the cable car inaugurated in July 2014 is out of order more often than not. Police incursions and shoot-outs are routine. Last month, photographs posted on social media showed residents taking shelter from a gun battle in a local pharmacy. "If they hadn't made so many promises about how people living in the area would benefit, I would say that the port renovation was positive, up to a point," Marinho says. "It's always the same story: 'they can't do it today, but tomorrow they'll find some more investment'. The problem now is there's no money." Inside the Olympic Aquatics stadium, designed to be dismantled and the materials reused in new facilities. Credit:Getty Images Brazil's economy was in recession for three years until last week. The state of Rio de Janeiro declared itself insolvent seven weeks before the Games and is running a 19.5 billion-real annual deficit. Teachers, hospital staff and civil police officers have been paid irregularly, if at all, for months. Collapsing oil revenues are partly to blame, and corporate tax breaks doled out by former state governor Sergio Cabral, but the mismanagement of public funds is staggering. Prosecutors allege Cabral hid 340 million reais in offshore accounts.

Operation Car Wash, which began as an investigation into money-laundering at a petrol station in the nation's capital Brasilia, has developed into the biggest corruption scandal in Brazil's history. In April, the depositions of executives at giant construction firm Odebrecht, which held several Olympic contracts, were made public, along with a list of politicians implicated, including Brazilian President Michel Temer's chief of staff, eight ministers, 24 senators, three governors, two mayors and a federal judge. The translucent tapestries created by Brazilian artist Adriana Varejao fall from the exterior of the aquatic stadium in February. Credit:AP Hilberto Mascarenhas, who ran the Structured Operations group at Odebrecht – known as the "department of bribes" – said the company handed out 10 billion reais in kickbacks from 2006 to 2014: enough to build 5214 creches or buy 83,944 ambulances, according to transparency watchdog Contas Abertas. Another Odebrecht executive, Benedicto Junior, alleged that Eduardo Cunha, a former parliamentary speaker, received a 9.7 million-real sweetener for approving Rio's port restoration. Two weeks ago, a tape of Temer appearing to sanction the payment of hush money to Cunha prompted a Supreme Court green light for the president to be investigated and unleashed a new wave of protests and calls for his impeachment. Seats piled up inside the Maracana stadium, which was renovated for the World Cup and the Olympics and is currently padlocked over disputes with the rights company embroiled in a corruption scandal. Credit:AP

Cunha is serving a 15-year prison sentence on corruption charges, Cabral is in prison awaiting trial and Paes is under investigation, accused of accepting 15 million reais for "facilitating contracts related to the Olympic Games" – an allegation he rejects as "absurd and untrue". Odebrecht's bribery team assigned nicknames: Barbie, Fatso, Viagra. Paes was allegedly known as Nervosinho – the Little Nervous One – Cabral as Proximus. At Odebrecht, federal police found a spreadsheet showing five payments of 500,000 reais to Proximus related to the construction of Line 4 of the Rio metro, linking the south zone to Barra de Tijuca, home of the Olympic Park. Mario Andrada: the public relations gold medallist of the Olympics. Credit:Getty Images Benedicto Junior testified that the contract to rebuild Rio's iconic Maracana stadium was secured with a 6.3 million-real bribe to Cabral. Odebrecht, AEG and IMX, owned by one of Brazil's most famous businessman, Eike Batista (currently under house arrest) then won the right to administer the stadium, only to let it fall into disrepair and on-sell the concession. "How is it possible that a company admits paying bribes, but continues running the stadium and is allowed to sell the rights? Only in Brazil," says reporter Leslie Leitao, who has covered Rio's Olympic development for Veja magazine.

Booed at the opening and closing ceremonies and now under investigation for corruption: Brazilian President Michel Temer. Credit:Joe Armao If spinning was an Olympic event, Mario Andrada would hold multiple gold medals for the apologetic press conference, the impassioned defence, the charming deflection and the handy statistic. The director of communications for Rio 2016 was a popular figure at the Games, tasked, among other things, with explaining why the diving pool had turned green. Andrada says there are "three pillars" of an Olympic legacy: a generation of inspired young athletes and the facilities they need to succeed, a city with better transport and twice as many hotel rooms, and a lasting feeling of "self-confidence and empowerment". A rubbish bin and ripped seats at one of the dugouts in Rio's world-famous Maracana stadium. Credit:AP Brazil is in the throes of a crisis "and yet, Brazilians felt so good during the Games. They hosted the world with such pride. This has value. As soon as they remember the Games they feel happy about it," he says.

Leitao's assessment is very different: "The sporting legacy is zero. Rio de Janeiro has just hosted the Olympics and doesn't have a running track." In December, the final of the state basketball championship was postponed because there wasn't an arena capable of housing both sets of supporters safely. Cables from a stolen TV hang inside the Maracana, which was renovated for the 2014 World Cup at a cost of about $500 million, and largely abandoned after the Olympics and Paralympics, before being hit by vandals. Credit:AP As there were no bidders at the auction to manage the Olympic facilities, the Ministry of Sport and the City Council have been obliged to take over. The velodrome, a 143-million-real white elephant in a country with few competitive cyclists, is home to a federal task force: the Government Agency for the Olympic Legacy. The airconditioning runs constantly to prevent the Siberian cedar track from warping, but there has not been a race there since the Paralympics. Children were invited to play table tennis and badminton at Arena Three earlier this month, but the original plan, to turn it into a public school, has stalled. Likewise the Arena of the Future, which hosted handball games. The 178-million-real contract awarded to Dimensional Engenharia was to build, dismantle and transform the structure into four schools, but in December 2015, the Paes administration agreed to pay the company 140 million reais and released it from phase two and three of its obligations. "Now nobody is responsible," says Leitao. "So nobody has done anything."

The canoe course at Parque Deodoro was supposed to become a public swimming pool, but was built with no bathrooms, and was closed all summer. Viral images of the Maracana show broken windows, piles of ripped-out seats and a threadbare pitch barely fit for Sunday League games. Andrada pleads for patience: "By August, we're going to have the Olympic Park in Barra and Deodoro fully operational." Speeding through a tunnel under Latin America's biggest favela, Rocinha, Andrada's second claim, of a city transformed, briefly seems credible. The extension to Rio's metro system is as slick as one might expect for 10.4 billion reais. But it is often empty. The advertising slogan plastered in stations - 'If you try it, you'll like it' - hints at its biggest problem: far too few people are using the new line - around a third of the 300,000 daily riders predicted by feasibility studies. The five new stations serve the city's richest neighbourhoods. Longer journeys from the west zone require a Rapid Transit Bus, and although these too are clean, safe and efficient, the networks are poorly integrated, with separate fare cards. The combined cost is more than most Cariocas – residents of Rio – can afford. "Meanwhile, you have people who live in the outskirts of Rio de Janeiro who spend four or five hours stuck in traffic on buses every day," says Hugo Costa, an urban planning expert from the poor north zone. "They built it in the wrong place, and that's true of all the infrastructure. The government could have used that money to resolve so many of the city's problems."

In his neighbourhood, Ramos, few people use the new Rapid Transit Buses, preferring the train or the Governor's Island ferry. The light rail network, the Veiculo Leve sobre Trilhos, is known dismissively as the "Veiculo Lento para Turistas" – the slow train for tourists. Costa claims that along the Avenue Rio Branco artery, it is faster to walk. In neighbouring Alemao favela, the chief legacy of the pre-Olympic boom is a 253 million-real cable car, also the subject of a fraud investigation. It has been out of service for eight months and may never restart, because the state cannot afford the 2.7 million reais monthly operating costs. The main cable station is being used as a police station. "Every other day we're hearing about innocent kids getting shot by police, and this is in a sense a legacy, because of the amount of money that was invested in arming the police in the lead-up to the Olympics," says Theresa Williamson of pressure group Rio On Watch. Rio's police killed at least 182 people in the first two months of this year. Faced with record numbers of assaults and robberies, a stalled economy and seemingly intractable urban dysfunction, few Cariocas currently share Andrada's feelings of pride in their city, but others say attitudes have shifted as a result of the Olympics. "The positive legacies aren't any of the ones that were stated or intended … but civil society is more networked, more aware. People in favelas are angry," says Williamson. "I think the poor started to change the way they view themselves," says Julia Michaels, an American journalist who has lived in Rio for 35 years. "They were empowered by this boom that included the Olympics. They are not as easily pushed off [to] the side as they were before, and it's going to be interesting to see how that plays out."

The sight of men as powerful as Cabral and Eike Batista being led away in handcuffs is almost unprecedented in a country where the rich, and politicians in particular, enjoy extraordinary impunity. "What I'm surprised about is that the investigations are happening freely. This is fantastic," says Williamson. "The corruption itself, it's just like 'finally'. We knew it was there." An item on current affairs show Fantastico showing the luxurious lifestyles Odebrecht executives enjoy under house arrest was a reminder of how deeply privilege is entrenched. Supporters of the Workers' Party worry that the main aim of Operation Car Wash is to jail former president Luis Inacio Lula da Silva, who is also accused of taking Odebrecht's money, to prevent him standing for re-election next year, and that once this is achieved the investigation will fizzle out. But now it also haunts Temer. Temer has refused to resign and is fighting for survival. His approval rating, already low since pushing through an unpopular austerity measure freezing public spending, is now in single digits. An ongoing attempt to reform the pension system by raising the retirement age for public workers has been met with a wave of demonstrations, including a one-day national strike. Loading Late last month, tens of thousands of people took to the streets in Brasilia to demand Temer's removal. Government buildings were invaded and vandalised, and troops were deployed to restore order following pitched battles between protesters and military police. Brazil is on the brink – of what, no one quite knows.

"We've just hosted the Olympics and the government doesn't have money for our retirement? There's something wrong with this picture," says Costa. "You can't play the politics of bread and circuses, and take away the circus, then say 'well, there's no bread'. Because this is what happened with the Olympics."