[INFO] fetching crate arraygen 0.3.2... [INFO] checking arraygen-0.3.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate arraygen 0.3.2 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate arraygen 0.3.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 arraygen 0.3.2 [INFO] finished tweaking crates.io crate arraygen 0.3.2 [INFO] tweaked toml for crates.io crate arraygen 0.3.2 written to /workspace/builds/worker-2-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 56 packages to latest compatible versions [INFO] [stderr] Adding compiletest_rs v0.7.1 (latest: v0.11.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding miow v0.3.7 (latest: v0.6.0) [INFO] [stderr] Adding rustfix v0.5.1 (latest: v0.8.4) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding term v0.7.0 (latest: v1.0.0) [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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 3d82717f899cc29f0257dcf9d50c52010213b1dc5dcda83d6324b28e23b911f2 [INFO] running `Command { std: "docker" "start" "-a" "3d82717f899cc29f0257dcf9d50c52010213b1dc5dcda83d6324b28e23b911f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d82717f899cc29f0257dcf9d50c52010213b1dc5dcda83d6324b28e23b911f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d82717f899cc29f0257dcf9d50c52010213b1dc5dcda83d6324b28e23b911f2", kill_on_drop: false }` [INFO] [stdout] 3d82717f899cc29f0257dcf9d50c52010213b1dc5dcda83d6324b28e23b911f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] adc23bb3925227ca183f4bb56f1208af0a8b95ddb3d62de3d500dd1b1b921d14 [INFO] running `Command { std: "docker" "start" "-a" "adc23bb3925227ca183f4bb56f1208af0a8b95ddb3d62de3d500dd1b1b921d14", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling compiletest_rs v0.7.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Checking tester v0.9.1 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking arraygen v0.3.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `vis` is never read [INFO] [stdout] --> src/parse_derive_arraygen.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct DeriveArraygen { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 15 | pub gen_arrays: HashMap, [INFO] [stdout] 16 | pub vis: Visibility, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `casts` is never read [INFO] [stdout] --> src/parse_gen_array.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct GenArray { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub casts: Vec<(syn::Ident, syn::Type, proc_macro2::TokenStream, CastKind)>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `insert_stable` is never used [INFO] [stdout] --> src/utils.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait OptionExtensions { [INFO] [stdout] | ---------------- method in this trait [INFO] [stdout] 2 | fn insert_stable(&mut self, value: T) -> &mut T; [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/parse_derive_arraygen.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 23 | let mut gen_arrays = input.call(parse_gen_arrays)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | let vis = input.parse::()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | let struct_name = input.parse::()?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | let generics = input.parse::()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | let where_clause = parse_struct(input, &mut gen_arrays)?; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | [INFO] [stdout] 36 | Ok(DeriveArraygen { [INFO] [stdout] | ____________^ [INFO] [stdout] 37 | | gen_arrays, [INFO] [stdout] 38 | | vis, [INFO] [stdout] 39 | | struct_name, [INFO] [stdout] ... | [INFO] [stdout] 43 | | }, [INFO] [stdout] 44 | | }) [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] | [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/parse_gen_array.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 61 | let content; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | let _ = parenthesized!(content in input); [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | let vis: Visibility = content.parse()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | let _: Token![fn] = content.parse()?; [INFO] [stdout] 65 | let fn_name: Ident = content.parse()?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | let _: Token![:] = content.parse()?; [INFO] [stdout] 67 | let fn_ty: Type = content.parse()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | let mut implicit_select_all_tys = vec![]; [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 126 | Ok(GenArray { [INFO] [stdout] | ________^ [INFO] [stdout] 127 | | vis, [INFO] [stdout] 128 | | fn_name, [INFO] [stdout] 129 | | fn_ty, [INFO] [stdout] ... | [INFO] [stdout] 135 | | fields: vec![], [INFO] [stdout] 136 | | }) [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/parse_in_array.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 38 | let attrs: Vec = input.call(parse_in_array_attributes)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | let _: Visibility = input.parse()?; [INFO] [stdout] 40 | let ident: Ident = input.parse()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | let _: Option = Some(input.parse()?); [INFO] [stdout] 42 | 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] 43 | Ok(InArrayField { attrs, ident, ty }) [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] = 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/parse_in_array.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 81 | let content; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | let _ = parenthesized!(content in input); [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 83 | Ok(InArrayAttribute { [INFO] [stdout] | ________^ [INFO] [stdout] 84 | | entries: content [INFO] [stdout] 85 | | .parse_terminated::(parse_attribute_entry)? [INFO] [stdout] 86 | | .into_iter() [INFO] [stdout] 87 | | .collect(), [INFO] [stdout] 88 | | }) [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/transform_context.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 44 | fn make_impl_fns(methods: HashMap, struct_name: &Ident) -> Vec { [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | / methods [INFO] [stdout] 46 | | .into_iter() [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/transform_context.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 44 | fn make_impl_fns(methods: HashMap, struct_name: &Ident) -> Vec { [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | .fold(Vec::::new(), |mut acc, (name, method)| { [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; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `arraygen` (lib) due to 7 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "adc23bb3925227ca183f4bb56f1208af0a8b95ddb3d62de3d500dd1b1b921d14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adc23bb3925227ca183f4bb56f1208af0a8b95ddb3d62de3d500dd1b1b921d14", kill_on_drop: false }` [INFO] [stdout] adc23bb3925227ca183f4bb56f1208af0a8b95ddb3d62de3d500dd1b1b921d14