[INFO] fetching crate inject-macro 0.1.1... [INFO] checking inject-macro-0.1.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate inject-macro 0.1.1 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate inject-macro 0.1.1 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate inject-macro 0.1.1 [INFO] finished tweaking crates.io crate inject-macro 0.1.1 [INFO] tweaked toml for crates.io crate inject-macro 0.1.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 5 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-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] 3707684fa3478563a976e854564455d23e0d42c755336359507a44226897d0b8 [INFO] running `Command { std: "docker" "start" "-a" "3707684fa3478563a976e854564455d23e0d42c755336359507a44226897d0b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3707684fa3478563a976e854564455d23e0d42c755336359507a44226897d0b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3707684fa3478563a976e854564455d23e0d42c755336359507a44226897d0b8", kill_on_drop: false }` [INFO] [stdout] 3707684fa3478563a976e854564455d23e0d42c755336359507a44226897d0b8 [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] 2e2e30f8dad52cf6569968acc797dad1e967f76de9e126711a246c47a5820f7f [INFO] running `Command { std: "docker" "start" "-a" "2e2e30f8dad52cf6569968acc797dad1e967f76de9e126711a246c47a5820f7f", kill_on_drop: false }` [INFO] [stderr] Checking inject-macro v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `and`, `or`, and `or_then` are never used [INFO] [stdout] --> src/bool_to_option.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) trait BoolToOption: Copy + std::ops::Not { [INFO] [stdout] | ------------ methods in this trait [INFO] [stdout] 2 | fn and(self, t: T) -> Option; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | fn or(self, t: T) -> Option { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 12 | fn or_then(self, f: impl FnOnce() -> T) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `comma1` and `comma2` are never read [INFO] [stdout] --> src/call/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Call { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 13 | pub ident: Expr, [INFO] [stdout] 14 | pub comma1: Token![,], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | pub func: Ident, [INFO] [stdout] 16 | pub comma2: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `keyword`, `equals`, and `brace` are never read [INFO] [stdout] --> src/call/kwargs.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Kwargs { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 13 | pub keyword: kw::kwargs, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | pub equals: Token![=], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | pub brace: Brace, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `keyword` and `colon` are never read [INFO] [stdout] --> src/get.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Create { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 13 | pub keyword: kw::create, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | pub colon: Token![:], [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `comma` and `comma2` are never read [INFO] [stdout] --> src/get.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Get { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 29 | pub expr: Expr, [INFO] [stdout] 30 | pub comma: Token![,], [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub comma2: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `eq` is never read [INFO] [stdout] --> src/inject/arguments/argument/default.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 57 | struct DefaultArg { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 58 | pub field: Ident, [INFO] [stdout] 59 | pub eq: Option, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `attrs`, `vis`, `defaultness`, and `block` are never read [INFO] [stdout] --> src/inject/input/constructor.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ConstructorImpl { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 9 | pub attrs: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | pub vis: Visibility, [INFO] [stdout] | ^^^ [INFO] [stdout] 11 | pub defaultness: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 12 | pub sig: Constructor, [INFO] [stdout] 13 | pub block: Block, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fn_token`, `paren`, `arrow`, and `output` are never read [INFO] [stdout] --> src/inject/input/constructor.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Constructor { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 43 | pub fn_token: Token![fn], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub paren: Paren, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 47 | pub inputs: Punctuated, [INFO] [stdout] 48 | pub arrow: Token![->], [INFO] [stdout] | ^^^^^ [INFO] [stdout] 49 | pub output: Token![Self], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `attrs`, `vis`, and `block` are never read [INFO] [stdout] --> src/inject/input/free_function.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct FreeFunctionImpl { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 12 | pub attrs: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | pub vis: Visibility, [INFO] [stdout] | ^^^ [INFO] [stdout] 14 | pub sig: FreeFunction, [INFO] [stdout] 15 | pub block: Block, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `unsafety`, `asyncness`, `fn_token`, `paren`, and `output` are never read [INFO] [stdout] --> src/inject/input/free_function.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct FreeFunction { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 30 | pub unsafety: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 31 | pub asyncness: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 32 | pub fn_token: Token![fn], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub paren: Paren, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 36 | pub inputs: Punctuated, [INFO] [stdout] 37 | pub output: ReturnType, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generics` is never used [INFO] [stdout] --> src/inject/input/injectable_signature.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait InjectableSignature { [INFO] [stdout] | ------------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 7 | fn generics(&self) -> &Generics; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 16 | arguments: proc_macro::TokenStream, [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | method: proc_macro::TokenStream, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | ) -> proc_macro::TokenStream { [INFO] [stdout] 19 | let inject = match Inject::try_parse(arguments, method) { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | Ok(inject) => inject, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | inject.expand().into() [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn get(input: proc_macro::TokenStream) -> proc_macro::TokenStream { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | parse_macro_input!(input as Get).expand().into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn call(input: proc_macro::TokenStream) -> proc_macro::TokenStream { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | parse_macro_input!(input as Call).expand().into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn container(input: proc_macro::TokenStream) -> proc_macro::TokenStream { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | parse_macro_input!(input as Container).expand().into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/call/kwargs.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | let content; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 23 | | keyword: input.parse()?, [INFO] [stdout] 24 | | equals: input.parse()?, [INFO] [stdout] 25 | | brace: braced!(content in input), [INFO] [stdout] 26 | | fields: Punctuated::parse_terminated(&content)?, [INFO] [stdout] 27 | | }) [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/get.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 86 | let expr = input.parse()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 89 | let ident: Path = input.parse()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 94 | | expr, [INFO] [stdout] 95 | | comma, [INFO] [stdout] 96 | | ampersand, [INFO] [stdout] ... | [INFO] [stdout] 99 | | create, [INFO] [stdout] 100 | | }) [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/inject/mod.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 19 | arguments: proc_macro::TokenStream, [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | method: proc_macro::TokenStream, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | ) -> Result { [INFO] [stdout] 22 | let origin = proc_macro2::TokenStream::from(method.clone()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | let method = parse(method)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | let args = parse(arguments)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | [INFO] [stdout] 26 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 27 | | origin, [INFO] [stdout] 28 | | args, [INFO] [stdout] 29 | | method, [INFO] [stdout] 30 | | }) [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/inject/arguments/mod.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | .map(|args| args.fields().collect()) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/inject/arguments/mod.rs:96:25 [INFO] [stdout] | [INFO] [stdout] 96 | .map(|args| args.fields().collect()) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/inject/arguments/mod.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 103 | let mut default_args = vec![]; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | let mut no_inject_args = vec![]; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | [INFO] [stdout] 106 | let parsed_arguments: Punctuated = [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | let default_args = Mergable::merge_many(default_args)?; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 117 | let no_inject_args = Mergable::merge_many(no_inject_args)?; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | [INFO] [stdout] 119 | Ok(InjectArgs { [INFO] [stdout] | ____________^ [INFO] [stdout] 120 | | default_args, [INFO] [stdout] 121 | | no_inject_args, [INFO] [stdout] 122 | | }) [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/inject/arguments/argument/mod.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 34 | let content; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | let lookahead = input.lookahead1(); [INFO] [stdout] 36 | Ok(if lookahead.peek(kw::default) { [INFO] [stdout] | ____________^ [INFO] [stdout] 37 | | Self::Default { [INFO] [stdout] 38 | | keyword: input.parse()?, [INFO] [stdout] 39 | | paren: parenthesized!(content in input), [INFO] [stdout] ... | [INFO] [stdout] 49 | | return Err(lookahead.error()); [INFO] [stdout] 50 | | }) [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/inject/arguments/argument/default.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 27 | let mut arg_map = HashMap::default(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | let args: Punctuated = input.parse_terminated(DefaultArg::parse)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | Ok(DefaultArgs(arg_map)) [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/inject/arguments/argument/default.rs:33:44 [INFO] [stdout] | [INFO] [stdout] 33 | .unwrap_or_else(|| syn::parse_str("Default::default()").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/inject/arguments/argument/default.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 65 | let field = input.parse()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | let eq: Option = input.parse()?; [INFO] [stdout] 67 | let value = if eq.is_some() { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | Ok(DefaultArg { field, eq, value }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/inject/arguments/argument/mergable.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 5 | fn merge_many(mergables: impl IntoIterator) -> Result> { [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 6 | let mut mergables = mergables.into_iter(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 7 | let first = mergables.next(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 8 | Ok(if let Some(mut first) = first { [INFO] [stdout] | ____________^ [INFO] [stdout] 9 | | for mergable in mergables { [INFO] [stdout] 10 | | first = mergable.merge(first)?; [INFO] [stdout] 11 | | } [INFO] [stdout] ... | [INFO] [stdout] 14 | | None [INFO] [stdout] 15 | | }) [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/inject/arguments/argument/no_inject.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 34 | let fields: Punctuated<_, Token![,]> = input.parse_terminated(syn::Ident::parse)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | let mut arg_set = HashSet::default(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 46 | Ok(NoInjectArgs(arg_set)) [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/inject/input/constructor.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | let content; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 56 | | fn_token: input.parse()?, [INFO] [stdout] 57 | | ident: input.parse()?, [INFO] [stdout] 58 | | generics: input.parse()?, [INFO] [stdout] ... | [INFO] [stdout] 64 | | .or_else(|_| Err(input.error("expected 'Self'")))?, [INFO] [stdout] 65 | | }) [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/inject/input/free_function.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 42 | let content; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 46 | let ident = input.parse()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | let generics = input.parse()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | let paren = parenthesized!(content in input); [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | let inputs = Punctuated::parse_terminated(&content)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | let output = input.parse()?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 61 | | unsafety, [INFO] [stdout] 62 | | asyncness, [INFO] [stdout] 63 | | fn_token, [INFO] [stdout] ... | [INFO] [stdout] 68 | | output, [INFO] [stdout] 69 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `comma1` and `comma2` are never read [INFO] [stdout] --> src/call/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Call { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 13 | pub ident: Expr, [INFO] [stdout] 14 | pub comma1: Token![,], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | pub func: Ident, [INFO] [stdout] 16 | pub comma2: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `keyword`, `equals`, and `brace` are never read [INFO] [stdout] --> src/call/kwargs.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Kwargs { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 13 | pub keyword: kw::kwargs, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | pub equals: Token![=], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | pub brace: Brace, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `keyword` and `colon` are never read [INFO] [stdout] --> src/get.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Create { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 13 | pub keyword: kw::create, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | pub colon: Token![:], [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `comma2` is never read [INFO] [stdout] --> src/get.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Get { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | pub comma2: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `eq` is never read [INFO] [stdout] --> src/inject/arguments/argument/default.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 57 | struct DefaultArg { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 58 | pub field: Ident, [INFO] [stdout] 59 | pub eq: Option, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `attrs`, `vis`, `defaultness`, and `block` are never read [INFO] [stdout] --> src/inject/input/constructor.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ConstructorImpl { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 9 | pub attrs: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | pub vis: Visibility, [INFO] [stdout] | ^^^ [INFO] [stdout] 11 | pub defaultness: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 12 | pub sig: Constructor, [INFO] [stdout] 13 | pub block: Block, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fn_token`, `paren`, `arrow`, and `output` are never read [INFO] [stdout] --> src/inject/input/constructor.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Constructor { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 43 | pub fn_token: Token![fn], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub paren: Paren, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 47 | pub inputs: Punctuated, [INFO] [stdout] 48 | pub arrow: Token![->], [INFO] [stdout] | ^^^^^ [INFO] [stdout] 49 | pub output: Token![Self], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `attrs`, `vis`, and `block` are never read [INFO] [stdout] --> src/inject/input/free_function.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct FreeFunctionImpl { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 12 | pub attrs: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | pub vis: Visibility, [INFO] [stdout] | ^^^ [INFO] [stdout] 14 | pub sig: FreeFunction, [INFO] [stdout] 15 | pub block: Block, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `unsafety`, `asyncness`, `fn_token`, `paren`, and `output` are never read [INFO] [stdout] --> src/inject/input/free_function.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct FreeFunction { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 30 | pub unsafety: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 31 | pub asyncness: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 32 | pub fn_token: Token![fn], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub paren: Paren, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 36 | pub inputs: Punctuated, [INFO] [stdout] 37 | pub output: ReturnType, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generics` is never used [INFO] [stdout] --> src/inject/input/injectable_signature.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait InjectableSignature { [INFO] [stdout] | ------------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 7 | fn generics(&self) -> &Generics; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 16 | arguments: proc_macro::TokenStream, [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | method: proc_macro::TokenStream, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | ) -> proc_macro::TokenStream { [INFO] [stdout] 19 | let inject = match Inject::try_parse(arguments, method) { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | Ok(inject) => inject, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | inject.expand().into() [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn get(input: proc_macro::TokenStream) -> proc_macro::TokenStream { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | parse_macro_input!(input as Get).expand().into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn call(input: proc_macro::TokenStream) -> proc_macro::TokenStream { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | parse_macro_input!(input as Call).expand().into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn container(input: proc_macro::TokenStream) -> proc_macro::TokenStream { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | parse_macro_input!(input as Container).expand().into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/call/kwargs.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | let content; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 23 | | keyword: input.parse()?, [INFO] [stdout] 24 | | equals: input.parse()?, [INFO] [stdout] 25 | | brace: braced!(content in input), [INFO] [stdout] 26 | | fields: Punctuated::parse_terminated(&content)?, [INFO] [stdout] 27 | | }) [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/get.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 86 | let expr = input.parse()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 89 | let ident: Path = input.parse()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 94 | | expr, [INFO] [stdout] 95 | | comma, [INFO] [stdout] 96 | | ampersand, [INFO] [stdout] ... | [INFO] [stdout] 99 | | create, [INFO] [stdout] 100 | | }) [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/inject/mod.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 19 | arguments: proc_macro::TokenStream, [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | method: proc_macro::TokenStream, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | ) -> Result { [INFO] [stdout] 22 | let origin = proc_macro2::TokenStream::from(method.clone()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | let method = parse(method)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | let args = parse(arguments)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | [INFO] [stdout] 26 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 27 | | origin, [INFO] [stdout] 28 | | args, [INFO] [stdout] 29 | | method, [INFO] [stdout] 30 | | }) [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/inject/arguments/mod.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | .map(|args| args.fields().collect()) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/inject/arguments/mod.rs:96:25 [INFO] [stdout] | [INFO] [stdout] 96 | .map(|args| args.fields().collect()) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/inject/arguments/mod.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 103 | let mut default_args = vec![]; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | let mut no_inject_args = vec![]; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | [INFO] [stdout] 106 | let parsed_arguments: Punctuated = [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | let default_args = Mergable::merge_many(default_args)?; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 117 | let no_inject_args = Mergable::merge_many(no_inject_args)?; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | [INFO] [stdout] 119 | Ok(InjectArgs { [INFO] [stdout] | ____________^ [INFO] [stdout] 120 | | default_args, [INFO] [stdout] 121 | | no_inject_args, [INFO] [stdout] 122 | | }) [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/inject/arguments/argument/mod.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 34 | let content; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | let lookahead = input.lookahead1(); [INFO] [stdout] 36 | Ok(if lookahead.peek(kw::default) { [INFO] [stdout] | ____________^ [INFO] [stdout] 37 | | Self::Default { [INFO] [stdout] 38 | | keyword: input.parse()?, [INFO] [stdout] 39 | | paren: parenthesized!(content in input), [INFO] [stdout] ... | [INFO] [stdout] 49 | | return Err(lookahead.error()); [INFO] [stdout] 50 | | }) [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/inject/arguments/argument/default.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 27 | let mut arg_map = HashMap::default(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | let args: Punctuated = input.parse_terminated(DefaultArg::parse)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | Ok(DefaultArgs(arg_map)) [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/inject/arguments/argument/default.rs:33:44 [INFO] [stdout] | [INFO] [stdout] 33 | .unwrap_or_else(|| syn::parse_str("Default::default()").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/inject/arguments/argument/default.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 65 | let field = input.parse()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | let eq: Option = input.parse()?; [INFO] [stdout] 67 | let value = if eq.is_some() { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | Ok(DefaultArg { field, eq, value }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/inject/arguments/argument/mergable.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 5 | fn merge_many(mergables: impl IntoIterator) -> Result> { [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 6 | let mut mergables = mergables.into_iter(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 7 | let first = mergables.next(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 8 | Ok(if let Some(mut first) = first { [INFO] [stdout] | ____________^ [INFO] [stdout] 9 | | for mergable in mergables { [INFO] [stdout] 10 | | first = mergable.merge(first)?; [INFO] [stdout] 11 | | } [INFO] [stdout] ... | [INFO] [stdout] 14 | | None [INFO] [stdout] 15 | | }) [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/inject/arguments/argument/no_inject.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 34 | let fields: Punctuated<_, Token![,]> = input.parse_terminated(syn::Ident::parse)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | let mut arg_set = HashSet::default(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 46 | Ok(NoInjectArgs(arg_set)) [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] [stderr] error: could not compile `inject-macro` (lib) due to 19 previous errors; 11 warnings emitted [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/inject/input/constructor.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | let content; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 56 | | fn_token: input.parse()?, [INFO] [stdout] 57 | | ident: input.parse()?, [INFO] [stdout] 58 | | generics: input.parse()?, [INFO] [stdout] ... | [INFO] [stdout] 64 | | .or_else(|_| Err(input.error("expected 'Self'")))?, [INFO] [stdout] 65 | | }) [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] [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/inject/input/free_function.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 42 | let content; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 46 | let ident = input.parse()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | let generics = input.parse()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | let paren = parenthesized!(content in input); [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | let inputs = Punctuated::parse_terminated(&content)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | let output = input.parse()?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 61 | | unsafety, [INFO] [stdout] 62 | | asyncness, [INFO] [stdout] 63 | | fn_token, [INFO] [stdout] ... | [INFO] [stdout] 68 | | output, [INFO] [stdout] 69 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `inject-macro` (lib test) due to 19 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2e2e30f8dad52cf6569968acc797dad1e967f76de9e126711a246c47a5820f7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e2e30f8dad52cf6569968acc797dad1e967f76de9e126711a246c47a5820f7f", kill_on_drop: false }` [INFO] [stdout] 2e2e30f8dad52cf6569968acc797dad1e967f76de9e126711a246c47a5820f7f