[INFO] fetching crate bpf-loader-lib 0.2.1... [INFO] checking bpf-loader-lib-0.2.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate bpf-loader-lib 0.2.1 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate bpf-loader-lib 0.2.1 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 bpf-loader-lib 0.2.1 [INFO] finished tweaking crates.io crate bpf-loader-lib 0.2.1 [INFO] tweaked toml for crates.io crate bpf-loader-lib 0.2.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 195 packages to latest compatible versions [INFO] [stderr] Adding ahash v0.4.8 (latest: v0.8.11) [INFO] [stderr] Adding base64 v0.13.1 (latest: v0.22.1) [INFO] [stderr] Adding base64 v0.21.7 (latest: v0.22.1) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding blazesym v0.2.0-alpha.2 (latest: v0.2.0-rc.0) [INFO] [stderr] Adding btfdump v0.0.2 (latest: v0.0.4) [INFO] [stderr] Adding clap v2.34.0 (latest: v4.5.16) [INFO] [stderr] Adding flexi_logger v0.25.6 (latest: v0.29.0) [INFO] [stderr] Adding goblin v0.0.19 (latest: v0.8.2) [INFO] [stderr] Adding goblin v0.0.20 (latest: v0.8.2) [INFO] [stderr] Adding goblin v0.3.4 (latest: v0.8.2) [INFO] [stderr] Adding hashbrown v0.9.1 (latest: v0.14.5) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.5) [INFO] [stderr] Adding hashbrown v0.13.2 (latest: v0.14.5) [INFO] [stderr] Adding heck v0.3.3 (latest: v0.5.0) [INFO] [stderr] Adding heck v0.4.1 (latest: v0.5.0) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.4.0) [INFO] [stderr] Adding indexmap v1.9.3 (latest: v2.5.0) [INFO] [stderr] Adding libbpf-rs v0.20.1 (latest: v0.24.4) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5) [INFO] [stderr] Adding lru v0.10.1 (latest: v0.12.4) [INFO] [stderr] Adding memoffset v0.7.1 (latest: v0.9.1) [INFO] [stderr] Adding nix v0.26.4 (latest: v0.29.0) [INFO] [stderr] Adding nu-ansi-term v0.49.0 (latest: v0.50.1) [INFO] [stderr] Adding num_enum v0.5.11 (latest: v0.7.3) [INFO] [stderr] Adding num_enum_derive v0.5.11 (latest: v0.7.3) [INFO] [stderr] Adding object v0.11.0 (latest: v0.36.4) [INFO] [stderr] Adding ouroboros v0.16.0 (latest: v0.18.4) [INFO] [stderr] Adding ouroboros_macro v0.16.0 (latest: v0.18.4) [INFO] [stderr] Adding parity-wasm v0.35.7 (latest: v0.45.0) [INFO] [stderr] Adding proc-macro-crate v1.3.1 (latest: v3.2.0) [INFO] [stderr] Adding proc-macro2 v0.4.30 (latest: v1.0.86) [INFO] [stderr] Adding quote v0.6.13 (latest: v1.0.37) [INFO] [stderr] Adding rustc_version v0.2.3 (latest: v0.4.1) [INFO] [stderr] Adding scroll v0.9.2 (latest: v0.12.0) [INFO] [stderr] Adding scroll v0.10.2 (latest: v0.12.0) [INFO] [stderr] Adding scroll_derive v0.9.5 (latest: v0.12.0) [INFO] [stderr] Adding scroll_derive v0.10.5 (latest: v0.12.0) [INFO] [stderr] Adding semver v0.9.0 (latest: v1.0.23) [INFO] [stderr] Adding semver-parser v0.7.0 (latest: v0.10.2) [INFO] [stderr] Adding serde_with v2.3.3 (latest: v3.9.0) [INFO] [stderr] Adding serde_with_macros v2.3.3 (latest: v3.9.0) [INFO] [stderr] Adding string-interner v0.12.2 (latest: v0.17.0) [INFO] [stderr] Adding strsim v0.8.0 (latest: v0.11.1) [INFO] [stderr] Adding structopt v0.2.18 (latest: v0.3.26) [INFO] [stderr] Adding structopt-derive v0.2.18 (latest: v0.4.18) [INFO] [stderr] Adding strum_macros v0.24.3 (latest: v0.26.4) [INFO] [stderr] Adding syn v0.15.44 (latest: v2.0.77) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding target-lexicon v0.11.2 (latest: v0.12.16) [INFO] [stderr] Adding textwrap v0.11.0 (latest: v0.16.1) [INFO] [stderr] Adding toml_edit v0.19.15 (latest: v0.22.20) [INFO] [stderr] Adding unicode-xid v0.1.0 (latest: v0.2.5) [INFO] [stderr] Adding uuid v0.7.4 (latest: v1.10.0) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.0) [INFO] [stderr] Adding windows-sys v0.48.0 (latest: v0.59.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] [stderr] Adding windows-targets v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding winnow v0.5.40 (latest: v0.6.18) [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] 907566cb48d54a337b850a374ee987984b970197a77c6f2216a74015c49f6774 [INFO] running `Command { std: "docker" "start" "-a" "907566cb48d54a337b850a374ee987984b970197a77c6f2216a74015c49f6774", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "907566cb48d54a337b850a374ee987984b970197a77c6f2216a74015c49f6774", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "907566cb48d54a337b850a374ee987984b970197a77c6f2216a74015c49f6774", kill_on_drop: false }` [INFO] [stdout] 907566cb48d54a337b850a374ee987984b970197a77c6f2216a74015c49f6774 [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] 2f050660b308c97e887f1bfdbd09156542c978a84fcfeec1db60d2a2f14695c2 [INFO] running `Command { std: "docker" "start" "-a" "2f050660b308c97e887f1bfdbd09156542c978a84fcfeec1db60d2a2f14695c2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking term_size v0.3.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling vsprintf v2.0.0 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking ahash v0.4.8 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Compiling target-lexicon v0.11.2 [INFO] [stderr] Checking rustix v0.38.35 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking parity-wasm v0.35.7 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Compiling scroll v0.9.2 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking lru v0.10.1 [INFO] [stderr] Checking os-release v0.1.0 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking aliasable v0.1.3 [INFO] [stderr] Checking uname-rs v0.1.1 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking nu-ansi-term v0.49.0 [INFO] [stderr] Checking deflate v1.0.0 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking perf-event-open-sys v4.0.0 [INFO] [stderr] Checking errno v0.3.9 [INFO] [stderr] Compiling blazesym v0.2.0-alpha.2 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking xattr v1.3.1 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Compiling scroll_derive v0.9.5 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Checking tar v0.4.41 [INFO] [stderr] Compiling scroll_derive v0.10.5 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling libbpf-sys v1.4.5+v1.4.5 [INFO] [stderr] Checking structopt v0.2.18 [INFO] [stderr] Checking scroll v0.10.2 [INFO] [stderr] Checking goblin v0.0.19 [INFO] [stderr] Checking goblin v0.0.20 [INFO] [stderr] Checking clap v4.5.16 [INFO] [stderr] Checking goblin v0.3.4 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling ouroboros_macro v0.16.0 [INFO] [stderr] Checking num_enum v0.5.11 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking bpf-compatible-rs v0.1.3 [INFO] [stderr] Checking flexi_logger v0.25.6 [INFO] [stderr] Checking libbpf-rs v0.20.1 [INFO] [stderr] Checking object v0.11.0 [INFO] [stderr] Checking ouroboros v0.16.0 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking btfdump v0.0.2 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling serde_with_macros v2.3.3 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Checking string-interner v0.12.2 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking serde_with v2.3.3 [INFO] [stderr] Checking faerie v0.16.0 [INFO] [stderr] Checking bpf-loader-lib v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/skeleton/preload/attach/mod.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | BpfLink(Link), [INFO] [stdout] | ------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 24 | BpfLink(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/skeleton/preload/attach/mod.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | PerfEventAttachWithFd(Link, i32), [INFO] [stdout] | --------------------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 27 | PerfEventAttachWithFd((), i32), [INFO] [stdout] | ~~ [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/export_event/mod.rs:205:35 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn set_export_event_handler(self, handler: Arc) -> 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] 204 | Self { [INFO] [stdout] 205 | export_event_handler: Some(handler), [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/export_event/mod.rs:212:23 [INFO] [stdout] | [INFO] [stdout] 210 | pub fn set_user_context(self, ctx: T) -> 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] 211 | Self { [INFO] [stdout] 212 | user_ctx: Some(Arc::new(ctx)), [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/export_event/mod.rs:230:12 [INFO] [stdout] | [INFO] [stdout] 218 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 219 | export_type: TypeDescriptor, [INFO] [stdout] 220 | btf_container: Arc, [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 230 | Ok(Arc::new_cyclic(move |me| { [INFO] [stdout] | ____________^ [INFO] [stdout] 231 | | let internal_event_processor: Box = [INFO] [stdout] 232 | | match (self.export_format, intepreter) { [INFO] [stdout] 233 | | (ExportFormatType::Json, BufferValueInterpreter::DefaultStruct) => { [INFO] [stdout] ... | [INFO] [stdout] 282 | | } [INFO] [stdout] 283 | | })) [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/export_event/mod.rs:278:32 [INFO] [stdout] | [INFO] [stdout] 218 | self, [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] 219 | export_type: TypeDescriptor, [INFO] [stdout] 220 | btf_container: Arc, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 231 | let internal_event_processor: Box = [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 278 | internal_impl: ExporterInternalImplementation::BufferValueProcessor { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 279 | | event_processor: internal_event_processor, [INFO] [stdout] 280 | | checked_types: checked_exported_members, [INFO] [stdout] 281 | | }, [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/export_event/mod.rs:320:12 [INFO] [stdout] | [INFO] [stdout] 304 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 308 | btf_container: Arc, [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 320 | Ok(Arc::new_cyclic(move |me| { [INFO] [stdout] | ____________^ [INFO] [stdout] 321 | | let internal_sample_map_processor: Box = match self [INFO] [stdout] 322 | | .export_format [INFO] [stdout] 323 | | { [INFO] [stdout] ... | [INFO] [stdout] 362 | | } [INFO] [stdout] 363 | | })) [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] --> src/export_event/mod.rs:354:32 [INFO] [stdout] | [INFO] [stdout] 304 | self, [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] 308 | btf_container: Arc, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 321 | let internal_sample_map_processor: Box = match self [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 354 | internal_impl: ExporterInternalImplementation::KeyValueMapProcessor { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 355 | | event_processor: internal_sample_map_processor, [INFO] [stdout] 356 | | checked_key_types, [INFO] [stdout] 357 | | checked_value_types, [INFO] [stdout] 358 | | sample_map_config: sample_config.clone(), [INFO] [stdout] 359 | | }, [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/skeleton/mod.rs:378:50 [INFO] [stdout] | [INFO] [stdout] 378 | .map(|v| (export_format_type, v, user_context.clone())) [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/skeleton/builder.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 102 | Err(e) => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 142 | let btf = { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 185 | let open_object = unsafe { OpenObject::from_ptr(NonNull::new_unchecked(open_result)) }?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 186 | [INFO] [stdout] 187 | Ok(PreLoadBpfSkeleton { [INFO] [stdout] | ____________^ [INFO] [stdout] 188 | | bpf_object: open_object, [INFO] [stdout] 189 | | config_data: self.runner_config.unwrap_or_default(), [INFO] [stdout] 190 | | btf, [INFO] [stdout] ... | [INFO] [stdout] 193 | | raw_elf: ElfContainer::new_from_binary(self.bpf_object)?, [INFO] [stdout] 194 | | }) [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] | | 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] --> src/skeleton/preload/mod.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn load_and_attach(mut self) -> Result { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 123 | let mut bpf_object = self [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 129 | let mut links = vec![]; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 166 | Ok(BpfSkeleton { [INFO] [stdout] | ____________^ [INFO] [stdout] 167 | | handle: PollingHandle::new(), [INFO] [stdout] 168 | | meta: self.meta, [INFO] [stdout] 169 | | config_data: self.config_data, [INFO] [stdout] ... | [INFO] [stdout] 172 | | prog: bpf_object, [INFO] [stdout] 173 | | }) [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] --> src/skeleton/preload/attach/tc.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 23 | let mut tc_hook = Box::new(unsafe { std::mem::zeroed::() }); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | let mut tc_opts = Box::new(unsafe { std::mem::zeroed::() }); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | Ok(AttachLink::TCAttach(tc_hook)) [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/skeleton/preload/attach/xdp.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 24 | let mut xdp_attach_opts = Box::new(unsafe { std::mem::zeroed::() }); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | Ok(AttachLink::XDPAttach(ifindex, flags, xdp_attach_opts)) [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; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bpf-loader-lib` (lib) due to 12 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/skeleton/preload/attach/mod.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | BpfLink(Link), [INFO] [stdout] | ------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 24 | BpfLink(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/skeleton/preload/attach/mod.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | PerfEventAttachWithFd(Link, i32), [INFO] [stdout] | --------------------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 27 | PerfEventAttachWithFd((), i32), [INFO] [stdout] | ~~ [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/export_event/mod.rs:205:35 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn set_export_event_handler(self, handler: Arc) -> 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] 204 | Self { [INFO] [stdout] 205 | export_event_handler: Some(handler), [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/export_event/mod.rs:212:23 [INFO] [stdout] | [INFO] [stdout] 210 | pub fn set_user_context(self, ctx: T) -> 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] 211 | Self { [INFO] [stdout] 212 | user_ctx: Some(Arc::new(ctx)), [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/export_event/mod.rs:230:12 [INFO] [stdout] | [INFO] [stdout] 218 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 219 | export_type: TypeDescriptor, [INFO] [stdout] 220 | btf_container: Arc, [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 230 | Ok(Arc::new_cyclic(move |me| { [INFO] [stdout] | ____________^ [INFO] [stdout] 231 | | let internal_event_processor: Box = [INFO] [stdout] 232 | | match (self.export_format, intepreter) { [INFO] [stdout] 233 | | (ExportFormatType::Json, BufferValueInterpreter::DefaultStruct) => { [INFO] [stdout] ... | [INFO] [stdout] 282 | | } [INFO] [stdout] 283 | | })) [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/export_event/mod.rs:278:32 [INFO] [stdout] | [INFO] [stdout] 218 | self, [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] 219 | export_type: TypeDescriptor, [INFO] [stdout] 220 | btf_container: Arc, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 231 | let internal_event_processor: Box = [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 278 | internal_impl: ExporterInternalImplementation::BufferValueProcessor { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 279 | | event_processor: internal_event_processor, [INFO] [stdout] 280 | | checked_types: checked_exported_members, [INFO] [stdout] 281 | | }, [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/export_event/mod.rs:320:12 [INFO] [stdout] | [INFO] [stdout] 304 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 308 | btf_container: Arc, [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 320 | Ok(Arc::new_cyclic(move |me| { [INFO] [stdout] | ____________^ [INFO] [stdout] 321 | | let internal_sample_map_processor: Box = match self [INFO] [stdout] 322 | | .export_format [INFO] [stdout] 323 | | { [INFO] [stdout] ... | [INFO] [stdout] 362 | | } [INFO] [stdout] 363 | | })) [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] --> src/export_event/mod.rs:354:32 [INFO] [stdout] | [INFO] [stdout] 304 | self, [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] 308 | btf_container: Arc, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 321 | let internal_sample_map_processor: Box = match self [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 354 | internal_impl: ExporterInternalImplementation::KeyValueMapProcessor { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 355 | | event_processor: internal_sample_map_processor, [INFO] [stdout] 356 | | checked_key_types, [INFO] [stdout] 357 | | checked_value_types, [INFO] [stdout] 358 | | sample_map_config: sample_config.clone(), [INFO] [stdout] 359 | | }, [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/export_event/tests/mod.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 24 | let btf = BtfContainer::new_from_binary(&std::fs::read(assets.join(elf)).unwrap()).unwrap(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | (Arc::new(btf), bin_data, skel) [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/skeleton/mod.rs:378:50 [INFO] [stdout] | [INFO] [stdout] 378 | .map(|v| (export_format_type, v, user_context.clone())) [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/skeleton/builder.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 102 | Err(e) => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 142 | let btf = { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 185 | let open_object = unsafe { OpenObject::from_ptr(NonNull::new_unchecked(open_result)) }?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 186 | [INFO] [stdout] 187 | Ok(PreLoadBpfSkeleton { [INFO] [stdout] | ____________^ [INFO] [stdout] 188 | | bpf_object: open_object, [INFO] [stdout] 189 | | config_data: self.runner_config.unwrap_or_default(), [INFO] [stdout] 190 | | btf, [INFO] [stdout] ... | [INFO] [stdout] 193 | | raw_elf: ElfContainer::new_from_binary(self.bpf_object)?, [INFO] [stdout] 194 | | }) [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] | | 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] --> src/skeleton/preload/mod.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn load_and_attach(mut self) -> Result { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 123 | let mut bpf_object = self [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 129 | let mut links = vec![]; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 166 | Ok(BpfSkeleton { [INFO] [stdout] | ____________^ [INFO] [stdout] 167 | | handle: PollingHandle::new(), [INFO] [stdout] 168 | | meta: self.meta, [INFO] [stdout] 169 | | config_data: self.config_data, [INFO] [stdout] ... | [INFO] [stdout] 172 | | prog: bpf_object, [INFO] [stdout] 173 | | }) [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] --> src/skeleton/preload/attach/tc.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 23 | let mut tc_hook = Box::new(unsafe { std::mem::zeroed::() }); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | let mut tc_opts = Box::new(unsafe { std::mem::zeroed::() }); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | Ok(AttachLink::TCAttach(tc_hook)) [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/skeleton/preload/attach/xdp.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 24 | let mut xdp_attach_opts = Box::new(unsafe { std::mem::zeroed::() }); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | Ok(AttachLink::XDPAttach(ifindex, flags, xdp_attach_opts)) [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 12 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bpf-loader-lib` (lib test) due to 13 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2f050660b308c97e887f1bfdbd09156542c978a84fcfeec1db60d2a2f14695c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f050660b308c97e887f1bfdbd09156542c978a84fcfeec1db60d2a2f14695c2", kill_on_drop: false }` [INFO] [stdout] 2f050660b308c97e887f1bfdbd09156542c978a84fcfeec1db60d2a2f14695c2