[INFO] crate pretty-bytes 0.2.2 is already in cache [INFO] checking pretty-bytes-0.2.2 against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] extracting crate pretty-bytes 0.2.2 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate pretty-bytes 0.2.2 on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate pretty-bytes 0.2.2 [INFO] finished tweaking crates.io crate pretty-bytes 0.2.2 [INFO] tweaked toml for crates.io crate pretty-bytes 0.2.2 written to /workspace/builds/worker-2/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-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" "+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] e83f56482bb58b8129da3c3282adbf9c007a4392c2f030d64ee00e1eb8c406d9 [INFO] running `"docker" "start" "-a" "e83f56482bb58b8129da3c3282adbf9c007a4392c2f030d64ee00e1eb8c406d9"` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking pretty-bytes v0.2.2 (/opt/rustwide/workdir) [INFO] [stderr] error[E0606]: casting `f64` as `i32` is invalid [INFO] [stderr] --> src/converter.rs:11:27 [INFO] [stderr] | [INFO] [stderr] 11 | let exponent = cmp::min((num.ln() / delimiter.ln()).floor() as i32, (units.len() - 1) as i32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i32` is invalid [INFO] [stderr] --> src/converter.rs:11:27 [INFO] [stderr] | [INFO] [stderr] 11 | let exponent = cmp::min((num.ln() / delimiter.ln()).floor() as i32, (units.len() - 1) as i32); [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 `pretty-bytes`. [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: 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 `pretty-bytes`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "e83f56482bb58b8129da3c3282adbf9c007a4392c2f030d64ee00e1eb8c406d9"` [INFO] running `"docker" "rm" "-f" "e83f56482bb58b8129da3c3282adbf9c007a4392c2f030d64ee00e1eb8c406d9"` [INFO] [stdout] e83f56482bb58b8129da3c3282adbf9c007a4392c2f030d64ee00e1eb8c406d9