[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] e7bc9d7092295ade3b2a56fbdf22c331bb90c84e [INFO] checking mtwtkman/nc2 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmtwtkman%2Fnc2" "/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/mtwtkman/nc2 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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-6/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", 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] b77682f48ec1a39df78455c36b0c6e3ac99d137fe063eb336a68a6b2b028d7a9 [INFO] running `Command { std: "docker" "start" "-a" "b77682f48ec1a39df78455c36b0c6e3ac99d137fe063eb336a68a6b2b028d7a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b77682f48ec1a39df78455c36b0c6e3ac99d137fe063eb336a68a6b2b028d7a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b77682f48ec1a39df78455c36b0c6e3ac99d137fe063eb336a68a6b2b028d7a9", kill_on_drop: false }` [INFO] [stdout] b77682f48ec1a39df78455c36b0c6e3ac99d137fe063eb336a68a6b2b028d7a9 [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a54fde3424083e291ec6365aabfc71391aa9b3c7aa18f818cb441cd5c88e1b0e [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" "a54fde3424083e291ec6365aabfc71391aa9b3c7aa18f818cb441cd5c88e1b0e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.74 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bumpalo v3.7.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.74 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Checking engine v0.1.0 (/opt/rustwide/workdir/engine) [INFO] [stdout] warning: associated function is never used: `is_occupied_by` [INFO] [stdout] --> engine/src/board.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 90 | 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:220:19 [INFO] [stdout] | [INFO] [stdout] 220 | 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:329:19 [INFO] [stdout] | [INFO] [stdout] 329 | 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:90:19 [INFO] [stdout] | [INFO] [stdout] 90 | 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 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: 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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 41.31s [INFO] running `Command { std: "docker" "inspect" "a54fde3424083e291ec6365aabfc71391aa9b3c7aa18f818cb441cd5c88e1b0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a54fde3424083e291ec6365aabfc71391aa9b3c7aa18f818cb441cd5c88e1b0e", kill_on_drop: false }` [INFO] [stdout] a54fde3424083e291ec6365aabfc71391aa9b3c7aa18f818cb441cd5c88e1b0e