[INFO] fetching crate wikiproc 0.0.1... [INFO] checking wikiproc-0.0.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate wikiproc 0.0.1 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate wikiproc 0.0.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 wikiproc 0.0.1 [INFO] finished tweaking crates.io crate wikiproc 0.0.1 [INFO] tweaked toml for crates.io crate wikiproc 0.0.1 written to /workspace/builds/worker-6-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 7 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding synstructure v0.12.6 (latest: v0.13.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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] de25c5d8a3f83f5c359afa20ce08854022a9d7edc749f923c18e1d4d6896b281 [INFO] running `Command { std: "docker" "start" "-a" "de25c5d8a3f83f5c359afa20ce08854022a9d7edc749f923c18e1d4d6896b281", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de25c5d8a3f83f5c359afa20ce08854022a9d7edc749f923c18e1d4d6896b281", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de25c5d8a3f83f5c359afa20ce08854022a9d7edc749f923c18e1d4d6896b281", kill_on_drop: false }` [INFO] [stdout] de25c5d8a3f83f5c359afa20ce08854022a9d7edc749f923c18e1d4d6896b281 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 38f6ddde471cdbc7786b95f2bda5a638e9c6f4f56c51a16ffaccc49a45137d4f [INFO] running `Command { std: "docker" "start" "-a" "38f6ddde471cdbc7786b95f2bda5a638e9c6f4f56c51a16ffaccc49a45137d4f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking unicode-xid v0.2.5 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking synstructure v0.12.6 [INFO] [stderr] Checking wikiproc v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `vis`, `struct_`, `colon`, `ty`, and `brace` are never read [INFO] [stdout] --> src/bitflags.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct BitflagsInput { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 43 | pub vis: Visibility, [INFO] [stdout] | ^^^ [INFO] [stdout] 44 | pub struct_: Token![struct], [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 45 | pub name: Ident, [INFO] [stdout] 46 | pub colon: Token![:], [INFO] [stdout] | ^^^^^ [INFO] [stdout] 47 | pub ty: Ident, [INFO] [stdout] | ^^ [INFO] [stdout] 48 | pub brace: Brace, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `const_`, `eq`, `exp`, and `semi` are never read [INFO] [stdout] --> src/bitflags.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct Bitfield { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 78 | pub const_: Token![const], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 79 | pub name: Ident, [INFO] [stdout] 80 | pub eq: Token![=], [INFO] [stdout] | ^^ [INFO] [stdout] 81 | pub exp: Expr, [INFO] [stdout] | ^^^ [INFO] [stdout] 82 | pub semi: Token![;], [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:61:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn bitflags(input: TokenStream) -> TokenStream { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | / bitflags::bitflags(input.into()) [INFO] [stdout] 62 | | .unwrap_or_else(|t| t.into_compile_error()) [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/bitflags.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 54 | let vis = input.parse()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | let struct_ = input.parse()?; [INFO] [stdout] 56 | let name = input.parse()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | let colon = input.parse()?; [INFO] [stdout] 58 | let ty = input.parse()?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | let content; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | let brace = braced!(content in input); [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | let mut fields = vec![]; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 66 | | vis, [INFO] [stdout] 67 | | struct_, [INFO] [stdout] 68 | | name, [INFO] [stdout] ... | [INFO] [stdout] 72 | | fields, [INFO] [stdout] 73 | | }) [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/derive.rs:159:34 [INFO] [stdout] | [INFO] [stdout] 159 | let name = attr.and_then(|a| a.parse_meta().ok()).and_then(|m| { [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/derive.rs:191:11 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn derive_write_url(s: synstructure::Structure) -> syn::Result { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 191 | match s.ast().data { [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] warning: fields `vis`, `struct_`, `colon`, `ty`, and `brace` are never read [INFO] [stdout] --> src/bitflags.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct BitflagsInput { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 43 | pub vis: Visibility, [INFO] [stdout] | ^^^ [INFO] [stdout] 44 | pub struct_: Token![struct], [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 45 | pub name: Ident, [INFO] [stdout] 46 | pub colon: Token![:], [INFO] [stdout] | ^^^^^ [INFO] [stdout] 47 | pub ty: Ident, [INFO] [stdout] | ^^ [INFO] [stdout] 48 | pub brace: Brace, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `const_`, `eq`, `exp`, and `semi` are never read [INFO] [stdout] --> src/bitflags.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct Bitfield { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 78 | pub const_: Token![const], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 79 | pub name: Ident, [INFO] [stdout] 80 | pub eq: Token![=], [INFO] [stdout] | ^^ [INFO] [stdout] 81 | pub exp: Expr, [INFO] [stdout] | ^^^ [INFO] [stdout] 82 | pub semi: Token![;], [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:61:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn bitflags(input: TokenStream) -> TokenStream { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | / bitflags::bitflags(input.into()) [INFO] [stdout] 62 | | .unwrap_or_else(|t| t.into_compile_error()) [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/bitflags.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 54 | let vis = input.parse()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | let struct_ = input.parse()?; [INFO] [stdout] 56 | let name = input.parse()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | let colon = input.parse()?; [INFO] [stdout] 58 | let ty = input.parse()?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | let content; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | let brace = braced!(content in input); [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | let mut fields = vec![]; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 66 | | vis, [INFO] [stdout] 67 | | struct_, [INFO] [stdout] 68 | | name, [INFO] [stdout] ... | [INFO] [stdout] 72 | | fields, [INFO] [stdout] 73 | | }) [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/derive.rs:159:34 [INFO] [stdout] | [INFO] [stdout] 159 | let name = attr.and_then(|a| a.parse_meta().ok()).and_then(|m| { [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 4 previous errors; 2 warnings emitted [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/derive.rs:191:11 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn derive_write_url(s: synstructure::Structure) -> syn::Result { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 191 | match s.ast().data { [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 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wikiproc` (lib test) due to 5 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `wikiproc` (lib) due to 5 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "38f6ddde471cdbc7786b95f2bda5a638e9c6f4f56c51a16ffaccc49a45137d4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38f6ddde471cdbc7786b95f2bda5a638e9c6f4f56c51a16ffaccc49a45137d4f", kill_on_drop: false }` [INFO] [stdout] 38f6ddde471cdbc7786b95f2bda5a638e9c6f4f56c51a16ffaccc49a45137d4f