[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#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelipecsl%2Frusty-chess" "/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/felipecsl/rusty-chess on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "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-5-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.33 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.33 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.33 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.33 [INFO] [stderr] Downloaded wasm-bindgen v0.2.33 [INFO] [stderr] Downloaded js-sys v0.3.10 [INFO] [stderr] Downloaded wasm-bindgen-webidl v0.2.27 [INFO] [stderr] Downloaded web-sys v0.3.10 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.3.6 [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.2.29 [INFO] [stderr] Downloaded wasm-bindgen-test v0.2.29 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b6e5dd39ce37512371b45ea14f60103ceabd560d5aef339981d8bdb959501976 [INFO] running `Command { std: "docker" "start" "-a" "b6e5dd39ce37512371b45ea14f60103ceabd560d5aef339981d8bdb959501976", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b6e5dd39ce37512371b45ea14f60103ceabd560d5aef339981d8bdb959501976", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6e5dd39ce37512371b45ea14f60103ceabd560d5aef339981d8bdb959501976", kill_on_drop: false }` [INFO] [stdout] b6e5dd39ce37512371b45ea14f60103ceabd560d5aef339981d8bdb959501976 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2094ce84f4ae946aa904721a82ee8edb461d082c442ed55b9844bc44510d2ae2 [INFO] running `Command { std: "docker" "start" "-a" "2094ce84f4ae946aa904721a82ee8edb461d082c442ed55b9844bc44510d2ae2", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling unicode-xid v0.1.0 [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 version_check v0.1.5 [INFO] [stderr] Compiling cc v1.0.28 [INFO] [stderr] Compiling wasm-bindgen v0.2.33 [INFO] [stderr] Compiling autocfg v0.1.1 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling rustc-demangle v0.1.13 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling regex-syntax v0.6.4 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling sourcefile v0.1.4 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking futures v0.1.25 [INFO] [stderr] Checking scoped-tls v0.1.2 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Compiling backtrace v0.3.13 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling syn v0.15.23 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.2.29 [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 failure v0.1.5 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.33 [INFO] [stderr] Compiling wasm-bindgen-webidl v0.2.27 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.33 [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: unused import: `self::console_error_panic_hook::set_once as set_panic_hook` [INFO] [stdout] --> src/utils.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | pub use self::console_error_panic_hook::set_once as set_panic_hook; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::console_error_panic_hook::set_once as set_panic_hook` [INFO] [stdout] --> src/utils.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | pub use self::console_error_panic_hook::set_once as set_panic_hook; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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] | ^^^^^^^^^^^^^^^^^ [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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:69:70 [INFO] [stdout] | [INFO] [stdout] 69 | fn new_onclick_event(mut controller: GameController<'static>) -> 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 | }) as 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: 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: fields `player1` and `player2` are never read [INFO] [stdout] --> src/engine/game_controller.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct GameController<'a> { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | player1: Player, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | player2: Player, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `color` is never read [INFO] [stdout] --> src/engine/player.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Player { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 4 | pub color: Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `player1` and `player2` are never read [INFO] [stdout] --> src/engine/game_controller.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct GameController<'a> { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | player1: Player, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | player2: Player, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `color` is never read [INFO] [stdout] --> src/engine/player.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Player { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 4 | pub color: Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.81s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.1.1, wasm-bindgen v0.2.33 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "2094ce84f4ae946aa904721a82ee8edb461d082c442ed55b9844bc44510d2ae2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2094ce84f4ae946aa904721a82ee8edb461d082c442ed55b9844bc44510d2ae2", kill_on_drop: false }` [INFO] [stdout] 2094ce84f4ae946aa904721a82ee8edb461d082c442ed55b9844bc44510d2ae2 [INFO] checking felipecsl/rusty-chess against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelipecsl%2Frusty-chess" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/felipecsl/rusty-chess on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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-5-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7fcdd029d2a13d7f2b373b97bd49971c7f236c87441a70e532e3c8205146afec [INFO] running `Command { std: "docker" "start" "-a" "7fcdd029d2a13d7f2b373b97bd49971c7f236c87441a70e532e3c8205146afec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7fcdd029d2a13d7f2b373b97bd49971c7f236c87441a70e532e3c8205146afec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fcdd029d2a13d7f2b373b97bd49971c7f236c87441a70e532e3c8205146afec", kill_on_drop: false }` [INFO] [stdout] 7fcdd029d2a13d7f2b373b97bd49971c7f236c87441a70e532e3c8205146afec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c5b272c0b7ff885922feabc4da906c70b505ce6902c85fec6e8090d6a6a6be6 [INFO] running `Command { std: "docker" "start" "-a" "1c5b272c0b7ff885922feabc4da906c70b505ce6902c85fec6e8090d6a6a6be6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling unicode-xid v0.1.0 [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 version_check v0.1.5 [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 regex v1.1.0 [INFO] [stderr] Compiling rustc-demangle v0.1.13 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling regex-syntax v0.6.4 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling sourcefile v0.1.4 [INFO] [stderr] Checking futures v0.1.25 [INFO] [stderr] Checking scoped-tls v0.1.2 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Compiling backtrace v0.3.13 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling syn v0.15.23 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.2.29 [INFO] [stderr] Compiling nom v4.1.1 [INFO] [stderr] Compiling aho-corasick v0.6.9 [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 failure v0.1.5 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.33 [INFO] [stderr] Compiling wasm-bindgen-webidl v0.2.27 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.33 [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: unused import: `self::console_error_panic_hook::set_once as set_panic_hook` [INFO] [stdout] --> src/utils.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | pub use self::console_error_panic_hook::set_once as set_panic_hook; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::console_error_panic_hook::set_once as set_panic_hook` [INFO] [stdout] --> src/utils.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | pub use self::console_error_panic_hook::set_once as set_panic_hook; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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] | ^^^^^^^^^^^^^^^^^ [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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:69:70 [INFO] [stdout] | [INFO] [stdout] 69 | fn new_onclick_event(mut controller: GameController<'static>) -> 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 | }) as 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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: 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: fields `player1` and `player2` are never read [INFO] [stdout] --> src/engine/game_controller.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct GameController<'a> { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | player1: Player, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | player2: Player, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `color` is never read [INFO] [stdout] --> src/engine/player.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Player { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 4 | pub color: Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `player1` and `player2` are never read [INFO] [stdout] --> src/engine/game_controller.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct GameController<'a> { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | player1: Player, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | player2: Player, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `color` is never read [INFO] [stdout] --> src/engine/player.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Player { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 4 | pub color: Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 69 | fn new_onclick_event(mut controller: GameController<'static>) -> Box { [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | / Box::new(move |event: MouseEvent| { [INFO] [stdout] 71 | | let x = event.offset_x() as u32 / SQUARE_SIZE as u32; [INFO] [stdout] 72 | | let y = event.offset_y() as u32 / SQUARE_SIZE as u32; [INFO] [stdout] 73 | | controller.handle_click_at(x, y); [INFO] [stdout] 74 | | }) as Box [INFO] [stdout] | |____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:87:3 [INFO] [stdout] | [INFO] [stdout] 86 | let element = document.get_element_by_id("canvas").unwrap(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | / element [INFO] [stdout] 88 | | .dyn_into::() [INFO] [stdout] 89 | | .map_err(|_| ()) [INFO] [stdout] | |____________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 69 | fn new_onclick_event(mut controller: GameController<'static>) -> Box { [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | / Box::new(move |event: MouseEvent| { [INFO] [stdout] 71 | | let x = event.offset_x() as u32 / SQUARE_SIZE as u32; [INFO] [stdout] 72 | | let y = event.offset_y() as u32 / SQUARE_SIZE as u32; [INFO] [stdout] 73 | | controller.handle_click_at(x, y); [INFO] [stdout] 74 | | }) as Box [INFO] [stdout] | |____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:95:3 [INFO] [stdout] | [INFO] [stdout] 94 | let element = document.get_element_by_id("status").unwrap(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | / element [INFO] [stdout] 96 | | .dyn_into::() [INFO] [stdout] 97 | | .map_err(|_| ()) [INFO] [stdout] | |____________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:87:3 [INFO] [stdout] | [INFO] [stdout] 86 | let element = document.get_element_by_id("canvas").unwrap(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | / element [INFO] [stdout] 88 | | .dyn_into::() [INFO] [stdout] 89 | | .map_err(|_| ()) [INFO] [stdout] | |____________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:95:3 [INFO] [stdout] | [INFO] [stdout] 94 | let element = document.get_element_by_id("status").unwrap(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | / element [INFO] [stdout] 96 | | .dyn_into::() [INFO] [stdout] 97 | | .map_err(|_| ()) [INFO] [stdout] | |____________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `chess-rs` (lib test) due to 4 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `chess-rs` (lib) due to 4 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1c5b272c0b7ff885922feabc4da906c70b505ce6902c85fec6e8090d6a6a6be6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c5b272c0b7ff885922feabc4da906c70b505ce6902c85fec6e8090d6a6a6be6", kill_on_drop: false }` [INFO] [stdout] 1c5b272c0b7ff885922feabc4da906c70b505ce6902c85fec6e8090d6a6a6be6