[INFO] fetching crate cxxbridge-cmd 1.0.127... [INFO] checking cxxbridge-cmd-1.0.127 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate cxxbridge-cmd 1.0.127 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate cxxbridge-cmd 1.0.127 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 cxxbridge-cmd 1.0.127 [INFO] finished tweaking crates.io crate cxxbridge-cmd 1.0.127 [INFO] tweaked toml for crates.io crate cxxbridge-cmd 1.0.127 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate cxxbridge-cmd 1.0.127 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 08e83e62f1714c6f2c805f1d248bb45cb15ebd910a73db2dfe94c50437b0cdf6 [INFO] running `Command { std: "docker" "start" "-a" "08e83e62f1714c6f2c805f1d248bb45cb15ebd910a73db2dfe94c50437b0cdf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08e83e62f1714c6f2c805f1d248bb45cb15ebd910a73db2dfe94c50437b0cdf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08e83e62f1714c6f2c805f1d248bb45cb15ebd910a73db2dfe94c50437b0cdf6", kill_on_drop: false }` [INFO] [stdout] 08e83e62f1714c6f2c805f1d248bb45cb15ebd910a73db2dfe94c50437b0cdf6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 4c4a76e196f022d4e7a85567cc14c5b4fe2624551183ee936a9caa4f083f22f1 [INFO] running `Command { std: "docker" "start" "-a" "4c4a76e196f022d4e7a85567cc14c5b4fe2624551183ee936a9caa4f083f22f1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking syn v2.0.76 [INFO] [stderr] Checking clap v4.5.16 [INFO] [stderr] Checking cxxbridge-cmd v1.0.127 (/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/app.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 133 | let bool_cfgs = Arc::new(Mutex::new(Map::::new())); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 134 | / Arg::new(CFG) [INFO] [stdout] 135 | | .long(CFG) [INFO] [stdout] 136 | | .num_args(1) [INFO] [stdout] 137 | | .value_name("name=\"value\" | name[=true] | name=false") [INFO] [stdout] ... | [INFO] [stdout] 151 | | Err(_) => Err("expected name=\"value\", name=true, or name=false".to_owned()), [INFO] [stdout] 152 | | }) [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/gen/mod.rs:115:11 [INFO] [stdout] | [INFO] [stdout] 113 | Err(err) => format_err(path, "", err), [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | }; [INFO] [stdout] 115 | match generate_from_string(&source, opt) { [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/gen/file.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 13 | let mut modules = Vec::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 16 | Ok(File { modules }) [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/gen/fs.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 47 | pub(crate) fn copy(from: impl AsRef, to: impl AsRef) -> 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] ... [INFO] [stdout] 50 | match std::fs::copy(from, to) { [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/gen/fs.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 56 | pub(crate) fn create_dir_all(path: impl AsRef) -> Result<()> { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | let path = path.as_ref(); [INFO] [stdout] 58 | match std::fs::create_dir_all(path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/gen/fs.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub(crate) fn exists(path: impl AsRef) -> bool { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | std::fs::symlink_metadata(path).is_ok() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/gen/fs.rs:80:11 [INFO] [stdout] | [INFO] [stdout] 78 | pub(crate) fn read(path: impl AsRef) -> Result> { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | let path = path.as_ref(); [INFO] [stdout] 80 | match std::fs::read(path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/gen/fs.rs:96:11 [INFO] [stdout] | [INFO] [stdout] 94 | pub(crate) fn remove_file(path: impl AsRef) -> Result<()> { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | let path = path.as_ref(); [INFO] [stdout] 96 | match std::fs::remove_file(path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/gen/fs.rs:104:11 [INFO] [stdout] | [INFO] [stdout] 102 | pub(crate) fn remove_dir(path: impl AsRef) -> Result<()> { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 103 | let path = path.as_ref(); [INFO] [stdout] 104 | match std::fs::remove_dir(path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/gen/fs.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | Err(Error { [INFO] [stdout] | _____________^ [INFO] [stdout] 41 | | source: Option::from($io_error), [INFO] [stdout] 42 | | message: format!($fmt $(, $path.display())*), [INFO] [stdout] 43 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub(crate) fn symlink_fail(original: impl AsRef, link: impl AsRef) -> 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] 127 | / err!( [INFO] [stdout] 128 | | None, [INFO] [stdout] 129 | | "Failed to create symlink `{}` pointing to `{}`", [INFO] [stdout] 130 | | link.as_ref(), [INFO] [stdout] 131 | | original.as_ref(), [INFO] [stdout] 132 | | ) [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `err` (in Nightly builds, run with -Z macro-backtrace for more info) [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/gen/fs.rs:168:11 [INFO] [stdout] | [INFO] [stdout] 166 | pub(crate) fn write(path: impl AsRef, contents: impl AsRef<[u8]>) -> 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] 167 | let path = path.as_ref(); [INFO] [stdout] 168 | match std::fs::write(path, contents) { [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/gen/nested.rs:132:22 [INFO] [stdout] | [INFO] [stdout] 131 | let ns = ns.map_or(Namespace::ROOT, |ns| syn::parse_str(ns).unwrap()); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | Api::CxxType(ExternType { [INFO] [stdout] | ______________________^ [INFO] [stdout] 133 | | cfg: CfgExpr::Unconditional, [INFO] [stdout] 134 | | lang: Lang::Rust, [INFO] [stdout] 135 | | doc: Doc::new(), [INFO] [stdout] ... | [INFO] [stdout] 153 | | trusted: false, [INFO] [stdout] 154 | | }) [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/gen/nested.rs:131:50 [INFO] [stdout] | [INFO] [stdout] 131 | let ns = ns.map_or(Namespace::ROOT, |ns| syn::parse_str(ns).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/syntax/attrs.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 232 | let ident: Ident = input.parse()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 242 | begin.token_stream(), [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/syntax/file.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 47 | let cfg = CfgExpr::Unconditional; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | let namespace = Namespace::ROOT; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | let mut attrs = input.call(Attribute::parse_outer)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | let vis: Visibility = input.parse()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | let ident: Ident = input.parse()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | let content; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | let brace_token = braced!(content in input); [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | let mut items = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | Ok(Module { [INFO] [stdout] | ____________^ [INFO] [stdout] 74 | | cfg, [INFO] [stdout] 75 | | namespace, [INFO] [stdout] 76 | | attrs, [INFO] [stdout] ... | [INFO] [stdout] 82 | | content: items, [INFO] [stdout] 83 | | }) [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/syntax/namespace.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 79 | let segments = QualifiedName::parse_quoted_or_unquoted(input)?.segments; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | Ok(Namespace { segments }) [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/syntax/parse.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 58 | fn parse_struct(cx: &mut Errors, mut item: ItemStruct, namespace: &Namespace) -> Result { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | let mut cfg = CfgExpr::Unconditional; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | let mut doc = Doc::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | let mut derives = Vec::new(); [INFO] [stdout] 62 | let mut namespace = namespace.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | let mut cxx_name = None; [INFO] [stdout] 64 | let mut rust_name = None; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | let attrs = attrs::parse( [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | let named_fields = match item.fields { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | Fields::Named(fields) => fields, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 87 | let mut lifetimes = Punctuated::new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 127 | let mut fields = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 168 | let name = pair(namespace, &item.ident, cxx_name, rust_name); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 169 | let generics = Lifetimes { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 176 | Ok(Api::Struct(Struct { [INFO] [stdout] | ________^ [INFO] [stdout] 177 | | cfg, [INFO] [stdout] 178 | | doc, [INFO] [stdout] 179 | | derives, [INFO] [stdout] ... | [INFO] [stdout] 186 | | fields, [INFO] [stdout] 187 | | })) [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/syntax/parse.rs:265:15 [INFO] [stdout] | [INFO] [stdout] 190 | fn parse_enum(cx: &mut Errors, item: ItemEnum, namespace: &Namespace) -> Api { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 191 | let mut cfg = CfgExpr::Unconditional; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 192 | let mut doc = Doc::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 195 | let mut namespace = namespace.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 196 | let mut cxx_name = None; [INFO] [stdout] 197 | let mut rust_name = None; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 198 | let mut variants_from_header = None; [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 199 | let attrs = attrs::parse( [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 226 | let mut variants = Vec::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 250 | let name = pair(namespace, &item.ident, cxx_name, rust_name); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 251 | let repr_ident = Ident::new(repr.as_ref(), Span::call_site()); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 252 | let repr_type = Type::Ident(NamedType::new(repr_ident)); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 253 | let repr = EnumRepr::Native { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 257 | let generics = Lifetimes { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 262 | let variants_from_header_attr = variants_from_header; [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 265 | Api::Enum(Enum { [INFO] [stdout] | _______________^ [INFO] [stdout] 266 | | cfg, [INFO] [stdout] 267 | | doc, [INFO] [stdout] 268 | | derives, [INFO] [stdout] ... | [INFO] [stdout] 279 | | explicit_repr, [INFO] [stdout] 280 | | }) [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/syntax/parse.rs:325:8 [INFO] [stdout] | [INFO] [stdout] 285 | mut variant: RustVariant, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 288 | let mut cfg = CfgExpr::Unconditional; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 289 | let mut doc = Doc::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 290 | let mut cxx_name = None; [INFO] [stdout] 291 | let mut rust_name = None; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 292 | let attrs = attrs::parse( [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 322 | let name = pair(Namespace::ROOT, &variant.ident, cxx_name, rust_name); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 323 | let expr = variant.discriminant.map(|(_, expr)| expr); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 324 | [INFO] [stdout] 325 | Ok(Variant { [INFO] [stdout] | ________^ [INFO] [stdout] 326 | | cfg, [INFO] [stdout] 327 | | doc, [INFO] [stdout] 328 | | attrs, [INFO] [stdout] ... | [INFO] [stdout] 331 | | expr, [INFO] [stdout] 332 | | }) [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/syntax/parse.rs:497:8 [INFO] [stdout] | [INFO] [stdout] 458 | foreign_type: ForeignItemType, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 465 | let mut cfg = extern_block_cfg.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 466 | let mut doc = Doc::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 467 | let mut derives = Vec::new(); [INFO] [stdout] 468 | let mut namespace = namespace.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 469 | let mut cxx_name = None; [INFO] [stdout] 470 | let mut rust_name = None; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 471 | let mut attrs = attrs.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 488 | let name = pair(namespace, &foreign_type.ident, cxx_name, rust_name); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 489 | let generics = extern_type_lifetimes(cx, foreign_type.generics); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 497 | })(ExternType { [INFO] [stdout] | ________^ [INFO] [stdout] 498 | | cfg, [INFO] [stdout] 499 | | lang, [INFO] [stdout] 500 | | doc, [INFO] [stdout] ... | [INFO] [stdout] 510 | | trusted, [INFO] [stdout] 511 | | }) [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/syntax/parse.rs:673:8 [INFO] [stdout] | [INFO] [stdout] 516 | mut foreign_fn: ForeignItemFn, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 523 | let mut cfg = extern_block_cfg.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 524 | let mut doc = Doc::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 525 | let mut namespace = namespace.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 526 | let mut cxx_name = None; [INFO] [stdout] 527 | let mut rust_name = None; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 528 | let mut attrs = attrs.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 586 | let mut receiver = None; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 587 | let mut args = Punctuated::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 661 | let ret = parse_return_type(&foreign_fn.sig.output, &mut throws_tokens)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 668 | let name = pair(namespace, &foreign_fn.sig.ident, cxx_name, rust_name); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 669 | let generics = generics.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 673 | Ok(match lang { [INFO] [stdout] | ________^ [INFO] [stdout] 674 | | Lang::Cxx => Api::CxxFunction, [INFO] [stdout] 675 | | Lang::Rust => Api::RustFunction, [INFO] [stdout] 676 | | }(ExternFn { [INFO] [stdout] ... | [INFO] [stdout] 696 | | trusted, [INFO] [stdout] 697 | | })) [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/syntax/parse.rs:882:8 [INFO] [stdout] | [INFO] [stdout] 837 | unparsed_attrs: Vec, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 838 | visibility: Visibility, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 839 | type_token: Token![type], [INFO] [stdout] 840 | ident: Ident, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 841 | generics: Lifetimes, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 849 | let ty: RustType = input.parse()?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 852 | let mut cfg = extern_block_cfg.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 853 | let mut doc = Doc::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 854 | let mut derives = Vec::new(); [INFO] [stdout] 855 | let mut namespace = namespace.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 856 | let mut cxx_name = None; [INFO] [stdout] 857 | let mut rust_name = None; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 858 | let mut attrs = attrs.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 880 | let name = pair(namespace, &ident, cxx_name, rust_name); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 881 | [INFO] [stdout] 882 | Ok(Api::TypeAlias(TypeAlias { [INFO] [stdout] | ________^ [INFO] [stdout] 883 | | cfg, [INFO] [stdout] 884 | | doc, [INFO] [stdout] 885 | | derives, [INFO] [stdout] ... | [INFO] [stdout] 893 | | semi_token, [INFO] [stdout] 894 | | })) [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/syntax/parse.rs:966:8 [INFO] [stdout] | [INFO] [stdout] 899 | unparsed_attrs: Vec, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 900 | visibility: Visibility, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 901 | type_token: Token![type], [INFO] [stdout] 902 | ident: Ident, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 903 | generics: Lifetimes, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 942 | let mut cfg = extern_block_cfg.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 943 | let mut doc = Doc::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 944 | let mut derives = Vec::new(); [INFO] [stdout] 945 | let mut namespace = namespace.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 946 | let mut cxx_name = None; [INFO] [stdout] 947 | let mut rust_name = None; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 948 | let mut attrs = attrs.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 964 | let name = pair(namespace, &ident, cxx_name, rust_name); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 965 | [INFO] [stdout] 966 | Ok(match lang { [INFO] [stdout] | ________^ [INFO] [stdout] 967 | | Lang::Cxx => Api::CxxType, [INFO] [stdout] 968 | | Lang::Rust => Api::RustType, [INFO] [stdout] 969 | | }(ExternType { [INFO] [stdout] ... | [INFO] [stdout] 982 | | trusted, [INFO] [stdout] 983 | | })) [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/syntax/parse.rs:1083:8 [INFO] [stdout] | [INFO] [stdout] 986 | fn parse_impl(cx: &mut Errors, imp: ItemImpl) -> Result { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 989 | let mut cfg = CfgExpr::Unconditional; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1020 | let mut impl_generics = Lifetimes { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1045 | let mut self_ty = *imp.self_ty; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1059 | let ty = parse_type(&self_ty)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1060 | let ty_generics = match &ty { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1083 | Ok(Api::Impl(Impl { [INFO] [stdout] | ________^ [INFO] [stdout] 1084 | | cfg, [INFO] [stdout] 1085 | | impl_token, [INFO] [stdout] 1086 | | impl_generics, [INFO] [stdout] ... | [INFO] [stdout] 1091 | | negative_token, [INFO] [stdout] 1092 | | })) [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/syntax/parse.rs:1176:8 [INFO] [stdout] | [INFO] [stdout] 1155 | let lifetime = ty.lifetime.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1172 | let inner = parse_type(&ty.elem)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1176 | Ok(match &inner { [INFO] [stdout] | ________^ [INFO] [stdout] 1177 | | Type::Ident(ident) if ident.rust == "str" => { [INFO] [stdout] 1178 | | if ty.mutability.is_some() { [INFO] [stdout] 1179 | | return Err(Error::new_spanned(ty, "unsupported type")); [INFO] [stdout] ... | [INFO] [stdout] 1192 | | mutability, [INFO] [stdout] 1193 | | }))) [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/syntax/parse.rs:1204:8 [INFO] [stdout] | [INFO] [stdout] 1202 | let inner = parse_type(&ty.elem)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1203 | [INFO] [stdout] 1204 | Ok(Type::Ptr(Box::new(Ptr { [INFO] [stdout] | ________^ [INFO] [stdout] 1205 | | star, [INFO] [stdout] 1206 | | mutable, [INFO] [stdout] 1207 | | inner, [INFO] [stdout] 1208 | | mutability, [INFO] [stdout] 1209 | | constness, [INFO] [stdout] 1210 | | }))) [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/syntax/parse.rs:1348:8 [INFO] [stdout] | [INFO] [stdout] 1327 | let inner = parse_type(&ty.elem)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1348 | Ok(Type::Array(Box::new(Array { [INFO] [stdout] | ________^ [INFO] [stdout] 1349 | | bracket, [INFO] [stdout] 1350 | | inner, [INFO] [stdout] 1351 | | semi_token, [INFO] [stdout] 1352 | | len, [INFO] [stdout] 1353 | | len_token: len_token.clone(), [INFO] [stdout] 1354 | | }))) [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/syntax/parse.rs:1415:8 [INFO] [stdout] | [INFO] [stdout] 1372 | let args = ty [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1405 | let ret = parse_return_type(&ty.output, &mut throws_tokens)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1411 | let generics = Generics::default(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1412 | let receiver = None; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1415 | Ok(Type::Fn(Box::new(Signature { [INFO] [stdout] | ________^ [INFO] [stdout] 1416 | | asyncness, [INFO] [stdout] 1417 | | unsafety, [INFO] [stdout] 1418 | | fn_token, [INFO] [stdout] ... | [INFO] [stdout] 1425 | | throws_tokens, [INFO] [stdout] 1426 | | }))) [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/syntax/parse.rs:1392:16 [INFO] [stdout] | [INFO] [stdout] 1377 | let (ident, colon_token) = match &arg.name { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1381 | let ident = format_ident!("arg{}", i, span = fn_span); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1386 | let ty = parse_type(&arg.ty)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1387 | let cfg = CfgExpr::Unconditional; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1388 | let doc = Doc::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1389 | let attrs = OtherAttrs::none(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1390 | let visibility = Token![pub](ident.span()); [INFO] [stdout] 1391 | let name = pair(Namespace::default(), &ident, None, None); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1392 | Ok(Var { [INFO] [stdout] | ________________^ [INFO] [stdout] 1393 | | cfg, [INFO] [stdout] 1394 | | doc, [INFO] [stdout] 1395 | | attrs, [INFO] [stdout] ... | [INFO] [stdout] 1399 | | ty, [INFO] [stdout] 1400 | | }) [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/syntax/parse.rs:1479:15 [INFO] [stdout] | [INFO] [stdout] 1470 | namespace: Namespace, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1473 | rust: Option, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1479 | rust: rust.unwrap_or_else(|| default.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/syntax/qualified.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 38 | let mut segments = Vec::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | Ok(QualifiedName { segments }) [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/app.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 133 | let bool_cfgs = Arc::new(Mutex::new(Map::::new())); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 134 | / Arg::new(CFG) [INFO] [stdout] 135 | | .long(CFG) [INFO] [stdout] 136 | | .num_args(1) [INFO] [stdout] 137 | | .value_name("name=\"value\" | name[=true] | name=false") [INFO] [stdout] ... | [INFO] [stdout] 151 | | Err(_) => Err("expected name=\"value\", name=true, or name=false".to_owned()), [INFO] [stdout] 152 | | }) [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/gen/mod.rs:115:11 [INFO] [stdout] | [INFO] [stdout] 113 | Err(err) => format_err(path, "", err), [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | }; [INFO] [stdout] 115 | match generate_from_string(&source, opt) { [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/gen/file.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 13 | let mut modules = Vec::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 16 | Ok(File { modules }) [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/gen/fs.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 47 | pub(crate) fn copy(from: impl AsRef, to: impl AsRef) -> 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] ... [INFO] [stdout] 50 | match std::fs::copy(from, to) { [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/gen/fs.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 56 | pub(crate) fn create_dir_all(path: impl AsRef) -> Result<()> { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | let path = path.as_ref(); [INFO] [stdout] 58 | match std::fs::create_dir_all(path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/gen/fs.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub(crate) fn exists(path: impl AsRef) -> bool { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | std::fs::symlink_metadata(path).is_ok() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/gen/fs.rs:80:11 [INFO] [stdout] | [INFO] [stdout] 78 | pub(crate) fn read(path: impl AsRef) -> Result> { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | let path = path.as_ref(); [INFO] [stdout] 80 | match std::fs::read(path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/gen/fs.rs:96:11 [INFO] [stdout] | [INFO] [stdout] 94 | pub(crate) fn remove_file(path: impl AsRef) -> Result<()> { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | let path = path.as_ref(); [INFO] [stdout] 96 | match std::fs::remove_file(path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/gen/fs.rs:104:11 [INFO] [stdout] | [INFO] [stdout] 102 | pub(crate) fn remove_dir(path: impl AsRef) -> Result<()> { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 103 | let path = path.as_ref(); [INFO] [stdout] 104 | match std::fs::remove_dir(path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/gen/fs.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | Err(Error { [INFO] [stdout] | _____________^ [INFO] [stdout] 41 | | source: Option::from($io_error), [INFO] [stdout] 42 | | message: format!($fmt $(, $path.display())*), [INFO] [stdout] 43 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub(crate) fn symlink_fail(original: impl AsRef, link: impl AsRef) -> 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] 127 | / err!( [INFO] [stdout] 128 | | None, [INFO] [stdout] 129 | | "Failed to create symlink `{}` pointing to `{}`", [INFO] [stdout] 130 | | link.as_ref(), [INFO] [stdout] 131 | | original.as_ref(), [INFO] [stdout] 132 | | ) [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `err` (in Nightly builds, run with -Z macro-backtrace for more info) [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/gen/fs.rs:168:11 [INFO] [stdout] | [INFO] [stdout] 166 | pub(crate) fn write(path: impl AsRef, contents: impl AsRef<[u8]>) -> 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] 167 | let path = path.as_ref(); [INFO] [stdout] 168 | match std::fs::write(path, contents) { [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 31 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cxxbridge-cmd` (bin "cxxbridge" test) due to 32 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/syntax/attrs.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 232 | let ident: Ident = input.parse()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 242 | begin.token_stream(), [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/syntax/file.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 47 | let cfg = CfgExpr::Unconditional; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | let namespace = Namespace::ROOT; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | let mut attrs = input.call(Attribute::parse_outer)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | let vis: Visibility = input.parse()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | let ident: Ident = input.parse()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | let content; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | let brace_token = braced!(content in input); [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | let mut items = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | Ok(Module { [INFO] [stdout] | ____________^ [INFO] [stdout] 74 | | cfg, [INFO] [stdout] 75 | | namespace, [INFO] [stdout] 76 | | attrs, [INFO] [stdout] ... | [INFO] [stdout] 82 | | content: items, [INFO] [stdout] 83 | | }) [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/syntax/namespace.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 79 | let segments = QualifiedName::parse_quoted_or_unquoted(input)?.segments; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | Ok(Namespace { segments }) [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/syntax/parse.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 58 | fn parse_struct(cx: &mut Errors, mut item: ItemStruct, namespace: &Namespace) -> Result { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | let mut cfg = CfgExpr::Unconditional; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | let mut doc = Doc::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | let mut derives = Vec::new(); [INFO] [stdout] 62 | let mut namespace = namespace.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | let mut cxx_name = None; [INFO] [stdout] 64 | let mut rust_name = None; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | let attrs = attrs::parse( [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | let named_fields = match item.fields { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | Fields::Named(fields) => fields, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 87 | let mut lifetimes = Punctuated::new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 127 | let mut fields = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 168 | let name = pair(namespace, &item.ident, cxx_name, rust_name); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 169 | let generics = Lifetimes { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 176 | Ok(Api::Struct(Struct { [INFO] [stdout] | ________^ [INFO] [stdout] 177 | | cfg, [INFO] [stdout] 178 | | doc, [INFO] [stdout] 179 | | derives, [INFO] [stdout] ... | [INFO] [stdout] 186 | | fields, [INFO] [stdout] 187 | | })) [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/syntax/parse.rs:265:15 [INFO] [stdout] | [INFO] [stdout] 190 | fn parse_enum(cx: &mut Errors, item: ItemEnum, namespace: &Namespace) -> Api { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 191 | let mut cfg = CfgExpr::Unconditional; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 192 | let mut doc = Doc::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 195 | let mut namespace = namespace.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 196 | let mut cxx_name = None; [INFO] [stdout] 197 | let mut rust_name = None; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 198 | let mut variants_from_header = None; [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 199 | let attrs = attrs::parse( [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 226 | let mut variants = Vec::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 250 | let name = pair(namespace, &item.ident, cxx_name, rust_name); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 251 | let repr_ident = Ident::new(repr.as_ref(), Span::call_site()); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 252 | let repr_type = Type::Ident(NamedType::new(repr_ident)); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 253 | let repr = EnumRepr::Native { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 257 | let generics = Lifetimes { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 262 | let variants_from_header_attr = variants_from_header; [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 265 | Api::Enum(Enum { [INFO] [stdout] | _______________^ [INFO] [stdout] 266 | | cfg, [INFO] [stdout] 267 | | doc, [INFO] [stdout] 268 | | derives, [INFO] [stdout] ... | [INFO] [stdout] 279 | | explicit_repr, [INFO] [stdout] 280 | | }) [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/syntax/parse.rs:325:8 [INFO] [stdout] | [INFO] [stdout] 285 | mut variant: RustVariant, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 288 | let mut cfg = CfgExpr::Unconditional; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 289 | let mut doc = Doc::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 290 | let mut cxx_name = None; [INFO] [stdout] 291 | let mut rust_name = None; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 292 | let attrs = attrs::parse( [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 322 | let name = pair(Namespace::ROOT, &variant.ident, cxx_name, rust_name); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 323 | let expr = variant.discriminant.map(|(_, expr)| expr); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 324 | [INFO] [stdout] 325 | Ok(Variant { [INFO] [stdout] | ________^ [INFO] [stdout] 326 | | cfg, [INFO] [stdout] 327 | | doc, [INFO] [stdout] 328 | | attrs, [INFO] [stdout] ... | [INFO] [stdout] 331 | | expr, [INFO] [stdout] 332 | | }) [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/syntax/parse.rs:497:8 [INFO] [stdout] | [INFO] [stdout] 458 | foreign_type: ForeignItemType, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 465 | let mut cfg = extern_block_cfg.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 466 | let mut doc = Doc::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 467 | let mut derives = Vec::new(); [INFO] [stdout] 468 | let mut namespace = namespace.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 469 | let mut cxx_name = None; [INFO] [stdout] 470 | let mut rust_name = None; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 471 | let mut attrs = attrs.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 488 | let name = pair(namespace, &foreign_type.ident, cxx_name, rust_name); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 489 | let generics = extern_type_lifetimes(cx, foreign_type.generics); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 497 | })(ExternType { [INFO] [stdout] | ________^ [INFO] [stdout] 498 | | cfg, [INFO] [stdout] 499 | | lang, [INFO] [stdout] 500 | | doc, [INFO] [stdout] ... | [INFO] [stdout] 510 | | trusted, [INFO] [stdout] 511 | | }) [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/syntax/parse.rs:673:8 [INFO] [stdout] | [INFO] [stdout] 516 | mut foreign_fn: ForeignItemFn, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 523 | let mut cfg = extern_block_cfg.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 524 | let mut doc = Doc::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 525 | let mut namespace = namespace.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 526 | let mut cxx_name = None; [INFO] [stdout] 527 | let mut rust_name = None; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 528 | let mut attrs = attrs.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 586 | let mut receiver = None; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 587 | let mut args = Punctuated::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 661 | let ret = parse_return_type(&foreign_fn.sig.output, &mut throws_tokens)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 668 | let name = pair(namespace, &foreign_fn.sig.ident, cxx_name, rust_name); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 669 | let generics = generics.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 673 | Ok(match lang { [INFO] [stdout] | ________^ [INFO] [stdout] 674 | | Lang::Cxx => Api::CxxFunction, [INFO] [stdout] 675 | | Lang::Rust => Api::RustFunction, [INFO] [stdout] 676 | | }(ExternFn { [INFO] [stdout] ... | [INFO] [stdout] 696 | | trusted, [INFO] [stdout] 697 | | })) [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/syntax/parse.rs:882:8 [INFO] [stdout] | [INFO] [stdout] 837 | unparsed_attrs: Vec, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 838 | visibility: Visibility, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 839 | type_token: Token![type], [INFO] [stdout] 840 | ident: Ident, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 841 | generics: Lifetimes, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 849 | let ty: RustType = input.parse()?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 852 | let mut cfg = extern_block_cfg.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 853 | let mut doc = Doc::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 854 | let mut derives = Vec::new(); [INFO] [stdout] 855 | let mut namespace = namespace.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 856 | let mut cxx_name = None; [INFO] [stdout] 857 | let mut rust_name = None; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 858 | let mut attrs = attrs.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 880 | let name = pair(namespace, &ident, cxx_name, rust_name); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 881 | [INFO] [stdout] 882 | Ok(Api::TypeAlias(TypeAlias { [INFO] [stdout] | ________^ [INFO] [stdout] 883 | | cfg, [INFO] [stdout] 884 | | doc, [INFO] [stdout] 885 | | derives, [INFO] [stdout] ... | [INFO] [stdout] 893 | | semi_token, [INFO] [stdout] 894 | | })) [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/syntax/parse.rs:966:8 [INFO] [stdout] | [INFO] [stdout] 899 | unparsed_attrs: Vec, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 900 | visibility: Visibility, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 901 | type_token: Token![type], [INFO] [stdout] 902 | ident: Ident, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 903 | generics: Lifetimes, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 942 | let mut cfg = extern_block_cfg.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 943 | let mut doc = Doc::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 944 | let mut derives = Vec::new(); [INFO] [stdout] 945 | let mut namespace = namespace.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 946 | let mut cxx_name = None; [INFO] [stdout] 947 | let mut rust_name = None; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 948 | let mut attrs = attrs.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 964 | let name = pair(namespace, &ident, cxx_name, rust_name); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 965 | [INFO] [stdout] 966 | Ok(match lang { [INFO] [stdout] | ________^ [INFO] [stdout] 967 | | Lang::Cxx => Api::CxxType, [INFO] [stdout] 968 | | Lang::Rust => Api::RustType, [INFO] [stdout] 969 | | }(ExternType { [INFO] [stdout] ... | [INFO] [stdout] 982 | | trusted, [INFO] [stdout] 983 | | })) [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/syntax/parse.rs:1083:8 [INFO] [stdout] | [INFO] [stdout] 986 | fn parse_impl(cx: &mut Errors, imp: ItemImpl) -> Result { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 989 | let mut cfg = CfgExpr::Unconditional; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1020 | let mut impl_generics = Lifetimes { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1045 | let mut self_ty = *imp.self_ty; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1059 | let ty = parse_type(&self_ty)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1060 | let ty_generics = match &ty { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1083 | Ok(Api::Impl(Impl { [INFO] [stdout] | ________^ [INFO] [stdout] 1084 | | cfg, [INFO] [stdout] 1085 | | impl_token, [INFO] [stdout] 1086 | | impl_generics, [INFO] [stdout] ... | [INFO] [stdout] 1091 | | negative_token, [INFO] [stdout] 1092 | | })) [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/syntax/parse.rs:1176:8 [INFO] [stdout] | [INFO] [stdout] 1155 | let lifetime = ty.lifetime.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1172 | let inner = parse_type(&ty.elem)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1176 | Ok(match &inner { [INFO] [stdout] | ________^ [INFO] [stdout] 1177 | | Type::Ident(ident) if ident.rust == "str" => { [INFO] [stdout] 1178 | | if ty.mutability.is_some() { [INFO] [stdout] 1179 | | return Err(Error::new_spanned(ty, "unsupported type")); [INFO] [stdout] ... | [INFO] [stdout] 1192 | | mutability, [INFO] [stdout] 1193 | | }))) [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/syntax/parse.rs:1204:8 [INFO] [stdout] | [INFO] [stdout] 1202 | let inner = parse_type(&ty.elem)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1203 | [INFO] [stdout] 1204 | Ok(Type::Ptr(Box::new(Ptr { [INFO] [stdout] | ________^ [INFO] [stdout] 1205 | | star, [INFO] [stdout] 1206 | | mutable, [INFO] [stdout] 1207 | | inner, [INFO] [stdout] 1208 | | mutability, [INFO] [stdout] 1209 | | constness, [INFO] [stdout] 1210 | | }))) [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/syntax/parse.rs:1348:8 [INFO] [stdout] | [INFO] [stdout] 1327 | let inner = parse_type(&ty.elem)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1348 | Ok(Type::Array(Box::new(Array { [INFO] [stdout] | ________^ [INFO] [stdout] 1349 | | bracket, [INFO] [stdout] 1350 | | inner, [INFO] [stdout] 1351 | | semi_token, [INFO] [stdout] 1352 | | len, [INFO] [stdout] 1353 | | len_token: len_token.clone(), [INFO] [stdout] 1354 | | }))) [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/syntax/parse.rs:1415:8 [INFO] [stdout] | [INFO] [stdout] 1372 | let args = ty [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1405 | let ret = parse_return_type(&ty.output, &mut throws_tokens)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1411 | let generics = Generics::default(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1412 | let receiver = None; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1415 | Ok(Type::Fn(Box::new(Signature { [INFO] [stdout] | ________^ [INFO] [stdout] 1416 | | asyncness, [INFO] [stdout] 1417 | | unsafety, [INFO] [stdout] 1418 | | fn_token, [INFO] [stdout] ... | [INFO] [stdout] 1425 | | throws_tokens, [INFO] [stdout] 1426 | | }))) [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/syntax/parse.rs:1392:16 [INFO] [stdout] | [INFO] [stdout] 1377 | let (ident, colon_token) = match &arg.name { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1381 | let ident = format_ident!("arg{}", i, span = fn_span); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1386 | let ty = parse_type(&arg.ty)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1387 | let cfg = CfgExpr::Unconditional; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1388 | let doc = Doc::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1389 | let attrs = OtherAttrs::none(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1390 | let visibility = Token![pub](ident.span()); [INFO] [stdout] 1391 | let name = pair(Namespace::default(), &ident, None, None); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1392 | Ok(Var { [INFO] [stdout] | ________________^ [INFO] [stdout] 1393 | | cfg, [INFO] [stdout] 1394 | | doc, [INFO] [stdout] 1395 | | attrs, [INFO] [stdout] ... | [INFO] [stdout] 1399 | | ty, [INFO] [stdout] 1400 | | }) [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/syntax/parse.rs:1479:15 [INFO] [stdout] | [INFO] [stdout] 1470 | namespace: Namespace, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1473 | rust: Option, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1479 | rust: rust.unwrap_or_else(|| default.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/syntax/qualified.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 38 | let mut segments = Vec::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | Ok(QualifiedName { segments }) [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 29 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cxxbridge-cmd` (bin "cxxbridge") due to 30 previous errors [INFO] running `Command { std: "docker" "inspect" "4c4a76e196f022d4e7a85567cc14c5b4fe2624551183ee936a9caa4f083f22f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c4a76e196f022d4e7a85567cc14c5b4fe2624551183ee936a9caa4f083f22f1", kill_on_drop: false }` [INFO] [stdout] 4c4a76e196f022d4e7a85567cc14c5b4fe2624551183ee936a9caa4f083f22f1