[INFO] cloning repository https://github.com/felipecsl/rusty-chess [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/felipecsl/rusty-chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelipecsl%2Frusty-chess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelipecsl%2Frusty-chess'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d848b92158d08299f7c0a948c7bdc19fc64588f8 [INFO] checking felipecsl/rusty-chess against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelipecsl%2Frusty-chess" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/felipecsl/rusty-chess on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/felipecsl/rusty-chess [INFO] finished tweaking git repo https://github.com/felipecsl/rusty-chess [INFO] tweaked toml for git repo https://github.com/felipecsl/rusty-chess written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/felipecsl/rusty-chess already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a0eb9f784e3ce8ab0cabfb25555f4176db89262685d5ee732b5d045a93d3804d [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" "a0eb9f784e3ce8ab0cabfb25555f4176db89262685d5ee732b5d045a93d3804d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a0eb9f784e3ce8ab0cabfb25555f4176db89262685d5ee732b5d045a93d3804d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0eb9f784e3ce8ab0cabfb25555f4176db89262685d5ee732b5d045a93d3804d", kill_on_drop: false }` [INFO] [stdout] a0eb9f784e3ce8ab0cabfb25555f4176db89262685d5ee732b5d045a93d3804d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 579fa4fade01d5df20e668ddb3d8a0d9adcb6eae0a255cb9091e89e457868912 [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" "579fa4fade01d5df20e668ddb3d8a0d9adcb6eae0a255cb9091e89e457868912", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.33 [INFO] [stderr] Compiling cc v1.0.28 [INFO] [stderr] Compiling autocfg v0.1.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.33 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling regex-syntax v0.6.4 [INFO] [stderr] Compiling backtrace v0.3.13 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling nom v4.1.1 [INFO] [stderr] Compiling syn v0.15.23 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.2.29 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling weedle v0.8.0 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling env_logger v0.6.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.33 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.33 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.33 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling wasm-bindgen-webidl v0.2.27 [INFO] [stderr] Checking js-sys v0.3.10 [INFO] [stderr] Checking console_error_panic_hook v0.1.5 [INFO] [stderr] Compiling web-sys v0.3.10 [INFO] [stderr] Checking wasm-bindgen-futures v0.3.6 [INFO] [stderr] Checking wasm-bindgen-test v0.2.29 [INFO] [stderr] Checking chess-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:69:70 [INFO] [stdout] | [INFO] [stdout] 69 | fn new_onclick_event(mut controller: GameController<'static>) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(MouseEvent)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | }) as Box [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(MouseEvent)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:69:70 [INFO] [stdout] | [INFO] [stdout] 69 | fn new_onclick_event(mut controller: GameController<'static>) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(MouseEvent)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | }) as Box [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(MouseEvent)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opponent_positions` [INFO] [stdout] --> src/engine/piece.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | opponent_positions: &Vec<(u32, u32)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opponent_positions` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `friendly_positions` [INFO] [stdout] --> src/engine/piece.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | friendly_positions: &Vec<(u32, u32)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_friendly_positions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opponent_positions` [INFO] [stdout] --> src/engine/piece.rs:181:27 [INFO] [stdout] | [INFO] [stdout] 181 | fn king_captures(&self, opponent_positions: &Vec<(u32, u32)>) -> Vec<(u32, u32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opponent_positions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opponent_positions` [INFO] [stdout] --> src/engine/piece.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | opponent_positions: &Vec<(u32, u32)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opponent_positions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `friendly_positions` [INFO] [stdout] --> src/engine/piece.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | friendly_positions: &Vec<(u32, u32)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_friendly_positions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `player1` [INFO] [stdout] --> src/engine/game_controller.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 17 | player1: Player, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `player2` [INFO] [stdout] --> src/engine/game_controller.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | player2: Player, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opponent_positions` [INFO] [stdout] --> src/engine/piece.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | opponent_positions: &Vec<(u32, u32)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opponent_positions` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `friendly_positions` [INFO] [stdout] --> src/engine/piece.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | friendly_positions: &Vec<(u32, u32)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_friendly_positions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opponent_positions` [INFO] [stdout] --> src/engine/piece.rs:181:27 [INFO] [stdout] | [INFO] [stdout] 181 | fn king_captures(&self, opponent_positions: &Vec<(u32, u32)>) -> Vec<(u32, u32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opponent_positions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opponent_positions` [INFO] [stdout] --> src/engine/piece.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | opponent_positions: &Vec<(u32, u32)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opponent_positions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `friendly_positions` [INFO] [stdout] --> src/engine/piece.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | friendly_positions: &Vec<(u32, u32)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_friendly_positions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `player1` [INFO] [stdout] --> src/engine/game_controller.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 17 | player1: Player, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `player2` [INFO] [stdout] --> src/engine/game_controller.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | player2: Player, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 16s [INFO] running `Command { std: "docker" "inspect" "579fa4fade01d5df20e668ddb3d8a0d9adcb6eae0a255cb9091e89e457868912", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "579fa4fade01d5df20e668ddb3d8a0d9adcb6eae0a255cb9091e89e457868912", kill_on_drop: false }` [INFO] [stdout] 579fa4fade01d5df20e668ddb3d8a0d9adcb6eae0a255cb9091e89e457868912