[INFO] fetching crate bloom 0.3.2... [INFO] checking bloom-0.3.2 against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] extracting crate bloom 0.3.2 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate bloom 0.3.2 on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate bloom 0.3.2 [INFO] finished tweaking crates.io crate bloom 0.3.2 [INFO] tweaked toml for crates.io crate bloom 0.3.2 written to /workspace/builds/worker-0/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-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] a023149926a1efcd3b9ee35e19ddc6b2779cb83948e42918e78faef0e2c9c86c [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" "a023149926a1efcd3b9ee35e19ddc6b2779cb83948e42918e78faef0e2c9c86c"` [INFO] [stderr] Checking bit-vec v0.4.4 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking bloom v0.3.2 (/opt/rustwide/workdir) [INFO] [stderr] error[E0606]: casting `f32` as `u32` is invalid [INFO] [stderr] --> src/bloom.rs:218:13 [INFO] [stderr] | [INFO] [stderr] 218 | (num_bits as f32 / num_items as f32 * core::f32::consts::LN_2).round() as u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `usize` is invalid [INFO] [stderr] --> src/bloom.rs:229:5 [INFO] [stderr] | [INFO] [stderr] 229 | (num_items as f32 * ((1.0/false_pos_rate).ln() / ln22)).round() as usize [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0606`. [INFO] [stderr] error: could not compile `bloom`. [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 `f32` as `u32` is invalid [INFO] [stderr] --> src/bloom.rs:218:13 [INFO] [stderr] | [INFO] [stderr] 218 | (num_bits as f32 / num_items as f32 * core::f32::consts::LN_2).round() as u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `usize` is invalid [INFO] [stderr] --> src/bloom.rs:229:5 [INFO] [stderr] | [INFO] [stderr] 229 | (num_items as f32 * ((1.0/false_pos_rate).ln() / ln22)).round() as usize [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0606`. [INFO] [stderr] error: could not compile `bloom`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "a023149926a1efcd3b9ee35e19ddc6b2779cb83948e42918e78faef0e2c9c86c"` [INFO] running `"docker" "rm" "-f" "a023149926a1efcd3b9ee35e19ddc6b2779cb83948e42918e78faef0e2c9c86c"` [INFO] [stdout] a023149926a1efcd3b9ee35e19ddc6b2779cb83948e42918e78faef0e2c9c86c