Trying to figure out why a test was *occasionally* failing, turns out the culprit is HashMap.
Turns out, the ordering of a HashMap in Rust is not just undefined in terms of the elements - it is different from one run of the program to the next.
I don't like non-determinism.