[INFO] cloning repository https://github.com/chop0/graal-bindgen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chop0/graal-bindgen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchop0%2Fgraal-bindgen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchop0%2Fgraal-bindgen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 72f79e0c3c984680742a19ef86a98be9893a4f3b [INFO] checking chop0/graal-bindgen/72f79e0c3c984680742a19ef86a98be9893a4f3b against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchop0%2Fgraal-bindgen" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chop0/graal-bindgen 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 git repo https://github.com/chop0/graal-bindgen [INFO] finished tweaking git repo https://github.com/chop0/graal-bindgen [INFO] tweaked toml for git repo https://github.com/chop0/graal-bindgen written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/chop0/graal-bindgen 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3e42cabe1b7ad377b555c78969555ef5708171c003700aa7249a0e87ee268206 [INFO] running `Command { std: "docker" "start" "-a" "3e42cabe1b7ad377b555c78969555ef5708171c003700aa7249a0e87ee268206", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e42cabe1b7ad377b555c78969555ef5708171c003700aa7249a0e87ee268206", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e42cabe1b7ad377b555c78969555ef5708171c003700aa7249a0e87ee268206", kill_on_drop: false }` [INFO] [stdout] 3e42cabe1b7ad377b555c78969555ef5708171c003700aa7249a0e87ee268206 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1cc2823f0970c05667d956ac66b14136ea828c22886ad4d5611df85e10505d5d [INFO] running `Command { std: "docker" "start" "-a" "1cc2823f0970c05667d956ac66b14136ea828c22886ad4d5611df85e10505d5d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.70 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling graal-bindgen-macros v0.1.0 (/opt/rustwide/workdir/graal-bindgen-macros) [INFO] [stdout] warning: field `bracket_token` is never read [INFO] [stdout] --> graal-bindgen-macros/src/lib.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 94 | struct JavaFunctionStub { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 98 | bracket_token: syn::token::Paren, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JavaFunctionStub` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bracket_token` is never read [INFO] [stdout] --> graal-bindgen-macros/src/lib.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 140 | struct JavaQualifiedConstructorStub { [INFO] [stdout] | ---------------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 145 | bracket_token: syn::token::Paren, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JavaQualifiedConstructorStub` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bracket_token` is never read [INFO] [stdout] --> graal-bindgen-macros/src/lib.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 164 | struct JavaConstructorStub { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 167 | bracket_token: syn::token::Paren, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JavaConstructorStub` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bracket_token` is never read [INFO] [stdout] --> graal-bindgen-macros/src/lib.rs:202:5 [INFO] [stdout] | [INFO] [stdout] 198 | struct Class { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 202 | bracket_token: syn::token::Brace, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Class` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] --> graal-bindgen-macros/src/lib.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 30 | let ty: Type = input.parse()?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 34 | | ty: ty, [INFO] [stdout] 35 | | array: is_array, [INFO] [stdout] 36 | | }) [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] = 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] --> graal-bindgen-macros/src/lib.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 104 | let content; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | Ok(JavaFunctionStub { [INFO] [stdout] | ____________^ [INFO] [stdout] 106 | | return_type: arg.parse()?, [INFO] [stdout] 107 | | rust_name: arg.parse()?, [INFO] [stdout] 108 | | java_name: arg.parse().ok(), [INFO] [stdout] 109 | | bracket_token: parenthesized!(content in arg), [INFO] [stdout] 110 | | args: content.parse_terminated(JavaTypedDeclaration::parse)?, [INFO] [stdout] 111 | | }) [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] --> graal-bindgen-macros/src/lib.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 151 | let content; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 152 | let qualified_parser = Punctuated::::parse_separated_nonempty; [INFO] [stdout] 153 | Ok(JavaQualifiedConstructorStub { [INFO] [stdout] | ____________^ [INFO] [stdout] 154 | | fully_qualified_type_name: qualified_parser(input)?, [INFO] [stdout] 155 | | generics: input.parse::().ok(), [INFO] [stdout] 156 | | rust_constructor_name: input.parse()?, [INFO] [stdout] 157 | | bracket_token: parenthesized!(content in input), [INFO] [stdout] 158 | | args: content.parse_terminated(JavaTypedDeclaration::parse)?, [INFO] [stdout] 159 | | }) [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] --> graal-bindgen-macros/src/lib.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 173 | let content; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 174 | Ok(JavaConstructorStub { [INFO] [stdout] | ____________^ [INFO] [stdout] 175 | | rust_constructor_name: input.parse()?, [INFO] [stdout] 176 | | bracket_token: parenthesized!(content in input), [INFO] [stdout] 177 | | args: content.parse_terminated(JavaTypedDeclaration::parse)?, [INFO] [stdout] 178 | | }) [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] --> graal-bindgen-macros/src/lib.rs:210:12 [INFO] [stdout] | [INFO] [stdout] 208 | let content; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 209 | let qualified_parser = Punctuated::::parse_separated_nonempty; [INFO] [stdout] 210 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 211 | | qualified_name: qualified_parser(input)?, [INFO] [stdout] 212 | | generics: input.parse::().ok(), [INFO] [stdout] 213 | | bracket_token: braced!(content in input), [INFO] [stdout] 214 | | stubs: content.parse_terminated(JavaStub::parse)?, [INFO] [stdout] 215 | | }) [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] --> graal-bindgen-macros/src/lib.rs:242:5 [INFO] [stdout] | [INFO] [stdout] 235 | fn get_return_token(return_type: Type) -> proc_macro2::TokenStream { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 236 | let return_type = if return_type.to_token_stream().to_string() == "void" { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 242 | / syn::ReturnType::Type( [INFO] [stdout] 243 | | Token![->](proc_macro2::Span::call_site()), [INFO] [stdout] 244 | | Box::new(return_type), [INFO] [stdout] 245 | | ) [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] --> graal-bindgen-macros/src/lib.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | .map(|x| x.into_token_stream().to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 278 | let fully_qualified_type_name = punctuated_to_string!(fully_qualified_type_name, "."); [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 `punctuated_to_string` (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] --> graal-bindgen-macros/src/lib.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | .map(|x| x.into_token_stream().to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | let fully_qualified_type_name = punctuated_to_string!(fully_qualified_type_name, "."); [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 `punctuated_to_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `graal-bindgen-macros` (lib) due to 9 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1cc2823f0970c05667d956ac66b14136ea828c22886ad4d5611df85e10505d5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cc2823f0970c05667d956ac66b14136ea828c22886ad4d5611df85e10505d5d", kill_on_drop: false }` [INFO] [stdout] 1cc2823f0970c05667d956ac66b14136ea828c22886ad4d5611df85e10505d5d