I ran into a similar issue again but I couldn't actually reproduce it:
[https://pastebin.com/qJsKMZbv](https://pastebin.com/qJsKMZbv) I have a module
similar to the example above and my code runs fine until something like line42
- the key gets printed properly for me but if I do anything with the key(using
it with &, calling shallowCopy) it gets moved and disappears from the HashSet
and from the key variable. I ran valgrind on it - no leak, no memory errors.
The example program runs fine but for some reason, the values I extract from
the HashSet with items() get moved. What can I do now?