[INFO] fetching crate gurkle_codegen 0.3.0... [INFO] checking gurkle_codegen-0.3.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate gurkle_codegen 0.3.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate gurkle_codegen 0.3.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate gurkle_codegen 0.3.0 [INFO] finished tweaking crates.io crate gurkle_codegen 0.3.0 [INFO] tweaked toml for crates.io crate gurkle_codegen 0.3.0 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 22 packages to latest compatible versions [INFO] [stderr] Adding ascii v0.9.3 (available: v1.1.0) [INFO] [stderr] Adding combine v3.8.1 (available: v4.6.7) [INFO] [stderr] Adding heck v0.3.3 (available: v0.5.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d33db9438b4acbb631175a789a2d26ea869a445c6e1f84a55e81aa357accf893 [INFO] running `Command { std: "docker" "start" "-a" "d33db9438b4acbb631175a789a2d26ea869a445c6e1f84a55e81aa357accf893", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d33db9438b4acbb631175a789a2d26ea869a445c6e1f84a55e81aa357accf893", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d33db9438b4acbb631175a789a2d26ea869a445c6e1f84a55e81aa357accf893", kill_on_drop: false }` [INFO] [stdout] d33db9438b4acbb631175a789a2d26ea869a445c6e1f84a55e81aa357accf893 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c9bdfb2026e5422a607b17a29b1c05a1f63e299da829121e6dd0348c950e3ff [INFO] running `Command { std: "docker" "start" "-a" "9c9bdfb2026e5422a607b17a29b1c05a1f63e299da829121e6dd0348c950e3ff", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking ascii v0.9.3 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking heck v0.3.3 [INFO] [stderr] Checking combine v3.8.1 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Checking gurkle-parser v0.3.0 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking gurkle_codegen v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `StoredObjectField` is never constructed [INFO] [stdout] --> src/schema.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct StoredObjectField { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ObjectFieldId` is never constructed [INFO] [stdout] --> src/schema.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) struct ObjectFieldId(usize); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InputFieldId` is never constructed [INFO] [stdout] --> src/schema.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | struct InputFieldId(usize); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/introspection_response.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 129 | pub struct FullType { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 132 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FullType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `input_value` is never read [INFO] [stdout] --> src/introspection_response.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 142 | pub struct FullTypeFieldsArgs { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 143 | #[serde(flatten)] [INFO] [stdout] 144 | input_value: InputValue, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FullTypeFieldsArgs` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `description` and `args` are never read [INFO] [stdout] --> src/introspection_response.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 156 | pub struct FullTypeFields { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 157 | pub name: Option, [INFO] [stdout] 158 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 159 | pub args: Option>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FullTypeFields` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `description`, `is_deprecated`, and `deprecation_reason` are never read [INFO] [stdout] --> src/introspection_response.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 182 | pub struct FullTypeEnumValues { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 183 | pub name: Option, [INFO] [stdout] 184 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 185 | pub is_deprecated: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 186 | pub deprecation_reason: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FullTypeEnumValues` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `description` and `default_value` are never read [INFO] [stdout] --> src/introspection_response.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 198 | pub struct InputValue { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 199 | pub name: String, [INFO] [stdout] 200 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | pub default_value: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InputValue` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `input_value` is never read [INFO] [stdout] --> src/introspection_response.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 243 | pub struct SchemaDirectivesArgs { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 244 | #[serde(flatten)] [INFO] [stdout] 245 | input_value: InputValue, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SchemaDirectivesArgs` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `description`, `locations`, and `args` are never read [INFO] [stdout] --> src/introspection_response.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 250 | pub struct SchemaDirectives { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 251 | pub name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 252 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 253 | pub locations: Option>>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 254 | pub args: Option>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SchemaDirectives` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `directives` is never read [INFO] [stdout] --> src/introspection_response.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 259 | pub struct Schema { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 264 | directives: Option>>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Schema` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/query.rs:51:30 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) struct VariableId(u32); [INFO] [stdout] | ---------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `VariableId` 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: this value of type `impl Iterator` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tests/mod.rs:14:29 [INFO] [stdout] | [INFO] [stdout] 11 | let options = GraphQLClientCodegenOptions::new(); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 14 | for (_id, operation) in query.operations() { [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] warning: struct `StoredObjectField` is never constructed [INFO] [stdout] --> src/schema.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct StoredObjectField { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ObjectFieldId` is never constructed [INFO] [stdout] --> src/schema.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) struct ObjectFieldId(usize); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InputFieldId` is never constructed [INFO] [stdout] --> src/schema.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | struct InputFieldId(usize); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/introspection_response.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 129 | pub struct FullType { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 132 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FullType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `input_value` is never read [INFO] [stdout] --> src/introspection_response.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 142 | pub struct FullTypeFieldsArgs { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 143 | #[serde(flatten)] [INFO] [stdout] 144 | input_value: InputValue, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FullTypeFieldsArgs` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `description` and `args` are never read [INFO] [stdout] --> src/introspection_response.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 156 | pub struct FullTypeFields { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 157 | pub name: Option, [INFO] [stdout] 158 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 159 | pub args: Option>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FullTypeFields` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `description`, `is_deprecated`, and `deprecation_reason` are never read [INFO] [stdout] --> src/introspection_response.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 182 | pub struct FullTypeEnumValues { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 183 | pub name: Option, [INFO] [stdout] 184 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 185 | pub is_deprecated: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 186 | pub deprecation_reason: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FullTypeEnumValues` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `description` and `default_value` are never read [INFO] [stdout] --> src/introspection_response.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 198 | pub struct InputValue { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 199 | pub name: String, [INFO] [stdout] 200 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | pub default_value: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InputValue` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `input_value` is never read [INFO] [stdout] --> src/introspection_response.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 243 | pub struct SchemaDirectivesArgs { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 244 | #[serde(flatten)] [INFO] [stdout] 245 | input_value: InputValue, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SchemaDirectivesArgs` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `description`, `locations`, and `args` are never read [INFO] [stdout] --> src/introspection_response.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 250 | pub struct SchemaDirectives { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 251 | pub name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 252 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 253 | pub locations: Option>>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 254 | pub args: Option>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SchemaDirectives` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `directives` is never read [INFO] [stdout] --> src/introspection_response.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 259 | pub struct Schema { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 264 | directives: Option>>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Schema` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/query.rs:51:30 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) struct VariableId(u32); [INFO] [stdout] | ---------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `VariableId` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gurkle_codegen` (lib test) due to 2 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9c9bdfb2026e5422a607b17a29b1c05a1f63e299da829121e6dd0348c950e3ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c9bdfb2026e5422a607b17a29b1c05a1f63e299da829121e6dd0348c950e3ff", kill_on_drop: false }` [INFO] [stdout] 9c9bdfb2026e5422a607b17a29b1c05a1f63e299da829121e6dd0348c950e3ff