After a long debugging session, I've noticed that `cargo test --release` fails with a segfault on the current nightly. This might as well be a regression of the compiler, I'm not yet sure.