[INFO] updating cached repository https://github.com/LukasKalbertodt/sim [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 0679af292309b10cf42fe5c0e7e45ed8a29b0bc1 [INFO] checking LukasKalbertodt/sim against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLukasKalbertodt%2Fsim" "/workspace/builds/worker-5/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LukasKalbertodt/sim 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/LukasKalbertodt/sim [INFO] finished tweaking git repo https://github.com/LukasKalbertodt/sim [INFO] tweaked toml for git repo https://github.com/LukasKalbertodt/sim written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/LukasKalbertodt/sim 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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] cba26fe45c46439d407e6f7ddb3e0979d63d2ad7212ff633ada7ccf4747dd29e [INFO] running `"docker" "start" "-a" "cba26fe45c46439d407e6f7ddb3e0979d63d2ad7212ff633ada7ccf4747dd29e"` [INFO] [stderr] Compiling libc v0.2.50 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking cfg-if v0.1.7 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling khronos_api v3.0.0 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling cc v1.0.31 [INFO] [stderr] Compiling syn v0.15.29 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking same-file v1.0.4 [INFO] [stderr] Checking either v1.5.1 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking smallvec v0.6.9 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking futures v0.1.25 [INFO] [stderr] error[E0606]: casting `f64` as `i32` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/color_quant-1.0.1/src/lib.rs:340:41 [INFO] [stderr] | [INFO] [stderr] 340 | self.colormap[i].b = clamp!(self.network[i].b.round() as i32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i32` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/color_quant-1.0.1/src/lib.rs:341:41 [INFO] [stderr] | [INFO] [stderr] 341 | self.colormap[i].g = clamp!(self.network[i].g.round() as i32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i32` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/color_quant-1.0.1/src/lib.rs:342:41 [INFO] [stderr] | [INFO] [stderr] 342 | self.colormap[i].r = clamp!(self.network[i].r.round() as i32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i32` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/color_quant-1.0.1/src/lib.rs:343:41 [INFO] [stderr] | [INFO] [stderr] 343 | self.colormap[i].a = clamp!(self.network[i].a.round() as i32); [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 `color_quant`. [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" "cba26fe45c46439d407e6f7ddb3e0979d63d2ad7212ff633ada7ccf4747dd29e"` [INFO] running `"docker" "rm" "-f" "cba26fe45c46439d407e6f7ddb3e0979d63d2ad7212ff633ada7ccf4747dd29e"` [INFO] [stdout] cba26fe45c46439d407e6f7ddb3e0979d63d2ad7212ff633ada7ccf4747dd29e