[INFO] cloning repository https://github.com/ammongit/chess [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ammongit/chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fammongit%2Fchess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fammongit%2Fchess'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d7dc045bac849a5e0f850873e2f76be6a5c9486a [INFO] checking ammongit/chess/d7dc045bac849a5e0f850873e2f76be6a5c9486a 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%2Fammongit%2Fchess" "/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/ammongit/chess 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/ammongit/chess [INFO] finished tweaking git repo https://github.com/ammongit/chess [INFO] tweaked toml for git repo https://github.com/ammongit/chess written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ammongit/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" "+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] c6af40b798647fcca40ebb54dfdd541516d60750fa7116f34a28b91c4321a294 [INFO] running `Command { std: "docker" "start" "-a" "c6af40b798647fcca40ebb54dfdd541516d60750fa7116f34a28b91c4321a294", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6af40b798647fcca40ebb54dfdd541516d60750fa7116f34a28b91c4321a294", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6af40b798647fcca40ebb54dfdd541516d60750fa7116f34a28b91c4321a294", kill_on_drop: false }` [INFO] [stdout] c6af40b798647fcca40ebb54dfdd541516d60750fa7116f34a28b91c4321a294 [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] 227718cd859c0ec0d8bcf9b2d09e0f92b913a6c221a23dd41a8c31281de9d866 [INFO] running `Command { std: "docker" "start" "-a" "227718cd859c0ec0d8bcf9b2d09e0f92b913a6c221a23dd41a8c31281de9d866", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking clap_lex v0.1.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking strum v0.24.0 [INFO] [stderr] Checking clap v3.1.9 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling strum_macros v0.24.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling chess v3.2.0 [INFO] [stderr] Checking vampirc-uci v0.11.1 [INFO] [stderr] Checking mallard-chess v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `name` and `description` are never used [INFO] [stdout] --> src/engine/mod.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub trait Engine { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 47 | fn name(&self) -> &'static str; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn description(&self) -> &'static str; [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:40:24 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new(config: Configuration) -> Self { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | let log_file = Rc::new(config.log_file); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | stockfish: Stockfish::spawn(config.stockfish_nodes, Rc::clone(&log_file)), [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] warning: methods `name` and `description` are never used [INFO] [stdout] --> src/engine/mod.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub trait Engine { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 47 | fn name(&self) -> &'static str; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn description(&self) -> &'static str; [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:40:24 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new(config: Configuration) -> Self { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | let log_file = Rc::new(config.log_file); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | stockfish: Stockfish::spawn(config.stockfish_nodes, Rc::clone(&log_file)), [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/stockfish.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn spawn(nodes_to_search: Option, log_file: Rc) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | let mut process = Command::new("stockfish") [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 52 | let stdin = process.stdin.take().expect("No stdin opened"); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | let stdout = process.stdout.take().expect("No stdout opened"); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | input: BufReader::new(stdout), [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/stockfish.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn spawn(nodes_to_search: Option, log_file: Rc) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | let mut process = Command::new("stockfish") [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 52 | let stdin = process.stdin.take().expect("No stdin opened"); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | let stdout = process.stdout.take().expect("No stdout opened"); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | input: BufReader::new(stdout), [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 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mallard-chess` (bin "mallard-chess") due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `mallard-chess` (bin "mallard-chess" test) due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "227718cd859c0ec0d8bcf9b2d09e0f92b913a6c221a23dd41a8c31281de9d866", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "227718cd859c0ec0d8bcf9b2d09e0f92b913a6c221a23dd41a8c31281de9d866", kill_on_drop: false }` [INFO] [stdout] 227718cd859c0ec0d8bcf9b2d09e0f92b913a6c221a23dd41a8c31281de9d866