[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] 3aa73ace85142ec8ad81a761f5bbaa5304a0a313 [INFO] checking mtwtkman/nc2 against master#c5fbcd35a8217a17f6b63a22217ace06cf8f5f02 for pr-86194 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmtwtkman%2Fnc2" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mtwtkman/nc2 on toolchain c5fbcd35a8217a17f6b63a22217ace06cf8f5f02 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "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-7/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" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b39f7419ac229c5a3e63cbde893a1cd3a45c664c8615a7db62ff1c4517ae673d [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" "b39f7419ac229c5a3e63cbde893a1cd3a45c664c8615a7db62ff1c4517ae673d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b39f7419ac229c5a3e63cbde893a1cd3a45c664c8615a7db62ff1c4517ae673d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b39f7419ac229c5a3e63cbde893a1cd3a45c664c8615a7db62ff1c4517ae673d", kill_on_drop: false }` [INFO] [stdout] b39f7419ac229c5a3e63cbde893a1cd3a45c664c8615a7db62ff1c4517ae673d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb160660e6705b3c09286e987f14dee08b167e2fe5052899887f4d5a40c9f2e8 [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" "fb160660e6705b3c09286e987f14dee08b167e2fe5052899887f4d5a40c9f2e8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.74 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bumpalo v3.7.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.74 [INFO] [stderr] Compiling libc v0.2.96 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking runtime v0.1.0 (/opt/rustwide/workdir/runtime) [INFO] [stderr] Compiling log v0.4.14 [INFO] [stdout] warning: associated function is never used: `is_occupied_by` [INFO] [stdout] --> runtime/src/board.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | 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] --> runtime/src/board.rs:213:19 [INFO] [stdout] | [INFO] [stdout] 213 | 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] --> runtime/src/board.rs:322:19 [INFO] [stdout] | [INFO] [stdout] 322 | 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] --> runtime/src/position.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | 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] --> runtime/src/position.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | fn is_right_edge(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_middle` [INFO] [stdout] --> runtime/src/position.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | 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] --> runtime/src/position.rs:162:19 [INFO] [stdout] | [INFO] [stdout] 162 | 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] --> runtime/src/position.rs:166:19 [INFO] [stdout] | [INFO] [stdout] 166 | 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] --> runtime/src/position.rs:170:19 [INFO] [stdout] | [INFO] [stdout] 170 | 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] --> runtime/src/position.rs:174:19 [INFO] [stdout] | [INFO] [stdout] 174 | 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] --> runtime/src/position.rs:178:19 [INFO] [stdout] | [INFO] [stdout] 178 | 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] --> runtime/src/position.rs:182:19 [INFO] [stdout] | [INFO] [stdout] 182 | 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] --> runtime/src/position.rs:186:19 [INFO] [stdout] | [INFO] [stdout] 186 | 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] --> runtime/src/position.rs:190:19 [INFO] [stdout] | [INFO] [stdout] 190 | 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] --> runtime/src/board.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | 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] Checking wee_alloc v0.4.5 [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 variable: `player` [INFO] [stdout] --> wasm/src/lib.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let player = self.game.current_player(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [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:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[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:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | game: Game, [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: `turn` [INFO] [stdout] --> wasm/src/lib.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn turn(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `act` [INFO] [stdout] --> wasm/src/lib.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | fn act(&self, x: usize, y: usize, direction: usize) -> Action { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> wasm/src/lib.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> wasm/src/lib.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let player = self.game.current_player(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [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:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[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:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | game: Game, [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: `turn` [INFO] [stdout] --> wasm/src/lib.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn turn(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `act` [INFO] [stdout] --> wasm/src/lib.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | fn act(&self, x: usize, y: usize, direction: usize) -> Action { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> wasm/src/lib.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 29.93s [INFO] running `Command { std: "docker" "inspect" "fb160660e6705b3c09286e987f14dee08b167e2fe5052899887f4d5a40c9f2e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb160660e6705b3c09286e987f14dee08b167e2fe5052899887f4d5a40c9f2e8", kill_on_drop: false }` [INFO] [stdout] fb160660e6705b3c09286e987f14dee08b167e2fe5052899887f4d5a40c9f2e8