[INFO] cloning repository https://github.com/Eragra3/rusty-checkers [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Eragra3/rusty-checkers" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEragra3%2Frusty-checkers", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEragra3%2Frusty-checkers'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 764bba6fe5963f8c7fdc303c659a7cec1143cf46 [INFO] checking Eragra3/rusty-checkers against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEragra3%2Frusty-checkers" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Eragra3/rusty-checkers on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Eragra3/rusty-checkers [INFO] finished tweaking git repo https://github.com/Eragra3/rusty-checkers [INFO] tweaked toml for git repo https://github.com/Eragra3/rusty-checkers written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Eragra3/rusty-checkers 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded colored v1.9.0 [INFO] [stderr] Downloaded pad v0.1.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fc688eb70bc6c965fbaa4b3c7ef96f2a334d51484bbb8a00c37a157068dbf3c9 [INFO] running `Command { std: "docker" "start" "-a" "fc688eb70bc6c965fbaa4b3c7ef96f2a334d51484bbb8a00c37a157068dbf3c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc688eb70bc6c965fbaa4b3c7ef96f2a334d51484bbb8a00c37a157068dbf3c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc688eb70bc6c965fbaa4b3c7ef96f2a334d51484bbb8a00c37a157068dbf3c9", kill_on_drop: false }` [INFO] [stdout] fc688eb70bc6c965fbaa4b3c7ef96f2a334d51484bbb8a00c37a157068dbf3c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 486605f9329453b20ae1abafd45fddb4e977e4c3b6d758d756ac7eafe6cd1435 [INFO] running `Command { std: "docker" "start" "-a" "486605f9329453b20ae1abafd45fddb4e977e4c3b6d758d756ac7eafe6cd1435", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking pad v0.1.6 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking colored v1.9.0 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Checking checkers v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variants `BlackKing` and `WhiteKing` are never constructed [INFO] [stdout] --> src/main.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 46 | enum Tile { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 50 | BlackKing, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 51 | WhiteKing, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tile` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_tile_owner_at` is never used [INFO] [stdout] --> src/main.rs:171:12 [INFO] [stdout] | [INFO] [stdout] 119 | impl Board { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn get_tile_owner_at(&self, index: Index) -> Result, &str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `MultiCapture`, `KingMove`, `KingCapture`, and `KingMultiCapture` are never constructed [INFO] [stdout] --> src/main.rs:843:5 [INFO] [stdout] | [INFO] [stdout] 837 | enum MoveType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 843 | MultiCapture(Vec), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 844 | KingMove(Index), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 845 | KingCapture { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 849 | KingMultiCapture(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MoveType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:338:40 [INFO] [stdout] | [INFO] [stdout] 338 | Err(msg) => panic!(msg), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 338 | Err(msg) => panic!("{}", msg), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:688:35 [INFO] [stdout] | [INFO] [stdout] 688 | Tile::Empty => panic!(INTERNAL_ERROR_MESSAGE), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 688 | Tile::Empty => panic!("{}", INTERNAL_ERROR_MESSAGE), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BlackKing` and `WhiteKing` are never constructed [INFO] [stdout] --> src/main.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 46 | enum Tile { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 50 | BlackKing, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 51 | WhiteKing, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tile` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_tile_owner_at` is never used [INFO] [stdout] --> src/main.rs:171:12 [INFO] [stdout] | [INFO] [stdout] 119 | impl Board { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn get_tile_owner_at(&self, index: Index) -> Result, &str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `MultiCapture`, `KingMove`, `KingCapture`, and `KingMultiCapture` are never constructed [INFO] [stdout] --> src/main.rs:843:5 [INFO] [stdout] | [INFO] [stdout] 837 | enum MoveType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 843 | MultiCapture(Vec), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 844 | KingMove(Index), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 845 | KingCapture { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 849 | KingMultiCapture(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MoveType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:338:40 [INFO] [stdout] | [INFO] [stdout] 338 | Err(msg) => panic!(msg), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 338 | Err(msg) => panic!("{}", msg), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:688:35 [INFO] [stdout] | [INFO] [stdout] 688 | Tile::Empty => panic!(INTERNAL_ERROR_MESSAGE), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 688 | Tile::Empty => panic!("{}", INTERNAL_ERROR_MESSAGE), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.03s [INFO] running `Command { std: "docker" "inspect" "486605f9329453b20ae1abafd45fddb4e977e4c3b6d758d756ac7eafe6cd1435", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "486605f9329453b20ae1abafd45fddb4e977e4c3b6d758d756ac7eafe6cd1435", kill_on_drop: false }` [INFO] [stdout] 486605f9329453b20ae1abafd45fddb4e977e4c3b6d758d756ac7eafe6cd1435