[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#7dc9ff5c629753b6930ecfe9a0446538b8e25fb7 for pr-85387 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEragra3%2Frusty-checkers" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Eragra3/rusty-checkers on toolchain 7dc9ff5c629753b6930ecfe9a0446538b8e25fb7 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "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-6/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: "/workspace/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f1016a400efe4d2bc80e12cbafca4a4c2a334c8c63a8ca2f30a3f74c992eb0dd [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f1016a400efe4d2bc80e12cbafca4a4c2a334c8c63a8ca2f30a3f74c992eb0dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1016a400efe4d2bc80e12cbafca4a4c2a334c8c63a8ca2f30a3f74c992eb0dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1016a400efe4d2bc80e12cbafca4a4c2a334c8c63a8ca2f30a3f74c992eb0dd", kill_on_drop: false }` [INFO] [stdout] f1016a400efe4d2bc80e12cbafca4a4c2a334c8c63a8ca2f30a3f74c992eb0dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 101ffbdb276bdbca1d3a3ebc792f9dde1fe86ff5be5912368ce93af816219c7a [INFO] running `Command { std: "docker" "start" "-a" "101ffbdb276bdbca1d3a3ebc792f9dde1fe86ff5be5912368ce93af816219c7a", kill_on_drop: false }` [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 aho-corasick v0.7.6 [INFO] [stderr] Checking pad v0.1.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: variant is never constructed: `BlackKing` [INFO] [stdout] --> src/main.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | BlackKing, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BlackKing` [INFO] [stdout] --> src/main.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | BlackKing, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `WhiteKing` [INFO] [stdout] --> src/main.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | WhiteKing, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_tile_owner_at` [INFO] [stdout] --> src/main.rs:171:12 [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: variant is never constructed: `MultiCapture` [INFO] [stdout] --> src/main.rs:843:5 [INFO] [stdout] | [INFO] [stdout] 843 | MultiCapture(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `KingMove` [INFO] [stdout] --> src/main.rs:844:5 [INFO] [stdout] | [INFO] [stdout] 844 | KingMove(Index), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `KingCapture` [INFO] [stdout] --> src/main.rs:845:5 [INFO] [stdout] | [INFO] [stdout] 845 | / KingCapture { [INFO] [stdout] 846 | | target_index: Index, [INFO] [stdout] 847 | | captured_index: Index, [INFO] [stdout] 848 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `KingMultiCapture` [INFO] [stdout] --> src/main.rs:849:5 [INFO] [stdout] | [INFO] [stdout] 849 | KingMultiCapture(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 338 | Err(msg) => panic!("{}", msg), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 338 | Err(msg) => std::panic::panic_any(msg), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `WhiteKing` [INFO] [stdout] --> src/main.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | WhiteKing, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_tile_owner_at` [INFO] [stdout] --> src/main.rs:171:12 [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: variant is never constructed: `MultiCapture` [INFO] [stdout] --> src/main.rs:843:5 [INFO] [stdout] | [INFO] [stdout] 843 | MultiCapture(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `KingMove` [INFO] [stdout] --> src/main.rs:844:5 [INFO] [stdout] | [INFO] [stdout] 844 | KingMove(Index), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `KingCapture` [INFO] [stdout] --> src/main.rs:845:5 [INFO] [stdout] | [INFO] [stdout] 845 | / KingCapture { [INFO] [stdout] 846 | | target_index: Index, [INFO] [stdout] 847 | | captured_index: Index, [INFO] [stdout] 848 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `KingMultiCapture` [INFO] [stdout] --> src/main.rs:849:5 [INFO] [stdout] | [INFO] [stdout] 849 | KingMultiCapture(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 338 | Err(msg) => panic!("{}", msg), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 338 | Err(msg) => std::panic::panic_any(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 is no longer accepted in Rust 2021 [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] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 688 | Tile::Empty => std::panic::panic_any(INTERNAL_ERROR_MESSAGE), [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 is no longer accepted in Rust 2021 [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] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 688 | Tile::Empty => std::panic::panic_any(INTERNAL_ERROR_MESSAGE), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.56s [INFO] running `Command { std: "docker" "inspect" "101ffbdb276bdbca1d3a3ebc792f9dde1fe86ff5be5912368ce93af816219c7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "101ffbdb276bdbca1d3a3ebc792f9dde1fe86ff5be5912368ce93af816219c7a", kill_on_drop: false }` [INFO] [stdout] 101ffbdb276bdbca1d3a3ebc792f9dde1fe86ff5be5912368ce93af816219c7a