[INFO] fetching crate confine-macro 0.1.1... [INFO] checking confine-macro-0.1.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate confine-macro 0.1.1 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate confine-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 confine-macro 0.1.1 [INFO] finished tweaking crates.io crate confine-macro 0.1.1 [INFO] tweaked toml for crates.io crate confine-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] Locking 68 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.21.7 (latest: v0.22.1) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding hashbrown v0.13.2 (latest: v0.14.5) [INFO] [stderr] Adding ordered-multimap v0.6.0 (latest: v0.7.3) [INFO] [stderr] Adding rust-ini v0.19.0 (latest: v0.21.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [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] f526c631f6cca7c84736c711311cb911586d1ee135d9c1544ec2c99b2d7fdfd6 [INFO] running `Command { std: "docker" "start" "-a" "f526c631f6cca7c84736c711311cb911586d1ee135d9c1544ec2c99b2d7fdfd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f526c631f6cca7c84736c711311cb911586d1ee135d9c1544ec2c99b2d7fdfd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f526c631f6cca7c84736c711311cb911586d1ee135d9c1544ec2c99b2d7fdfd6", kill_on_drop: false }` [INFO] [stdout] f526c631f6cca7c84736c711311cb911586d1ee135d9c1544ec2c99b2d7fdfd6 [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] 2cfc8d7cc1dd78c255a4df25152522992bd1d9e9f98bcc05ba19bd5dc9047a39 [INFO] running `Command { std: "docker" "start" "-a" "2cfc8d7cc1dd78c255a4df25152522992bd1d9e9f98bcc05ba19bd5dc9047a39", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking winnow v0.6.18 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Compiling pest v2.7.11 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking ordered-multimap v0.6.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking rust-ini v0.19.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking syn v2.0.77 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling pest_meta v2.7.11 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling pest_generator v2.7.11 [INFO] [stderr] Compiling pest_derive v2.7.11 [INFO] [stderr] Checking darling v0.20.10 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking toml_edit v0.22.20 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking config v0.14.0 [INFO] [stderr] Checking confine-builder v0.1.0 [INFO] [stderr] Checking confine-macro v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: variants `EnvVarNotSet` and `UnsupportedType` are never constructed [INFO] [stdout] --> src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 10 | enum ConfineError { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | EnvVarNotSet(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | UnsupportedType(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConfineError` 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 `default_env` is never read [INFO] [stdout] --> src/lib.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 35 | struct ConfineArgs { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 36 | pub default_env: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConfineArgs` 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] --> src/lib.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 28 | fn from(value: ConfineError) -> Self { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | let error = Error::custom(value); [INFO] [stdout] 30 | TokenStream::from(error.write_errors()) [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:58:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn confine(args: TokenStream, input: TokenStream) -> TokenStream { [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] 58 | process_confine(args, input).unwrap_or_else(|e| e.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:71:8 [INFO] [stdout] | [INFO] [stdout] 61 | fn process_confine(args: TokenStream, input: TokenStream) -> Result { [INFO] [stdout] | ----------------- ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | let attr_args = NestedMeta::parse_meta_list(args.into())?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | let args = ConfineArgs::from_list(&attr_args)?; [INFO] [stdout] 64 | let input = syn::parse::(input)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | Ok(quote!( [INFO] [stdout] | ________^ [INFO] [stdout] 72 | | #input [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | impl #struct_name { [INFO] [stdout] ... | [INFO] [stdout] 84 | | ) [INFO] [stdout] 85 | | .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] | [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 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `confine-macro` (lib) due to 4 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variants `EnvVarNotSet` and `UnsupportedType` are never constructed [INFO] [stdout] --> src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 10 | enum ConfineError { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | EnvVarNotSet(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | UnsupportedType(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConfineError` 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 `default_env` is never read [INFO] [stdout] --> src/lib.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 35 | struct ConfineArgs { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 36 | pub default_env: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConfineArgs` 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] --> src/lib.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 28 | fn from(value: ConfineError) -> Self { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | let error = Error::custom(value); [INFO] [stdout] 30 | TokenStream::from(error.write_errors()) [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:58:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn confine(args: TokenStream, input: TokenStream) -> TokenStream { [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] 58 | process_confine(args, input).unwrap_or_else(|e| e.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:71:8 [INFO] [stdout] | [INFO] [stdout] 61 | fn process_confine(args: TokenStream, input: TokenStream) -> Result { [INFO] [stdout] | ----------------- ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | let attr_args = NestedMeta::parse_meta_list(args.into())?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | let args = ConfineArgs::from_list(&attr_args)?; [INFO] [stdout] 64 | let input = syn::parse::(input)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | Ok(quote!( [INFO] [stdout] | ________^ [INFO] [stdout] 72 | | #input [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | impl #struct_name { [INFO] [stdout] ... | [INFO] [stdout] 84 | | ) [INFO] [stdout] 85 | | .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] | [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 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `confine-macro` (lib test) due to 4 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2cfc8d7cc1dd78c255a4df25152522992bd1d9e9f98bcc05ba19bd5dc9047a39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cfc8d7cc1dd78c255a4df25152522992bd1d9e9f98bcc05ba19bd5dc9047a39", kill_on_drop: false }` [INFO] [stdout] 2cfc8d7cc1dd78c255a4df25152522992bd1d9e9f98bcc05ba19bd5dc9047a39