[INFO] cloning repository https://github.com/mzmt/rust_calculator [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mzmt/rust_calculator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmzmt%2Frust_calculator"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmzmt%2Frust_calculator'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 2f9fd57c48722894d048ea99e7a13aaea3f1c75a [INFO] checking mzmt/rust_calculator against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmzmt%2Frust_calculator" "/workspace/builds/worker-4/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] [stderr] Checking out files: 68% (895/1316) Checking out files: 69% (909/1316) Checking out files: 70% (922/1316) Checking out files: 71% (935/1316) Checking out files: 72% (948/1316) Checking out files: 73% (961/1316) Checking out files: 74% (974/1316) Checking out files: 75% (987/1316) Checking out files: 76% (1001/1316) Checking out files: 77% (1014/1316) Checking out files: 78% (1027/1316) Checking out files: 79% (1040/1316) Checking out files: 80% (1053/1316) Checking out files: 81% (1066/1316) Checking out files: 82% (1080/1316) Checking out files: 83% (1093/1316) Checking out files: 84% (1106/1316) Checking out files: 85% (1119/1316) Checking out files: 86% (1132/1316) Checking out files: 87% (1145/1316) Checking out files: 88% (1159/1316) Checking out files: 89% (1172/1316) Checking out files: 90% (1185/1316) Checking out files: 91% (1198/1316) Checking out files: 92% (1211/1316) Checking out files: 93% (1224/1316) Checking out files: 94% (1238/1316) Checking out files: 95% (1251/1316) Checking out files: 96% (1264/1316) Checking out files: 97% (1277/1316) Checking out files: 98% (1290/1316) Checking out files: 99% (1303/1316) Checking out files: 100% (1316/1316) Checking out files: 100% (1316/1316), done. [INFO] validating manifest of git repo https://github.com/mzmt/rust_calculator 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/mzmt/rust_calculator [INFO] finished tweaking git repo https://github.com/mzmt/rust_calculator [INFO] tweaked toml for git repo https://github.com/mzmt/rust_calculator written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/mzmt/rust_calculator already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] 190cce8874ae1523be1ce6a506a02fef5a7cf0253e927ad4adfd1b9b260542ae [INFO] running `"docker" "start" "-a" "190cce8874ae1523be1ce6a506a02fef5a7cf0253e927ad4adfd1b9b260542ae"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Checking orbtk-utils v0.3.0-alpha1 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling procedural-masquerade v0.1.6 [INFO] [stderr] Checking typed-arena v2.0.1 [INFO] [stderr] error[E0606]: casting `f64` as `u8` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/orbtk-utils-0.3.0-alpha1/src/color.rs:56:9 [INFO] [stderr] | [INFO] [stderr] 56 | (end_color as f64 - start_color as f64).mul_add(scale, start_color as f64) as u8 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking sw-composite v0.7.6 [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 `orbtk-utils`. [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 `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[E0606]: casting `f32` as `i32` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sw-composite-0.7.6/src/lib.rs:125:28 [INFO] [stderr] | [INFO] [stderr] 125 | let mut distance = (px * px + py * py).sqrt() as i32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `i32` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sw-composite-0.7.6/src/lib.rs:167:31 [INFO] [stderr] | [INFO] [stderr] 167 | self.lut[apply_spread((t * 255.) as i32, spread) as usize] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `u32` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sw-composite-0.7.6/src/lib.rs:249:28 [INFO] [stderr] | [INFO] [stderr] 249 | let mut next_pos = (255. * stop.position) as u32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `u32` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sw-composite-0.7.6/src/lib.rs:269:28 [INFO] [stderr] | [INFO] [stderr] 269 | next_pos = (255. * stop.position) as u32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `i32` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sw-composite-0.7.6/src/lib.rs:498:5 [INFO] [stderr] | [INFO] [stderr] 498 | ((x * (1 << FIXED_FRACTION_BITS) as f32) + 0.5) as i32 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0606`. [INFO] [stderr] error: could not compile `sw-composite`. [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" "190cce8874ae1523be1ce6a506a02fef5a7cf0253e927ad4adfd1b9b260542ae"` [INFO] running `"docker" "rm" "-f" "190cce8874ae1523be1ce6a506a02fef5a7cf0253e927ad4adfd1b9b260542ae"` [INFO] [stdout] 190cce8874ae1523be1ce6a506a02fef5a7cf0253e927ad4adfd1b9b260542ae