[INFO] fetching crate boreal-cli 0.8.0... [INFO] checking boreal-cli-0.8.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate boreal-cli 0.8.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate boreal-cli 0.8.0 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 crates.io crate boreal-cli 0.8.0 [INFO] finished tweaking crates.io crate boreal-cli 0.8.0 [INFO] tweaked toml for crates.io crate boreal-cli 0.8.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate boreal-cli 0.8.0 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 833d0c00a4f1e6d1efa61bfa4a09791c3d1eb36696d576b847688ec4ae746332 [INFO] running `Command { std: "docker" "start" "-a" "833d0c00a4f1e6d1efa61bfa4a09791c3d1eb36696d576b847688ec4ae746332", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "833d0c00a4f1e6d1efa61bfa4a09791c3d1eb36696d576b847688ec4ae746332", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "833d0c00a4f1e6d1efa61bfa4a09791c3d1eb36696d576b847688ec4ae746332", kill_on_drop: false }` [INFO] [stdout] 833d0c00a4f1e6d1efa61bfa4a09791c3d1eb36696d576b847688ec4ae746332 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 787a48be9b8aa7999c71e7bb18471d2c18731efc8e1f6b8ce120f11e867e5b71 [INFO] running `Command { std: "docker" "start" "-a" "787a48be9b8aa7999c71e7bb18471d2c18731efc8e1f6b8ce120f11e867e5b71", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking object v0.36.0 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Compiling assert_cmd v2.0.14 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking tlsh2 v0.3.0 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking clap_builder v4.5.6 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking boreal-parser v0.6.0 [INFO] [stderr] Checking clap v4.5.6 [INFO] [stderr] Compiling der_derive v0.7.2 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking bstr v1.9.1 [INFO] [stderr] Checking predicates v3.1.0 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Checking boreal v0.8.0 [INFO] [stderr] Checking boreal-cli v0.8.0 (/opt/rustwide/workdir) [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/main.rs:679:13 [INFO] [stdout] | [INFO] [stdout] 677 | let (sender, receiver) = bounded(nb_cpus * 5); [INFO] [stdout] | ------ -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 678 | ( [INFO] [stdout] 679 | / Self { [INFO] [stdout] 680 | | threads: (0..nb_cpus) [INFO] [stdout] 681 | | .map(|_| Self::worker_thread(scanner, &receiver, scan_options)) [INFO] [stdout] 682 | | .collect(), [INFO] [stdout] 683 | | }, [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/main.rs:703:28 [INFO] [stdout] | [INFO] [stdout] 699 | let scanner = scanner.clone(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 700 | let receiver = receiver.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 703 | std::thread::spawn(move || { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 704 | | while let Ok(path) = receiver.recv() { [INFO] [stdout] 705 | | if let Err(err) = scan_file(&scanner, &path, &scan_options) { [INFO] [stdout] 706 | | eprintln!("Cannot scan file {}: {}", path.display(), err); [INFO] [stdout] 707 | | } [INFO] [stdout] 708 | | } [INFO] [stdout] 709 | | }) [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `boreal-cli` (bin "boreal") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/main.rs:679:13 [INFO] [stdout] | [INFO] [stdout] 677 | let (sender, receiver) = bounded(nb_cpus * 5); [INFO] [stdout] | ------ -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 678 | ( [INFO] [stdout] 679 | / Self { [INFO] [stdout] 680 | | threads: (0..nb_cpus) [INFO] [stdout] 681 | | .map(|_| Self::worker_thread(scanner, &receiver, scan_options)) [INFO] [stdout] 682 | | .collect(), [INFO] [stdout] 683 | | }, [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/main.rs:703:28 [INFO] [stdout] | [INFO] [stdout] 699 | let scanner = scanner.clone(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 700 | let receiver = receiver.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 703 | std::thread::spawn(move || { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 704 | | while let Ok(path) = receiver.recv() { [INFO] [stdout] 705 | | if let Err(err) = scan_file(&scanner, &path, &scan_options) { [INFO] [stdout] 706 | | eprintln!("Cannot scan file {}: {}", path.display(), err); [INFO] [stdout] 707 | | } [INFO] [stdout] 708 | | } [INFO] [stdout] 709 | | }) [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `boreal-cli` (bin "boreal" test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "787a48be9b8aa7999c71e7bb18471d2c18731efc8e1f6b8ce120f11e867e5b71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "787a48be9b8aa7999c71e7bb18471d2c18731efc8e1f6b8ce120f11e867e5b71", kill_on_drop: false }` [INFO] [stdout] 787a48be9b8aa7999c71e7bb18471d2c18731efc8e1f6b8ce120f11e867e5b71