[INFO] fetching crate safer-ffi-gen-macro 0.9.2...
[INFO] checking safer-ffi-gen-macro-0.9.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604
[INFO] extracting crate safer-ffi-gen-macro 0.9.2 into /workspace/builds/worker-4-tc2/source
[INFO] validating manifest of crates.io crate safer-ffi-gen-macro 0.9.2 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate safer-ffi-gen-macro 0.9.2
[INFO] finished tweaking crates.io crate safer-ffi-gen-macro 0.9.2
[INFO] tweaked toml for crates.io crate safer-ffi-gen-macro 0.9.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Updating crates.io index
[INFO] [stderr] Locking 31 packages to latest compatible versions
[INFO] [stderr] Adding heck v0.4.1 (latest: v0.5.0)
[INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77)
[INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 141a90458ed336e89109d405ec74bc128c8de35bb8d81c54585a1589274bbacc
[INFO] running `Command { std: "docker" "start" "-a" "141a90458ed336e89109d405ec74bc128c8de35bb8d81c54585a1589274bbacc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "141a90458ed336e89109d405ec74bc128c8de35bb8d81c54585a1589274bbacc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "141a90458ed336e89109d405ec74bc128c8de35bb8d81c54585a1589274bbacc", kill_on_drop: false }`
[INFO] [stdout] 141a90458ed336e89109d405ec74bc128c8de35bb8d81c54585a1589274bbacc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] f8b472c1bc0395c31e460f0ac4c01995321e650d6c4716ce5881f00a1ed94661
[INFO] running `Command { std: "docker" "start" "-a" "f8b472c1bc0395c31e460f0ac4c01995321e650d6c4716ce5881f00a1ed94661", kill_on_drop: false }`
[INFO] [stderr] Compiling syn v1.0.109
[INFO] [stderr] Checking diff v0.1.13
[INFO] [stderr] Checking heck v0.4.1
[INFO] [stderr] Compiling libc v0.2.158
[INFO] [stderr] Compiling thiserror v1.0.63
[INFO] [stderr] Checking yansi v1.0.1
[INFO] [stderr] Compiling syn v2.0.77
[INFO] [stderr] Compiling assert2-macros v0.3.15
[INFO] [stderr] Checking proc-macro-error v1.0.4
[INFO] [stderr] Checking is-terminal v0.4.13
[INFO] [stderr] Compiling thiserror-impl v1.0.63
[INFO] [stderr] Checking assert2 v0.3.15
[INFO] [stderr] Checking safer-ffi-gen-macro v0.9.2 (/opt/rustwide/workdir)
[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:65:5
[INFO] [stdout] |
[INFO] [stdout] 59 | args: proc_macro::TokenStream,
[INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 60 | input: proc_macro::TokenStream,
[INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 61 | ) -> proc_macro::TokenStream {
[INFO] [stdout] 62 | let args = parse_macro_input!(args with Punctuated::::parse_terminated);
[INFO] [stdout] | ---- ----------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] | |
[INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 63 | let ty_def = parse_macro_input!(input as syn::Item);
[INFO] [stdout] | ------ -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] | |
[INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 64 |
[INFO] [stdout] 65 | / process_ffi_type(args, ty_def)
[INFO] [stdout] 66 | | .map(ToTokens::into_token_stream)
[INFO] [stdout] 67 | | .map_err(Into::into)
[INFO] [stdout] 68 | | .unwrap_or_else(syn::Error::into_compile_error)
[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/lib.rs:89:5
[INFO] [stdout] |
[INFO] [stdout] 87 | pub fn specialize(args: proc_macro::TokenStream) -> proc_macro::TokenStream {
[INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 88 | let decl = parse_macro_input!(args as Specialization);
[INFO] [stdout] | ---- ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] | |
[INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 89 | decl.to_token_stream().into()
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021
[INFO] [stdout] --> src/lib.rs:96:5
[INFO] [stdout] |
[INFO] [stdout] 94 | pub fn __specialize_impl(args: proc_macro::TokenStream) -> proc_macro::TokenStream {
[INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 95 | let specialization = parse_macro_input!(args as ImplSpecialization);
[INFO] [stdout] | -------------- ---------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] | |
[INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 96 | specialization.to_token_stream().into()
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021
[INFO] [stdout] --> src/lib.rs:103:5
[INFO] [stdout] |
[INFO] [stdout] 101 | pub fn __specialize_function(args: proc_macro::TokenStream) -> proc_macro::TokenStream {
[INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 102 | let specialization = parse_macro_input!(args as FunctionSpecialization);
[INFO] [stdout] | -------------- -------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] | |
[INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 103 | specialization.to_token_stream().into()
[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/ffi_module.rs:58:12
[INFO] [stdout] |
[INFO] [stdout] 28 | pub fn new(impl_block: ItemImpl) -> Result {
[INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 35 | let Type::Path(self_type) = *impl_block.self_ty else {
[INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 40 | let functions = impl_block
[INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 58 | Ok(FfiModule {
[INFO] [stdout] | ____________^
[INFO] [stdout] 59 | | self_type,
[INFO] [stdout] 60 | | generics: impl_block.generics,
[INFO] [stdout] 61 | | functions,
[INFO] [stdout] 62 | | })
[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/ffi_module.rs:69:9
[INFO] [stdout] |
[INFO] [stdout] 68 | let impl_block = ItemImpl::parse(input)?;
[INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 69 | FfiModule::new(impl_block).map_err(Into::into)
[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/ffi_module.rs:141:33
[INFO] [stdout] |
[INFO] [stdout] 141 | attributes: f
[INFO] [stdout] | _________________________________^
[INFO] [stdout] 142 | | .attrs
[INFO] [stdout] 143 | | .iter()
[INFO] [stdout] 144 | | .filter(|attr| is_cfg(attr))
[INFO] [stdout] 145 | | .cloned()
[INFO] [stdout] 146 | | .collect(),
[INFO] [stdout] | |__________________________________^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021
[INFO] [stdout] --> src/ffi_module.rs:147:27
[INFO] [stdout] |
[INFO] [stdout] 147 | name: f.sig.ident.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/ffi_module.rs:351:12
[INFO] [stdout] |
[INFO] [stdout] 344 | let alias = Ident::parse(input)?;
[INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 345 | let _ = syn::token::Comma::parse(input)?;
[INFO] [stdout] 346 | let target = Path::parse(input)?;
[INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 347 | let _ = syn::token::Comma::parse(input)?;
[INFO] [stdout] 348 | let functions = Punctuated::<_, syn::token::Comma>::parse_terminated(input)?
[INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 351 | Ok(Self {
[INFO] [stdout] | ____________^
[INFO] [stdout] 352 | | alias,
[INFO] [stdout] 353 | | target,
[INFO] [stdout] 354 | | functions,
[INFO] [stdout] 355 | | })
[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/ffi_module.rs:368:25
[INFO] [stdout] |
[INFO] [stdout] 368 | .filter(|p| p.segments.first().unwrap().ident != "crate")
[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/ffi_module.rs:426:12
[INFO] [stdout] |
[INFO] [stdout] 424 | let attributes = Attribute::parse_outer(input)?;
[INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 425 | let name = Ident::parse(input)?;
[INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 426 | Ok(Self { attributes, name })
[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/ffi_signature.rs:44:12
[INFO] [stdout] |
[INFO] [stdout] 36 | let name = Ident::parse(input)?;
[INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 43 | let ffi_name = Some(Ident::parse(input)?);
[INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 44 | Ok(FfiSignatureOptions { ffi_name })
[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/ffi_signature.rs:114:18
[INFO] [stdout] |
[INFO] [stdout] 109 | fn from(sig: Signature) -> Self {
[INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 114 | abi: 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/ffi_signature.rs:119:21
[INFO] [stdout] |
[INFO] [stdout] 109 | fn from(sig: Signature) -> Self {
[INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 119 | inputs: sig
[INFO] [stdout] | _____________________^
[INFO] [stdout] 120 | | .params
[INFO] [stdout] 121 | | .into_iter()
[INFO] [stdout] 122 | | .map(|(ident, ty)| {
[INFO] [stdout] ... |
[INFO] [stdout] 135 | | })
[INFO] [stdout] 136 | | .collect(),
[INFO] [stdout] | |__________________________^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021
[INFO] [stdout] --> src/ffi_signature.rs:137:23
[INFO] [stdout] |
[INFO] [stdout] 109 | fn from(sig: Signature) -> Self {
[INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 137 | variadic: 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/ffi_signature.rs:138:21
[INFO] [stdout] |
[INFO] [stdout] 109 | fn from(sig: Signature) -> Self {
[INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 138 | output: into_non_unit_type(sig.return_type).map_or(ReturnType::Default, |ty| {
[INFO] [stdout] | _____________________^
[INFO] [stdout] 139 | | ReturnType::Type(Default::default(), Box::new(ty))
[INFO] [stdout] 140 | | }),
[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/ffi_signature.rs:123:33
[INFO] [stdout] |
[INFO] [stdout] 122 | .map(|(ident, ty)| {
[INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 123 | FnArg::from(PatType {
[INFO] [stdout] | _________________________________^
[INFO] [stdout] 124 | | attrs: Vec::new(),
[INFO] [stdout] 125 | | pat: Box::new(Pat::Ident(PatIdent {
[INFO] [stdout] 126 | | attrs: Vec::new(),
[INFO] [stdout] ... |
[INFO] [stdout] 133 | | ty: Box::new(ty),
[INFO] [stdout] 134 | | })
[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/ffi_signature.rs:139:54
[INFO] [stdout] |
[INFO] [stdout] 138 | output: into_non_unit_type(sig.return_type).map_or(ReturnType::Default, |ty| {
[INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 139 | ReturnType::Type(Default::default(), Box::new(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/ffi_signature.rs:166:12
[INFO] [stdout] |
[INFO] [stdout] 148 | fn try_from(sig: syn::Signature) -> Result {
[INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 149 | let params = sig
[INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 161 | let return_type = match sig.output {
[INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 162 | ReturnType::Default => unit_type(),
[INFO] [stdout] 163 | ReturnType::Type(_, ty) => *ty,
[INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 166 | Ok(Signature {
[INFO] [stdout] | ____________^
[INFO] [stdout] 167 | | name: sig.ident,
[INFO] [stdout] 168 | | is_async: sig.asyncness.is_some(),
[INFO] [stdout] 169 | | generics: sig.generics,
[INFO] [stdout] 170 | | params,
[INFO] [stdout] 171 | | return_type,
[INFO] [stdout] 172 | | })
[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/ffi_signature.rs:207:47
[INFO] [stdout] |
[INFO] [stdout] 207 | .map(|(_, ty)| make_type_ffi_safe(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/ffi_signature.rs:333:37
[INFO] [stdout] |
[INFO] [stdout] 333 | .map(|(target, alias)| (target.path.clone(), alias.clone().into()))
[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/ffi_signature.rs:333:58
[INFO] [stdout] |
[INFO] [stdout] 333 | .map(|(target, alias)| (target.path.clone(), alias.clone().into()))
[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/ffi_signature.rs:373:15
[INFO] [stdout] |
[INFO] [stdout] 368 | pub fn new(options: FfiSignatureOptions, function: ItemFn) -> Result {
[INFO] [stdout] | ---------------------------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] | |
[INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 369 | let has_only_lifetime_params = has_only_lifetime_parameters(&function.sig.generics);
[INFO] [stdout] 370 | let attrs = function.attrs.into_iter().filter(is_cfg).collect();
[INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 371 | let signature = function.sig.try_into()?;
[INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 372 |
[INFO] [stdout] 373 | match (has_only_lifetime_params, options.ffi_name) {
[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/ffi_signature.rs:456:5
[INFO] [stdout] |
[INFO] [stdout] 455 | fn into_non_unit_type(ty: Type) -> Option {
[INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 456 | Some(ty).filter(|ty| !type_is_unit(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/ffi_signature.rs:462:16
[INFO] [stdout] |
[INFO] [stdout] 459 | fn make_type_ffi_safe(ty: Type) -> Type {
[INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 462 | Type::Path(TypePath {
[INFO] [stdout] | ________________^
[INFO] [stdout] 463 | | qself: Some(QSelf {
[INFO] [stdout] 464 | | lt_token: Default::default(),
[INFO] [stdout] 465 | | ty: Box::new(ty),
[INFO] [stdout] ... |
[INFO] [stdout] 470 | | path: string_to_path(TARGET_PATH),
[INFO] [stdout] 471 | | })
[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/ffi_signature.rs:535:12
[INFO] [stdout] |
[INFO] [stdout] 530 | let alias = Ident::parse(input)?;
[INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 531 | let _ = syn::token::Comma::parse(input)?;
[INFO] [stdout] 532 | let target = Path::parse(input)?;
[INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 533 | let _ = syn::token::Comma::parse(input)?;
[INFO] [stdout] 534 | let signature = Signature::parse(input)?;
[INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 535 | Ok(Self {
[INFO] [stdout] | ____________^
[INFO] [stdout] 536 | | alias,
[INFO] [stdout] 537 | | target,
[INFO] [stdout] 538 | | signature,
[INFO] [stdout] 539 | | })
[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/ffi_type.rs:36:8
[INFO] [stdout] |
[INFO] [stdout] 30 | args: Punctuated,
[INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 31 | type_def: ItemStruct,
[INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 36 | Ok(FfiStructOutput {
[INFO] [stdout] | ________^
[INFO] [stdout] 37 | | opaque,
[INFO] [stdout] 38 | | type_def,
[INFO] [stdout] 39 | | clone: args.clone.is_some(),
[INFO] [stdout] 40 | | })
[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/ffi_type.rs:51:8
[INFO] [stdout] |
[INFO] [stdout] 44 | args: Punctuated,
[INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 45 | type_def: ItemEnum,
[INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 49 | let repr = repr_type(&type_def.attrs)?;
[INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 50 |
[INFO] [stdout] 51 | Ok(FfiEnumOutput {
[INFO] [stdout] | ________^
[INFO] [stdout] 52 | | opaque,
[INFO] [stdout] 53 | | type_def,
[INFO] [stdout] 54 | | repr,
[INFO] [stdout] 55 | | clone: args.clone.is_some(),
[INFO] [stdout] 56 | | })
[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/specialization.rs:20:12
[INFO] [stdout] |
[INFO] [stdout] 17 | let alias = Ident::parse(input)?;
[INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 18 | let _ = syn::token::Eq::parse(input)?;
[INFO] [stdout] 19 | let target = Path::parse(input)?;
[INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 20 | Ok(Self { alias, target })
[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/specialization.rs:27:25
[INFO] [stdout] |
[INFO] [stdout] 27 | .filter(|p| p.segments.first().unwrap().ident != "crate")
[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/utils.rs:219:5
[INFO] [stdout] |
[INFO] [stdout] 216 | let mut p = p.clone();
[INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 219 | Some(p).filter(|p| !p.segments.is_empty())
[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/utils.rs:242:36
[INFO] [stdout] |
[INFO] [stdout] 242 | .map(|s| PathSegment::from(new_ident(s)))
[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/utils.rs:294:20
[INFO] [stdout] |
[INFO] [stdout] 292 | pub fn add_lifetime_constraint_to_type(ty: Type, lifetime: Lifetime) -> PredicateType {
[INFO] [stdout] | -------- ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] | |
[INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 293 | PredicateType {
[INFO] [stdout] 294 | lifetimes: 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/utils.rs:297:17
[INFO] [stdout] |
[INFO] [stdout] 292 | pub fn add_lifetime_constraint_to_type(ty: Type, lifetime: Lifetime) -> PredicateType {
[INFO] [stdout] | -------- ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] | |
[INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 297 | bounds: [TypeParamBound::Lifetime(lifetime.clone())]
[INFO] [stdout] | _________________^
[INFO] [stdout] 298 | | .into_iter()
[INFO] [stdout] 299 | | .collect(),
[INFO] [stdout] | |______________________^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021
[INFO] [stdout] --> src/utils.rs:304:5
[INFO] [stdout] |
[INFO] [stdout] 303 | pub fn make_generic_type(name: Ident, generics: &Generics) -> Type {
[INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 304 | / TypePath {
[INFO] [stdout] 305 | | qself: None,
[INFO] [stdout] 306 | | path: Path {
[INFO] [stdout] 307 | | leading_colon: None,
[INFO] [stdout] ... |
[INFO] [stdout] 314 | | },
[INFO] [stdout] 315 | | }
[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 35 previous errors
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] error: could not compile `safer-ffi-gen-macro` (lib) due to 36 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021
[INFO] [stdout] --> src/lib.rs:65:5
[INFO] [stdout] |
[INFO] [stdout] 59 | args: proc_macro::TokenStream,
[INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 60 | input: proc_macro::TokenStream,
[INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 61 | ) -> proc_macro::TokenStream {
[INFO] [stdout] 62 | let args = parse_macro_input!(args with Punctuated::::parse_terminated);
[INFO] [stdout] | ---- ----------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] | |
[INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 63 | let ty_def = parse_macro_input!(input as syn::Item);
[INFO] [stdout] | ------ -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] | |
[INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 64 |
[INFO] [stdout] 65 | / process_ffi_type(args, ty_def)
[INFO] [stdout] 66 | | .map(ToTokens::into_token_stream)
[INFO] [stdout] 67 | | .map_err(Into::into)
[INFO] [stdout] 68 | | .unwrap_or_else(syn::Error::into_compile_error)
[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/lib.rs:89:5
[INFO] [stdout] |
[INFO] [stdout] 87 | pub fn specialize(args: proc_macro::TokenStream) -> proc_macro::TokenStream {
[INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 88 | let decl = parse_macro_input!(args as Specialization);
[INFO] [stdout] | ---- ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] | |
[INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 89 | decl.to_token_stream().into()
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021
[INFO] [stdout] --> src/lib.rs:96:5
[INFO] [stdout] |
[INFO] [stdout] 94 | pub fn __specialize_impl(args: proc_macro::TokenStream) -> proc_macro::TokenStream {
[INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 95 | let specialization = parse_macro_input!(args as ImplSpecialization);
[INFO] [stdout] | -------------- ---------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] | |
[INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 96 | specialization.to_token_stream().into()
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021
[INFO] [stdout] --> src/lib.rs:103:5
[INFO] [stdout] |
[INFO] [stdout] 101 | pub fn __specialize_function(args: proc_macro::TokenStream) -> proc_macro::TokenStream {
[INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 102 | let specialization = parse_macro_input!(args as FunctionSpecialization);
[INFO] [stdout] | -------------- -------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] | |
[INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 103 | specialization.to_token_stream().into()
[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/ffi_module.rs:58:12
[INFO] [stdout] |
[INFO] [stdout] 28 | pub fn new(impl_block: ItemImpl) -> Result {
[INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 35 | let Type::Path(self_type) = *impl_block.self_ty else {
[INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 40 | let functions = impl_block
[INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 58 | Ok(FfiModule {
[INFO] [stdout] | ____________^
[INFO] [stdout] 59 | | self_type,
[INFO] [stdout] 60 | | generics: impl_block.generics,
[INFO] [stdout] 61 | | functions,
[INFO] [stdout] 62 | | })
[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/ffi_module.rs:69:9
[INFO] [stdout] |
[INFO] [stdout] 68 | let impl_block = ItemImpl::parse(input)?;
[INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 69 | FfiModule::new(impl_block).map_err(Into::into)
[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/ffi_module.rs:141:33
[INFO] [stdout] |
[INFO] [stdout] 141 | attributes: f
[INFO] [stdout] | _________________________________^
[INFO] [stdout] 142 | | .attrs
[INFO] [stdout] 143 | | .iter()
[INFO] [stdout] 144 | | .filter(|attr| is_cfg(attr))
[INFO] [stdout] 145 | | .cloned()
[INFO] [stdout] 146 | | .collect(),
[INFO] [stdout] | |__________________________________^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021
[INFO] [stdout] --> src/ffi_module.rs:147:27
[INFO] [stdout] |
[INFO] [stdout] 147 | name: f.sig.ident.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/ffi_module.rs:351:12
[INFO] [stdout] |
[INFO] [stdout] 344 | let alias = Ident::parse(input)?;
[INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 345 | let _ = syn::token::Comma::parse(input)?;
[INFO] [stdout] 346 | let target = Path::parse(input)?;
[INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 347 | let _ = syn::token::Comma::parse(input)?;
[INFO] [stdout] 348 | let functions = Punctuated::<_, syn::token::Comma>::parse_terminated(input)?
[INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 351 | Ok(Self {
[INFO] [stdout] | ____________^
[INFO] [stdout] 352 | | alias,
[INFO] [stdout] 353 | | target,
[INFO] [stdout] 354 | | functions,
[INFO] [stdout] 355 | | })
[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/ffi_module.rs:368:25
[INFO] [stdout] |
[INFO] [stdout] 368 | .filter(|p| p.segments.first().unwrap().ident != "crate")
[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/ffi_module.rs:426:12
[INFO] [stdout] |
[INFO] [stdout] 424 | let attributes = Attribute::parse_outer(input)?;
[INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 425 | let name = Ident::parse(input)?;
[INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 426 | Ok(Self { attributes, name })
[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/ffi_signature.rs:44:12
[INFO] [stdout] |
[INFO] [stdout] 36 | let name = Ident::parse(input)?;
[INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 43 | let ffi_name = Some(Ident::parse(input)?);
[INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 44 | Ok(FfiSignatureOptions { ffi_name })
[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/ffi_signature.rs:114:18
[INFO] [stdout] |
[INFO] [stdout] 109 | fn from(sig: Signature) -> Self {
[INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 114 | abi: 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/ffi_signature.rs:119:21
[INFO] [stdout] |
[INFO] [stdout] 109 | fn from(sig: Signature) -> Self {
[INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 119 | inputs: sig
[INFO] [stdout] | _____________________^
[INFO] [stdout] 120 | | .params
[INFO] [stdout] 121 | | .into_iter()
[INFO] [stdout] 122 | | .map(|(ident, ty)| {
[INFO] [stdout] ... |
[INFO] [stdout] 135 | | })
[INFO] [stdout] 136 | | .collect(),
[INFO] [stdout] | |__________________________^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021
[INFO] [stdout] --> src/ffi_signature.rs:137:23
[INFO] [stdout] |
[INFO] [stdout] 109 | fn from(sig: Signature) -> Self {
[INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 137 | variadic: 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/ffi_signature.rs:138:21
[INFO] [stdout] |
[INFO] [stdout] 109 | fn from(sig: Signature) -> Self {
[INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 138 | output: into_non_unit_type(sig.return_type).map_or(ReturnType::Default, |ty| {
[INFO] [stdout] | _____________________^
[INFO] [stdout] 139 | | ReturnType::Type(Default::default(), Box::new(ty))
[INFO] [stdout] 140 | | }),
[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/ffi_signature.rs:123:33
[INFO] [stdout] |
[INFO] [stdout] 122 | .map(|(ident, ty)| {
[INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 123 | FnArg::from(PatType {
[INFO] [stdout] | _________________________________^
[INFO] [stdout] 124 | | attrs: Vec::new(),
[INFO] [stdout] 125 | | pat: Box::new(Pat::Ident(PatIdent {
[INFO] [stdout] 126 | | attrs: Vec::new(),
[INFO] [stdout] ... |
[INFO] [stdout] 133 | | ty: Box::new(ty),
[INFO] [stdout] 134 | | })
[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/ffi_signature.rs:139:54
[INFO] [stdout] |
[INFO] [stdout] 138 | output: into_non_unit_type(sig.return_type).map_or(ReturnType::Default, |ty| {
[INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 139 | ReturnType::Type(Default::default(), Box::new(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/ffi_signature.rs:166:12
[INFO] [stdout] |
[INFO] [stdout] 148 | fn try_from(sig: syn::Signature) -> Result {
[INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 149 | let params = sig
[INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 161 | let return_type = match sig.output {
[INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 162 | ReturnType::Default => unit_type(),
[INFO] [stdout] 163 | ReturnType::Type(_, ty) => *ty,
[INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 166 | Ok(Signature {
[INFO] [stdout] | ____________^
[INFO] [stdout] 167 | | name: sig.ident,
[INFO] [stdout] 168 | | is_async: sig.asyncness.is_some(),
[INFO] [stdout] 169 | | generics: sig.generics,
[INFO] [stdout] 170 | | params,
[INFO] [stdout] 171 | | return_type,
[INFO] [stdout] 172 | | })
[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/ffi_signature.rs:207:47
[INFO] [stdout] |
[INFO] [stdout] 207 | .map(|(_, ty)| make_type_ffi_safe(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/ffi_signature.rs:333:37
[INFO] [stdout] |
[INFO] [stdout] 333 | .map(|(target, alias)| (target.path.clone(), alias.clone().into()))
[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/ffi_signature.rs:333:58
[INFO] [stdout] |
[INFO] [stdout] 333 | .map(|(target, alias)| (target.path.clone(), alias.clone().into()))
[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/ffi_signature.rs:373:15
[INFO] [stdout] |
[INFO] [stdout] 368 | pub fn new(options: FfiSignatureOptions, function: ItemFn) -> Result {
[INFO] [stdout] | ---------------------------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] | |
[INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 369 | let has_only_lifetime_params = has_only_lifetime_parameters(&function.sig.generics);
[INFO] [stdout] 370 | let attrs = function.attrs.into_iter().filter(is_cfg).collect();
[INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 371 | let signature = function.sig.try_into()?;
[INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 372 |
[INFO] [stdout] 373 | match (has_only_lifetime_params, options.ffi_name) {
[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/ffi_signature.rs:456:5
[INFO] [stdout] |
[INFO] [stdout] 455 | fn into_non_unit_type(ty: Type) -> Option {
[INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 456 | Some(ty).filter(|ty| !type_is_unit(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/ffi_signature.rs:462:16
[INFO] [stdout] |
[INFO] [stdout] 459 | fn make_type_ffi_safe(ty: Type) -> Type {
[INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 462 | Type::Path(TypePath {
[INFO] [stdout] | ________________^
[INFO] [stdout] 463 | | qself: Some(QSelf {
[INFO] [stdout] 464 | | lt_token: Default::default(),
[INFO] [stdout] 465 | | ty: Box::new(ty),
[INFO] [stdout] ... |
[INFO] [stdout] 470 | | path: string_to_path(TARGET_PATH),
[INFO] [stdout] 471 | | })
[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/ffi_signature.rs:535:12
[INFO] [stdout] |
[INFO] [stdout] 530 | let alias = Ident::parse(input)?;
[INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 531 | let _ = syn::token::Comma::parse(input)?;
[INFO] [stdout] 532 | let target = Path::parse(input)?;
[INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 533 | let _ = syn::token::Comma::parse(input)?;
[INFO] [stdout] 534 | let signature = Signature::parse(input)?;
[INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 535 | Ok(Self {
[INFO] [stdout] | ____________^
[INFO] [stdout] 536 | | alias,
[INFO] [stdout] 537 | | target,
[INFO] [stdout] 538 | | signature,
[INFO] [stdout] 539 | | })
[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/ffi_type.rs:36:8
[INFO] [stdout] |
[INFO] [stdout] 30 | args: Punctuated,
[INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 31 | type_def: ItemStruct,
[INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 36 | Ok(FfiStructOutput {
[INFO] [stdout] | ________^
[INFO] [stdout] 37 | | opaque,
[INFO] [stdout] 38 | | type_def,
[INFO] [stdout] 39 | | clone: args.clone.is_some(),
[INFO] [stdout] 40 | | })
[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/ffi_type.rs:51:8
[INFO] [stdout] |
[INFO] [stdout] 44 | args: Punctuated,
[INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 45 | type_def: ItemEnum,
[INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 49 | let repr = repr_type(&type_def.attrs)?;
[INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 50 |
[INFO] [stdout] 51 | Ok(FfiEnumOutput {
[INFO] [stdout] | ________^
[INFO] [stdout] 52 | | opaque,
[INFO] [stdout] 53 | | type_def,
[INFO] [stdout] 54 | | repr,
[INFO] [stdout] 55 | | clone: args.clone.is_some(),
[INFO] [stdout] 56 | | })
[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/specialization.rs:20:12
[INFO] [stdout] |
[INFO] [stdout] 17 | let alias = Ident::parse(input)?;
[INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 18 | let _ = syn::token::Eq::parse(input)?;
[INFO] [stdout] 19 | let target = Path::parse(input)?;
[INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 20 | Ok(Self { alias, target })
[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/specialization.rs:27:25
[INFO] [stdout] |
[INFO] [stdout] 27 | .filter(|p| p.segments.first().unwrap().ident != "crate")
[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/utils.rs:219:5
[INFO] [stdout] |
[INFO] [stdout] 216 | let mut p = p.clone();
[INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 219 | Some(p).filter(|p| !p.segments.is_empty())
[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/utils.rs:242:36
[INFO] [stdout] |
[INFO] [stdout] 242 | .map(|s| PathSegment::from(new_ident(s)))
[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/utils.rs:294:20
[INFO] [stdout] |
[INFO] [stdout] 292 | pub fn add_lifetime_constraint_to_type(ty: Type, lifetime: Lifetime) -> PredicateType {
[INFO] [stdout] | -------- ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] | |
[INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 293 | PredicateType {
[INFO] [stdout] 294 | lifetimes: 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/utils.rs:297:17
[INFO] [stdout] |
[INFO] [stdout] 292 | pub fn add_lifetime_constraint_to_type(ty: Type, lifetime: Lifetime) -> PredicateType {
[INFO] [stdout] | -------- ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] | |
[INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 297 | bounds: [TypeParamBound::Lifetime(lifetime.clone())]
[INFO] [stdout] | _________________^
[INFO] [stdout] 298 | | .into_iter()
[INFO] [stdout] 299 | | .collect(),
[INFO] [stdout] | |______________________^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021
[INFO] [stdout] --> src/utils.rs:304:5
[INFO] [stdout] |
[INFO] [stdout] 303 | pub fn make_generic_type(name: Ident, generics: &Generics) -> Type {
[INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 304 | / TypePath {
[INFO] [stdout] 305 | | qself: None,
[INFO] [stdout] 306 | | path: Path {
[INFO] [stdout] 307 | | leading_colon: None,
[INFO] [stdout] ... |
[INFO] [stdout] 314 | | },
[INFO] [stdout] 315 | | }
[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 35 previous errors
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] error: could not compile `safer-ffi-gen-macro` (lib test) due to 36 previous errors
[INFO] running `Command { std: "docker" "inspect" "f8b472c1bc0395c31e460f0ac4c01995321e650d6c4716ce5881f00a1ed94661", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f8b472c1bc0395c31e460f0ac4c01995321e650d6c4716ce5881f00a1ed94661", kill_on_drop: false }`
[INFO] [stdout] f8b472c1bc0395c31e460f0ac4c01995321e650d6c4716ce5881f00a1ed94661