[INFO] fetching crate rhdxmr-publish-test 0.2.8... [INFO] checking rhdxmr-publish-test-0.2.8 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate rhdxmr-publish-test 0.2.8 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate rhdxmr-publish-test 0.2.8 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 rhdxmr-publish-test 0.2.8 [INFO] finished tweaking crates.io crate rhdxmr-publish-test 0.2.8 [INFO] tweaked toml for crates.io crate rhdxmr-publish-test 0.2.8 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate rhdxmr-publish-test 0.2.8 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] b1a80944e32ac9f0ae10278d117960e3843b2ea5c0e3b72605cccb988033b45c [INFO] running `Command { std: "docker" "start" "-a" "b1a80944e32ac9f0ae10278d117960e3843b2ea5c0e3b72605cccb988033b45c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b1a80944e32ac9f0ae10278d117960e3843b2ea5c0e3b72605cccb988033b45c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1a80944e32ac9f0ae10278d117960e3843b2ea5c0e3b72605cccb988033b45c", kill_on_drop: false }` [INFO] [stdout] b1a80944e32ac9f0ae10278d117960e3843b2ea5c0e3b72605cccb988033b45c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 0c85876386d3dec458e2449fb2b651f9337993240591d9dcc3794c44a4085d91 [INFO] running `Command { std: "docker" "start" "-a" "0c85876386d3dec458e2449fb2b651f9337993240591d9dcc3794c44a4085d91", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bindgen v0.59.2 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Checking futures-sink v0.3.19 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking futures-io v0.3.19 [INFO] [stderr] Compiling clang-sys v1.3.0 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Checking zero v0.1.2 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Compiling anyhow v1.0.52 [INFO] [stderr] Checking combine v4.6.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking itertools v0.4.19 [INFO] [stderr] Checking fastrand v1.6.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Checking rustc_version v0.4.0 [INFO] [stderr] Checking hexdump v0.1.1 [INFO] [stderr] Checking cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling llvm-sys v130.0.1 [INFO] [stderr] Compiling rhdxmr-publish-test v0.2.8 (/opt/rustwide/workdir) [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling scroll_derive v0.10.5 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Checking toml_edit v0.2.1 [INFO] [stderr] Checking scroll v0.10.2 [INFO] [stderr] Checking tokio v1.15.0 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking goblin v0.4.3 [INFO] [stderr] Compiling bpf-sys v2.3.0 [INFO] [stderr] Checking futures-executor v0.3.19 [INFO] [stderr] Checking futures v0.3.19 [INFO] [stderr] Checking redbpf v2.3.0 [INFO] [stdout] warning: unexpected `cfg` condition name: `x86_64` [INFO] [stdout] --> src/build_constants.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | if cfg!(x86_64) { [INFO] [stdout] | ^^^^^^ help: found config with similar value: `target_arch = "x86_64"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(x86_64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(x86_64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `aarch64` [INFO] [stdout] --> src/build_constants.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | } else if cfg!(aarch64) { [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "aarch64"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(aarch64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(aarch64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `x86_64` [INFO] [stdout] --> src/build_constants.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | if cfg!(x86_64) { [INFO] [stdout] | ^^^^^^ help: found config with similar value: `target_arch = "x86_64"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(x86_64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(x86_64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `aarch64` [INFO] [stdout] --> src/build_constants.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | } else if cfg!(aarch64) { [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "aarch64"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(aarch64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(aarch64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [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/accessors.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 47 | fn new(items: Items, whitelist: HashSet) -> Self { [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] ... [INFO] [stdout] 51 | accessors: Vec::new(), [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/accessors.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 47 | fn new(items: Items, whitelist: HashSet) -> Self { [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] ... [INFO] [stdout] 52 | type_accessors: HashMap::new(), [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/bindgen.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get_builder_vmlinux(c_dump_file: impl AsRef) -> Result { [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 58 | Ok(bindgen::builder() [INFO] [stdout] | ________^ [INFO] [stdout] 59 | | .use_core() [INFO] [stdout] 60 | | .ctypes_prefix("::cty") [INFO] [stdout] 61 | | .parse_callbacks(Box::new(Callbacks)) [INFO] [stdout] 62 | | .header(c_dump_file.as_ref().to_str().unwrap())) [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/build.rs:230:59 [INFO] [stdout] | [INFO] [stdout] 230 | let elf_bytes = fs::read(&target).or_else(|e| Err(Error::IOError(e)))?; [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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] --> src/build.rs:232:82 [INFO] [stdout] | [INFO] [stdout] 232 | btf::tc_legacy_fix_btf_section(elf_bytes.as_slice()).or_else(|_| Err(Error::BTF))?; [INFO] [stdout] | - ^^^^^^^^^^ [INFO] [stdout] | | [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] --> src/build.rs:233:51 [INFO] [stdout] | [INFO] [stdout] 233 | fs::write(&target, fixed).or_else(|e| Err(Error::IOError(e)))?; [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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] --> src/build.rs:295:13 [INFO] [stdout] | [INFO] [stdout] 294 | .map(|iter| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 295 | iter.filter_map(|entry| entry.ok().map(|path| path.to_string_lossy().into_owned())) [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/llvm.rs:450:5 [INFO] [stdout] | [INFO] [stdout] 442 | let mut cmd = Command::new(cmd); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 450 | / cmd.args("--remove-section .text".split(' ')) [INFO] [stdout] 451 | | .arg("--no-strip-all") [INFO] [stdout] 452 | | .arg(target.as_ref()) [INFO] [stdout] 453 | | .status() [INFO] [stdout] 454 | | .map(|_| ()) [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] --> src/load.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 24 | let rt = runtime::Builder::new_current_thread() [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | rt.block_on(async { [INFO] [stdout] | _________________^ [INFO] [stdout] 29 | | // Load all the programs and maps included in the program [INFO] [stdout] 30 | | let mut loader = Loader::load_file(&program).expect("error loading file"); [INFO] [stdout] ... | [INFO] [stdout] 87 | | Ok(()) [INFO] [stdout] 88 | | }) [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 9 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rhdxmr-publish-test` (lib) due to 10 previous errors; 2 warnings emitted [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/accessors.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 47 | fn new(items: Items, whitelist: HashSet) -> Self { [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] ... [INFO] [stdout] 51 | accessors: Vec::new(), [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/accessors.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 47 | fn new(items: Items, whitelist: HashSet) -> Self { [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] ... [INFO] [stdout] 52 | type_accessors: HashMap::new(), [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/bindgen.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get_builder_vmlinux(c_dump_file: impl AsRef) -> Result { [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 58 | Ok(bindgen::builder() [INFO] [stdout] | ________^ [INFO] [stdout] 59 | | .use_core() [INFO] [stdout] 60 | | .ctypes_prefix("::cty") [INFO] [stdout] 61 | | .parse_callbacks(Box::new(Callbacks)) [INFO] [stdout] 62 | | .header(c_dump_file.as_ref().to_str().unwrap())) [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/build.rs:230:59 [INFO] [stdout] | [INFO] [stdout] 230 | let elf_bytes = fs::read(&target).or_else(|e| Err(Error::IOError(e)))?; [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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] --> src/build.rs:232:82 [INFO] [stdout] | [INFO] [stdout] 232 | btf::tc_legacy_fix_btf_section(elf_bytes.as_slice()).or_else(|_| Err(Error::BTF))?; [INFO] [stdout] | - ^^^^^^^^^^ [INFO] [stdout] | | [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] --> src/build.rs:233:51 [INFO] [stdout] | [INFO] [stdout] 233 | fs::write(&target, fixed).or_else(|e| Err(Error::IOError(e)))?; [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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] --> src/build.rs:295:13 [INFO] [stdout] | [INFO] [stdout] 294 | .map(|iter| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 295 | iter.filter_map(|entry| entry.ok().map(|path| path.to_string_lossy().into_owned())) [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/llvm.rs:450:5 [INFO] [stdout] | [INFO] [stdout] 442 | let mut cmd = Command::new(cmd); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 450 | / cmd.args("--remove-section .text".split(' ')) [INFO] [stdout] 451 | | .arg("--no-strip-all") [INFO] [stdout] 452 | | .arg(target.as_ref()) [INFO] [stdout] 453 | | .status() [INFO] [stdout] 454 | | .map(|_| ()) [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] --> src/load.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 24 | let rt = runtime::Builder::new_current_thread() [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | rt.block_on(async { [INFO] [stdout] | _________________^ [INFO] [stdout] 29 | | // Load all the programs and maps included in the program [INFO] [stdout] 30 | | let mut loader = Loader::load_file(&program).expect("error loading file"); [INFO] [stdout] ... | [INFO] [stdout] 87 | | Ok(()) [INFO] [stdout] 88 | | }) [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 9 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rhdxmr-publish-test` (lib test) due to 10 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0c85876386d3dec458e2449fb2b651f9337993240591d9dcc3794c44a4085d91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c85876386d3dec458e2449fb2b651f9337993240591d9dcc3794c44a4085d91", kill_on_drop: false }` [INFO] [stdout] 0c85876386d3dec458e2449fb2b651f9337993240591d9dcc3794c44a4085d91