[INFO] cloning repository https://github.com/np425/rust_chess [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/np425/rust_chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnp425%2Frust_chess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnp425%2Frust_chess'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b9977cf78c444be87761e59f58ca4bd631d2c43e [INFO] checking np425/rust_chess against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnp425%2Frust_chess" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/np425/rust_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/np425/rust_chess [INFO] finished tweaking git repo https://github.com/np425/rust_chess [INFO] tweaked toml for git repo https://github.com/np425/rust_chess written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/np425/rust_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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 8fd33e6e23fdd29eef2ee31d12335f73d2e69fdb701eae28e29326b81216a80d [INFO] running `Command { std: "docker" "start" "-a" "8fd33e6e23fdd29eef2ee31d12335f73d2e69fdb701eae28e29326b81216a80d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8fd33e6e23fdd29eef2ee31d12335f73d2e69fdb701eae28e29326b81216a80d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fd33e6e23fdd29eef2ee31d12335f73d2e69fdb701eae28e29326b81216a80d", kill_on_drop: false }` [INFO] [stdout] 8fd33e6e23fdd29eef2ee31d12335f73d2e69fdb701eae28e29326b81216a80d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 9d46980671e5be5ab0ccaad92cd1225a4c33d7a9d5f794a1b1c28c24bb857d1d [INFO] running `Command { std: "docker" "start" "-a" "9d46980671e5be5ab0ccaad92cd1225a4c33d7a9d5f794a1b1c28c24bb857d1d", kill_on_drop: false }` [INFO] [stderr] Checking chess v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `origin_coord` [INFO] [stdout] --> src/position.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | origin_coord: Coord, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_coord` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_coord` [INFO] [stdout] --> src/position.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | target_coord: Coord, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_coord` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_coord` [INFO] [stdout] --> src/position.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | origin_coord: Coord, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_coord` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_coord` [INFO] [stdout] --> src/position.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | target_coord: Coord, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_coord` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `to_play` is never read [INFO] [stdout] --> src/position.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 259 | pub struct PositionBuilder { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 260 | board: Board, [INFO] [stdout] 261 | to_play: Color, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PositionBuilder` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `move_shape` is never used [INFO] [stdout] --> src/position.rs:352:4 [INFO] [stdout] | [INFO] [stdout] 352 | fn move_shape(origin: (Square, Coord), target_coord: Coord) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `can_move` is never used [INFO] [stdout] --> src/position.rs:383:4 [INFO] [stdout] | [INFO] [stdout] 383 | fn can_move( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `to_play` is never read [INFO] [stdout] --> src/position.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 259 | pub struct PositionBuilder { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 260 | board: Board, [INFO] [stdout] 261 | to_play: Color, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PositionBuilder` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `move_shape` is never used [INFO] [stdout] --> src/position.rs:352:4 [INFO] [stdout] | [INFO] [stdout] 352 | fn move_shape(origin: (Square, Coord), target_coord: Coord) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `can_move` is never used [INFO] [stdout] --> src/position.rs:383:4 [INFO] [stdout] | [INFO] [stdout] 383 | fn can_move( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] running `Command { std: "docker" "inspect" "9d46980671e5be5ab0ccaad92cd1225a4c33d7a9d5f794a1b1c28c24bb857d1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d46980671e5be5ab0ccaad92cd1225a4c33d7a9d5f794a1b1c28c24bb857d1d", kill_on_drop: false }` [INFO] [stdout] 9d46980671e5be5ab0ccaad92cd1225a4c33d7a9d5f794a1b1c28c24bb857d1d [INFO] checking np425/rust_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%2Fnp425%2Frust_chess" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/np425/rust_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/np425/rust_chess [INFO] finished tweaking git repo https://github.com/np425/rust_chess [INFO] tweaked toml for git repo https://github.com/np425/rust_chess written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/np425/rust_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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 839b5eb7444049315ff5e1f539a927edebd7760ebf2b89273a97ac21a808f5b3 [INFO] running `Command { std: "docker" "start" "-a" "839b5eb7444049315ff5e1f539a927edebd7760ebf2b89273a97ac21a808f5b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "839b5eb7444049315ff5e1f539a927edebd7760ebf2b89273a97ac21a808f5b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "839b5eb7444049315ff5e1f539a927edebd7760ebf2b89273a97ac21a808f5b3", kill_on_drop: false }` [INFO] [stdout] 839b5eb7444049315ff5e1f539a927edebd7760ebf2b89273a97ac21a808f5b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 1224708a8bde1964f5dc797197fb48d37fc4bbfea7abdb15057cf8dcd5487fd9 [INFO] running `Command { std: "docker" "start" "-a" "1224708a8bde1964f5dc797197fb48d37fc4bbfea7abdb15057cf8dcd5487fd9", kill_on_drop: false }` [INFO] [stderr] Checking chess v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `origin_coord` [INFO] [stdout] --> src/position.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | origin_coord: Coord, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_coord` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_coord` [INFO] [stdout] --> src/position.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | target_coord: Coord, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_coord` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `to_play` is never read [INFO] [stdout] --> src/position.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 259 | pub struct PositionBuilder { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 260 | board: Board, [INFO] [stdout] 261 | to_play: Color, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PositionBuilder` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `move_shape` is never used [INFO] [stdout] --> src/position.rs:352:4 [INFO] [stdout] | [INFO] [stdout] 352 | fn move_shape(origin: (Square, Coord), target_coord: Coord) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `can_move` is never used [INFO] [stdout] --> src/position.rs:383:4 [INFO] [stdout] | [INFO] [stdout] 383 | fn can_move( [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/position.rs:507:10 [INFO] [stdout] | [INFO] [stdout] 484 | let move_1_up = iter_square(board, increment_coord(coord, (direction, 0))); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 485 | let move_2_up = iter_square(board, increment_coord(coord, (direction * 2, 0))) [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 488 | let moves = move_1_up.chain(move_2_up).map(move |target| Move { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 495 | let move_atk_left = iter_square(board, increment_coord(coord, (direction, 1))); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 496 | let move_atk_right = iter_square(board, increment_coord(coord, (direction, -1))); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 497 | [INFO] [stdout] 498 | let attacks = move_atk_left [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 507 | Some(moves.chain(attacks)) [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/position.rs:522:10 [INFO] [stdout] | [INFO] [stdout] 513 | let paths = iter_square(board, increment_coord(coord, (1, 1))) [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 522 | Some(paths.map(move |target| Move { [INFO] [stdout] | __________^ [INFO] [stdout] 523 | | origin, [INFO] [stdout] 524 | | target, [INFO] [stdout] 525 | | shape: MoveShape::MoveAndAttack, [INFO] [stdout] 526 | | })) [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/position.rs:541:10 [INFO] [stdout] | [INFO] [stdout] 532 | let paths = iter_square(board, increment_coord(coord, (2, 1))) [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 541 | Some(paths.map(move |target| Move { [INFO] [stdout] | __________^ [INFO] [stdout] 542 | | origin, [INFO] [stdout] 543 | | target, [INFO] [stdout] 544 | | shape: MoveShape::MoveAndAttack, [INFO] [stdout] 545 | | })) [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/position.rs:561:10 [INFO] [stdout] | [INFO] [stdout] 552 | let paths = iter_attack_path(board, player, coord, (1, 1)) [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 561 | Some(paths.map(move |target| Move { [INFO] [stdout] | __________^ [INFO] [stdout] 562 | | origin, [INFO] [stdout] 563 | | target, [INFO] [stdout] 564 | | shape: MoveShape::MoveAndAttack, [INFO] [stdout] 565 | | })) [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/position.rs:577:10 [INFO] [stdout] | [INFO] [stdout] 572 | let paths = iter_attack_path(board, player, coord, (1, 1)) [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 577 | Some(paths.map(move |target| Move { [INFO] [stdout] | __________^ [INFO] [stdout] 578 | | origin, [INFO] [stdout] 579 | | target, [INFO] [stdout] 580 | | shape: MoveShape::MoveAndAttack, [INFO] [stdout] 581 | | })) [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/position.rs:593:10 [INFO] [stdout] | [INFO] [stdout] 588 | let paths = iter_attack_path(board, player, coord, (1, 0)) [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 593 | Some(paths.map(move |target| Move { [INFO] [stdout] | __________^ [INFO] [stdout] 594 | | origin, [INFO] [stdout] 595 | | target, [INFO] [stdout] 596 | | shape: MoveShape::MoveAndAttack, [INFO] [stdout] 597 | | })) [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] warning: unused variable: `origin_coord` [INFO] [stdout] --> src/position.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | origin_coord: Coord, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_coord` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_coord` [INFO] [stdout] --> src/position.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | target_coord: Coord, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_coord` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `chess` (bin "chess" test) due to 7 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `to_play` is never read [INFO] [stdout] --> src/position.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 259 | pub struct PositionBuilder { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 260 | board: Board, [INFO] [stdout] 261 | to_play: Color, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PositionBuilder` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `move_shape` is never used [INFO] [stdout] --> src/position.rs:352:4 [INFO] [stdout] | [INFO] [stdout] 352 | fn move_shape(origin: (Square, Coord), target_coord: Coord) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `can_move` is never used [INFO] [stdout] --> src/position.rs:383:4 [INFO] [stdout] | [INFO] [stdout] 383 | fn can_move( [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/position.rs:507:10 [INFO] [stdout] | [INFO] [stdout] 484 | let move_1_up = iter_square(board, increment_coord(coord, (direction, 0))); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 485 | let move_2_up = iter_square(board, increment_coord(coord, (direction * 2, 0))) [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 488 | let moves = move_1_up.chain(move_2_up).map(move |target| Move { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 495 | let move_atk_left = iter_square(board, increment_coord(coord, (direction, 1))); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 496 | let move_atk_right = iter_square(board, increment_coord(coord, (direction, -1))); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 497 | [INFO] [stdout] 498 | let attacks = move_atk_left [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 507 | Some(moves.chain(attacks)) [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/position.rs:522:10 [INFO] [stdout] | [INFO] [stdout] 513 | let paths = iter_square(board, increment_coord(coord, (1, 1))) [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 522 | Some(paths.map(move |target| Move { [INFO] [stdout] | __________^ [INFO] [stdout] 523 | | origin, [INFO] [stdout] 524 | | target, [INFO] [stdout] 525 | | shape: MoveShape::MoveAndAttack, [INFO] [stdout] 526 | | })) [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/position.rs:541:10 [INFO] [stdout] | [INFO] [stdout] 532 | let paths = iter_square(board, increment_coord(coord, (2, 1))) [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 541 | Some(paths.map(move |target| Move { [INFO] [stdout] | __________^ [INFO] [stdout] 542 | | origin, [INFO] [stdout] 543 | | target, [INFO] [stdout] 544 | | shape: MoveShape::MoveAndAttack, [INFO] [stdout] 545 | | })) [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/position.rs:561:10 [INFO] [stdout] | [INFO] [stdout] 552 | let paths = iter_attack_path(board, player, coord, (1, 1)) [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 561 | Some(paths.map(move |target| Move { [INFO] [stdout] | __________^ [INFO] [stdout] 562 | | origin, [INFO] [stdout] 563 | | target, [INFO] [stdout] 564 | | shape: MoveShape::MoveAndAttack, [INFO] [stdout] 565 | | })) [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/position.rs:577:10 [INFO] [stdout] | [INFO] [stdout] 572 | let paths = iter_attack_path(board, player, coord, (1, 1)) [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 577 | Some(paths.map(move |target| Move { [INFO] [stdout] | __________^ [INFO] [stdout] 578 | | origin, [INFO] [stdout] 579 | | target, [INFO] [stdout] 580 | | shape: MoveShape::MoveAndAttack, [INFO] [stdout] 581 | | })) [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/position.rs:593:10 [INFO] [stdout] | [INFO] [stdout] 588 | let paths = iter_attack_path(board, player, coord, (1, 0)) [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 593 | Some(paths.map(move |target| Move { [INFO] [stdout] | __________^ [INFO] [stdout] 594 | | origin, [INFO] [stdout] 595 | | target, [INFO] [stdout] 596 | | shape: MoveShape::MoveAndAttack, [INFO] [stdout] 597 | | })) [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 6 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `chess` (bin "chess") due to 7 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1224708a8bde1964f5dc797197fb48d37fc4bbfea7abdb15057cf8dcd5487fd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1224708a8bde1964f5dc797197fb48d37fc4bbfea7abdb15057cf8dcd5487fd9", kill_on_drop: false }` [INFO] [stdout] 1224708a8bde1964f5dc797197fb48d37fc4bbfea7abdb15057cf8dcd5487fd9