[INFO] cloning repository https://github.com/davidlattimore/wild [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/davidlattimore/wild" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidlattimore%2Fwild", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidlattimore%2Fwild'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0dbb76624ea667f66becf7cfb94bf7964366a222 [INFO] checking davidlattimore/wild/0dbb76624ea667f66becf7cfb94bf7964366a222 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%2Fdavidlattimore%2Fwild" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/davidlattimore/wild 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] removed /workspace/builds/worker-6-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/davidlattimore/wild [INFO] finished tweaking git repo https://github.com/davidlattimore/wild [INFO] tweaked toml for git repo https://github.com/davidlattimore/wild written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/davidlattimore/wild 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 43b1c5c21c3008e76fd138685fd10eda33778527415ea6758614394e2ad42ed7 [INFO] running `Command { std: "docker" "start" "-a" "43b1c5c21c3008e76fd138685fd10eda33778527415ea6758614394e2ad42ed7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "43b1c5c21c3008e76fd138685fd10eda33778527415ea6758614394e2ad42ed7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43b1c5c21c3008e76fd138685fd10eda33778527415ea6758614394e2ad42ed7", kill_on_drop: false }` [INFO] [stdout] 43b1c5c21c3008e76fd138685fd10eda33778527415ea6758614394e2ad42ed7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 5835cd3d5c18b94c36742b99b19b678c62a3a6574ee0dfcba81e83e6a35ef4df [INFO] running `Command { std: "docker" "start" "-a" "5835cd3d5c18b94c36742b99b19b678c62a3a6574ee0dfcba81e83e6a35ef4df", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling serde v1.0.200 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling anyhow v1.0.83 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking embedded-io v0.4.0 [INFO] [stderr] Checking cobs v0.2.3 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Compiling cc v1.0.95 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Compiling cpp_demangle v0.4.3 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Checking msvc-demangler v0.9.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking debugid v0.8.0 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking object v0.36.4 [INFO] [stderr] Compiling indexmap v2.4.0 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Checking iced-x86 v1.21.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Checking symbolic-common v12.8.0 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking ruzstd v0.7.1 [INFO] [stderr] Checking rayon v1.8.1 [INFO] [stderr] Checking bumpalo-herd v0.1.2 [INFO] [stderr] Compiling rstest_macros v0.22.0 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking bytesize v1.3.0 [INFO] [stderr] Checking sharded-vec-writer v0.1.0 [INFO] [stderr] Compiling symbolic-demangle v12.8.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking ar v0.9.0 [INFO] [stderr] Checking linker-utils v0.1.0 (/opt/rustwide/workdir/linker-utils) [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Checking which v6.0.1 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling serde_derive v1.0.200 [INFO] [stderr] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Checking bytemuck v1.14.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking rstest v0.22.0 [INFO] [stderr] Checking postcard v1.0.8 [INFO] [stderr] Checking linker-trace v0.1.0 (/opt/rustwide/workdir/linker-trace) [INFO] [stderr] Checking linker-layout v0.1.0 (/opt/rustwide/workdir/linker-layout) [INFO] [stderr] Checking linker-diff v0.1.0 (/opt/rustwide/workdir/linker-diff) [INFO] [stderr] Checking wild_lib v0.2.0 (/opt/rustwide/workdir/wild_lib) [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] --> linker-diff/src/lib.rs:216:12 [INFO] [stdout] | [INFO] [stdout] 201 | let address_index = AddressIndex::new(elf_file); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 216 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 217 | | name: name.to_owned(), [INFO] [stdout] 218 | | elf_file, [INFO] [stdout] 219 | | path, [INFO] [stdout] ... | [INFO] [stdout] 224 | | sections_by_name, [INFO] [stdout] 225 | | }) [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] | |_________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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> linker-diff/src/lib.rs:299:26 [INFO] [stdout] | [INFO] [stdout] 299 | .map(|obj| match validation_fn(obj) { [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] --> linker-diff/src/lib.rs:216:12 [INFO] [stdout] | [INFO] [stdout] 201 | let address_index = AddressIndex::new(elf_file); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 216 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 217 | | name: name.to_owned(), [INFO] [stdout] 218 | | elf_file, [INFO] [stdout] 219 | | path, [INFO] [stdout] ... | [INFO] [stdout] 224 | | sections_by_name, [INFO] [stdout] 225 | | }) [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] | |_________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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> linker-diff/src/lib.rs:299:26 [INFO] [stdout] | [INFO] [stdout] 299 | .map(|obj| match validation_fn(obj) { [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 `linker-diff` (lib test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `linker-diff` (lib) due to 3 previous errors [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] --> wild_lib/src/args.rs:379:8 [INFO] [stdout] | [INFO] [stdout] 144 | pub(crate) fn parse, I: Iterator>(mut input: I) -> Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 145 | let mut lib_search_path = Vec::new(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 146 | let mut inputs = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 147 | let mut output = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 148 | let mut is_dynamic_executable = false; [INFO] [stdout] 149 | let mut dynamic_linker = None; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 171 | let mut action = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 379 | Ok(Action::Link(Args { [INFO] [stdout] | ________^ [INFO] [stdout] 380 | | lib_search_path, [INFO] [stdout] 381 | | inputs, [INFO] [stdout] 382 | | output: output.unwrap_or_else(|| Arc::from(Path::new("a.out"))), [INFO] [stdout] ... | [INFO] [stdout] 409 | | files_per_group: max_files_per_group, [INFO] [stdout] 410 | | })) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [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] = 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] --> wild_lib/src/elf_writer.rs:208:12 [INFO] [stdout] | [INFO] [stdout] 197 | fn new(path: Arc, file_size: u64) -> Result { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 198 | let file = std::fs::OpenOptions::new() [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 206 | let mmap = unsafe { MmapOptions::new().map_mut(&file) } [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 207 | .with_context(|| format!("Failed to mmap output file `{}`", path.display()))?; [INFO] [stdout] 208 | Ok(SizedOutput { file, mmap, path }) [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] | 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] = 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] --> wild_lib/src/layout.rs:1672:25 [INFO] [stdout] | [INFO] [stdout] 1672 | .filter_map(|w| w.lock().unwrap().worker.take()) [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] --> wild_lib/src/layout.rs:1744:12 [INFO] [stdout] | [INFO] [stdout] 1721 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1727 | let mut files = self [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1744 | Ok(GroupLayout { [INFO] [stdout] | ____________^ [INFO] [stdout] 1745 | | files, [INFO] [stdout] 1746 | | strtab_start_offset, [INFO] [stdout] 1747 | | dynstr_start_offset, [INFO] [stdout] ... | [INFO] [stdout] 1750 | | eh_frame_start_address, [INFO] [stdout] 1751 | | }) [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] [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] --> wild_lib/src/layout.rs:2552:12 [INFO] [stdout] | [INFO] [stdout] 2514 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2552 | Ok(PreludeLayout { [INFO] [stdout] | ____________^ [INFO] [stdout] 2553 | | internal_symbols: self.internal_symbols, [INFO] [stdout] 2554 | | entry_symbol_id: self.entry_symbol_id, [INFO] [stdout] 2555 | | tlsld_got_entry, [INFO] [stdout] ... | [INFO] [stdout] 2560 | | .expect("we should have computed header info by now"), [INFO] [stdout] 2561 | | }) [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] --> wild_lib/src/linker_script.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | Ok(inputs_from_script(text, modifiers) [INFO] [stdout] | ________^ [INFO] [stdout] 32 | | .with_context(|| format!("Failed to parse linker script `{}`", path.display()))? [INFO] [stdout] 33 | | .into_iter() [INFO] [stdout] 34 | | .map(|mut input| { [INFO] [stdout] ... | [INFO] [stdout] 37 | | }) [INFO] [stdout] 38 | | .collect()) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [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] --> wild_lib/src/output_section_map.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 46 | pub(crate) fn into_map(self, cb: impl FnMut(T) -> U) -> OutputSectionMap { [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] 47 | OutputSectionMap { [INFO] [stdout] 48 | values: self.values.into_iter().map(cb).collect(), [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] --> wild_lib/src/output_section_part_map.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 61 | mut cb: impl FnMut(PartId, &T) -> U, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | parts: self [INFO] [stdout] | ____________________^ [INFO] [stdout] 65 | | .parts [INFO] [stdout] 66 | | .iter() [INFO] [stdout] 67 | | .enumerate() [INFO] [stdout] 68 | | .map(|(i, value)| cb(PartId::from_usize(i), value)) [INFO] [stdout] 69 | | .collect(), [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] --> wild_lib/src/output_section_part_map.rs:107:33 [INFO] [stdout] | [INFO] [stdout] 107 | .position(|p| *p != T::default()) [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] --> wild_lib/src/timing.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 84 | .and_then(|parent| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 85 | / parent [INFO] [stdout] 86 | | .extensions_mut() [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] --> wild_lib/src/validation.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | validate_object(&object, layout).context("Output validation failed") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wild_lib` (lib) due to 12 previous errors [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] --> wild_lib/src/args.rs:379:8 [INFO] [stdout] | [INFO] [stdout] 144 | pub(crate) fn parse, I: Iterator>(mut input: I) -> Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 145 | let mut lib_search_path = Vec::new(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 146 | let mut inputs = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 147 | let mut output = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 148 | let mut is_dynamic_executable = false; [INFO] [stdout] 149 | let mut dynamic_linker = None; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 171 | let mut action = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 379 | Ok(Action::Link(Args { [INFO] [stdout] | ________^ [INFO] [stdout] 380 | | lib_search_path, [INFO] [stdout] 381 | | inputs, [INFO] [stdout] 382 | | output: output.unwrap_or_else(|| Arc::from(Path::new("a.out"))), [INFO] [stdout] ... | [INFO] [stdout] 409 | | files_per_group: max_files_per_group, [INFO] [stdout] 410 | | })) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [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] = 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] --> wild_lib/src/elf_writer.rs:208:12 [INFO] [stdout] | [INFO] [stdout] 197 | fn new(path: Arc, file_size: u64) -> Result { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 198 | let file = std::fs::OpenOptions::new() [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 206 | let mmap = unsafe { MmapOptions::new().map_mut(&file) } [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 207 | .with_context(|| format!("Failed to mmap output file `{}`", path.display()))?; [INFO] [stdout] 208 | Ok(SizedOutput { file, mmap, path }) [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] | 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] = 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] --> wild_lib/src/layout.rs:1672:25 [INFO] [stdout] | [INFO] [stdout] 1672 | .filter_map(|w| w.lock().unwrap().worker.take()) [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] --> wild_lib/src/layout.rs:1744:12 [INFO] [stdout] | [INFO] [stdout] 1721 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1727 | let mut files = self [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1744 | Ok(GroupLayout { [INFO] [stdout] | ____________^ [INFO] [stdout] 1745 | | files, [INFO] [stdout] 1746 | | strtab_start_offset, [INFO] [stdout] 1747 | | dynstr_start_offset, [INFO] [stdout] ... | [INFO] [stdout] 1750 | | eh_frame_start_address, [INFO] [stdout] 1751 | | }) [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] [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] --> wild_lib/src/layout.rs:2552:12 [INFO] [stdout] | [INFO] [stdout] 2514 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2552 | Ok(PreludeLayout { [INFO] [stdout] | ____________^ [INFO] [stdout] 2553 | | internal_symbols: self.internal_symbols, [INFO] [stdout] 2554 | | entry_symbol_id: self.entry_symbol_id, [INFO] [stdout] 2555 | | tlsld_got_entry, [INFO] [stdout] ... | [INFO] [stdout] 2560 | | .expect("we should have computed header info by now"), [INFO] [stdout] 2561 | | }) [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] --> wild_lib/src/linker_script.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | Ok(inputs_from_script(text, modifiers) [INFO] [stdout] | ________^ [INFO] [stdout] 32 | | .with_context(|| format!("Failed to parse linker script `{}`", path.display()))? [INFO] [stdout] 33 | | .into_iter() [INFO] [stdout] 34 | | .map(|mut input| { [INFO] [stdout] ... | [INFO] [stdout] 37 | | }) [INFO] [stdout] 38 | | .collect()) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [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] --> wild_lib/src/linker_script.rs:412:13 [INFO] [stdout] | [INFO] [stdout] 404 | let inputs = inputs_from_script( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 412 | inputs.into_iter().map(|i| i.spec), [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] --> wild_lib/src/linker_script.rs:413:13 [INFO] [stdout] | [INFO] [stdout] 404 | let inputs = inputs_from_script( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 413 | / [ [INFO] [stdout] 414 | | InputSpec::File(Box::from(Path::new("/lib/x86_64-linux-gnu/libc.so.6"))), [INFO] [stdout] 415 | | InputSpec::File(Box::from(Path::new( [INFO] [stdout] 416 | | "/usr/lib/x86_64-linux-gnu/libc_nonshared.a", [INFO] [stdout] 417 | | ))), [INFO] [stdout] 418 | | InputSpec::File(Box::from(Path::new("/lib64/ld-linux-x86-64.so.2"))), [INFO] [stdout] 419 | | ], [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] --> wild_lib/src/output_section_map.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 46 | pub(crate) fn into_map(self, cb: impl FnMut(T) -> U) -> OutputSectionMap { [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] 47 | OutputSectionMap { [INFO] [stdout] 48 | values: self.values.into_iter().map(cb).collect(), [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] --> wild_lib/src/output_section_part_map.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 61 | mut cb: impl FnMut(PartId, &T) -> U, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | parts: self [INFO] [stdout] | ____________________^ [INFO] [stdout] 65 | | .parts [INFO] [stdout] 66 | | .iter() [INFO] [stdout] 67 | | .enumerate() [INFO] [stdout] 68 | | .map(|(i, value)| cb(PartId::from_usize(i), value)) [INFO] [stdout] 69 | | .collect(), [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] --> wild_lib/src/output_section_part_map.rs:107:33 [INFO] [stdout] | [INFO] [stdout] 107 | .position(|p| *p != T::default()) [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] --> wild_lib/src/timing.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 84 | .and_then(|parent| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 85 | / parent [INFO] [stdout] 86 | | .extensions_mut() [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] --> wild_lib/src/validation.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | validate_object(&object, layout).context("Output validation failed") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wild_lib` (lib test) due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "5835cd3d5c18b94c36742b99b19b678c62a3a6574ee0dfcba81e83e6a35ef4df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5835cd3d5c18b94c36742b99b19b678c62a3a6574ee0dfcba81e83e6a35ef4df", kill_on_drop: false }` [INFO] [stdout] 5835cd3d5c18b94c36742b99b19b678c62a3a6574ee0dfcba81e83e6a35ef4df