[INFO] cloning repository https://github.com/anowell/chess-find [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anowell/chess-find" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanowell%2Fchess-find", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanowell%2Fchess-find'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cfbd8807d6308f41df681c3981f721befb68a068 [INFO] checking anowell/chess-find/cfbd8807d6308f41df681c3981f721befb68a068 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%2Fanowell%2Fchess-find" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/anowell/chess-find 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/anowell/chess-find [INFO] finished tweaking git repo https://github.com/anowell/chess-find [INFO] tweaked toml for git repo https://github.com/anowell/chess-find written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/anowell/chess-find 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 5b61d2e1b6836cd5d92026d0a98f30ee451bdf7128a8474207ca2d309587c13a [INFO] running `Command { std: "docker" "start" "-a" "5b61d2e1b6836cd5d92026d0a98f30ee451bdf7128a8474207ca2d309587c13a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b61d2e1b6836cd5d92026d0a98f30ee451bdf7128a8474207ca2d309587c13a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b61d2e1b6836cd5d92026d0a98f30ee451bdf7128a8474207ca2d309587c13a", kill_on_drop: false }` [INFO] [stdout] 5b61d2e1b6836cd5d92026d0a98f30ee451bdf7128a8474207ca2d309587c13a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] cd08530d0dbb1207dbbc0e928e8aac157f22d89b2fb4b5a9bfc067bbfbbc0871 [INFO] running `Command { std: "docker" "start" "-a" "cd08530d0dbb1207dbbc0e928e8aac157f22d89b2fb4b5a9bfc067bbfbbc0871", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling shakmaty v0.21.1 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Checking regex-syntax v0.6.26 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking slice-deque v0.3.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking regex v1.5.6 [INFO] [stderr] Checking btoi v0.4.2 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking pgn-reader v0.20.0 [INFO] [stderr] Checking chess-find v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> src/game.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{bail, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RawHeader` [INFO] [stdout] --> src/game.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use pgn_reader::{BufferedReader, RawHeader, San, SanPlus, Skip, Visitor}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `shakmaty::fen::Fen` [INFO] [stdout] --> src/game.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use shakmaty::fen::Fen; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `shakmaty::CastlingMode` [INFO] [stdout] --> src/game.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use shakmaty::CastlingMode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Board` [INFO] [stdout] --> src/game.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | use shakmaty::{Board, Chess, Color, Move, MoveList, Position}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/rules.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Board` [INFO] [stdout] --> src/rules.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use shakmaty::{uci::Uci, Board, Chess, Color, Move, Role, Position}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameRule` [INFO] [stdout] --> src/rules/capture.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{GameRule, MoveRule}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color` and `Position` [INFO] [stdout] --> src/rules/capture.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use shakmaty::{Chess, Color, Move, Position, Role}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> src/game.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{bail, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RawHeader` [INFO] [stdout] --> src/game.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use pgn_reader::{BufferedReader, RawHeader, San, SanPlus, Skip, Visitor}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `capture::*` [INFO] [stdout] --> src/rules.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use capture::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `shakmaty::fen::Fen` [INFO] [stdout] --> src/game.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use shakmaty::fen::Fen; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `shakmaty::CastlingMode` [INFO] [stdout] --> src/game.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use shakmaty::CastlingMode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Board` [INFO] [stdout] --> src/game.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | use shakmaty::{Board, Chess, Color, Move, MoveList, Position}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/rules.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Board` [INFO] [stdout] --> src/rules.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use shakmaty::{uci::Uci, Board, Chess, Color, Move, Role, Position}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameRule` [INFO] [stdout] --> src/rules/capture.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{GameRule, MoveRule}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color` and `Position` [INFO] [stdout] --> src/rules/capture.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use shakmaty::{Chess, Color, Move, Position, Role}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `capture::*` [INFO] [stdout] --> src/rules.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use capture::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Rule` is never used [INFO] [stdout] --> src/rules.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | enum Rule { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/game.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 17 | let mut reader = BufferedReader::new_cursor(pgn); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 20 | let moves = sans.to_move_list()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | Ok(Game { [INFO] [stdout] | ____________^ [INFO] [stdout] 22 | | moves, [INFO] [stdout] 23 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: aborting due to 1 previous error; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `chess-find` (bin "chess-find") due to 2 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: enum `Rule` is never used [INFO] [stdout] --> src/rules.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | enum Rule { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/game.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 17 | let mut reader = BufferedReader::new_cursor(pgn); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 20 | let moves = sans.to_move_list()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | Ok(Game { [INFO] [stdout] | ____________^ [INFO] [stdout] 22 | | moves, [INFO] [stdout] 23 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: aborting due to 1 previous error; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `chess-find` (bin "chess-find" test) due to 2 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "cd08530d0dbb1207dbbc0e928e8aac157f22d89b2fb4b5a9bfc067bbfbbc0871", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd08530d0dbb1207dbbc0e928e8aac157f22d89b2fb4b5a9bfc067bbfbbc0871", kill_on_drop: false }` [INFO] [stdout] cd08530d0dbb1207dbbc0e928e8aac157f22d89b2fb4b5a9bfc067bbfbbc0871