[INFO] cloning repository https://github.com/confusinguser/chess-algorithm-development [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/confusinguser/chess-algorithm-development" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fconfusinguser%2Fchess-algorithm-development", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fconfusinguser%2Fchess-algorithm-development'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8e51fafb03174374dadf4a0973767ff50252b4cd [INFO] checking confusinguser/chess-algorithm-development/8e51fafb03174374dadf4a0973767ff50252b4cd against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fconfusinguser%2Fchess-algorithm-development" "/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/confusinguser/chess-algorithm-development on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/confusinguser/chess-algorithm-development [INFO] finished tweaking git repo https://github.com/confusinguser/chess-algorithm-development [INFO] tweaked toml for git repo https://github.com/confusinguser/chess-algorithm-development written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/confusinguser/chess-algorithm-development 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f87621c0befcd4e0b813f18a0d057e5adf208929628e31631924df45d7bfabb4 [INFO] running `Command { std: "docker" "start" "-a" "f87621c0befcd4e0b813f18a0d057e5adf208929628e31631924df45d7bfabb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f87621c0befcd4e0b813f18a0d057e5adf208929628e31631924df45d7bfabb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f87621c0befcd4e0b813f18a0d057e5adf208929628e31631924df45d7bfabb4", kill_on_drop: false }` [INFO] [stdout] f87621c0befcd4e0b813f18a0d057e5adf208929628e31631924df45d7bfabb4 [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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 217d83f0be79e744508ecc18006e0220dfc60eb1209fac51ddb602917ebb86b2 [INFO] running `Command { std: "docker" "start" "-a" "217d83f0be79e744508ecc18006e0220dfc60eb1209fac51ddb602917ebb86b2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling memchr v2.6.3 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling gimli v0.28.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking object v0.32.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking tokio v1.34.0 [INFO] [stderr] Compiling chess v3.2.0 [INFO] [stderr] Checking chess-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `PRINT_GAME` is never used [INFO] [stdout] --> src/main.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) const PRINT_GAME: bool = true; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `modules_to_string` is never used [INFO] [stdout] --> src/io.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) fn modules_to_string(modules: u32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `analyze_algorithm_choices` is never used [INFO] [stdout] --> src/pitter/logic.rs:308:19 [INFO] [stdout] | [INFO] [stdout] 109 | impl Competition { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 308 | pub(crate) fn analyze_algorithm_choices
(&mut self, predicate: P)
[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/algorithms/the_algorithm.rs:293:9
[INFO] [stdout] |
[INFO] [stdout] 290 | legal_moves: MoveGen,
[INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 293 | / legal_moves
[INFO] [stdout] 294 | | .map(|chess_move| {
[INFO] [stdout] 295 | | let board = board.make_move_new(chess_move);
[INFO] [stdout] 296 | | let mut transposition_entry = None;
[INFO] [stdout] ... |
[INFO] [stdout] 304 | | (chess_move, board, transposition_entry)
[INFO] [stdout] 305 | | })
[INFO] [stdout] | |______________^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739 (&mut self, predicate: P)
[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/algorithms/the_algorithm.rs:293:9
[INFO] [stdout] |
[INFO] [stdout] 290 | legal_moves: MoveGen,
[INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 293 | / legal_moves
[INFO] [stdout] 294 | | .map(|chess_move| {
[INFO] [stdout] 295 | | let board = board.make_move_new(chess_move);
[INFO] [stdout] 296 | | let mut transposition_entry = None;
[INFO] [stdout] ... |
[INFO] [stdout] 304 | | (chess_move, board, transposition_entry)
[INFO] [stdout] 305 | | })
[INFO] [stdout] | |______________^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739