[INFO] cloning repository https://github.com/Sebekerga/native_api_1c_macro [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Sebekerga/native_api_1c_macro" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSebekerga%2Fnative_api_1c_macro", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSebekerga%2Fnative_api_1c_macro'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f765ae6871783f4002828ab8f421c6624ce4b49c [INFO] checking Sebekerga/native_api_1c_macro/f765ae6871783f4002828ab8f421c6624ce4b49c 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%2FSebekerga%2Fnative_api_1c_macro" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Sebekerga/native_api_1c_macro 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/Sebekerga/native_api_1c_macro [INFO] removed 0 missing tests [INFO] finished tweaking git repo https://github.com/Sebekerga/native_api_1c_macro [INFO] tweaked toml for git repo https://github.com/Sebekerga/native_api_1c_macro written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Sebekerga/native_api_1c_macro 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] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/Sebekerga/native_api_1c` [INFO] [stderr] Locking 56 packages to latest compatible versions [INFO] [stderr] Adding android-tzdata v0.1.1 [INFO] [stderr] Adding android_system_properties v0.1.5 [INFO] [stderr] Adding autocfg v1.3.0 [INFO] [stderr] Adding basic-toml v0.1.7 (latest: v0.1.9) [INFO] [stderr] Adding bumpalo v3.16.0 [INFO] [stderr] Adding cc v1.1.15 [INFO] [stderr] Adding cfg-if v1.0.0 [INFO] [stderr] Adding chrono v0.4.38 [INFO] [stderr] Adding core-foundation-sys v0.8.7 [INFO] [stderr] Adding darling v0.20.10 [INFO] [stderr] Adding darling_core v0.20.10 [INFO] [stderr] Adding darling_macro v0.20.10 [INFO] [stderr] Adding dissimilar v1.0.9 [INFO] [stderr] Adding fnv v1.0.7 [INFO] [stderr] Adding glob v0.3.1 [INFO] [stderr] Adding iana-time-zone v0.1.60 [INFO] [stderr] Adding iana-time-zone-haiku v0.1.2 [INFO] [stderr] Adding ident_case v1.0.1 [INFO] [stderr] Adding itoa v1.0.11 [INFO] [stderr] Adding js-sys v0.3.70 [INFO] [stderr] Adding libc v0.2.158 [INFO] [stderr] Adding log v0.4.22 [INFO] [stderr] Adding native_api_1c v0.10.7 (https://github.com/Sebekerga/native_api_1c#c6f6d171) [INFO] [stderr] Adding native_api_1c_core v0.9.4 (https://github.com/Sebekerga/native_api_1c#c6f6d171) [INFO] [stderr] Updating native_api_1c_macro v0.1.0 (/workspace/builds/worker-7-tc2/source) -> v0.10.4 [INFO] [stderr] Adding native_api_1c_macro v0.10.5 (https://github.com/Sebekerga/native_api_1c#c6f6d171) [INFO] [stderr] Adding num-traits v0.2.19 [INFO] [stderr] Adding once_cell v1.19.0 [INFO] [stderr] Updating proc-macro2 v1.0.66 -> v1.0.86 [INFO] [stderr] Adding ryu v1.0.18 [INFO] [stderr] Adding serde v1.0.193 (latest: v1.0.209) [INFO] [stderr] Adding serde_derive v1.0.193 (latest: v1.0.209) [INFO] [stderr] Adding serde_json v1.0.109 (latest: v1.0.127) [INFO] [stderr] Adding shlex v1.3.0 [INFO] [stderr] Adding strsim v0.11.1 [INFO] [stderr] Updating syn v2.0.28 -> v2.0.43 (latest: v2.0.77) [INFO] [stderr] Adding termcolor v1.4.1 [INFO] [stderr] Adding trybuild v1.0.86 (latest: v1.0.99) [INFO] [stderr] Adding utf16_lit v2.0.2 [INFO] [stderr] Adding wasm-bindgen v0.2.93 [INFO] [stderr] Adding wasm-bindgen-backend v0.2.93 [INFO] [stderr] Adding wasm-bindgen-macro v0.2.93 [INFO] [stderr] Adding wasm-bindgen-macro-support v0.2.93 [INFO] [stderr] Adding wasm-bindgen-shared v0.2.93 [INFO] [stderr] Adding winapi-util v0.1.9 [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.0) [INFO] [stderr] Adding windows-sys v0.59.0 [INFO] [stderr] Adding windows-targets v0.52.6 [INFO] [stderr] Adding windows_aarch64_gnullvm v0.52.6 [INFO] [stderr] Adding windows_aarch64_msvc v0.52.6 [INFO] [stderr] Adding windows_i686_gnu v0.52.6 [INFO] [stderr] Adding windows_i686_gnullvm v0.52.6 [INFO] [stderr] Adding windows_i686_msvc v0.52.6 [INFO] [stderr] Adding windows_x86_64_gnu v0.52.6 [INFO] [stderr] Adding windows_x86_64_gnullvm v0.52.6 [INFO] [stderr] Adding windows_x86_64_msvc v0.52.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6035457e03d5c3e2b9329789ca9d7ec8cec216dbbabd7c5b549ec977a4faebff [INFO] running `Command { std: "docker" "start" "-a" "6035457e03d5c3e2b9329789ca9d7ec8cec216dbbabd7c5b549ec977a4faebff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6035457e03d5c3e2b9329789ca9d7ec8cec216dbbabd7c5b549ec977a4faebff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6035457e03d5c3e2b9329789ca9d7ec8cec216dbbabd7c5b549ec977a4faebff", kill_on_drop: false }` [INFO] [stdout] 6035457e03d5c3e2b9329789ca9d7ec8cec216dbbabd7c5b549ec977a4faebff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32c88c35ca71bc321436b8d5b368b4434d6581555e45fb0598a3de92eb5b435e [INFO] running `Command { std: "docker" "start" "-a" "32c88c35ca71bc321436b8d5b368b4434d6581555e45fb0598a3de92eb5b435e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Checking utf16_lit v2.0.2 [INFO] [stderr] Compiling serde_json v1.0.109 [INFO] [stderr] Compiling trybuild v1.0.86 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking dissimilar v1.0.9 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking quote v1.0.32 [INFO] [stderr] Checking syn v2.0.43 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking native_api_1c_core v0.9.4 (https://github.com/Sebekerga/native_api_1c#c6f6d171) [INFO] [stderr] Checking basic-toml v0.1.7 [INFO] [stderr] Checking native_api_1c_macro v0.10.4 (/opt/rustwide/workdir) [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn derive(input: TokenStream) -> TokenStream { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | let derive_input = parse_macro_input!(input as DeriveInput); [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] 18 | match derive_result(&derive_input) { [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:8 [INFO] [stdout] | [INFO] [stdout] 25 | let extern_functions = build_extern_functions(input)?; [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | let impl_block = build_impl_block(input)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | [INFO] [stdout] 28 | Ok(quote! { [INFO] [stdout] | ________^ [INFO] [stdout] 29 | | #impl_block [INFO] [stdout] 30 | | #extern_functions [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | .into()) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | syn::Error::new($span, $str).to_compile_error().into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gen_functions.rs:102:40 [INFO] [stdout] | [INFO] [stdout] 102 | .map_err::(|e| tkn_err_inner!(e.to_string(), attr.bracket_token.span.__span()))?; [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 `tkn_err_inner` (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_functions.rs:191:8 [INFO] [stdout] | [INFO] [stdout] 136 | let exprs: Punctuated = attr [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 151 | let default = exprs.iter().find_map(|expr| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 191 | Ok(ArgumentDesc { [INFO] [stdout] | ________^ [INFO] [stdout] 192 | | ty: match arg_ty_str.as_str() { [INFO] [stdout] 193 | | BOOL_TYPE => ParamType::Bool, [INFO] [stdout] 194 | | I32_TYPE => ParamType::I32, [INFO] [stdout] ... | [INFO] [stdout] 202 | | out_param, [INFO] [stdout] 203 | | }) [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/utils.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | syn::Error::new($span, $str).to_compile_error().into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gen_functions.rs:138:40 [INFO] [stdout] | [INFO] [stdout] 138 | .map_err::(|e| tkn_err_inner!(e.to_string(), attr.bracket_token.span.__span()))?; [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 `tkn_err_inner` (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_functions.rs:146:19 [INFO] [stdout] | [INFO] [stdout] 146 | }).map(|expr| expr.to_token_stream().to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | syn::Error::new($span, $str).to_compile_error().into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gen_functions.rs:209:40 [INFO] [stdout] | [INFO] [stdout] 209 | .map_err::(|e| tkn_err_inner!(e.to_string(), attr.bracket_token.span.__span()))?; [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 `tkn_err_inner` (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/utils.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | syn::Error::new($span, $str).to_compile_error().into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gen_props.rs:38:44 [INFO] [stdout] | [INFO] [stdout] 38 | .map_err::(|e| tkn_err_inner!(e.to_string(), attr.__span()))?; [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 `tkn_err_inner` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `native_api_1c_macro` (lib) due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "32c88c35ca71bc321436b8d5b368b4434d6581555e45fb0598a3de92eb5b435e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32c88c35ca71bc321436b8d5b368b4434d6581555e45fb0598a3de92eb5b435e", kill_on_drop: false }` [INFO] [stdout] 32c88c35ca71bc321436b8d5b368b4434d6581555e45fb0598a3de92eb5b435e