[INFO] updating cached repository https://github.com/mw8/white_keyboard_layout [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] e0fda4eb23e83bbe0f4c686bffb108bbc1b3501f [INFO] checking mw8/white_keyboard_layout against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmw8%2Fwhite_keyboard_layout" "/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/mw8/white_keyboard_layout 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/mw8/white_keyboard_layout [INFO] finished tweaking git repo https://github.com/mw8/white_keyboard_layout [INFO] tweaked toml for git repo https://github.com/mw8/white_keyboard_layout written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/mw8/white_keyboard_layout 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] 3c7cc4ba5a835a1b5ff3e17b323a1fbe4fdfdfe13aba27a5c3976f849e2b480f [INFO] running `"docker" "start" "-a" "3c7cc4ba5a835a1b5ff3e17b323a1fbe4fdfdfe13aba27a5c3976f849e2b480f"` [INFO] [stderr] Checking libc v0.2.22 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking white_keyboard_layout v0.0.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/main.rs:1288:9 [INFO] [stderr] | [INFO] [stderr] 1288 | / ((self.i == other.i && self.f == other.f) || [INFO] [stderr] 1289 | | (self.i == other.i-1 && self.f == other.f + 1000.0) || [INFO] [stderr] 1290 | | (self.i == other.i+1 && self.f == other.f - 1000.0)) [INFO] [stderr] | |_____________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 1288 | (self.i == other.i && self.f == other.f) || [INFO] [stderr] 1289 | (self.i == other.i-1 && self.f == other.f + 1000.0) || [INFO] [stderr] 1290 | (self.i == other.i+1 && self.f == other.f - 1000.0) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/main.rs:1311:9 [INFO] [stderr] | [INFO] [stderr] 1311 | / ((self.i < other.i-1) || [INFO] [stderr] 1312 | | (self.i == other.i-1 && self.f-1000.0 < other.f) || [INFO] [stderr] 1313 | | (self.i == other.i && self.f < other.f) || [INFO] [stderr] 1314 | | (self.i == other.i+1 && self.f+1000.0 < other.f)) [INFO] [stderr] | |__________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 1311 | (self.i < other.i-1) || [INFO] [stderr] 1312 | (self.i == other.i-1 && self.f-1000.0 < other.f) || [INFO] [stderr] 1313 | (self.i == other.i && self.f < other.f) || [INFO] [stderr] 1314 | (self.i == other.i+1 && self.f+1000.0 < other.f) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `INITIAL_LAYOUT_STRING` in this scope [INFO] [stderr] --> src/main.rs:683:32 [INFO] [stderr] | [INFO] [stderr] 683 | let l = layout_from_string(INITIAL_LAYOUT_STRING); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/main.rs:1288:9 [INFO] [stderr] | [INFO] [stderr] 1288 | / ((self.i == other.i && self.f == other.f) || [INFO] [stderr] 1289 | | (self.i == other.i-1 && self.f == other.f + 1000.0) || [INFO] [stderr] 1290 | | (self.i == other.i+1 && self.f == other.f - 1000.0)) [INFO] [stderr] | |_____________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 1288 | (self.i == other.i && self.f == other.f) || [INFO] [stderr] 1289 | (self.i == other.i-1 && self.f == other.f + 1000.0) || [INFO] [stderr] 1290 | (self.i == other.i+1 && self.f == other.f - 1000.0) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/main.rs:1311:9 [INFO] [stderr] | [INFO] [stderr] 1311 | / ((self.i < other.i-1) || [INFO] [stderr] 1312 | | (self.i == other.i-1 && self.f-1000.0 < other.f) || [INFO] [stderr] 1313 | | (self.i == other.i && self.f < other.f) || [INFO] [stderr] 1314 | | (self.i == other.i+1 && self.f+1000.0 < other.f)) [INFO] [stderr] | |__________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 1311 | (self.i < other.i-1) || [INFO] [stderr] 1312 | (self.i == other.i-1 && self.f-1000.0 < other.f) || [INFO] [stderr] 1313 | (self.i == other.i && self.f < other.f) || [INFO] [stderr] 1314 | (self.i == other.i+1 && self.f+1000.0 < other.f) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `i32` is invalid [INFO] [stderr] --> src/main.rs:1254:23 [INFO] [stderr] | [INFO] [stderr] 1254 | let d_i = (self.f / 1000.0) as i32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `i32` is invalid [INFO] [stderr] --> src/main.rs:1260:23 [INFO] [stderr] | [INFO] [stderr] 1260 | let d_i = (self.f / 1000.0) as i32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `i32` is invalid [INFO] [stderr] --> src/main.rs:1254:23 [INFO] [stderr] | [INFO] [stderr] 1254 | let d_i = (self.f / 1000.0) as i32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `i32` is invalid [INFO] [stderr] --> src/main.rs:1260:23 [INFO] [stderr] | [INFO] [stderr] 1260 | let d_i = (self.f / 1000.0) as i32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i32` is invalid [INFO] [stderr] --> src/main.rs:1644:53 [INFO] [stderr] | [INFO] [stderr] 1644 | ... best_score.to_f64() as i32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0606`. [INFO] [stderr] error: could not compile `white_keyboard_layout`. [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] --> src/main.rs:1644:53 [INFO] [stderr] | [INFO] [stderr] 1644 | ... best_score.to_f64() as i32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0606. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error: could not compile `white_keyboard_layout`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "3c7cc4ba5a835a1b5ff3e17b323a1fbe4fdfdfe13aba27a5c3976f849e2b480f"` [INFO] running `"docker" "rm" "-f" "3c7cc4ba5a835a1b5ff3e17b323a1fbe4fdfdfe13aba27a5c3976f849e2b480f"` [INFO] [stdout] 3c7cc4ba5a835a1b5ff3e17b323a1fbe4fdfdfe13aba27a5c3976f849e2b480f