[INFO] crate cargo-deb 1.24.0 is already in cache [INFO] checking cargo-deb-1.24.0 against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] extracting crate cargo-deb 1.24.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate cargo-deb 1.24.0 on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate cargo-deb 1.24.0 [INFO] finished tweaking crates.io crate cargo-deb 1.24.0 [INFO] tweaked toml for crates.io crate cargo-deb 1.24.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate crates.io crate cargo-deb 1.24.0 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-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] d6864a6a7bcd053ba68b6f1849b1de71a5581905fd86e18390fc6e87ead24105 [INFO] running `"docker" "start" "-a" "d6864a6a7bcd053ba68b6f1849b1de71a5581905fd86e18390fc6e87ead24105"` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling build_const v0.2.1 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling cargo-deb v1.24.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking typed-arena v1.7.0 [INFO] [stderr] Checking ar v0.8.0 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling lzma-sys v0.1.15 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking zopfli v0.4.0 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] error[E0606]: casting `f64` as `usize` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/zopfli-0.4.0/src/squeeze.rs:195:29 [INFO] [stderr] | [INFO] [stderr] 195 | result.litlens[i] = (stats1.litlens[i] as f64 * w1 + stats2.litlens[i] as f64 * w2) as usize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `usize` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/zopfli-0.4.0/src/squeeze.rs:198:27 [INFO] [stderr] | [INFO] [stderr] 198 | result.dists[i] = (stats1.dists[i] as f64 * w1 + stats2.dists[i] as f64 * w2) 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 `zopfli`. [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: build failed [INFO] running `"docker" "inspect" "d6864a6a7bcd053ba68b6f1849b1de71a5581905fd86e18390fc6e87ead24105"` [INFO] running `"docker" "rm" "-f" "d6864a6a7bcd053ba68b6f1849b1de71a5581905fd86e18390fc6e87ead24105"` [INFO] [stdout] d6864a6a7bcd053ba68b6f1849b1de71a5581905fd86e18390fc6e87ead24105