[INFO] crate nzsc_single_player 0.5.1 is already in cache [INFO] checking nzsc_single_player-0.5.1 against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] extracting crate nzsc_single_player 0.5.1 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate nzsc_single_player 0.5.1 on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate nzsc_single_player 0.5.1 [INFO] finished tweaking crates.io crate nzsc_single_player 0.5.1 [INFO] tweaked toml for crates.io crate nzsc_single_player 0.5.1 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] bc7d34f45f121399f8261de2a042175081de5287c89254fafcec92119dc187ec [INFO] running `"docker" "start" "-a" "bc7d34f45f121399f8261de2a042175081de5287c89254fafcec92119dc187ec"` [INFO] [stderr] Checking nzsc_single_player v0.5.1 (/opt/rustwide/workdir) [INFO] [stderr] error[E0606]: casting `f64` as `usize` is invalid [INFO] [stderr] --> src/single_player_game.rs:57:9 [INFO] [stderr] | [INFO] [stderr] 57 | (self.prfg.next() * (inclusive_max + 1.0)).floor() as usize [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0606`. [INFO] [stderr] error: could not compile `nzsc_single_player`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0606]: casting `f64` as `usize` is invalid [INFO] [stderr] --> src/single_player_game.rs:57:9 [INFO] [stderr] | [INFO] [stderr] 57 | (self.prfg.next() * (inclusive_max + 1.0)).floor() as usize [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0606`. [INFO] [stderr] error: could not compile `nzsc_single_player`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "bc7d34f45f121399f8261de2a042175081de5287c89254fafcec92119dc187ec"` [INFO] running `"docker" "rm" "-f" "bc7d34f45f121399f8261de2a042175081de5287c89254fafcec92119dc187ec"` [INFO] [stdout] bc7d34f45f121399f8261de2a042175081de5287c89254fafcec92119dc187ec