[INFO] cloning repository https://github.com/mtwtkman/nc2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mtwtkman/nc2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmtwtkman%2Fnc2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmtwtkman%2Fnc2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c5513404181d3f93a2a74882d7a3decc75230e8d [INFO] checking mtwtkman/nc2 against master#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmtwtkman%2Fnc2" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mtwtkman/nc2 on toolchain dfd7b8d03fb93d0e03147d28b3be6d93260fa94d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mtwtkman/nc2 [INFO] finished tweaking git repo https://github.com/mtwtkman/nc2 [INFO] tweaked toml for git repo https://github.com/mtwtkman/nc2 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/mtwtkman/nc2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f7d39700b122e95aa54279f644c52992d84db59054c8092e266574b1c072f81 [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" "1f7d39700b122e95aa54279f644c52992d84db59054c8092e266574b1c072f81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f7d39700b122e95aa54279f644c52992d84db59054c8092e266574b1c072f81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f7d39700b122e95aa54279f644c52992d84db59054c8092e266574b1c072f81", kill_on_drop: false }` [INFO] [stdout] 1f7d39700b122e95aa54279f644c52992d84db59054c8092e266574b1c072f81 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a0bda432641d78f96d87ea03949c7bb2b654f6e80695b3e3cb6327786c0176fe [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" "a0bda432641d78f96d87ea03949c7bb2b654f6e80695b3e3cb6327786c0176fe", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.74 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Checking engine v0.1.0 (/opt/rustwide/workdir/engine) [INFO] [stderr] Compiling log v0.4.14 [INFO] [stdout] warning: associated function is never used: `is_occupied_by` [INFO] [stdout] --> engine/src/board.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 84 | pub(crate) fn is_occupied_by(&self, position: &Position, player: &Player) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_moveable` [INFO] [stdout] --> engine/src/board.rs:214:19 [INFO] [stdout] | [INFO] [stdout] 214 | pub(crate) fn is_moveable(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `moveable_directions` [INFO] [stdout] --> engine/src/board.rs:323:19 [INFO] [stdout] | [INFO] [stdout] 323 | pub(crate) fn moveable_directions(&self) -> BTreeSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_left_edge` [INFO] [stdout] --> engine/src/position.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | fn is_left_edge(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_right_edge` [INFO] [stdout] --> engine/src/position.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | fn is_right_edge(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_middle` [INFO] [stdout] --> engine/src/position.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | fn is_middle(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_left_edge_top` [INFO] [stdout] --> engine/src/position.rs:185:19 [INFO] [stdout] | [INFO] [stdout] 185 | pub(crate) fn is_left_edge_top(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_left_edge_bottom` [INFO] [stdout] --> engine/src/position.rs:189:19 [INFO] [stdout] | [INFO] [stdout] 189 | pub(crate) fn is_left_edge_bottom(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_right_edge_top` [INFO] [stdout] --> engine/src/position.rs:193:19 [INFO] [stdout] | [INFO] [stdout] 193 | pub(crate) fn is_right_edge_top(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_right_edge_bottom` [INFO] [stdout] --> engine/src/position.rs:197:19 [INFO] [stdout] | [INFO] [stdout] 197 | pub(crate) fn is_right_edge_bottom(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_right_edge_middle_row` [INFO] [stdout] --> engine/src/position.rs:201:19 [INFO] [stdout] | [INFO] [stdout] 201 | pub(crate) fn is_right_edge_middle_row(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_left_edge_middle_row` [INFO] [stdout] --> engine/src/position.rs:205:19 [INFO] [stdout] | [INFO] [stdout] 205 | pub(crate) fn is_left_edge_middle_row(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_middle_column_top` [INFO] [stdout] --> engine/src/position.rs:209:19 [INFO] [stdout] | [INFO] [stdout] 209 | pub(crate) fn is_middle_column_top(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_middle_column_bottom` [INFO] [stdout] --> engine/src/position.rs:213:19 [INFO] [stdout] | [INFO] [stdout] 213 | pub(crate) fn is_middle_column_bottom(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_occupied_by` [INFO] [stdout] --> engine/src/board.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 84 | pub(crate) fn is_occupied_by(&self, position: &Position, player: &Player) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.74 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.74 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.74 [INFO] [stderr] Checking js-sys v0.3.51 [INFO] [stderr] Checking web-sys v0.3.51 [INFO] [stderr] Checking wasm v0.1.0 (/opt/rustwide/workdir/wasm) [INFO] [stdout] warning: unused imports: `Action`, `Column`, `Position`, `Row`, `board::Direction` [INFO] [stdout] --> wasm/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | board::Direction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | position::{Column, Position, Row}, [INFO] [stdout] | ^^^^^^ ^^^^^^^^ ^^^ [INFO] [stdout] 4 | Action, Game, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `board` [INFO] [stdout] --> wasm/src/lib.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let board = self.game.board.clone(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Action`, `Column`, `Position`, `Row`, `board::Direction` [INFO] [stdout] --> wasm/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | board::Direction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | position::{Column, Position, Row}, [INFO] [stdout] | ^^^^^^ ^^^^^^^^ ^^^ [INFO] [stdout] 4 | Action, Game, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `Battle` in public interface (error E0446) [INFO] [stdout] --> wasm/src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen::prelude::__wasm_bindgen_class_marker` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `game` [INFO] [stdout] --> wasm/src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | game: Game, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `history` [INFO] [stdout] --> wasm/src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | history: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> wasm/src/lib.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `display_board` [INFO] [stdout] --> wasm/src/lib.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn display_board(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `board` [INFO] [stdout] --> wasm/src/lib.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let board = self.game.board.clone(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `Battle` in public interface (error E0446) [INFO] [stdout] --> wasm/src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen::prelude::__wasm_bindgen_class_marker` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `game` [INFO] [stdout] --> wasm/src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | game: Game, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `history` [INFO] [stdout] --> wasm/src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | history: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> wasm/src/lib.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `display_board` [INFO] [stdout] --> wasm/src/lib.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn display_board(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 40.84s [INFO] running `Command { std: "docker" "inspect" "a0bda432641d78f96d87ea03949c7bb2b654f6e80695b3e3cb6327786c0176fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0bda432641d78f96d87ea03949c7bb2b654f6e80695b3e3cb6327786c0176fe", kill_on_drop: false }` [INFO] [stdout] a0bda432641d78f96d87ea03949c7bb2b654f6e80695b3e3cb6327786c0176fe