If every USAmerican government official became Lenin, i would absolutely want them to abolish the policies of solitary confinement, V-coding, children being kept in dog cages, slave labor, mandatory minimum sentencing, the criminalization of drugs, and civil asset forfeiture.
I agree. But this is talking about reforming the carceral system, not abolishing it.
In what world do police take care of any crimes? ...Conflating the fact that a state would need some organized body to keep public order with the reality of USAmerican policing is one of the widest reaching motte-and-baileys i have seen in my life.
I'm not saying the police are great at their jobs, or that they solve the vast majority of crimes. And I realize you're not exactly saying the police do zero crime-solving, but you're coming pretty close.
The reality is that there are real crimes committed -- you give the example of robbery -- and police do find and arrest the right person in many of those cases. You can find a local courtroom in your area and see this for yourself. It's as real as the fact that schools, despite their many flaws, do actually teach a lot of people to read.
A revolutionary state, presumably interested in justice and rehabilitation
Think of the worst crimes you can imagine. Rehabilitation might be part of what justice looks like when society catches the guilty party, but it's not always the only goal. And you still need somewhere to put people who will not voluntarily cooperate with even the most humane and revolutionary justice system -- i.e., a prison. It can be the last resort, but if it's not there at all the worst people will just ignore your system and it will cease to function.