[INFO] cloning repository https://github.com/arnetheduck/nbindgen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/arnetheduck/nbindgen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farnetheduck%2Fnbindgen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farnetheduck%2Fnbindgen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e80a85f1505d78eeae78ce33b6f406603be27d35 [INFO] checking arnetheduck/nbindgen/e80a85f1505d78eeae78ce33b6f406603be27d35 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farnetheduck%2Fnbindgen" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/arnetheduck/nbindgen on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/arnetheduck/nbindgen [INFO] finished tweaking git repo https://github.com/arnetheduck/nbindgen [INFO] tweaked toml for git repo https://github.com/arnetheduck/nbindgen written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/arnetheduck/nbindgen already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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] 42736a12a11d65515f66c9d18fa9027e862dc05760c81ba726b7e7977148edc9 [INFO] running `Command { std: "docker" "start" "-a" "42736a12a11d65515f66c9d18fa9027e862dc05760c81ba726b7e7977148edc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42736a12a11d65515f66c9d18fa9027e862dc05760c81ba726b7e7977148edc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42736a12a11d65515f66c9d18fa9027e862dc05760c81ba726b7e7977148edc9", kill_on_drop: false }` [INFO] [stdout] 42736a12a11d65515f66c9d18fa9027e862dc05760c81ba726b7e7977148edc9 [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] 6c87b14442069cd3c5076bb2b89a3d1cd5a43c791311823d14a352aae881cbf3 [INFO] running `Command { std: "docker" "start" "-a" "6c87b14442069cd3c5076bb2b89a3d1cd5a43c791311823d14a352aae881cbf3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Compiling rustix v0.38.19 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking linux-raw-sys v0.4.10 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Compiling nbindgen v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking heck v0.4.1 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking tempfile v3.8.0 [INFO] [stderr] Compiling serde_derive v1.0.189 [INFO] [stderr] Compiling serial_test_derive v0.5.1 [INFO] [stderr] Checking serial_test v0.5.1 [INFO] [stderr] Checking serde_json v1.0.107 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/builder.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::bindgen::config::{Config, Language, Profile}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/cdecl.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::bindgen::{Config, Language, reserved}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ir::PrimitiveType` [INFO] [stdout] --> src/bindgen/cdecl.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use super::ir::PrimitiveType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/annotation.rs:10:38 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::bindgen::config::{Config, Language}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/cfg.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::bindgen::config::{Config, Language}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/builder.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::bindgen::config::{Config, Language, Profile}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/cdecl.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::bindgen::{Config, Language, reserved}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ir::PrimitiveType` [INFO] [stdout] --> src/bindgen/cdecl.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use super::ir::PrimitiveType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/annotation.rs:10:38 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::bindgen::config::{Config, Language}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/cfg.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::bindgen::config::{Config, Language}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::bindgen::declarationtyperesolver::DeclarationTypeResolver` [INFO] [stdout] --> src/bindgen/ir/constant.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::bindgen::declarationtyperesolver::DeclarationTypeResolver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/documentation.rs:7:79 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::bindgen::config::{Config, DocumentationLength, DocumentationStyle, Language}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DeprecatedNoteKind` [INFO] [stdout] --> src/bindgen/ir/enumeration.rs:13:58 [INFO] [stdout] | [INFO] [stdout] 13 | AnnotationSet, AnnotationValue, Cfg, ConditionWrite, DeprecatedNoteKind, Documentation, Field, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/field.rs:6:38 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::bindgen::config::{Config, Language}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/function.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::bindgen::config::{Config, Language, Layout}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/generic_path.rs:7:38 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::bindgen::config::{Config, Language}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/opaque.rs:7:38 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::bindgen::config::{Config, Language}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/ty.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::bindgen::config::{Config, Language}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::bindgen::declarationtyperesolver::DeclarationTypeResolver` [INFO] [stdout] --> src/bindgen/ir/constant.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::bindgen::declarationtyperesolver::DeclarationTypeResolver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/documentation.rs:7:79 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::bindgen::config::{Config, DocumentationLength, DocumentationStyle, Language}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DeprecatedNoteKind` [INFO] [stdout] --> src/bindgen/ir/enumeration.rs:13:58 [INFO] [stdout] | [INFO] [stdout] 13 | AnnotationSet, AnnotationValue, Cfg, ConditionWrite, DeprecatedNoteKind, Documentation, Field, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/field.rs:6:38 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::bindgen::config::{Config, Language}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/function.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::bindgen::config::{Config, Language, Layout}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/generic_path.rs:7:38 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::bindgen::config::{Config, Language}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/opaque.rs:7:38 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::bindgen::config::{Config, Language}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/ty.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::bindgen::config::{Config, Language}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/typedef.rs:10:38 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::bindgen::config::{Config, Language}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Field` [INFO] [stdout] --> src/bindgen/ir/typedef.rs:14:56 [INFO] [stdout] | [INFO] [stdout] 14 | AnnotationSet, Cfg, ConditionWrite, Documentation, Field, GenericArgument, GenericParams, Item, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/union.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::bindgen::config::{Config, Language, LayoutConfig}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/library.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::bindgen::config::{Config, Language, SortKey}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/bindgen/mangle.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::writer::Source` [INFO] [stdout] --> src/bindgen/mangle.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use super::writer::Source; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/typedef.rs:10:38 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::bindgen::config::{Config, Language}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Braces` and `Language` [INFO] [stdout] --> src/bindgen/writer.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::bindgen::config::{Braces, Config, Language}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Field` [INFO] [stdout] --> src/bindgen/ir/typedef.rs:14:56 [INFO] [stdout] | [INFO] [stdout] 14 | AnnotationSet, Cfg, ConditionWrite, Documentation, Field, GenericArgument, GenericParams, Item, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/ir/union.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::bindgen::config::{Config, Language, LayoutConfig}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/bindgen/library.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::bindgen::config::{Config, Language, SortKey}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/bindgen/mangle.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::writer::Source` [INFO] [stdout] --> src/bindgen/mangle.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use super::writer::Source; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Braces` and `Language` [INFO] [stdout] --> src/bindgen/writer.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::bindgen::config::{Braces, Config, Language}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_is_pointer` [INFO] [stdout] --> src/bindgen/cdecl.rs:347:17 [INFO] [stdout] | [INFO] [stdout] 347 | let next_is_pointer = iter_rev.peek().map_or(false, |x| x.is_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_is_pointer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_const` [INFO] [stdout] --> src/bindgen/cdecl.rs:351:21 [INFO] [stdout] | [INFO] [stdout] 351 | is_const, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `is_const: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_nullable` [INFO] [stdout] --> src/bindgen/cdecl.rs:352:21 [INFO] [stdout] | [INFO] [stdout] 352 | is_nullable, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `is_nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_ref` [INFO] [stdout] --> src/bindgen/cdecl.rs:353:21 [INFO] [stdout] | [INFO] [stdout] 353 | is_ref, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `is_ref: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_was_pointer` [INFO] [stdout] --> src/bindgen/cdecl.rs:381:17 [INFO] [stdout] | [INFO] [stdout] 381 | let mut last_was_pointer = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_was_pointer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constant` [INFO] [stdout] --> src/bindgen/cdecl.rs:389:40 [INFO] [stdout] | [INFO] [stdout] 389 | CDeclarator::Array(ref constant) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/bindgen/cdecl.rs:398:21 [INFO] [stdout] | [INFO] [stdout] 398 | ref args, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layout` [INFO] [stdout] --> src/bindgen/cdecl.rs:399:21 [INFO] [stdout] | [INFO] [stdout] 399 | ref layout, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `layout: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_return` [INFO] [stdout] --> src/bindgen/cdecl.rs:401:21 [INFO] [stdout] | [INFO] [stdout] 401 | is_return, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `is_return: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bindgen/cdecl.rs:381:13 [INFO] [stdout] | [INFO] [stdout] 381 | let mut last_was_pointer = false; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_is_pointer` [INFO] [stdout] --> src/bindgen/cdecl.rs:347:17 [INFO] [stdout] | [INFO] [stdout] 347 | let next_is_pointer = iter_rev.peek().map_or(false, |x| x.is_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_is_pointer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_const` [INFO] [stdout] --> src/bindgen/cdecl.rs:351:21 [INFO] [stdout] | [INFO] [stdout] 351 | is_const, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `is_const: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_nullable` [INFO] [stdout] --> src/bindgen/cdecl.rs:352:21 [INFO] [stdout] | [INFO] [stdout] 352 | is_nullable, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `is_nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_ref` [INFO] [stdout] --> src/bindgen/cdecl.rs:353:21 [INFO] [stdout] | [INFO] [stdout] 353 | is_ref, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `is_ref: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_was_pointer` [INFO] [stdout] --> src/bindgen/cdecl.rs:381:17 [INFO] [stdout] | [INFO] [stdout] 381 | let mut last_was_pointer = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_was_pointer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constant` [INFO] [stdout] --> src/bindgen/cdecl.rs:389:40 [INFO] [stdout] | [INFO] [stdout] 389 | CDeclarator::Array(ref constant) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/bindgen/cdecl.rs:398:21 [INFO] [stdout] | [INFO] [stdout] 398 | ref args, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layout` [INFO] [stdout] --> src/bindgen/cdecl.rs:399:21 [INFO] [stdout] | [INFO] [stdout] 399 | ref layout, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `layout: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_return` [INFO] [stdout] --> src/bindgen/cdecl.rs:401:21 [INFO] [stdout] | [INFO] [stdout] 401 | is_return, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `is_return: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bindgen/cdecl.rs:381:13 [INFO] [stdout] | [INFO] [stdout] 381 | let mut last_was_pointer = false; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/bindgen/ir/cfg.rs:332:37 [INFO] [stdout] | [INFO] [stdout] 332 | fn write_after(&self, config: &Config, out: &mut SourceWriter) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/bindgen/ir/cfg.rs:332:37 [INFO] [stdout] | [INFO] [stdout] 332 | fn write_after(&self, config: &Config, out: &mut SourceWriter) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inline_tag_field` [INFO] [stdout] --> src/bindgen/ir/enumeration.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | inline_tag_field: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inline_tag_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inline_tag_field` [INFO] [stdout] --> src/bindgen/ir/enumeration.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | inline_tag_field: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inline_tag_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bindgen/cargo/cargo_lock.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | Io(io::Error), [INFO] [stdout] | -- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 14 | Io(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bindgen/cargo/cargo_lock.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | Toml(toml::de::Error), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 16 | Toml(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `typedef` is never used [INFO] [stdout] --> src/bindgen/config.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 52 | impl Language { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 53 | pub(crate) fn typedef(self) -> &'static str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `derive_constructor`, `derive_lt`, `derive_lte`, `derive_gt`, `derive_gte`, and `derive_ostream` are never used [INFO] [stdout] --> src/bindgen/config.rs:453:19 [INFO] [stdout] | [INFO] [stdout] 452 | impl StructConfig { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 453 | pub(crate) fn derive_constructor(&self, annotations: &AnnotationSet) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 471 | pub(crate) fn derive_lt(&self, annotations: &AnnotationSet) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 477 | pub(crate) fn derive_lte(&self, annotations: &AnnotationSet) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 483 | pub(crate) fn derive_gt(&self, annotations: &AnnotationSet) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 489 | pub(crate) fn derive_gte(&self, annotations: &AnnotationSet) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 495 | pub(crate) fn derive_ostream(&self, annotations: &AnnotationSet) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `enum_class` is never used [INFO] [stdout] --> src/bindgen/config.rs:629:19 [INFO] [stdout] | [INFO] [stdout] 580 | impl EnumConfig { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 629 | pub(crate) fn enum_class(&self, annotations: &AnnotationSet) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_str` is never used [INFO] [stdout] --> src/bindgen/declarationtyperesolver.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl DeclarationType { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 10 | pub fn to_str(self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Enum` is never constructed [INFO] [stdout] --> src/bindgen/ir/annotation.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub enum DeprecatedNoteKind { [INFO] [stdout] | ------------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 45 | Enum, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `can_be_constexpr` and `has_pointer_casts` are never used [INFO] [stdout] --> src/bindgen/ir/constant.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 111 | impl Literal { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 186 | fn can_be_constexpr(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | fn has_pointer_casts(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `documentation` is never read [INFO] [stdout] --> src/bindgen/ir/constant.rs:559:9 [INFO] [stdout] | [INFO] [stdout] 552 | pub struct Constant { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 559 | pub documentation: Documentation, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Constant` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_declaration` is never used [INFO] [stdout] --> src/bindgen/ir/constant.rs:664:12 [INFO] [stdout] | [INFO] [stdout] 663 | impl Constant { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 664 | pub fn write_declaration( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_with_default` is never used [INFO] [stdout] --> src/bindgen/ir/generic_path.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl GenericParams { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn write_with_default(&self, config: &Config, out: &mut SourceWriter) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `documentation` is never read [INFO] [stdout] --> src/bindgen/ir/global.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Static { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub documentation: Documentation, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Static` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `emit_bitflags_binop` is never used [INFO] [stdout] --> src/bindgen/ir/structure.rs:206:8 [INFO] [stdout] | [INFO] [stdout] 44 | impl Struct { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 206 | fn emit_bitflags_binop( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `can_cmp_order` is never used [INFO] [stdout] --> src/bindgen/ir/ty.rs:302:8 [INFO] [stdout] | [INFO] [stdout] 53 | impl PrimitiveType { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 302 | fn can_cmp_order(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_ptr` and `can_cmp_order` are never used [INFO] [stdout] --> src/bindgen/ir/ty.rs:547:12 [INFO] [stdout] | [INFO] [stdout] 411 | impl Type { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 547 | pub fn is_ptr(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 985 | pub fn can_cmp_order(&self) -> bool { [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/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:139:22 [INFO] [stdout] | [INFO] [stdout] 139 | .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] warning: field `0` is never read [INFO] [stdout] --> src/bindgen/cargo/cargo_lock.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | Io(io::Error), [INFO] [stdout] | -- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 14 | Io(()), [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/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] warning: field `0` is never read [INFO] [stdout] --> src/bindgen/cargo/cargo_lock.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | Toml(toml::de::Error), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 16 | Toml(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `typedef` is never used [INFO] [stdout] --> src/bindgen/config.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 52 | impl Language { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 53 | pub(crate) fn typedef(self) -> &'static str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `derive_constructor`, `derive_lt`, `derive_lte`, `derive_gt`, `derive_gte`, and `derive_ostream` are never used [INFO] [stdout] --> src/bindgen/config.rs:453:19 [INFO] [stdout] | [INFO] [stdout] 452 | impl StructConfig { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 453 | pub(crate) fn derive_constructor(&self, annotations: &AnnotationSet) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 471 | pub(crate) fn derive_lt(&self, annotations: &AnnotationSet) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 477 | pub(crate) fn derive_lte(&self, annotations: &AnnotationSet) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 483 | pub(crate) fn derive_gt(&self, annotations: &AnnotationSet) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 489 | pub(crate) fn derive_gte(&self, annotations: &AnnotationSet) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 495 | pub(crate) fn derive_ostream(&self, annotations: &AnnotationSet) -> bool { [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/bindgen/builder.rs:325:9 [INFO] [stdout] | [INFO] [stdout] 275 | 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] 295 | 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] 325 | / Library::new( [INFO] [stdout] 326 | | self.config, [INFO] [stdout] 327 | | result.constants, [INFO] [stdout] 328 | | result.globals, [INFO] [stdout] ... | [INFO] [stdout] 335 | | result.source_files, [INFO] [stdout] 336 | | ) [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] warning: method `enum_class` is never used [INFO] [stdout] --> src/bindgen/config.rs:629:19 [INFO] [stdout] | [INFO] [stdout] 580 | impl EnumConfig { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 629 | pub(crate) fn enum_class(&self, annotations: &AnnotationSet) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_str` is never used [INFO] [stdout] --> src/bindgen/declarationtyperesolver.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl DeclarationType { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 10 | pub fn to_str(self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Enum` is never constructed [INFO] [stdout] --> src/bindgen/ir/annotation.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub enum DeprecatedNoteKind { [INFO] [stdout] | ------------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 45 | Enum, [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/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] warning: methods `can_be_constexpr` and `has_pointer_casts` are never used [INFO] [stdout] --> src/bindgen/ir/constant.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 111 | impl Literal { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 186 | fn can_be_constexpr(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | fn has_pointer_casts(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `documentation` is never read [INFO] [stdout] --> src/bindgen/ir/constant.rs:559:9 [INFO] [stdout] | [INFO] [stdout] 552 | pub struct Constant { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 559 | pub documentation: Documentation, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Constant` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_declaration` is never used [INFO] [stdout] --> src/bindgen/ir/constant.rs:664:12 [INFO] [stdout] | [INFO] [stdout] 663 | impl Constant { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 664 | pub fn write_declaration( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_with_default` is never used [INFO] [stdout] --> src/bindgen/ir/generic_path.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl GenericParams { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn write_with_default(&self, config: &Config, out: &mut SourceWriter) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `documentation` is never read [INFO] [stdout] --> src/bindgen/ir/global.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Static { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub documentation: Documentation, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Static` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `emit_bitflags_binop` is never used [INFO] [stdout] --> src/bindgen/ir/structure.rs:206:8 [INFO] [stdout] | [INFO] [stdout] 44 | impl Struct { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 206 | fn emit_bitflags_binop( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `can_cmp_order` is never used [INFO] [stdout] --> src/bindgen/ir/ty.rs:302:8 [INFO] [stdout] | [INFO] [stdout] 53 | impl PrimitiveType { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 302 | fn can_cmp_order(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_ptr` and `can_cmp_order` are never used [INFO] [stdout] --> src/bindgen/ir/ty.rs:547:12 [INFO] [stdout] | [INFO] [stdout] 411 | impl Type { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 547 | pub fn is_ptr(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 985 | pub fn can_cmp_order(&self) -> bool { [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/bindgen/cargo/cargo_lock.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 47 | let mut f = File::open(manifest_path)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 50 | toml::from_str::(&s).map_err(|x| x.into()) [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] = 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:139:22 [INFO] [stdout] | [INFO] [stdout] 139 | .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/cargo/cargo_toml.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 63 | let mut f = File::open(manifest_path)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 66 | toml::from_str::(&s).map_err(|x| x.into()) [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] = 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:188:62 [INFO] [stdout] | [INFO] [stdout] 188 | .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/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:325:9 [INFO] [stdout] | [INFO] [stdout] 275 | 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] 295 | 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] 325 | / Library::new( [INFO] [stdout] 326 | | self.config, [INFO] [stdout] 327 | | result.constants, [INFO] [stdout] 328 | | result.globals, [INFO] [stdout] ... | [INFO] [stdout] 335 | | result.source_files, [INFO] [stdout] 336 | | ) [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/config.rs:764:61 [INFO] [stdout] | [INFO] [stdout] 763 | 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] 764 | ::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/cargo/cargo_lock.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 47 | let mut f = File::open(manifest_path)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 50 | toml::from_str::(&s).map_err(|x| x.into()) [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] = 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:191:47 [INFO] [stdout] | [INFO] [stdout] 191 | .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/cargo/cargo_toml.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 63 | let mut f = File::open(manifest_path)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 66 | toml::from_str::(&s).map_err(|x| x.into()) [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] = 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:94:15 [INFO] [stdout] | [INFO] [stdout] 93 | 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] 94 | 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/cdecl.rs:188:62 [INFO] [stdout] | [INFO] [stdout] 188 | .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/cfg.rs:266:43 [INFO] [stdout] | [INFO] [stdout] 266 | .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/constant.rs:587:12 [INFO] [stdout] | [INFO] [stdout] 572 | 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] 573 | 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] 574 | 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] 580 | 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] 587 | Ok(Constant::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 588 | | path, [INFO] [stdout] 589 | | ty, [INFO] [stdout] 590 | | lit, [INFO] [stdout] ... | [INFO] [stdout] 594 | | associated_to, [INFO] [stdout] 595 | | )) [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/config.rs:764:61 [INFO] [stdout] | [INFO] [stdout] 763 | 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] 764 | ::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/enumeration.rs:222:12 [INFO] [stdout] | [INFO] [stdout] 100 | 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] 106 | 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] 148 | 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] 158 | 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] 222 | Ok(EnumVariant::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 223 | | variant.ident.unraw().to_string(), [INFO] [stdout] 224 | | discriminant, [INFO] [stdout] 225 | | body, [INFO] [stdout] 226 | | variant_cfg, [INFO] [stdout] 227 | | Documentation::load(&variant.attrs), [INFO] [stdout] 228 | | )) [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:430:12 [INFO] [stdout] | [INFO] [stdout] 381 | 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] 382 | [INFO] [stdout] 383 | 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] 430 | Ok(Enum::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 431 | | path, [INFO] [stdout] 432 | | generic_params, [INFO] [stdout] 433 | | repr, [INFO] [stdout] ... | [INFO] [stdout] 438 | | Documentation::load(&item.attrs), [INFO] [stdout] 439 | | )) [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:25:18 [INFO] [stdout] | [INFO] [stdout] 21 | 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] 25 | 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/annotation.rs:191:47 [INFO] [stdout] | [INFO] [stdout] 191 | .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/function.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 56 | 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] 57 | [INFO] [stdout] 58 | 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] 67 | Ok(Function { [INFO] [stdout] | ____________^ [INFO] [stdout] 68 | | path, [INFO] [stdout] 69 | | self_type_path: self_type_path.cloned(), [INFO] [stdout] 70 | | ret, [INFO] [stdout] ... | [INFO] [stdout] 76 | | never_return, [INFO] [stdout] 77 | | }) [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/cfg.rs:94:15 [INFO] [stdout] | [INFO] [stdout] 93 | 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] 94 | 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/function.rs:371:13 [INFO] [stdout] | [INFO] [stdout] 364 | let 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] 371 | ty: Box::new(self_ty), [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:266:43 [INFO] [stdout] | [INFO] [stdout] 266 | .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/generic_path.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 67 | 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] 74 | 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:300:12 [INFO] [stdout] | [INFO] [stdout] 282 | 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] 300 | 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:38:12 [INFO] [stdout] | [INFO] [stdout] 32 | 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] 38 | Ok(Static::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 39 | | path, [INFO] [stdout] 40 | | ty.unwrap(), [INFO] [stdout] 41 | | item.mutability.is_some(), [INFO] [stdout] ... | [INFO] [stdout] 44 | | Documentation::load(&item.attrs), [INFO] [stdout] 45 | | )) [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/constant.rs:587:12 [INFO] [stdout] | [INFO] [stdout] 572 | 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] 573 | 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] 574 | 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] 580 | 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] 587 | Ok(Constant::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 588 | | path, [INFO] [stdout] 589 | | ty, [INFO] [stdout] 590 | | lit, [INFO] [stdout] ... | [INFO] [stdout] 594 | | associated_to, [INFO] [stdout] 595 | | )) [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:222:12 [INFO] [stdout] | [INFO] [stdout] 100 | 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] 106 | 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] 148 | 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] 158 | 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] 222 | Ok(EnumVariant::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 223 | | variant.ident.unraw().to_string(), [INFO] [stdout] 224 | | discriminant, [INFO] [stdout] 225 | | body, [INFO] [stdout] 226 | | variant_cfg, [INFO] [stdout] 227 | | Documentation::load(&variant.attrs), [INFO] [stdout] 228 | | )) [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:430:12 [INFO] [stdout] | [INFO] [stdout] 381 | 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] 382 | [INFO] [stdout] 383 | 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] 430 | Ok(Enum::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 431 | | path, [INFO] [stdout] 432 | | generic_params, [INFO] [stdout] 433 | | repr, [INFO] [stdout] ... | [INFO] [stdout] 438 | | Documentation::load(&item.attrs), [INFO] [stdout] 439 | | )) [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:25:18 [INFO] [stdout] | [INFO] [stdout] 21 | 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] 25 | 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:67:12 [INFO] [stdout] | [INFO] [stdout] 56 | 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] 57 | [INFO] [stdout] 58 | 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] 67 | Ok(Function { [INFO] [stdout] | ____________^ [INFO] [stdout] 68 | | path, [INFO] [stdout] 69 | | self_type_path: self_type_path.cloned(), [INFO] [stdout] 70 | | ret, [INFO] [stdout] ... | [INFO] [stdout] 76 | | never_return, [INFO] [stdout] 77 | | }) [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/structure.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 75 | 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] 82 | 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] 85 | 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] 104 | Ok(Struct::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 105 | | path, [INFO] [stdout] 106 | | GenericParams::load(&item.generics)?, [INFO] [stdout] 107 | | fields, [INFO] [stdout] ... | [INFO] [stdout] 114 | | Documentation::load(&item.attrs), [INFO] [stdout] 115 | | )) [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/function.rs:371:13 [INFO] [stdout] | [INFO] [stdout] 364 | let 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] 371 | ty: Box::new(self_ty), [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:190:25 [INFO] [stdout] | [INFO] [stdout] 190 | 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:191:26 [INFO] [stdout] | [INFO] [stdout] 191 | 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/generic_path.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 67 | 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] 74 | 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:300:12 [INFO] [stdout] | [INFO] [stdout] 282 | 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] 300 | 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/ty.rs:434:12 [INFO] [stdout] | [INFO] [stdout] 423 | 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] 434 | 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/global.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 32 | 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] 38 | Ok(Static::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 39 | | path, [INFO] [stdout] 40 | | ty.unwrap(), [INFO] [stdout] 41 | | item.mutability.is_some(), [INFO] [stdout] ... | [INFO] [stdout] 44 | | Documentation::load(&item.attrs), [INFO] [stdout] 45 | | )) [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/ty.rs:544:12 [INFO] [stdout] | [INFO] [stdout] 438 | let converted = match *ty { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 439 | syn::Type::Reference(ref reference) => { [INFO] [stdout] 440 | 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] 441 | [INFO] [stdout] 442 | let converted = match converted { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 443 | 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] 457 | 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] 458 | [INFO] [stdout] 459 | let converted = match converted { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 460 | 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] 473 | 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] 491 | 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] 492 | [INFO] [stdout] 493 | let converted = match converted { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 494 | 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] 503 | let 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] 524 | 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] 544 | 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:800:46 [INFO] [stdout] | [INFO] [stdout] 800 | .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:63:12 [INFO] [stdout] | [INFO] [stdout] 54 | let (fields, tuple_union) = { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | 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] 63 | Ok(Union::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 64 | | path, [INFO] [stdout] 65 | | GenericParams::load(&item.generics)?, [INFO] [stdout] 66 | | fields, [INFO] [stdout] ... | [INFO] [stdout] 71 | | Documentation::load(&item.attrs), [INFO] [stdout] 72 | | )) [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:201:25 [INFO] [stdout] | [INFO] [stdout] 201 | 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/structure.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 75 | 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] 82 | 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] 85 | 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] 104 | Ok(Struct::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 105 | | path, [INFO] [stdout] 106 | | GenericParams::load(&item.generics)?, [INFO] [stdout] 107 | | fields, [INFO] [stdout] ... | [INFO] [stdout] 114 | | Documentation::load(&item.attrs), [INFO] [stdout] 115 | | )) [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/union.rs:202:26 [INFO] [stdout] | [INFO] [stdout] 202 | 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:245:25 [INFO] [stdout] | [INFO] [stdout] 245 | 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:190:25 [INFO] [stdout] | [INFO] [stdout] 190 | 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:246:26 [INFO] [stdout] | [INFO] [stdout] 246 | 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/structure.rs:191:26 [INFO] [stdout] | [INFO] [stdout] 191 | 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:134:12 [INFO] [stdout] | [INFO] [stdout] 60 | 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] 79 | 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] 106 | let items = dependencies.order; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 107 | 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] 108 | 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] 118 | 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] 119 | 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] 128 | 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] 134 | Ok(Bindings::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 135 | | self.config, [INFO] [stdout] 136 | | self.structs, [INFO] [stdout] 137 | | self.typedefs, [INFO] [stdout] ... | [INFO] [stdout] 143 | | false, [INFO] [stdout] 144 | | )) [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:434:12 [INFO] [stdout] | [INFO] [stdout] 423 | 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] 434 | 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/mangle.rs:185:31 [INFO] [stdout] | [INFO] [stdout] 184 | 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] 185 | 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/ty.rs:544:12 [INFO] [stdout] | [INFO] [stdout] 438 | let converted = match *ty { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 439 | syn::Type::Reference(ref reference) => { [INFO] [stdout] 440 | 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] 441 | [INFO] [stdout] 442 | let converted = match converted { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 443 | 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] 457 | 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] 458 | [INFO] [stdout] 459 | let converted = match converted { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 460 | 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] 473 | 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] 491 | 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] 492 | [INFO] [stdout] 493 | let converted = match converted { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 494 | 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] 503 | let 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] 524 | 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] 544 | 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:800:46 [INFO] [stdout] | [INFO] [stdout] 800 | .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/parser.rs:436:42 [INFO] [stdout] | [INFO] [stdout] 432 | 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] 436 | self.opaque_items.try_insert(OpaqueItem::new( [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 437 | | path, [INFO] [stdout] 438 | | GenericParams(generic_params), [INFO] [stdout] 439 | | None, [INFO] [stdout] 440 | | AnnotationSet::new(), [INFO] [stdout] 441 | | Documentation::none(), [INFO] [stdout] 442 | | )) [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:63:12 [INFO] [stdout] | [INFO] [stdout] 54 | let (fields, tuple_union) = { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | 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] 63 | Ok(Union::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 64 | | path, [INFO] [stdout] 65 | | GenericParams::load(&item.generics)?, [INFO] [stdout] 66 | | fields, [INFO] [stdout] ... | [INFO] [stdout] 71 | | Documentation::load(&item.attrs), [INFO] [stdout] 72 | | )) [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:201:25 [INFO] [stdout] | [INFO] [stdout] 201 | 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:202:26 [INFO] [stdout] | [INFO] [stdout] 202 | 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:245:25 [INFO] [stdout] | [INFO] [stdout] 245 | 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:246:26 [INFO] [stdout] | [INFO] [stdout] 246 | 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:134:12 [INFO] [stdout] | [INFO] [stdout] 60 | 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] 79 | 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] 106 | let items = dependencies.order; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 107 | 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] 108 | 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] 118 | 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] 119 | 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] 128 | 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] 134 | Ok(Bindings::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 135 | | self.config, [INFO] [stdout] 136 | | self.structs, [INFO] [stdout] 137 | | self.typedefs, [INFO] [stdout] ... | [INFO] [stdout] 143 | | false, [INFO] [stdout] 144 | | )) [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/utilities.rs:123:29 [INFO] [stdout] | [INFO] [stdout] 123 | .filter_map(|x| x.parse_meta().ok()) [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:436:42 [INFO] [stdout] | [INFO] [stdout] 432 | 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] 436 | self.opaque_items.try_insert(OpaqueItem::new( [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 437 | | path, [INFO] [stdout] 438 | | GenericParams(generic_params), [INFO] [stdout] 439 | | None, [INFO] [stdout] 440 | | AnnotationSet::new(), [INFO] [stdout] 441 | | Documentation::none(), [INFO] [stdout] 442 | | )) [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/utilities.rs:123:29 [INFO] [stdout] | [INFO] [stdout] 123 | .filter_map(|x| x.parse_meta().ok()) [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 36 previous errors; 47 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 35 previous errors; 47 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nbindgen` (lib test) due to 37 previous errors; 47 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `nbindgen` (lib) due to 36 previous errors; 47 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6c87b14442069cd3c5076bb2b89a3d1cd5a43c791311823d14a352aae881cbf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c87b14442069cd3c5076bb2b89a3d1cd5a43c791311823d14a352aae881cbf3", kill_on_drop: false }` [INFO] [stdout] 6c87b14442069cd3c5076bb2b89a3d1cd5a43c791311823d14a352aae881cbf3