[INFO] fetching crate iamgroot 0.2.8... [INFO] checking iamgroot-0.2.8 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate iamgroot 0.2.8 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate iamgroot 0.2.8 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 iamgroot 0.2.8 [INFO] finished tweaking crates.io crate iamgroot 0.2.8 [INFO] tweaked toml for crates.io crate iamgroot 0.2.8 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate iamgroot 0.2.8 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] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] dca5a5ff2b2df5f42b0a4f8f1ebdeae4a63f13f2bc1614a3bf2b9f6199323758 [INFO] running `Command { std: "docker" "start" "-a" "dca5a5ff2b2df5f42b0a4f8f1ebdeae4a63f13f2bc1614a3bf2b9f6199323758", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dca5a5ff2b2df5f42b0a4f8f1ebdeae4a63f13f2bc1614a3bf2b9f6199323758", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dca5a5ff2b2df5f42b0a4f8f1ebdeae4a63f13f2bc1614a3bf2b9f6199323758", kill_on_drop: false }` [INFO] [stdout] dca5a5ff2b2df5f42b0a4f8f1ebdeae4a63f13f2bc1614a3bf2b9f6199323758 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 89730a3fcc3313433833d18d9519be3b13440c583b218ead40865fac5aeccfe8 [INFO] running `Command { std: "docker" "start" "-a" "89730a3fcc3313433833d18d9519be3b13440c583b218ead40865fac5aeccfe8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking once_cell v1.17.1 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling cc v1.0.95 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking http v1.0.0 [INFO] [stderr] Checking percent-encoding v2.2.0 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling openssl v0.10.49 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking form_urlencoded v1.1.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking rustls-pki-types v1.5.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking indexmap v2.2.3 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling axum v0.7.4 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking zeroize v1.8.0 [INFO] [stderr] Checking base64 v0.21.0 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking webpki-roots v0.26.1 [INFO] [stderr] Checking encoding_rs v0.8.32 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking ipnet v2.7.2 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Compiling openssl-sys v0.9.84 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Checking url v2.3.1 [INFO] [stderr] Checking regex v1.7.3 [INFO] [stderr] Checking http-body-util v0.1.0 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.4 [INFO] [stderr] Compiling thiserror-impl v1.0.60 [INFO] [stderr] Checking rustls-webpki v0.102.3 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking pin-project v1.1.4 [INFO] [stderr] Checking tokio-util v0.7.7 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking h2 v0.3.16 [INFO] [stderr] Checking h2 v0.4.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.15 [INFO] [stderr] Checking iamgroot v0.2.8 (/opt/rustwide/workdir) [INFO] [stderr] Checking ureq v2.9.6 [INFO] [stdout] warning: struct `Alias` is never constructed [INFO] [stdout] --> src/codegen.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Alias { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Alias` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Trait` is never constructed [INFO] [stdout] --> src/codegen.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct Trait { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Trait` has derived impls for the traits `Clone` and `Debug`, but these are 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:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | let spec = parse(path); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | serde_json::to_string(&spec).expect("json") [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/binding.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 15 | let object = bind_schema_ref( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 20 | let ret = match object { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | Object::Type(ty) => ty, [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | Object::Alias(name, _) => Type::Named(name), [INFO] [stdout] 23 | object => { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | let object = object.with_name(name.clone()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | Some(codegen::Method { [INFO] [stdout] | __________^ [INFO] [stdout] 32 | | name: method.name.to_owned(), [INFO] [stdout] 33 | | args: method [INFO] [stdout] 34 | | .params [INFO] [stdout] ... | [INFO] [stdout] 41 | | doc: method.summary.clone(), [INFO] [stdout] 42 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/binding.rs:72:10 [INFO] [stdout] | [INFO] [stdout] 51 | let object = bind_schema_ref(parent_name, param.schema.as_ref()?, objects)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | let (name, _) = get_prop_name(param.name.as_ref()?); [INFO] [stdout] 53 | let ty = match object { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | Object::Type(ty) => ty, [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | Object::Alias(name, _) => Type::Named(name), [INFO] [stdout] 56 | object => { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | let object = object.with_name(name.clone()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 67 | let ty = if !required { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | Some((name, ty)) [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/binding.rs:184:20 [INFO] [stdout] | [INFO] [stdout] 160 | let properties = all_of [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 184 | Object::Struct(Struct { [INFO] [stdout] | ____________________^ [INFO] [stdout] 185 | | name: Default::default(), [INFO] [stdout] 186 | | properties, [INFO] [stdout] 187 | | }) [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/binding.rs:227:18 [INFO] [stdout] | [INFO] [stdout] 195 | let variants = one_of [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 227 | Object::Enum(Enum { [INFO] [stdout] | __________________^ [INFO] [stdout] 228 | | name: Default::default(), [INFO] [stdout] 229 | | variants, [INFO] [stdout] 230 | | }) [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/binding.rs:431:10 [INFO] [stdout] | [INFO] [stdout] 417 | let object = bind_schema_ref(parent_name, schema, objects)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 418 | let (name, rename) = get_prop_name(prop_name); [INFO] [stdout] 419 | let r#type = match object { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 420 | Object::Type(ty) => ty, [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 421 | Object::Alias(name, _) => Type::Named(name), [INFO] [stdout] 422 | object => { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 426 | let object = object.with_name(type_name.clone()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 431 | Some(Property { [INFO] [stdout] | __________^ [INFO] [stdout] 432 | | name, [INFO] [stdout] 433 | | rename, [INFO] [stdout] 434 | | r#type, [INFO] [stdout] 435 | | flatten: false, [INFO] [stdout] 436 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `iamgroot` (lib) due to 7 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "89730a3fcc3313433833d18d9519be3b13440c583b218ead40865fac5aeccfe8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89730a3fcc3313433833d18d9519be3b13440c583b218ead40865fac5aeccfe8", kill_on_drop: false }` [INFO] [stdout] 89730a3fcc3313433833d18d9519be3b13440c583b218ead40865fac5aeccfe8