[INFO] cloning repository https://github.com/eqrion/cbindgen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eqrion/cbindgen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feqrion%2Fcbindgen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feqrion%2Fcbindgen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3ed9434f097b3a05b4ed6eedf80877d5d4b9ace9 [INFO] checking eqrion/cbindgen against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feqrion%2Fcbindgen" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eqrion/cbindgen on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/eqrion/cbindgen [INFO] finished tweaking git repo https://github.com/eqrion/cbindgen [INFO] tweaked toml for git repo https://github.com/eqrion/cbindgen written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/eqrion/cbindgen 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.205 [INFO] [stderr] Downloaded serial_test_derive v2.0.0 [INFO] [stderr] Downloaded serial_test v2.0.0 [INFO] [stderr] Downloaded serde v1.0.205 [INFO] [stderr] Downloaded clap v4.5.15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b97245fe41d552b5c51556be328bc6bbdc52ab6009bde7be4ed8823b22ac7a11 [INFO] running `Command { std: "docker" "start" "-a" "b97245fe41d552b5c51556be328bc6bbdc52ab6009bde7be4ed8823b22ac7a11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b97245fe41d552b5c51556be328bc6bbdc52ab6009bde7be4ed8823b22ac7a11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b97245fe41d552b5c51556be328bc6bbdc52ab6009bde7be4ed8823b22ac7a11", kill_on_drop: false }` [INFO] [stdout] b97245fe41d552b5c51556be328bc6bbdc52ab6009bde7be4ed8823b22ac7a11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe074ea4b4f22d132d3e9a788476f8b792bd32cc38075c797f5dcde339640f0f [INFO] running `Command { std: "docker" "start" "-a" "fe074ea4b4f22d132d3e9a788476f8b792bd32cc38075c797f5dcde339640f0f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling serde v1.0.205 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking winnow v0.6.18 [INFO] [stderr] Compiling cbindgen v0.27.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking heck v0.4.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking quote v1.0.36 [INFO] [stderr] Checking indexmap v2.3.0 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking syn v2.0.72 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking clap v4.5.15 [INFO] [stderr] Compiling serde_derive v1.0.205 [INFO] [stderr] Compiling serial_test_derive v2.0.0 [INFO] [stderr] Checking serial_test v2.0.0 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking toml_edit v0.22.20 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.45s [INFO] running `Command { std: "docker" "inspect" "fe074ea4b4f22d132d3e9a788476f8b792bd32cc38075c797f5dcde339640f0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe074ea4b4f22d132d3e9a788476f8b792bd32cc38075c797f5dcde339640f0f", kill_on_drop: false }` [INFO] [stdout] fe074ea4b4f22d132d3e9a788476f8b792bd32cc38075c797f5dcde339640f0f [INFO] checking eqrion/cbindgen against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feqrion%2Fcbindgen" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eqrion/cbindgen on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/eqrion/cbindgen [INFO] finished tweaking git repo https://github.com/eqrion/cbindgen [INFO] tweaked toml for git repo https://github.com/eqrion/cbindgen written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/eqrion/cbindgen 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8f54a169867cc63017bac44cf2e559d9178934b1c14fe1e3d122fe071895abee [INFO] running `Command { std: "docker" "start" "-a" "8f54a169867cc63017bac44cf2e559d9178934b1c14fe1e3d122fe071895abee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f54a169867cc63017bac44cf2e559d9178934b1c14fe1e3d122fe071895abee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f54a169867cc63017bac44cf2e559d9178934b1c14fe1e3d122fe071895abee", kill_on_drop: false }` [INFO] [stdout] 8f54a169867cc63017bac44cf2e559d9178934b1c14fe1e3d122fe071895abee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57b136a7f332418ab4994c0ad1185e2dbaff765718729cfc48aa5d214b7261bf [INFO] running `Command { std: "docker" "start" "-a" "57b136a7f332418ab4994c0ad1185e2dbaff765718729cfc48aa5d214b7261bf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling serde v1.0.205 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking winnow v0.6.18 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Compiling cbindgen v0.27.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking heck v0.4.1 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking quote v1.0.36 [INFO] [stderr] Checking indexmap v2.3.0 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking syn v2.0.72 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking clap v4.5.15 [INFO] [stderr] Compiling serde_derive v1.0.205 [INFO] [stderr] Compiling serial_test_derive v2.0.0 [INFO] [stderr] Checking serial_test v2.0.0 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking toml_edit v0.22.20 [INFO] [stderr] Checking toml v0.8.19 [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/lib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 34 | crate_dir: P, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | / Builder::new() [INFO] [stdout] 38 | | .with_config(config) [INFO] [stdout] 39 | | .with_crate(crate_dir) [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/bindgen/bindings.rs:143:22 [INFO] [stdout] | [INFO] [stdout] 143 | .map(|p| p.canonicalize().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/bindgen/bitflags.rs:267:12 [INFO] [stdout] | [INFO] [stdout] 261 | let content; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 262 | let _ = braced!(content in input); [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 263 | let mut flags = vec![]; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 267 | Ok(Flags(flags)) [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/builder.rs:398:9 [INFO] [stdout] | [INFO] [stdout] 347 | pub fn generate(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 368 | let mut result = Parse::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 398 | / Library::new( [INFO] [stdout] 399 | | self.config, [INFO] [stdout] 400 | | result.constants, [INFO] [stdout] 401 | | result.globals, [INFO] [stdout] ... | [INFO] [stdout] 409 | | result.package_version, [INFO] [stdout] 410 | | ) [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/cargo/cargo.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 47 | let metadata = [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | Err(x) => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 76 | Ok(Cargo { [INFO] [stdout] | ____________^ [INFO] [stdout] 77 | | manifest_path: toml_path, [INFO] [stdout] 78 | | binding_crate_name, [INFO] [stdout] 79 | | lock, [INFO] [stdout] 80 | | metadata, [INFO] [stdout] 81 | | clean, [INFO] [stdout] 82 | | }) [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] [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/cdecl.rs:178:62 [INFO] [stdout] | [INFO] [stdout] 178 | .map(|(ref name, ref ty)| (name.clone(), CDecl::from_type(ty, config))) [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/lib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 34 | crate_dir: P, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | / Builder::new() [INFO] [stdout] 38 | | .with_config(config) [INFO] [stdout] 39 | | .with_crate(crate_dir) [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/bindgen/bindings.rs:143:22 [INFO] [stdout] | [INFO] [stdout] 143 | .map(|p| p.canonicalize().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/bindgen/config.rs:822:61 [INFO] [stdout] | [INFO] [stdout] 821 | fn visit_map>(self, map: A) -> Result { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 822 | ::deserialize(MapAccessDeserializer::new(map)) [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/bitflags.rs:267:12 [INFO] [stdout] | [INFO] [stdout] 261 | let content; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 262 | let _ = braced!(content in input); [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 263 | let mut flags = vec![]; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 267 | Ok(Flags(flags)) [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/builder.rs:398:9 [INFO] [stdout] | [INFO] [stdout] 347 | pub fn generate(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 368 | let mut result = Parse::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 398 | / Library::new( [INFO] [stdout] 399 | | self.config, [INFO] [stdout] 400 | | result.constants, [INFO] [stdout] 401 | | result.globals, [INFO] [stdout] ... | [INFO] [stdout] 409 | | result.package_version, [INFO] [stdout] 410 | | ) [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/cargo/cargo.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 47 | let metadata = [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | Err(x) => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 76 | Ok(Cargo { [INFO] [stdout] | ____________^ [INFO] [stdout] 77 | | manifest_path: toml_path, [INFO] [stdout] 78 | | binding_crate_name, [INFO] [stdout] 79 | | lock, [INFO] [stdout] 80 | | metadata, [INFO] [stdout] 81 | | clean, [INFO] [stdout] 82 | | }) [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] [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/ir/annotation.rs:200:47 [INFO] [stdout] | [INFO] [stdout] 200 | .map_or(T::default(), |y| y.parse::().ok().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/bindgen/ir/cfg.rs:140:15 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn append(parent: Option<&Cfg>, child: Option) -> Option { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 140 | match (parent, child) { [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/ir/cfg.rs:261:43 [INFO] [stdout] | [INFO] [stdout] 261 | .map(|cfg| Condition::Not(Box::new(cfg))), [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/bindgen/cdecl.rs:178:62 [INFO] [stdout] | [INFO] [stdout] 178 | .map(|(ref name, ref ty)| (name.clone(), CDecl::from_type(ty, config))) [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/ir/constant.rs:520:12 [INFO] [stdout] | [INFO] [stdout] 505 | let ty = Type::load(ty)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 506 | let mut ty = match ty { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 507 | Some(ty) => ty, [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 513 | let mut lit = Literal::load(expr)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 520 | Ok(Constant::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 521 | | path, [INFO] [stdout] 522 | | ty, [INFO] [stdout] 523 | | lit, [INFO] [stdout] ... | [INFO] [stdout] 527 | | associated_to, [INFO] [stdout] 528 | | )) [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/bindgen/ir/enumeration.rs:223:12 [INFO] [stdout] | [INFO] [stdout] 101 | generic_params: GenericParams, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 107 | let discriminant = match variant.discriminant { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 149 | let variant_cfg = Cfg::append(mod_cfg, Cfg::load(&variant.attrs)); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 159 | let body = match variant.fields { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 223 | Ok(EnumVariant::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 224 | | variant.ident.unraw().to_string(), [INFO] [stdout] 225 | | discriminant, [INFO] [stdout] 226 | | body, [INFO] [stdout] 227 | | variant_cfg, [INFO] [stdout] 228 | | Documentation::load(&variant.attrs), [INFO] [stdout] 229 | | )) [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] [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/ir/enumeration.rs:411:12 [INFO] [stdout] | [INFO] [stdout] 362 | let generic_params = GenericParams::load(&item.generics)?; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 363 | [INFO] [stdout] 364 | let mut variants = Vec::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 411 | Ok(Enum::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 412 | | path, [INFO] [stdout] 413 | | generic_params, [INFO] [stdout] 414 | | repr, [INFO] [stdout] ... | [INFO] [stdout] 419 | | Documentation::load(&item.attrs), [INFO] [stdout] 420 | | )) [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/bindgen/ir/field.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn from_name_and_type(name: String, ty: Type) -> Field { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 20 | cfg: None, [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/ir/function.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 50 | let mut args = sig.inputs.iter().try_skip_map(|x| x.as_argument())?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 59 | let (mut ret, never_return) = Type::load_from_output(&sig.output)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | Ok(Function { [INFO] [stdout] | ____________^ [INFO] [stdout] 69 | | path, [INFO] [stdout] 70 | | self_type_path: self_type_path.cloned(), [INFO] [stdout] 71 | | ret, [INFO] [stdout] ... | [INFO] [stdout] 77 | | never_return, [INFO] [stdout] 78 | | }) [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/bindgen/ir/function.rs:241:8 [INFO] [stdout] | [INFO] [stdout] 229 | let mut self_ty = Type::Path(GenericPath::self_path()); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 241 | Ok(Type::Ptr { [INFO] [stdout] | ________^ [INFO] [stdout] 242 | | ty: Box::new(self_ty), [INFO] [stdout] 243 | | is_const, [INFO] [stdout] 244 | | is_nullable: false, [INFO] [stdout] 245 | | is_ref: false, [INFO] [stdout] 246 | | }) [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/config.rs:822:61 [INFO] [stdout] | [INFO] [stdout] 821 | fn visit_map>(self, map: A) -> Result { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 822 | ::deserialize(MapAccessDeserializer::new(map)) [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/ir/generic_path.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 96 | let mut params = vec![]; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | Ok(GenericParams(params)) [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/ir/generic_path.rs:341:12 [INFO] [stdout] | [INFO] [stdout] 323 | let generics = match last_segment.arguments { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 341 | Ok(Self::new(path, generics)) [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/bindgen/ir/global.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 30 | let ty = Type::load(&item.ty)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 36 | Ok(Static::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 37 | | path, [INFO] [stdout] 38 | | ty.unwrap(), [INFO] [stdout] 39 | | matches!(item.mutability, syn::StaticMutability::Mut(_)), [INFO] [stdout] ... | [INFO] [stdout] 42 | | Documentation::load(&item.attrs), [INFO] [stdout] 43 | | )) [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/bindgen/ir/structure.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 74 | let fields = match item.fields { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | let mut out = Vec::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 84 | if let Some(mut ty) = Type::load(&field.ty)? { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | Ok(Struct::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 104 | | path, [INFO] [stdout] 105 | | GenericParams::load(&item.generics)?, [INFO] [stdout] 106 | | fields, [INFO] [stdout] ... | [INFO] [stdout] 113 | | Documentation::load(&item.attrs), [INFO] [stdout] 114 | | )) [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] [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/ir/structure.rs:209:25 [INFO] [stdout] | [INFO] [stdout] 209 | ty: field.ty.specialize(mappings), [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/ir/annotation.rs:200:47 [INFO] [stdout] | [INFO] [stdout] 200 | .map_or(T::default(), |y| y.parse::().ok().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/bindgen/ir/structure.rs:210:26 [INFO] [stdout] | [INFO] [stdout] 210 | cfg: field.cfg.clone(), [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/ir/cfg.rs:140:15 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn append(parent: Option<&Cfg>, child: Option) -> Option { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 140 | match (parent, child) { [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/ir/cfg.rs:261:43 [INFO] [stdout] | [INFO] [stdout] 261 | .map(|cfg| Condition::Not(Box::new(cfg))), [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/bindgen/ir/ty.rs:351:12 [INFO] [stdout] | [INFO] [stdout] 340 | let ty = match output { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 351 | Ok((ty, never_return)) [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/bindgen/ir/ty.rs:464:12 [INFO] [stdout] | [INFO] [stdout] 355 | let converted = match *ty { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 356 | syn::Type::Reference(ref reference) => { [INFO] [stdout] 357 | let converted = Type::load(&reference.elem)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 358 | [INFO] [stdout] 359 | let converted = match converted { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 360 | Some(converted) => converted, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 374 | let converted = Type::load(&pointer.elem)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 375 | [INFO] [stdout] 376 | let converted = match converted { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 377 | Some(converted) => converted, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 390 | let generic_path = GenericPath::load(&path.path)?; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 408 | let converted = Type::load(elem)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 409 | [INFO] [stdout] 410 | let converted = match converted { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 411 | Some(converted) => converted, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 420 | let mut args = function.inputs.iter().try_skip_map(|x| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 444 | let (ret, never_return) = Type::load_from_output(&function.output)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 464 | Ok(Some(converted)) [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] = 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/ir/constant.rs:520:12 [INFO] [stdout] | [INFO] [stdout] 505 | let ty = Type::load(ty)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 506 | let mut ty = match ty { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 507 | Some(ty) => ty, [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 513 | let mut lit = Literal::load(expr)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 520 | Ok(Constant::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 521 | | path, [INFO] [stdout] 522 | | ty, [INFO] [stdout] 523 | | lit, [INFO] [stdout] ... | [INFO] [stdout] 527 | | associated_to, [INFO] [stdout] 528 | | )) [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/bindgen/ir/ty.rs:677:46 [INFO] [stdout] | [INFO] [stdout] 677 | .map(|(name, ty)| (name, ty.specialize(mappings))) [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/bindgen/ir/union.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 51 | let (fields, tuple_union) = { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | let out = item [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | Ok(Union::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 61 | | path, [INFO] [stdout] 62 | | GenericParams::load(&item.generics)?, [INFO] [stdout] 63 | | fields, [INFO] [stdout] ... | [INFO] [stdout] 68 | | Documentation::load(&item.attrs), [INFO] [stdout] 69 | | )) [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/bindgen/ir/union.rs:202:25 [INFO] [stdout] | [INFO] [stdout] 202 | ty: field.ty.clone(), [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/ir/union.rs:203:26 [INFO] [stdout] | [INFO] [stdout] 203 | cfg: field.cfg.clone(), [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/ir/union.rs:246:25 [INFO] [stdout] | [INFO] [stdout] 246 | ty: field.ty.specialize(&mappings), [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/ir/union.rs:247:26 [INFO] [stdout] | [INFO] [stdout] 247 | cfg: field.cfg.clone(), [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/ir/enumeration.rs:223:12 [INFO] [stdout] | [INFO] [stdout] 101 | generic_params: GenericParams, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 107 | let discriminant = match variant.discriminant { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 149 | let variant_cfg = Cfg::append(mod_cfg, Cfg::load(&variant.attrs)); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 159 | let body = match variant.fields { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 223 | Ok(EnumVariant::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 224 | | variant.ident.unraw().to_string(), [INFO] [stdout] 225 | | discriminant, [INFO] [stdout] 226 | | body, [INFO] [stdout] 227 | | variant_cfg, [INFO] [stdout] 228 | | Documentation::load(&variant.attrs), [INFO] [stdout] 229 | | )) [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] [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/ir/enumeration.rs:411:12 [INFO] [stdout] | [INFO] [stdout] 362 | let generic_params = GenericParams::load(&item.generics)?; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 363 | [INFO] [stdout] 364 | let mut variants = Vec::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 411 | Ok(Enum::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 412 | | path, [INFO] [stdout] 413 | | generic_params, [INFO] [stdout] 414 | | repr, [INFO] [stdout] ... | [INFO] [stdout] 419 | | Documentation::load(&item.attrs), [INFO] [stdout] 420 | | )) [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/bindgen/ir/field.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn from_name_and_type(name: String, ty: Type) -> Field { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 20 | cfg: None, [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/ir/function.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 50 | let mut args = sig.inputs.iter().try_skip_map(|x| x.as_argument())?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 59 | let (mut ret, never_return) = Type::load_from_output(&sig.output)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | Ok(Function { [INFO] [stdout] | ____________^ [INFO] [stdout] 69 | | path, [INFO] [stdout] 70 | | self_type_path: self_type_path.cloned(), [INFO] [stdout] 71 | | ret, [INFO] [stdout] ... | [INFO] [stdout] 77 | | never_return, [INFO] [stdout] 78 | | }) [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/bindgen/ir/function.rs:241:8 [INFO] [stdout] | [INFO] [stdout] 229 | let mut self_ty = Type::Path(GenericPath::self_path()); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 241 | Ok(Type::Ptr { [INFO] [stdout] | ________^ [INFO] [stdout] 242 | | ty: Box::new(self_ty), [INFO] [stdout] 243 | | is_const, [INFO] [stdout] 244 | | is_nullable: false, [INFO] [stdout] 245 | | is_ref: false, [INFO] [stdout] 246 | | }) [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/library.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn generate(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] 82 | let mut dependencies = Dependencies::new(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 109 | let items = dependencies.order; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 110 | let constants = if self.config.export.should_generate(ItemType::Constants) { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 111 | let mut constants = self.constants.to_vec(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 121 | let globals = if self.config.export.should_generate(ItemType::Globals) { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 122 | let mut globals = self.globals.to_vec(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 131 | let functions = if self.config.export.should_generate(ItemType::Functions) { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 137 | Ok(Bindings::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 138 | | self.config, [INFO] [stdout] 139 | | self.structs, [INFO] [stdout] 140 | | self.typedefs, [INFO] [stdout] ... | [INFO] [stdout] 147 | | self.package_version, [INFO] [stdout] 148 | | )) [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/ir/generic_path.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 96 | let mut params = vec![]; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | Ok(GenericParams(params)) [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/mangle.rs:184:31 [INFO] [stdout] | [INFO] [stdout] 183 | let generic_path = GenericPath::new(path, arguments.to_owned()); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 184 | GenericArgument::Type(Type::Path(generic_path)) [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/ir/generic_path.rs:341:12 [INFO] [stdout] | [INFO] [stdout] 323 | let generics = match last_segment.arguments { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 341 | Ok(Self::new(path, generics)) [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/bindgen/ir/global.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 30 | let ty = Type::load(&item.ty)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 36 | Ok(Static::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 37 | | path, [INFO] [stdout] 38 | | ty.unwrap(), [INFO] [stdout] 39 | | matches!(item.mutability, syn::StaticMutability::Mut(_)), [INFO] [stdout] ... | [INFO] [stdout] 42 | | Documentation::load(&item.attrs), [INFO] [stdout] 43 | | )) [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/bindgen/parser.rs:448:42 [INFO] [stdout] | [INFO] [stdout] 444 | let generic_params: Vec<_> = generic_params [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 448 | self.opaque_items.try_insert(OpaqueItem::new( [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 449 | | path, [INFO] [stdout] 450 | | GenericParams(generic_params), [INFO] [stdout] 451 | | None, [INFO] [stdout] 452 | | AnnotationSet::new(), [INFO] [stdout] 453 | | Documentation::none(), [INFO] [stdout] 454 | | )) [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/ir/structure.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 74 | let fields = match item.fields { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | let mut out = Vec::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 84 | if let Some(mut ty) = Type::load(&field.ty)? { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | Ok(Struct::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 104 | | path, [INFO] [stdout] 105 | | GenericParams::load(&item.generics)?, [INFO] [stdout] 106 | | fields, [INFO] [stdout] ... | [INFO] [stdout] 113 | | Documentation::load(&item.attrs), [INFO] [stdout] 114 | | )) [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] [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/ir/structure.rs:209:25 [INFO] [stdout] | [INFO] [stdout] 209 | ty: field.ty.specialize(mappings), [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/ir/structure.rs:210:26 [INFO] [stdout] | [INFO] [stdout] 210 | cfg: field.cfg.clone(), [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/ir/ty.rs:351:12 [INFO] [stdout] | [INFO] [stdout] 340 | let ty = match output { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 351 | Ok((ty, never_return)) [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/bindgen/ir/ty.rs:464:12 [INFO] [stdout] | [INFO] [stdout] 355 | let converted = match *ty { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 356 | syn::Type::Reference(ref reference) => { [INFO] [stdout] 357 | let converted = Type::load(&reference.elem)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 358 | [INFO] [stdout] 359 | let converted = match converted { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 360 | Some(converted) => converted, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 374 | let converted = Type::load(&pointer.elem)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 375 | [INFO] [stdout] 376 | let converted = match converted { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 377 | Some(converted) => converted, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 390 | let generic_path = GenericPath::load(&path.path)?; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 408 | let converted = Type::load(elem)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 409 | [INFO] [stdout] 410 | let converted = match converted { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 411 | Some(converted) => converted, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 420 | let mut args = function.inputs.iter().try_skip_map(|x| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 444 | let (ret, never_return) = Type::load_from_output(&function.output)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 464 | Ok(Some(converted)) [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] = 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/ir/ty.rs:677:46 [INFO] [stdout] | [INFO] [stdout] 677 | .map(|(name, ty)| (name, ty.specialize(mappings))) [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/bindgen/ir/union.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 51 | let (fields, tuple_union) = { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | let out = item [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | Ok(Union::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 61 | | path, [INFO] [stdout] 62 | | GenericParams::load(&item.generics)?, [INFO] [stdout] 63 | | fields, [INFO] [stdout] ... | [INFO] [stdout] 68 | | Documentation::load(&item.attrs), [INFO] [stdout] 69 | | )) [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/bindgen/ir/union.rs:202:25 [INFO] [stdout] | [INFO] [stdout] 202 | ty: field.ty.clone(), [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/ir/union.rs:203:26 [INFO] [stdout] | [INFO] [stdout] 203 | cfg: field.cfg.clone(), [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/ir/union.rs:246:25 [INFO] [stdout] | [INFO] [stdout] 246 | ty: field.ty.specialize(&mappings), [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/ir/union.rs:247:26 [INFO] [stdout] | [INFO] [stdout] 247 | cfg: field.cfg.clone(), [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/library.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn generate(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] 82 | let mut dependencies = Dependencies::new(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 109 | let items = dependencies.order; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 110 | let constants = if self.config.export.should_generate(ItemType::Constants) { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 111 | let mut constants = self.constants.to_vec(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 121 | let globals = if self.config.export.should_generate(ItemType::Globals) { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 122 | let mut globals = self.globals.to_vec(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 131 | let functions = if self.config.export.should_generate(ItemType::Functions) { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 137 | Ok(Bindings::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 138 | | self.config, [INFO] [stdout] 139 | | self.structs, [INFO] [stdout] 140 | | self.typedefs, [INFO] [stdout] ... | [INFO] [stdout] 147 | | self.package_version, [INFO] [stdout] 148 | | )) [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/parser.rs:448:42 [INFO] [stdout] | [INFO] [stdout] 444 | let generic_params: Vec<_> = generic_params [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 448 | self.opaque_items.try_insert(OpaqueItem::new( [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 449 | | path, [INFO] [stdout] 450 | | GenericParams(generic_params), [INFO] [stdout] 451 | | None, [INFO] [stdout] 452 | | AnnotationSet::new(), [INFO] [stdout] 453 | | Documentation::none(), [INFO] [stdout] 454 | | )) [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 33 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 32 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cbindgen` (lib test) due to 34 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `cbindgen` (lib) due to 33 previous errors [INFO] running `Command { std: "docker" "inspect" "57b136a7f332418ab4994c0ad1185e2dbaff765718729cfc48aa5d214b7261bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57b136a7f332418ab4994c0ad1185e2dbaff765718729cfc48aa5d214b7261bf", kill_on_drop: false }` [INFO] [stdout] 57b136a7f332418ab4994c0ad1185e2dbaff765718729cfc48aa5d214b7261bf