[INFO] cloning repository https://github.com/gobith/tafl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gobith/tafl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgobith%2Ftafl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgobith%2Ftafl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5668342a37d589dc0925dbcdf55cbd50fedddfba [INFO] checking gobith/tafl against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgobith%2Ftafl" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/gobith/tafl [INFO] finished tweaking git repo https://github.com/gobith/tafl [INFO] tweaked toml for git repo https://github.com/gobith/tafl written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gobith/tafl on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gobith/tafl 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 184789de31e3e7f8972c96492aed45593e489509b1b310778677a07e6f115f8f [INFO] running `Command { std: "docker" "start" "-a" "184789de31e3e7f8972c96492aed45593e489509b1b310778677a07e6f115f8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "184789de31e3e7f8972c96492aed45593e489509b1b310778677a07e6f115f8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "184789de31e3e7f8972c96492aed45593e489509b1b310778677a07e6f115f8f", kill_on_drop: false }` [INFO] [stdout] 184789de31e3e7f8972c96492aed45593e489509b1b310778677a07e6f115f8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b20759276ac8760bac0eaa6cd9eebe09f26df5cc2f3dde9c360c7a43bdfb237f [INFO] running `Command { std: "docker" "start" "-a" "b20759276ac8760bac0eaa6cd9eebe09f26df5cc2f3dde9c360c7a43bdfb237f", kill_on_drop: false }` [INFO] [stderr] Checking tafl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/position.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Position { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn from(int: i32) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from` and `brandubh` are never used [INFO] [stdout] --> src/tafl_old.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl Tafl { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn from(tfl: &str) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn brandubh() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Brandubh` is never constructed [INFO] [stdout] --> src/brandubh.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Brandubh { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/brandubh.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Brandubh { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Hnefatafl` is never constructed [INFO] [stdout] --> src/hnefatafl.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Hnefatafl { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/hnefatafl.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Hnefatafl { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tafl` is never constructed [INFO] [stdout] --> src/tafl.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Tafl { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `State` is never constructed [INFO] [stdout] --> src/tafl.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hnefatafl` is never used [INFO] [stdout] --> src/tafl.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn hnefatafl() -> Tafl<121> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `brandubh` is never used [INFO] [stdout] --> src/tafl.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn brandubh() -> Tafl<49> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `move_piece` is never used [INFO] [stdout] --> src/tafl.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 96 | impl Tafl { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] 97 | pub fn move_piece(&mut self, start_idx: usize, end_idx: usize) -> () { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `switch_side`, `move_piece`, `validate_move`, and `next_state` are never used [INFO] [stdout] --> src/tafl.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 111 | impl State { [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 116 | fn switch_side(&mut self) -> () { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | fn move_piece(&self, start_idx: usize, end_idx: usize) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | fn validate_move(&self, start_idx: usize, end_idx: usize) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | fn next_state(&self, start_idx: usize, end_idx: usize) -> State { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Tile` is never used [INFO] [stdout] --> src/tafl.rs:280:10 [INFO] [stdout] | [INFO] [stdout] 280 | pub enum Tile { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/tafl.rs:290:12 [INFO] [stdout] | [INFO] [stdout] 289 | impl Tile { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 290 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Side` is never used [INFO] [stdout] --> src/tafl.rs:296:6 [INFO] [stdout] | [INFO] [stdout] 296 | enum Side { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `tile_is_same_side` and `tile_is_opposite_side` are never used [INFO] [stdout] --> src/tafl.rs:302:8 [INFO] [stdout] | [INFO] [stdout] 301 | impl Side { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 302 | fn tile_is_same_side(&self, tile: Tile) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 311 | fn tile_is_opposite_side(&self, tile: Tile) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CastleWithKing` is never constructed [INFO] [stdout] --> src/tafl.rs:286:5 [INFO] [stdout] | [INFO] [stdout] 280 | pub enum Tile { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 286 | CastleWithKing, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tile` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] running `Command { std: "docker" "inspect" "b20759276ac8760bac0eaa6cd9eebe09f26df5cc2f3dde9c360c7a43bdfb237f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b20759276ac8760bac0eaa6cd9eebe09f26df5cc2f3dde9c360c7a43bdfb237f", kill_on_drop: false }` [INFO] [stdout] b20759276ac8760bac0eaa6cd9eebe09f26df5cc2f3dde9c360c7a43bdfb237f