[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 master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmtwtkman%2Fnc2" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mtwtkman/nc2 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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-5-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b7f00ee80f17a63728cba12fccf2021392ebdd6186883e9adb6546b11d9de277 [INFO] running `Command { std: "docker" "start" "-a" "b7f00ee80f17a63728cba12fccf2021392ebdd6186883e9adb6546b11d9de277", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7f00ee80f17a63728cba12fccf2021392ebdd6186883e9adb6546b11d9de277", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7f00ee80f17a63728cba12fccf2021392ebdd6186883e9adb6546b11d9de277", kill_on_drop: false }` [INFO] [stdout] b7f00ee80f17a63728cba12fccf2021392ebdd6186883e9adb6546b11d9de277 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9289e9024a612d55a64771fead0c1614581692f968d523bb15fb87ead2f1cc90 [INFO] running `Command { std: "docker" "start" "-a" "9289e9024a612d55a64771fead0c1614581692f968d523bb15fb87ead2f1cc90", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.74 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling bumpalo v3.7.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.74 [INFO] [stderr] Compiling log v0.4.14 [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: method `is_occupied_by` is never used [INFO] [stdout] --> engine/src/board.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 18 | impl Board { [INFO] [stdout] | ---------- method in this implementation [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: method `is_moveable` is never used [INFO] [stdout] --> engine/src/board.rs:220:19 [INFO] [stdout] | [INFO] [stdout] 219 | impl DestinationState { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 220 | pub(crate) fn is_moveable(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `moveable_directions` is never used [INFO] [stdout] --> engine/src/board.rs:329:19 [INFO] [stdout] | [INFO] [stdout] 277 | impl MovingRange { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 329 | pub(crate) fn moveable_directions(&self) -> BTreeSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_left_edge`, `is_right_edge`, and `is_middle` are never used [INFO] [stdout] --> engine/src/position.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 71 | impl Column { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 72 | fn is_left_edge(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | fn is_right_edge(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | fn is_middle(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> engine/src/position.rs:185:19 [INFO] [stdout] | [INFO] [stdout] 126 | impl Position { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 185 | pub(crate) fn is_left_edge_top(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub(crate) fn is_left_edge_bottom(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | pub(crate) fn is_right_edge_top(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | pub(crate) fn is_right_edge_bottom(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub(crate) fn is_right_edge_middle_row(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | pub(crate) fn is_left_edge_middle_row(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | pub(crate) fn is_middle_column_top(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | pub(crate) fn is_middle_column_bottom(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_occupied_by` is never used [INFO] [stdout] --> engine/src/board.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 18 | impl Board { [INFO] [stdout] | ---------- method in this implementation [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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.9 [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: fields `game` and `history` are never read [INFO] [stdout] --> wasm/src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | struct Battle { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 13 | game: Game, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | history: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `display_board` are never used [INFO] [stdout] --> wasm/src/lib.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Battle { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 19 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn display_board(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `game` and `history` are never read [INFO] [stdout] --> wasm/src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | struct Battle { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 13 | game: Game, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | history: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `display_board` are never used [INFO] [stdout] --> wasm/src/lib.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Battle { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 19 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn display_board(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.51s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.74 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "9289e9024a612d55a64771fead0c1614581692f968d523bb15fb87ead2f1cc90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9289e9024a612d55a64771fead0c1614581692f968d523bb15fb87ead2f1cc90", kill_on_drop: false }` [INFO] [stdout] 9289e9024a612d55a64771fead0c1614581692f968d523bb15fb87ead2f1cc90