[INFO] cloning repository https://github.com/peterdelevoryas/r8 [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/peterdelevoryas/r8" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeterdelevoryas%2Fr8"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeterdelevoryas%2Fr8'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 86acd3eb55c646ac260ebe8af36376439e5c0cd0 [INFO] checking peterdelevoryas/r8 against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeterdelevoryas%2Fr8" "/workspace/builds/worker-6/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/peterdelevoryas/r8 on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/peterdelevoryas/r8 [INFO] finished tweaking git repo https://github.com/peterdelevoryas/r8 [INFO] tweaked toml for git repo https://github.com/peterdelevoryas/r8 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/peterdelevoryas/r8 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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] 80e10b540e7405aa8fa1d3ffb10576f3d22088ea62c6caf85f921e64ae4e3d08 [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" "80e10b540e7405aa8fa1d3ffb10576f3d22088ea62c6caf85f921e64ae4e3d08"` [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling cranelift-entity v0.43.0 (https://github.com/CraneStation/cranelift#de7354e0) [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Checking indexmap v1.2.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking cranelift-bforest v0.43.0 (https://github.com/CraneStation/cranelift#de7354e0) [INFO] [stderr] Compiling cranelift-codegen-meta v0.43.0 (https://github.com/CraneStation/cranelift#de7354e0) [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling scroll v0.9.2 [INFO] [stderr] Checking backtrace v0.3.37 [INFO] [stderr] error[E0606]: casting `f64` as `i32` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/git/checkouts/cranelift-af8713b52459e6cd/de7354e/cranelift-codegen/meta/src/gen_encodings.rs:1095:27 [INFO] [stderr] | [INFO] [stderr] 1095 | let l2l = (level2.hash_table_len.unwrap() as f64).log2() as i32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `usize` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/git/checkouts/cranelift-af8713b52459e6cd/de7354e/cranelift-codegen/meta/src/constant_hash.rs:19:16 [INFO] [stderr] | [INFO] [stderr] 19 | let size = (1.20 * num_items as f64) 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 `cranelift-codegen-meta`. [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" "80e10b540e7405aa8fa1d3ffb10576f3d22088ea62c6caf85f921e64ae4e3d08"` [INFO] running `"docker" "rm" "-f" "80e10b540e7405aa8fa1d3ffb10576f3d22088ea62c6caf85f921e64ae4e3d08"` [INFO] [stdout] 80e10b540e7405aa8fa1d3ffb10576f3d22088ea62c6caf85f921e64ae4e3d08