[INFO] fetching crate ptrace-syscalls-macros 0.0.0-experimental.2... [INFO] checking ptrace-syscalls-macros-0.0.0-experimental.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate ptrace-syscalls-macros 0.0.0-experimental.2 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate ptrace-syscalls-macros 0.0.0-experimental.2 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 ptrace-syscalls-macros 0.0.0-experimental.2 [INFO] finished tweaking crates.io crate ptrace-syscalls-macros 0.0.0-experimental.2 [INFO] tweaked toml for crates.io crate ptrace-syscalls-macros 0.0.0-experimental.2 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] Locking 18 packages to latest compatible versions [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] 48ebec4752177cbc4018745209528193ad04f4a31fb5e722f5b7335082a8aaee [INFO] running `Command { std: "docker" "start" "-a" "48ebec4752177cbc4018745209528193ad04f4a31fb5e722f5b7335082a8aaee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "48ebec4752177cbc4018745209528193ad04f4a31fb5e722f5b7335082a8aaee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48ebec4752177cbc4018745209528193ad04f4a31fb5e722f5b7335082a8aaee", kill_on_drop: false }` [INFO] [stdout] 48ebec4752177cbc4018745209528193ad04f4a31fb5e722f5b7335082a8aaee [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] 381d53dc2b8b9fabc8677b0ef49718e57d457680a1481f307fcad0023d2a8c0a [INFO] running `Command { std: "docker" "start" "-a" "381d53dc2b8b9fabc8677b0ef49718e57d457680a1481f307fcad0023d2a8c0a", kill_on_drop: false }` [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking winnow v0.6.18 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking proc-macro2 v1.0.86 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking syn v2.0.77 [INFO] [stderr] Checking toml_edit v0.22.20 [INFO] [stderr] Checking proc-macro-crate v3.2.0 [INFO] [stderr] Checking ptrace-syscalls-macros v0.0.0-experimental.2 (/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:21:8 [INFO] [stdout] | [INFO] [stdout] 20 | let content; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | Ok(Self { [INFO] [stdout] | ________^ [INFO] [stdout] 22 | | plus: input.parse()?, [INFO] [stdout] 23 | | brace_token: braced!(content in input), [INFO] [stdout] 24 | | args: content.parse_terminated(ArgField::parse, Token![,])?, [INFO] [stdout] 25 | | }) [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:77:8 [INFO] [stdout] | [INFO] [stdout] 76 | let content; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | Ok(Self { [INFO] [stdout] | ________^ [INFO] [stdout] 78 | | at: input.parse()?, [INFO] [stdout] 79 | | func: input.parse()?, [INFO] [stdout] 80 | | paren_token: parenthesized!(content in input), [INFO] [stdout] 81 | | args: content.parse_terminated(Expr::parse, Token![,])?, [INFO] [stdout] 82 | | }) [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:105:8 [INFO] [stdout] | [INFO] [stdout] 96 | let ident = input.parse()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | let colon_token = input.parse()?; [INFO] [stdout] 98 | let ty = input.parse()?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | let lookahead = input.lookahead1(); [INFO] [stdout] 100 | let decoder = if lookahead.peek(Token![@]) { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 105 | Ok(Self { [INFO] [stdout] | ________^ [INFO] [stdout] 106 | | ident, [INFO] [stdout] 107 | | colon_token, [INFO] [stdout] 108 | | ty, [INFO] [stdout] 109 | | decoder, [INFO] [stdout] 110 | | }) [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/lib.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 136 | let content; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 137 | let raw_args; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 138 | let archs_content; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 139 | let groups_content; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 142 | Ok(SyscallEntry { [INFO] [stdout] | ________^ [INFO] [stdout] 143 | | name: { [INFO] [stdout] 144 | | let name: Ident = input.parse()?; [INFO] [stdout] 145 | | start = name.span(); [INFO] [stdout] ... | [INFO] [stdout] 173 | | span: end.and_then(|end| start.join(end)), [INFO] [stdout] 174 | | }) [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:351:21 [INFO] [stdout] | [INFO] [stdout] 222 | crate_token: proc_macro2::TokenStream, [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 228 | let groups = if groups_idents.is_empty() { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 229 | / quote_spanned! { span => [INFO] [stdout] 230 | | #crate_token::SyscallGroups::empty() [INFO] [stdout] 231 | | } [INFO] [stdout] | |_____- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 232 | } else { [INFO] [stdout] 233 | / quote_spanned! { span => [INFO] [stdout] 234 | | #(#crate_token::SyscallGroups::#groups_idents)|* [INFO] [stdout] 235 | | } [INFO] [stdout] | |_____- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 239 | let (mut arch_names, numbers): (Vec<_>, Vec<_>) = syscall [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 245 | let syscall_number = quote_spanned! { span => [INFO] [stdout] | _______--------------___- [INFO] [stdout] | |_______|________________| [INFO] [stdout] | |_______|________________| [INFO] [stdout] | |_______|________________| [INFO] [stdout] | |_______|________________| [INFO] [stdout] | |_______|________________| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 246 | | if cfg!(target_arch = #arch_name_0) { [INFO] [stdout] 247 | | #arch_number_0 [INFO] [stdout] 248 | | } [INFO] [stdout] ... | [INFO] [stdout] 256 | | } [INFO] [stdout] 257 | | }; [INFO] [stdout] | | - [INFO] [stdout] | |___| [INFO] [stdout] | |___these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |___these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |___these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |___these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |___these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 260 | | let camel_case_ident = Ident::new(&camel_case_name, name.span()); [INFO] [stdout] | | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 261 | | camel_case_name.push_str("Args"); [INFO] [stdout] 262 | | let camel_case_args_type = Ident::new(&camel_case_name, name.span()); [INFO] [stdout] | | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 263 | | camel_case_name.replace_range((camel_case_name.len() - 4).., "RawArgs"); [INFO] [stdout] 264 | | let camel_case_raw_args_type = Ident::new(&camel_case_name, name.span()); [INFO] [stdout] | | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 265 | | camel_case_name.replace_range((camel_case_name.len() - 7).., "ModifiedArgs"); [INFO] [stdout] 266 | | let camel_case_modified_args_type = Ident::new(&camel_case_name, name.span()); [INFO] [stdout] | | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 267 | | let mut inspects = vec![]; [INFO] [stdout] | | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 268 | | let mut arg_names = vec![]; [INFO] [stdout] | | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 269 | | let mut wrapped_arg_types = vec![]; [INFO] [stdout] | | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 290 | | let mut raw_arg_names = vec![]; [INFO] [stdout] | | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 291 | | let mut raw_arg_types = vec![]; [INFO] [stdout] | | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 292 | | let mut inspect_raw_args = vec![]; [INFO] [stdout] | | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 303 | | let mut modified_arg_names = vec![]; [INFO] [stdout] | | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 304 | | let mut modified_arg_names_err = vec![]; [INFO] [stdout] | | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 305 | | let mut modified_arg_types = vec![]; [INFO] [stdout] | | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 306 | | let mut inspect_modified_args = vec![]; [INFO] [stdout] | | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 310 | | let (inspect_syscall_result, is_syscall_failed) = if syscall_result_type != "Unit" { [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] 311 | | ( [INFO] [stdout] 312 | / quote_spanned! { [INFO] [stdout] 313 | | span => [INFO] [stdout] 314 | | let syscall_result = syscall_res_from_regs!(regs) as #syscall_result_type; [INFO] [stdout] 315 | | }, [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] 316 | | quote_spanned! { span => (syscall_result as isize) < 0 }, [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] 320 | | quote_spanned! { span => let syscall_result = (); }, [INFO] [stdout] | | --------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 321 | | quote_spanned! { span => false }, [INFO] [stdout] | | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 349 | | let syscall_const_name = format_ident!("SYS_{}", name); [INFO] [stdout] | | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 350 | | GenSyscallArgsStructResult { [INFO] [stdout] 351 | | syscall_number: syscall_const_name.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/lib.rs:243:35 [INFO] [stdout] | [INFO] [stdout] 243 | .map(|x| (x.name.to_string(), x.number.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: aborting due to 6 previous errors [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:21:8 [INFO] [stdout] | [INFO] [stdout] 20 | let content; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | Ok(Self { [INFO] [stdout] | ________^ [INFO] [stdout] 22 | | plus: input.parse()?, [INFO] [stdout] 23 | | brace_token: braced!(content in input), [INFO] [stdout] 24 | | args: content.parse_terminated(ArgField::parse, Token![,])?, [INFO] [stdout] 25 | | }) [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:77:8 [INFO] [stdout] | [INFO] [stdout] 76 | let content; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | Ok(Self { [INFO] [stdout] | ________^ [INFO] [stdout] 78 | | at: input.parse()?, [INFO] [stdout] 79 | | func: input.parse()?, [INFO] [stdout] 80 | | paren_token: parenthesized!(content in input), [INFO] [stdout] 81 | | args: content.parse_terminated(Expr::parse, Token![,])?, [INFO] [stdout] 82 | | }) [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:105:8 [INFO] [stdout] | [INFO] [stdout] 96 | let ident = input.parse()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | let colon_token = input.parse()?; [INFO] [stdout] 98 | let ty = input.parse()?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | let lookahead = input.lookahead1(); [INFO] [stdout] 100 | let decoder = if lookahead.peek(Token![@]) { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 105 | Ok(Self { [INFO] [stdout] | ________^ [INFO] [stdout] 106 | | ident, [INFO] [stdout] 107 | | colon_token, [INFO] [stdout] 108 | | ty, [INFO] [stdout] 109 | | decoder, [INFO] [stdout] 110 | | }) [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/lib.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 136 | let content; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 137 | let raw_args; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 138 | let archs_content; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 139 | let groups_content; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 142 | Ok(SyscallEntry { [INFO] [stdout] | ________^ [INFO] [stdout] 143 | | name: { [INFO] [stdout] 144 | | let name: Ident = input.parse()?; [INFO] [stdout] 145 | | start = name.span(); [INFO] [stdout] ... | [INFO] [stdout] 173 | | span: end.and_then(|end| start.join(end)), [INFO] [stdout] 174 | | }) [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] error: could not compile `ptrace-syscalls-macros` (lib test) due to 7 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/lib.rs:351:21 [INFO] [stdout] | [INFO] [stdout] 222 | crate_token: proc_macro2::TokenStream, [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 228 | let groups = if groups_idents.is_empty() { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 229 | / quote_spanned! { span => [INFO] [stdout] 230 | | #crate_token::SyscallGroups::empty() [INFO] [stdout] 231 | | } [INFO] [stdout] | |_____- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 232 | } else { [INFO] [stdout] 233 | / quote_spanned! { span => [INFO] [stdout] 234 | | #(#crate_token::SyscallGroups::#groups_idents)|* [INFO] [stdout] 235 | | } [INFO] [stdout] | |_____- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 239 | let (mut arch_names, numbers): (Vec<_>, Vec<_>) = syscall [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 245 | let syscall_number = quote_spanned! { span => [INFO] [stdout] | _______--------------___- [INFO] [stdout] | |_______|________________| [INFO] [stdout] | |_______|________________| [INFO] [stdout] | |_______|________________| [INFO] [stdout] | |_______|________________| [INFO] [stdout] | |_______|________________| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 246 | | if cfg!(target_arch = #arch_name_0) { [INFO] [stdout] 247 | | #arch_number_0 [INFO] [stdout] 248 | | } [INFO] [stdout] ... | [INFO] [stdout] 256 | | } [INFO] [stdout] 257 | | }; [INFO] [stdout] | | - [INFO] [stdout] | |___| [INFO] [stdout] | |___these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |___these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |___these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |___these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |___these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 260 | | let camel_case_ident = Ident::new(&camel_case_name, name.span()); [INFO] [stdout] | | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 261 | | camel_case_name.push_str("Args"); [INFO] [stdout] 262 | | let camel_case_args_type = Ident::new(&camel_case_name, name.span()); [INFO] [stdout] | | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 263 | | camel_case_name.replace_range((camel_case_name.len() - 4).., "RawArgs"); [INFO] [stdout] 264 | | let camel_case_raw_args_type = Ident::new(&camel_case_name, name.span()); [INFO] [stdout] | | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 265 | | camel_case_name.replace_range((camel_case_name.len() - 7).., "ModifiedArgs"); [INFO] [stdout] 266 | | let camel_case_modified_args_type = Ident::new(&camel_case_name, name.span()); [INFO] [stdout] | | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 267 | | let mut inspects = vec![]; [INFO] [stdout] | | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 268 | | let mut arg_names = vec![]; [INFO] [stdout] | | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 269 | | let mut wrapped_arg_types = vec![]; [INFO] [stdout] | | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 290 | | let mut raw_arg_names = vec![]; [INFO] [stdout] | | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 291 | | let mut raw_arg_types = vec![]; [INFO] [stdout] | | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 292 | | let mut inspect_raw_args = vec![]; [INFO] [stdout] | | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 303 | | let mut modified_arg_names = vec![]; [INFO] [stdout] | | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 304 | | let mut modified_arg_names_err = vec![]; [INFO] [stdout] | | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 305 | | let mut modified_arg_types = vec![]; [INFO] [stdout] | | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 306 | | let mut inspect_modified_args = vec![]; [INFO] [stdout] | | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 310 | | let (inspect_syscall_result, is_syscall_failed) = if syscall_result_type != "Unit" { [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] 311 | | ( [INFO] [stdout] 312 | / quote_spanned! { [INFO] [stdout] 313 | | span => [INFO] [stdout] 314 | | let syscall_result = syscall_res_from_regs!(regs) as #syscall_result_type; [INFO] [stdout] 315 | | }, [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] 316 | | quote_spanned! { span => (syscall_result as isize) < 0 }, [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] 320 | | quote_spanned! { span => let syscall_result = (); }, [INFO] [stdout] | | --------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 321 | | quote_spanned! { span => false }, [INFO] [stdout] | | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 349 | | let syscall_const_name = format_ident!("SYS_{}", name); [INFO] [stdout] | | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 350 | | GenSyscallArgsStructResult { [INFO] [stdout] 351 | | syscall_number: syscall_const_name.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/lib.rs:243:35 [INFO] [stdout] | [INFO] [stdout] 243 | .map(|x| (x.name.to_string(), x.number.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: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ptrace-syscalls-macros` (lib) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "381d53dc2b8b9fabc8677b0ef49718e57d457680a1481f307fcad0023d2a8c0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "381d53dc2b8b9fabc8677b0ef49718e57d457680a1481f307fcad0023d2a8c0a", kill_on_drop: false }` [INFO] [stdout] 381d53dc2b8b9fabc8677b0ef49718e57d457680a1481f307fcad0023d2a8c0a