[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] testing felipecsl/rusty-chess against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelipecsl%2Frusty-chess" "/workspace/builds/worker-22/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-22/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/felipecsl/rusty-chess on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-22/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" "+1.59.0" "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-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b5507ce220cfce67a83edbe63f731984451758c468f891a6bd587b6c6fd54b7 [INFO] running `Command { std: "docker" "start" "-a" "7b5507ce220cfce67a83edbe63f731984451758c468f891a6bd587b6c6fd54b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b5507ce220cfce67a83edbe63f731984451758c468f891a6bd587b6c6fd54b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b5507ce220cfce67a83edbe63f731984451758c468f891a6bd587b6c6fd54b7", kill_on_drop: false }` [INFO] [stdout] 7b5507ce220cfce67a83edbe63f731984451758c468f891a6bd587b6c6fd54b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aef12bd637c559856515935af559b163f906c0cad9fcc4244e43e07ceb484902 [INFO] running `Command { std: "docker" "start" "-a" "aef12bd637c559856515935af559b163f906c0cad9fcc4244e43e07ceb484902", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling libc v0.2.45 [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 regex v1.1.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.33 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Compiling sourcefile v0.1.4 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Compiling regex-syntax v0.6.4 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling backtrace v0.3.13 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling syn v0.15.23 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling nom v4.1.1 [INFO] [stderr] Compiling weedle v0.8.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 failure_derive v0.1.5 [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] Compiling js-sys v0.3.10 [INFO] [stderr] Compiling console_error_panic_hook v0.1.5 [INFO] [stderr] Compiling web-sys v0.3.10 [INFO] [stderr] Compiling 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] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 - fn new_onclick_event(mut controller: GameController<'static>) -> Box { [INFO] [stdout] 69 + fn new_onclick_event(mut controller: GameController<'static>) -> Box { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 - }) as Box [INFO] [stdout] 74 + }) as Box [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: 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 20.73s [INFO] running `Command { std: "docker" "inspect" "aef12bd637c559856515935af559b163f906c0cad9fcc4244e43e07ceb484902", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aef12bd637c559856515935af559b163f906c0cad9fcc4244e43e07ceb484902", kill_on_drop: false }` [INFO] [stdout] aef12bd637c559856515935af559b163f906c0cad9fcc4244e43e07ceb484902 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32c9e28c794cc4c33f08cbc6b400c7e93e64551ed062a6983da49a00d0ae3ce0 [INFO] running `Command { std: "docker" "start" "-a" "32c9e28c794cc4c33f08cbc6b400c7e93e64551ed062a6983da49a00d0ae3ce0", kill_on_drop: false }` [INFO] [stderr] Compiling futures v0.1.25 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.2.29 [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] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 - fn new_onclick_event(mut controller: GameController<'static>) -> Box { [INFO] [stdout] 69 + fn new_onclick_event(mut controller: GameController<'static>) -> Box { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 - }) as Box [INFO] [stdout] 74 + }) as Box [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: 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] Compiling wasm-bindgen-futures v0.3.6 [INFO] [stderr] Compiling wasm-bindgen-test v0.2.29 [INFO] [stderr] Compiling 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] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 - fn new_onclick_event(mut controller: GameController<'static>) -> Box { [INFO] [stdout] 69 + fn new_onclick_event(mut controller: GameController<'static>) -> Box { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 - }) as Box [INFO] [stdout] 74 + }) as Box [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: 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 test [unoptimized + debuginfo] target(s) in 2.57s [INFO] running `Command { std: "docker" "inspect" "32c9e28c794cc4c33f08cbc6b400c7e93e64551ed062a6983da49a00d0ae3ce0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32c9e28c794cc4c33f08cbc6b400c7e93e64551ed062a6983da49a00d0ae3ce0", kill_on_drop: false }` [INFO] [stdout] 32c9e28c794cc4c33f08cbc6b400c7e93e64551ed062a6983da49a00d0ae3ce0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c081376e52d158c992fb6e8881fd3e3fb73f06e30c4988b2435a2f3b08cbc281 [INFO] running `Command { std: "docker" "start" "-a" "c081376e52d158c992fb6e8881fd3e3fb73f06e30c4988b2435a2f3b08cbc281", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:69:70 [INFO] [stderr] | [INFO] [stderr] 69 | fn new_onclick_event(mut controller: GameController<'static>) -> Box { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 69 - fn new_onclick_event(mut controller: GameController<'static>) -> Box { [INFO] [stderr] 69 + fn new_onclick_event(mut controller: GameController<'static>) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:74:13 [INFO] [stderr] | [INFO] [stderr] 74 | }) as Box [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 74 - }) as Box [INFO] [stderr] 74 + }) as Box [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `opponent_positions` [INFO] [stderr] --> src/engine/piece.rs:110:5 [INFO] [stderr] | [INFO] [stderr] 110 | opponent_positions: &Vec<(u32, u32)>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opponent_positions` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `friendly_positions` [INFO] [stderr] --> src/engine/piece.rs:111:5 [INFO] [stderr] | [INFO] [stderr] 111 | friendly_positions: &Vec<(u32, u32)>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_friendly_positions` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `opponent_positions` [INFO] [stderr] --> src/engine/piece.rs:181:27 [INFO] [stderr] | [INFO] [stderr] 181 | fn king_captures(&self, opponent_positions: &Vec<(u32, u32)>) -> Vec<(u32, u32)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opponent_positions` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `opponent_positions` [INFO] [stderr] --> src/engine/piece.rs:187:5 [INFO] [stderr] | [INFO] [stderr] 187 | opponent_positions: &Vec<(u32, u32)>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opponent_positions` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `friendly_positions` [INFO] [stderr] --> src/engine/piece.rs:188:5 [INFO] [stderr] | [INFO] [stderr] 188 | friendly_positions: &Vec<(u32, u32)>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_friendly_positions` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `player1` [INFO] [stderr] --> src/engine/game_controller.rs:17:3 [INFO] [stderr] | [INFO] [stderr] 17 | player1: Player, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `player2` [INFO] [stderr] --> src/engine/game_controller.rs:18:3 [INFO] [stderr] | [INFO] [stderr] 18 | player2: Player, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `chess-rs` (lib) generated 9 warnings [INFO] [stderr] warning: `chess-rs` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/chess_rs-75f01c4b655ca1e8) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests chess-rs [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c081376e52d158c992fb6e8881fd3e3fb73f06e30c4988b2435a2f3b08cbc281", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c081376e52d158c992fb6e8881fd3e3fb73f06e30c4988b2435a2f3b08cbc281", kill_on_drop: false }` [INFO] [stdout] c081376e52d158c992fb6e8881fd3e3fb73f06e30c4988b2435a2f3b08cbc281