[INFO] cloning repository https://github.com/jesko7/chess
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jesko7/chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjesko7%2Fchess", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjesko7%2Fchess'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7570a420745704b9d4591066d575aea37d975e81
[INFO] checking jesko7/chess against try#8384de5d92dd9b1c0b67caa5c1c1b11bf606490f for pr-146300
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjesko7%2Fchess" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jesko7/chess
[INFO] finished tweaking git repo https://github.com/jesko7/chess
[INFO] tweaked toml for git repo https://github.com/jesko7/chess written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jesko7/chess on toolchain 8384de5d92dd9b1c0b67caa5c1c1b11bf606490f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/jesko7/chess already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] [stderr] Downloading crates ...
[INFO] [stderr] Downloaded miniquad v0.4.5
[INFO] [stderr] Downloaded macroquad v0.4.11
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c8517c91a86dfe718fa4ea68b379516539c54ca0f62701049de6931f280420b3
[INFO] running `Command { std: "docker" "start" "-a" "c8517c91a86dfe718fa4ea68b379516539c54ca0f62701049de6931f280420b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c8517c91a86dfe718fa4ea68b379516539c54ca0f62701049de6931f280420b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c8517c91a86dfe718fa4ea68b379516539c54ca0f62701049de6931f280420b3", kill_on_drop: false }`
[INFO] [stdout] c8517c91a86dfe718fa4ea68b379516539c54ca0f62701049de6931f280420b3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0b03112b186edf85eae1521dee165ef35d929e1c14f80d74ffae30edb95ae2a0
[INFO] running `Command { std: "docker" "start" "-a" "0b03112b186edf85eae1521dee165ef35d929e1c14f80d74ffae30edb95ae2a0", kill_on_drop: false }`
[INFO] [stderr] Compiling slotmap v1.0.7
[INFO] [stderr] Compiling miniquad v0.4.5
[INFO] [stderr] Checking ahash v0.8.11
[INFO] [stderr] Checking bytemuck v1.16.3
[INFO] [stderr] Checking ttf-parser v0.15.2
[INFO] [stderr] Checking quad-rand v0.2.1
[INFO] [stderr] Checking bumpalo v3.16.0
[INFO] [stderr] Checking glam v0.27.0
[INFO] [stderr] Compiling macroquad_macro v0.1.8
[INFO] [stderr] Checking image v0.24.9
[INFO] [stderr] Checking hashbrown v0.13.2
[INFO] [stderr] Checking fontdue v0.7.3
[INFO] [stderr] Checking macroquad v0.4.11
[INFO] [stderr] Checking chess v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `macroquad::miniquad::BlendFactor`
[INFO] [stdout] --> src/board.rs:1:5
[INFO] [stdout] |
[INFO] [stdout] 1 | use macroquad::miniquad::BlendFactor;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `macroquad::miniquad::BlendFactor`
[INFO] [stdout] --> src/board.rs:1:5
[INFO] [stdout] |
[INFO] [stdout] 1 | use macroquad::miniquad::BlendFactor;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `other`
[INFO] [stdout] --> src/board.rs:39:13
[INFO] [stdout] |
[INFO] [stdout] 39 | other => panic!()
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `other`
[INFO] [stdout] --> src/board.rs:39:13
[INFO] [stdout] |
[INFO] [stdout] 39 | other => panic!()
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `other`
[INFO] [stdout] --> src/board.rs:71:21
[INFO] [stdout] |
[INFO] [stdout] 71 | other => panic!()
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `other`
[INFO] [stdout] --> src/board.rs:71:21
[INFO] [stdout] |
[INFO] [stdout] 71 | other => panic!()
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `other`
[INFO] [stdout] --> src/piece.rs:89:9
[INFO] [stdout] |
[INFO] [stdout] 89 | other => panic!(),
[INFO] [stdout] | ^^^^^
[INFO] [stdout] |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout] |
[INFO] [stdout] 89 | _other => panic!(),
[INFO] [stdout] | +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `COLOR_MASK`
[INFO] [stdout] |
[INFO] [stdout] 89 - other => panic!(),
[INFO] [stdout] 89 + piece::COLOR_MASK => panic!(),
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `other`
[INFO] [stdout] --> src/piece.rs:89:9
[INFO] [stdout] |
[INFO] [stdout] 89 | other => panic!(),
[INFO] [stdout] | ^^^^^
[INFO] [stdout] |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout] |
[INFO] [stdout] 89 | _other => panic!(),
[INFO] [stdout] | +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `COLOR_MASK`
[INFO] [stdout] |
[INFO] [stdout] 89 - other => panic!(),
[INFO] [stdout] 89 + piece::COLOR_MASK => panic!(),
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `other`
[INFO] [stdout] --> src/piece.rs:148:9
[INFO] [stdout] |
[INFO] [stdout] 148 | other => panic!(),
[INFO] [stdout] | ^^^^^
[INFO] [stdout] |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout] |
[INFO] [stdout] 148 | _other => panic!(),
[INFO] [stdout] | +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `COLOR_MASK`
[INFO] [stdout] |
[INFO] [stdout] 148 - other => panic!(),
[INFO] [stdout] 148 + piece::COLOR_MASK => panic!(),
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `other`
[INFO] [stdout] --> src/piece.rs:148:9
[INFO] [stdout] |
[INFO] [stdout] 148 | other => panic!(),
[INFO] [stdout] | ^^^^^
[INFO] [stdout] |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout] |
[INFO] [stdout] 148 | _other => panic!(),
[INFO] [stdout] | +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `COLOR_MASK`
[INFO] [stdout] |
[INFO] [stdout] 148 - other => panic!(),
[INFO] [stdout] 148 + piece::COLOR_MASK => panic!(),
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `other`
[INFO] [stdout] --> src/piece.rs:158:9
[INFO] [stdout] |
[INFO] [stdout] 158 | other => panic!(),
[INFO] [stdout] | ^^^^^
[INFO] [stdout] |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout] |
[INFO] [stdout] 158 | _other => panic!(),
[INFO] [stdout] | +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `COLOR_MASK`
[INFO] [stdout] |
[INFO] [stdout] 158 - other => panic!(),
[INFO] [stdout] 158 + piece::COLOR_MASK => panic!(),
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `other`
[INFO] [stdout] --> src/piece.rs:158:9
[INFO] [stdout] |
[INFO] [stdout] 158 | other => panic!(),
[INFO] [stdout] | ^^^^^
[INFO] [stdout] |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout] |
[INFO] [stdout] 158 | _other => panic!(),
[INFO] [stdout] | +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `COLOR_MASK`
[INFO] [stdout] |
[INFO] [stdout] 158 - other => panic!(),
[INFO] [stdout] 158 + piece::COLOR_MASK => panic!(),
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `other`
[INFO] [stdout] --> src/piece.rs:178:13
[INFO] [stdout] |
[INFO] [stdout] 178 | other => vec![],
[INFO] [stdout] | ^^^^^
[INFO] [stdout] |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout] |
[INFO] [stdout] 178 | _other => vec![],
[INFO] [stdout] | +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `COLOR_MASK`
[INFO] [stdout] |
[INFO] [stdout] 178 - other => vec![],
[INFO] [stdout] 178 + piece::COLOR_MASK => vec![],
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `other`
[INFO] [stdout] --> src/piece.rs:178:13
[INFO] [stdout] |
[INFO] [stdout] 178 | other => vec![],
[INFO] [stdout] | ^^^^^
[INFO] [stdout] |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout] |
[INFO] [stdout] 178 | _other => vec![],
[INFO] [stdout] | +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `COLOR_MASK`
[INFO] [stdout] |
[INFO] [stdout] 178 - other => vec![],
[INFO] [stdout] 178 + piece::COLOR_MASK => vec![],
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `coords`
[INFO] [stdout] --> src/render.rs:23:17
[INFO] [stdout] |
[INFO] [stdout] 23 | let coords = square_to_coords(square);
[INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_coords`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `coords`
[INFO] [stdout] --> src/render.rs:23:17
[INFO] [stdout] |
[INFO] [stdout] 23 | let coords = square_to_coords(square);
[INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_coords`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `to_move` is never read
[INFO] [stdout] --> src/board.rs:11:9
[INFO] [stdout] |
[INFO] [stdout] 9 | pub struct Board {
[INFO] [stdout] | ----- field in this struct
[INFO] [stdout] 10 | pub pieces: Vec