[INFO] crate bitrush-index 0.1.1 is already in cache [INFO] checking bitrush-index-0.1.1 against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] extracting crate bitrush-index 0.1.1 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate bitrush-index 0.1.1 on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate bitrush-index 0.1.1 [INFO] finished tweaking crates.io crate bitrush-index 0.1.1 [INFO] tweaked toml for crates.io crate bitrush-index 0.1.1 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate crates.io crate bitrush-index 0.1.1 already has a lockfile, it will not be regenerated [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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] [stdout] 4faf689d5fe61189449fc36ca1cea2901ada5b156557c9942150e4d9aa0e5c2d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "4faf689d5fe61189449fc36ca1cea2901ada5b156557c9942150e4d9aa0e5c2d"` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking bitrush-index v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: unnecessary parentheses around const expression [INFO] [stderr] --> src/bitmap_index/mod.rs:75:10 [INFO] [stderr] | [INFO] [stderr] 75 | M1 = (1 << 20), [INFO] [stderr] | ^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around const expression [INFO] [stderr] --> src/bitmap_index/mod.rs:76:10 [INFO] [stderr] | [INFO] [stderr] 76 | M2 = (1 << 21), [INFO] [stderr] | ^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around const expression [INFO] [stderr] --> src/bitmap_index/mod.rs:77:10 [INFO] [stderr] | [INFO] [stderr] 77 | M4 = (1 << 22), [INFO] [stderr] | ^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around const expression [INFO] [stderr] --> src/bitmap_index/mod.rs:78:10 [INFO] [stderr] | [INFO] [stderr] 78 | M8 = (1 << 23), [INFO] [stderr] | ^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around const expression [INFO] [stderr] --> src/bitmap_index/mod.rs:79:11 [INFO] [stderr] | [INFO] [stderr] 79 | M16 = (1 << 24), [INFO] [stderr] | ^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around const expression [INFO] [stderr] --> src/bitmap_index/mod.rs:80:11 [INFO] [stderr] | [INFO] [stderr] 80 | M32 = (1 << 25), [INFO] [stderr] | ^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/ozbcbitmap/mod.rs:38:38 [INFO] [stderr] | [INFO] [stderr] 38 | const OZBC_MAX_128_BYTES_ZERO: u16 = ((1 << 15) - 1); [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/ozbcbitmap/mod.rs:39:34 [INFO] [stderr] | [INFO] [stderr] 39 | const OZBC_MAX_BYTES_ZERO: u32 = ((OZBC_MAX_128_BYTES_ZERO as u32) << 7); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: 8 warnings emitted [INFO] [stderr] [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] error[E0606]: casting `f64` as `u64` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.7.2/src/distributions/bernoulli.rs:88:31 [INFO] [stderr] | [INFO] [stderr] 88 | Ok(Bernoulli { p_int: (p * SCALE) as u64 }) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `u64` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.7.2/src/distributions/bernoulli.rs:105:21 [INFO] [stderr] | [INFO] [stderr] 105 | let p_int = ((f64::from(numerator) / f64::from(denominator)) * SCALE) as u64; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `u64` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.7.2/src/distributions/poisson.rs:87:30 [INFO] [stderr] | [INFO] [stderr] 87 | int_result = result as u64; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i64` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.7.2/src/distributions/binomial.rs:46:5 [INFO] [stderr] | [INFO] [stderr] 46 | x as i64 [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0606`. [INFO] [stderr] error: could not compile `rand`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "4faf689d5fe61189449fc36ca1cea2901ada5b156557c9942150e4d9aa0e5c2d"` [INFO] running `"docker" "rm" "-f" "4faf689d5fe61189449fc36ca1cea2901ada5b156557c9942150e4d9aa0e5c2d"` [INFO] [stdout] 4faf689d5fe61189449fc36ca1cea2901ada5b156557c9942150e4d9aa0e5c2d