[INFO] fetching crate uniffi_udl 0.28.1... [INFO] checking uniffi_udl-0.28.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate uniffi_udl 0.28.1 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate uniffi_udl 0.28.1 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate uniffi_udl 0.28.1 [INFO] finished tweaking crates.io crate uniffi_udl 0.28.1 [INFO] tweaked toml for crates.io crate uniffi_udl 0.28.1 written to /workspace/builds/worker-7-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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 31 packages to latest compatible versions [INFO] [stderr] Adding cargo_metadata v0.15.4 (latest: v0.18.1) [INFO] [stderr] Adding siphasher v0.3.11 (latest: v1.0.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7a870bfb7dcea8f4cfe059a07c75bcbef731648a1eed2c2190a323170f0b8999 [INFO] running `Command { std: "docker" "start" "-a" "7a870bfb7dcea8f4cfe059a07c75bcbef731648a1eed2c2190a323170f0b8999", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a870bfb7dcea8f4cfe059a07c75bcbef731648a1eed2c2190a323170f0b8999", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a870bfb7dcea8f4cfe059a07c75bcbef731648a1eed2c2190a323170f0b8999", kill_on_drop: false }` [INFO] [stdout] 7a870bfb7dcea8f4cfe059a07c75bcbef731648a1eed2c2190a323170f0b8999 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8dbb0a9167c96dd8472df4fa225679faa175f06888baaa75111241c18250e824 [INFO] running `Command { std: "docker" "start" "-a" "8dbb0a9167c96dd8472df4fa225679faa175f06888baaa75111241c18250e824", kill_on_drop: false }` [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking weedle2 v5.0.0 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling uniffi_checksum_derive v0.28.1 [INFO] [stderr] Checking uniffi_meta v0.28.1 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Checking cargo-platform v0.1.8 [INFO] [stderr] Checking semver v1.0.23 [INFO] [stderr] Checking cargo_metadata v0.15.4 [INFO] [stderr] Checking uniffi_testing v0.28.1 [INFO] [stderr] Checking uniffi_udl v0.28.1 (/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/converters/mod.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 75 | _ => bail!("enum interface members must have plain identifiers as names"), [INFO] [stdout] | -------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 78 | Ok(VariantMetadata { [INFO] [stdout] | ____________^ [INFO] [stdout] 79 | | name, [INFO] [stdout] 80 | | discr: None, [INFO] [stdout] 81 | | fields: self [INFO] [stdout] ... | [INFO] [stdout] 88 | | docstring: self.docstring.as_ref().map(|v| convert_docstring(&v.0)), [INFO] [stdout] 89 | | }) [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/converters/mod.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 115 | let type_ = ci.resolve_type_expression(&self.type_)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 116 | let default = match self.default { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 120 | Ok(FieldMetadata { [INFO] [stdout] | ____________^ [INFO] [stdout] 121 | | name: self.identifier.0.to_string(), [INFO] [stdout] 122 | | ty: type_, [INFO] [stdout] 123 | | default, [INFO] [stdout] 124 | | docstring: self.docstring.as_ref().map(|v| convert_docstring(&v.0)), [INFO] [stdout] 125 | | }) [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] | [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/converters/callables.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 29 | let type_ = ci.resolve_type_expression(&self.type_)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | Ok(FieldMetadata { [INFO] [stdout] | ____________^ [INFO] [stdout] 42 | | name: self.identifier.0.to_string(), [INFO] [stdout] 43 | | ty: type_, [INFO] [stdout] 44 | | default: None, [INFO] [stdout] 45 | | docstring: None, [INFO] [stdout] 46 | | }) [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/converters/callables.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 61 | let type_ = ci.resolve_type_expression(&self.type_)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | let default = match self.default { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 67 | Ok(FnParamMetadata { [INFO] [stdout] | ____________^ [INFO] [stdout] 68 | | name: self.identifier.0.to_string(), [INFO] [stdout] 69 | | ty: type_, [INFO] [stdout] 70 | | by_ref, [INFO] [stdout] 71 | | optional: self.optional.is_some(), [INFO] [stdout] 72 | | default, [INFO] [stdout] 73 | | }) [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] | [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/converters/callables.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 88 | let return_type = ci.resolve_return_type_expression(&self.return_type)?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 95 | let throws = match attrs.get_throws_err() { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | Some(t) => Some(t), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | None => bail!("unknown type for error: {name}"), [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 102 | Ok(FnMetadata { [INFO] [stdout] | ____________^ [INFO] [stdout] 103 | | module_path: ci.module_path(), [INFO] [stdout] 104 | | name, [INFO] [stdout] 105 | | is_async, [INFO] [stdout] ... | [INFO] [stdout] 110 | | checksum: None, [INFO] [stdout] 111 | | }) [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/converters/callables.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 121 | let throws = attributes [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 124 | Ok(ConstructorMetadata { [INFO] [stdout] | ____________^ [INFO] [stdout] 125 | | module_path: ci.module_path(), [INFO] [stdout] 126 | | name: String::from(attributes.get_name().unwrap_or("new")), [INFO] [stdout] 127 | | // We don't know the name of the containing `Object` at this point, fill it in later. [INFO] [stdout] ... | [INFO] [stdout] 134 | | docstring: self.docstring.as_ref().map(|v| convert_docstring(&v.0)), [INFO] [stdout] 135 | | }) [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/converters/callables.rs:123:25 [INFO] [stdout] | [INFO] [stdout] 123 | .map(|name| ci.get_type(name).expect("invalid throws type")); [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/converters/callables.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 147 | let return_type = ci.resolve_return_type_expression(&self.return_type)?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 151 | let throws = match attributes.get_throws_err() { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 152 | Some(name) => match ci.get_type(name) { [INFO] [stdout] 153 | Some(t) => Some(t), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 154 | None => bail!("unknown type for error: {name}"), [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 160 | Ok(MethodMetadata { [INFO] [stdout] | ____________^ [INFO] [stdout] 161 | | module_path: ci.module_path(), [INFO] [stdout] 162 | | name: match self.identifier { [INFO] [stdout] 163 | | None => bail!("anonymous methods are not supported {:?}", self), [INFO] [stdout] ... | [INFO] [stdout] 180 | | docstring: self.docstring.as_ref().map(|v| convert_docstring(&v.0)), [INFO] [stdout] 181 | | }) [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/converters/callables.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 193 | let return_type = ci.resolve_return_type_expression(&self.return_type)?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 197 | let throws = match attributes.get_throws_err() { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 198 | Some(name) => match ci.get_type(name) { [INFO] [stdout] 199 | Some(t) => Some(t), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 200 | None => bail!("unknown type for error: {name}"), [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 206 | Ok(TraitMethodMetadata { [INFO] [stdout] | ____________^ [INFO] [stdout] 207 | | module_path: ci.module_path(), [INFO] [stdout] 208 | | trait_name: Default::default(), // we'll fill these in later. [INFO] [stdout] 209 | | index: Default::default(), [INFO] [stdout] ... | [INFO] [stdout] 226 | | docstring: self.docstring.as_ref().map(|v| convert_docstring(&v.0)), [INFO] [stdout] 227 | | }) [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/converters/enum_.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | Ok(EnumMetadata { [INFO] [stdout] | ____________^ [INFO] [stdout] 23 | | module_path: ci.module_path(), [INFO] [stdout] 24 | | name: self.identifier.0.to_string(), [INFO] [stdout] 25 | | shape, [INFO] [stdout] ... | [INFO] [stdout] 42 | | docstring: self.docstring.as_ref().map(|v| convert_docstring(&v.0)), [INFO] [stdout] 43 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/converters/enum_.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | Ok(EnumMetadata { [INFO] [stdout] | ____________^ [INFO] [stdout] 59 | | module_path: ci.module_path(), [INFO] [stdout] 60 | | name: self.identifier.0.to_string(), [INFO] [stdout] 61 | | shape, [INFO] [stdout] ... | [INFO] [stdout] 78 | | //flat: false, [INFO] [stdout] 79 | | }) [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/converters/interface.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 59 | inputs: Vec, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | return_type: Option| [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | -> Result { [INFO] [stdout] 62 | Ok(MethodMetadata { [INFO] [stdout] | ________________^ [INFO] [stdout] 63 | | module_path: ci.module_path(), [INFO] [stdout] 64 | | // The name is used to create the ffi function for the method. [INFO] [stdout] 65 | | name: name.to_string(), [INFO] [stdout] ... | [INFO] [stdout] 73 | | docstring: None, [INFO] [stdout] 74 | | }) [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/literal.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 63 | _ => bail!("Infinity and NaN is not currently supported"), [INFO] [stdout] | ---------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 66 | Ok(match type_ { [INFO] [stdout] | ____________^ [INFO] [stdout] 67 | | Type::Float32 | Type::Float64 => Literal::Float(string.to_string(), type_.clone()), [INFO] [stdout] 68 | | _ => bail!("Cannot coerce literal {} into a non-float type", string), [INFO] [stdout] 69 | | }) [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 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `uniffi_udl` (lib) due to 14 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/converters/mod.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 75 | _ => bail!("enum interface members must have plain identifiers as names"), [INFO] [stdout] | -------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 78 | Ok(VariantMetadata { [INFO] [stdout] | ____________^ [INFO] [stdout] 79 | | name, [INFO] [stdout] 80 | | discr: None, [INFO] [stdout] 81 | | fields: self [INFO] [stdout] ... | [INFO] [stdout] 88 | | docstring: self.docstring.as_ref().map(|v| convert_docstring(&v.0)), [INFO] [stdout] 89 | | }) [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/converters/mod.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 115 | let type_ = ci.resolve_type_expression(&self.type_)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 116 | let default = match self.default { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 120 | Ok(FieldMetadata { [INFO] [stdout] | ____________^ [INFO] [stdout] 121 | | name: self.identifier.0.to_string(), [INFO] [stdout] 122 | | ty: type_, [INFO] [stdout] 123 | | default, [INFO] [stdout] 124 | | docstring: self.docstring.as_ref().map(|v| convert_docstring(&v.0)), [INFO] [stdout] 125 | | }) [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] | [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/converters/callables.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 29 | let type_ = ci.resolve_type_expression(&self.type_)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | Ok(FieldMetadata { [INFO] [stdout] | ____________^ [INFO] [stdout] 42 | | name: self.identifier.0.to_string(), [INFO] [stdout] 43 | | ty: type_, [INFO] [stdout] 44 | | default: None, [INFO] [stdout] 45 | | docstring: None, [INFO] [stdout] 46 | | }) [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/converters/callables.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 61 | let type_ = ci.resolve_type_expression(&self.type_)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | let default = match self.default { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 67 | Ok(FnParamMetadata { [INFO] [stdout] | ____________^ [INFO] [stdout] 68 | | name: self.identifier.0.to_string(), [INFO] [stdout] 69 | | ty: type_, [INFO] [stdout] 70 | | by_ref, [INFO] [stdout] 71 | | optional: self.optional.is_some(), [INFO] [stdout] 72 | | default, [INFO] [stdout] 73 | | }) [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] | [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/converters/callables.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 88 | let return_type = ci.resolve_return_type_expression(&self.return_type)?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 95 | let throws = match attrs.get_throws_err() { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | Some(t) => Some(t), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | None => bail!("unknown type for error: {name}"), [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 102 | Ok(FnMetadata { [INFO] [stdout] | ____________^ [INFO] [stdout] 103 | | module_path: ci.module_path(), [INFO] [stdout] 104 | | name, [INFO] [stdout] 105 | | is_async, [INFO] [stdout] ... | [INFO] [stdout] 110 | | checksum: None, [INFO] [stdout] 111 | | }) [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/converters/callables.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 121 | let throws = attributes [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 124 | Ok(ConstructorMetadata { [INFO] [stdout] | ____________^ [INFO] [stdout] 125 | | module_path: ci.module_path(), [INFO] [stdout] 126 | | name: String::from(attributes.get_name().unwrap_or("new")), [INFO] [stdout] 127 | | // We don't know the name of the containing `Object` at this point, fill it in later. [INFO] [stdout] ... | [INFO] [stdout] 134 | | docstring: self.docstring.as_ref().map(|v| convert_docstring(&v.0)), [INFO] [stdout] 135 | | }) [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/converters/callables.rs:123:25 [INFO] [stdout] | [INFO] [stdout] 123 | .map(|name| ci.get_type(name).expect("invalid throws type")); [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/converters/callables.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 147 | let return_type = ci.resolve_return_type_expression(&self.return_type)?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 151 | let throws = match attributes.get_throws_err() { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 152 | Some(name) => match ci.get_type(name) { [INFO] [stdout] 153 | Some(t) => Some(t), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 154 | None => bail!("unknown type for error: {name}"), [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 160 | Ok(MethodMetadata { [INFO] [stdout] | ____________^ [INFO] [stdout] 161 | | module_path: ci.module_path(), [INFO] [stdout] 162 | | name: match self.identifier { [INFO] [stdout] 163 | | None => bail!("anonymous methods are not supported {:?}", self), [INFO] [stdout] ... | [INFO] [stdout] 180 | | docstring: self.docstring.as_ref().map(|v| convert_docstring(&v.0)), [INFO] [stdout] 181 | | }) [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/converters/callables.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 193 | let return_type = ci.resolve_return_type_expression(&self.return_type)?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 197 | let throws = match attributes.get_throws_err() { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 198 | Some(name) => match ci.get_type(name) { [INFO] [stdout] 199 | Some(t) => Some(t), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 200 | None => bail!("unknown type for error: {name}"), [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 206 | Ok(TraitMethodMetadata { [INFO] [stdout] | ____________^ [INFO] [stdout] 207 | | module_path: ci.module_path(), [INFO] [stdout] 208 | | trait_name: Default::default(), // we'll fill these in later. [INFO] [stdout] 209 | | index: Default::default(), [INFO] [stdout] ... | [INFO] [stdout] 226 | | docstring: self.docstring.as_ref().map(|v| convert_docstring(&v.0)), [INFO] [stdout] 227 | | }) [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/converters/enum_.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | Ok(EnumMetadata { [INFO] [stdout] | ____________^ [INFO] [stdout] 23 | | module_path: ci.module_path(), [INFO] [stdout] 24 | | name: self.identifier.0.to_string(), [INFO] [stdout] 25 | | shape, [INFO] [stdout] ... | [INFO] [stdout] 42 | | docstring: self.docstring.as_ref().map(|v| convert_docstring(&v.0)), [INFO] [stdout] 43 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/converters/enum_.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | Ok(EnumMetadata { [INFO] [stdout] | ____________^ [INFO] [stdout] 59 | | module_path: ci.module_path(), [INFO] [stdout] 60 | | name: self.identifier.0.to_string(), [INFO] [stdout] 61 | | shape, [INFO] [stdout] ... | [INFO] [stdout] 78 | | //flat: false, [INFO] [stdout] 79 | | }) [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/converters/interface.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 59 | inputs: Vec, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | return_type: Option| [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | -> Result { [INFO] [stdout] 62 | Ok(MethodMetadata { [INFO] [stdout] | ________________^ [INFO] [stdout] 63 | | module_path: ci.module_path(), [INFO] [stdout] 64 | | // The name is used to create the ffi function for the method. [INFO] [stdout] 65 | | name: name.to_string(), [INFO] [stdout] ... | [INFO] [stdout] 73 | | docstring: None, [INFO] [stdout] 74 | | }) [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/converters/mod.rs:221:16 [INFO] [stdout] | [INFO] [stdout] 186 | let mut ci = InterfaceCollector::from_webidl(UDL, "crate-name").unwrap(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 221 | match &ci.items.pop_first().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/literal.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 63 | _ => bail!("Infinity and NaN is not currently supported"), [INFO] [stdout] | ---------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 66 | Ok(match type_ { [INFO] [stdout] | ____________^ [INFO] [stdout] 67 | | Type::Float32 | Type::Float64 => Literal::Float(string.to_string(), type_.clone()), [INFO] [stdout] 68 | | _ => bail!("Cannot coerce literal {} into a non-float type", string), [INFO] [stdout] 69 | | }) [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 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `uniffi_udl` (lib test) due to 15 previous errors [INFO] running `Command { std: "docker" "inspect" "8dbb0a9167c96dd8472df4fa225679faa175f06888baaa75111241c18250e824", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8dbb0a9167c96dd8472df4fa225679faa175f06888baaa75111241c18250e824", kill_on_drop: false }` [INFO] [stdout] 8dbb0a9167c96dd8472df4fa225679faa175f06888baaa75111241c18250e824