[INFO] crate srand 0.4.0 is already in cache [INFO] testing srand-0.4.0 against try#41997647ba6a77908f6ef64401414feb00bccf16 for pr-71274 [INFO] extracting crate srand 0.4.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate srand 0.4.0 on toolchain 41997647ba6a77908f6ef64401414feb00bccf16 [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate srand 0.4.0 [INFO] finished tweaking crates.io crate srand 0.4.0 [INFO] tweaked toml for crates.io crate srand 0.4.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+41997647ba6a77908f6ef64401414feb00bccf16" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2177c8f33831f886e9fb957bfa464336213aed3b9d6a1ecfc44a4b54900e3a11 [INFO] running `"docker" "start" "-a" "2177c8f33831f886e9fb957bfa464336213aed3b9d6a1ecfc44a4b54900e3a11"` [INFO] [stderr] Compiling srand v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] error: this arithmetic operation will overflow [INFO] [stderr] --> src/rand.rs:217:48 [INFO] [stderr] | [INFO] [stderr] 217 | let f: f64 = self.int64() as f64 / (1 << 63) as f64; [INFO] [stderr] | ^^^^^^^^^ attempt to shift left with overflow [INFO] [stderr] | [INFO] [stderr] = note: `#[deny(arithmetic_overflow)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: could not compile `srand`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "2177c8f33831f886e9fb957bfa464336213aed3b9d6a1ecfc44a4b54900e3a11"` [INFO] running `"docker" "rm" "-f" "2177c8f33831f886e9fb957bfa464336213aed3b9d6a1ecfc44a4b54900e3a11"` [INFO] [stdout] 2177c8f33831f886e9fb957bfa464336213aed3b9d6a1ecfc44a4b54900e3a11