Rather than go over these claims point by point, I'd direct your attention to the case of Katherine Gun in the UK (admittedly a different legal system).
https://www.theguardian.com/film/2019/sep/22/katharine-gun-w...
Gun was a GCHQ agent (a UK citizen that agreed to the restrictions that come with being a government intelligence analyst) that leaked evidence of the US plan to rig the UN vote around the Iraq War. She got off because the crown declined to prosecute because her defense strategy was one of necessity, showing that the government knew what they were doing was illegal and that it would imminently result in the deaths of innocents.
"Some of the information that would have been revealed at her trial, in particular Lord Goldsmith’s “conflicting arguments” as to the legality of the invasion, did not fully emerge until the publication of the report of the Chilcot inquiry in 2016. In its absence, Tony Blair won another election in 2005. Gun is grimly amused to see his current return to the moral high ground over Brexit."
In Mr. Assange's case, he is neither a US citizen nor a sworn intelligence analyst. He did in fact reveal crimes that horrified the world. They are trying to get him for running some code on a computer to see what the criminals were saying. Those people were knocking over countries and killing innocent people (something that he was able to show live in the helicopter gunship video).
The US standard for this case compared to Kat Gun is mind blowingly authoritarian and criminalizes effective dissent.