[INFO] fetching crate artemis_codegen 0.1.0... [INFO] checking artemis_codegen-0.1.0 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate artemis_codegen 0.1.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate artemis_codegen 0.1.0 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate artemis_codegen 0.1.0 [INFO] finished tweaking crates.io crate artemis_codegen 0.1.0 [INFO] tweaked toml for crates.io crate artemis_codegen 0.1.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 109 packages to latest compatible versions [INFO] [stderr] Adding ascii v0.9.3 (available: v1.1.0) [INFO] [stderr] Adding ast_node v0.7.7 (available: v1.0.0) [INFO] [stderr] Adding cfg-if v0.1.10 (available: v1.0.0) [INFO] [stderr] Adding combine v3.8.1 (available: v4.6.7) [INFO] [stderr] Adding darling v0.10.2 (available: v0.20.10) [INFO] [stderr] Adding darling_core v0.10.2 (available: v0.20.10) [INFO] [stderr] Adding darling_macro v0.10.2 (available: v0.20.10) [INFO] [stderr] Adding dprint-core v0.35.3 (available: v0.67.1) [INFO] [stderr] Adding dprint-plugin-typescript v0.41.0 (available: v0.93.0) [INFO] [stderr] Adding dprint-swc-ecma-ast-view v0.10.0 (available: v0.56.0) [INFO] [stderr] Adding from_variant v0.1.9 (available: v1.0.0) [INFO] [stderr] Adding graphql-parser v0.2.3 (available: v0.4.0) [INFO] [stderr] Adding heck v0.3.3 (available: v0.5.0) [INFO] [stderr] Adding is-macro v0.1.9 (available: v0.3.6) [INFO] [stderr] Adding num-bigint v0.2.6 (available: v0.4.6) [INFO] [stderr] Adding phf_generator v0.10.0 (available: v0.11.2) [INFO] [stderr] Adding phf_shared v0.10.0 (available: v0.11.2) [INFO] [stderr] Adding pmutil v0.5.3 (available: v0.6.1) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.0.0) [INFO] [stderr] Adding siphasher v0.3.11 (available: v1.0.1) [INFO] [stderr] Adding string_enum v0.3.4 (available: v0.4.4) [INFO] [stderr] Adding strsim v0.9.3 (available: v0.11.1) [INFO] [stderr] Adding swc_atoms v0.2.13 (available: v1.0.0) [INFO] [stderr] Adding swc_common v0.10.23 (available: v0.40.0) [INFO] [stderr] Adding swc_ecma_ast v0.40.0 (available: v0.121.0) [INFO] [stderr] Adding swc_ecma_parser v0.49.0 (available: v0.152.0) [INFO] [stderr] Adding swc_ecma_visit v0.26.0 (available: v0.107.0) [INFO] [stderr] Adding swc_ecmascript v0.24.1 (available: v0.256.0) [INFO] [stderr] Adding swc_visit v0.2.8 (available: v0.6.2) [INFO] [stderr] Adding swc_visit_macros v0.2.3 (available: v0.5.13) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding synstructure v0.12.6 (available: v0.13.1) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: 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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3aebc79e106080bc8ac44a040cce692abf7e32c00a03e4954c5e6a58d8f09023 [INFO] running `Command { std: "docker" "start" "-a" "3aebc79e106080bc8ac44a040cce692abf7e32c00a03e4954c5e6a58d8f09023", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3aebc79e106080bc8ac44a040cce692abf7e32c00a03e4954c5e6a58d8f09023", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3aebc79e106080bc8ac44a040cce692abf7e32c00a03e4954c5e6a58d8f09023", kill_on_drop: false }` [INFO] [stdout] 3aebc79e106080bc8ac44a040cce692abf7e32c00a03e4954c5e6a58d8f09023 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd3febb8ba1bb03f4134095de2a5337d5a0456f3a8baf0d30415b74d335a27ba [INFO] running `Command { std: "docker" "start" "-a" "bd3febb8ba1bb03f4134095de2a5337d5a0456f3a8baf0d30415b74d335a27ba", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking gimli v0.31.0 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking unicode-ident v1.0.13 [INFO] [stderr] Checking ascii v0.9.3 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking heck v0.3.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking object v0.36.4 [INFO] [stderr] Checking combine v3.8.1 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking addr2line v0.24.1 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking graphql-parser v0.2.3 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking artemis_codegen v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/constants.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | / /// Non-nullable, see spec: [INFO] [stdout] 19 | | /// https://github.com/facebook/graphql/blob/master/spec/Section%204%20--%20Introspection.md [INFO] [stdout] | |____________________________________________________________________________________________________^ [INFO] [stdout] 20 | type_: FieldType::new(string_type()), [INFO] [stdout] | ------------------------------------ rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/selection.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) fn extract_typename<'s, 'context: 's>( [INFO] [stdout] | -- lifetime `'s` declared here [INFO] [stdout] ... [INFO] [stdout] 53 | ) -> Option<&SelectionField<'_>> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/selection.rs:53:33 [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) fn extract_typename<'s, 'context: 's>( [INFO] [stdout] | -- lifetime `'s` declared here [INFO] [stdout] ... [INFO] [stdout] 53 | ) -> Option<&SelectionField<'_>> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/constants.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | / /// Non-nullable, see spec: [INFO] [stdout] 19 | | /// https://github.com/facebook/graphql/blob/master/spec/Section%204%20--%20Introspection.md [INFO] [stdout] | |____________________________________________________________________________________________________^ [INFO] [stdout] 20 | type_: FieldType::new(string_type()), [INFO] [stdout] | ------------------------------------ rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/selection.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) fn extract_typename<'s, 'context: 's>( [INFO] [stdout] | -- lifetime `'s` declared here [INFO] [stdout] ... [INFO] [stdout] 53 | ) -> Option<&SelectionField<'_>> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/selection.rs:53:33 [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) fn extract_typename<'s, 'context: 's>( [INFO] [stdout] | -- lifetime `'s` declared here [INFO] [stdout] ... [INFO] [stdout] 53 | ) -> Option<&SelectionField<'_>> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'s` [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `args` is never read [INFO] [stdout] --> src/introspection_response.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 156 | pub struct FullTypeFields { [INFO] [stdout] | -------------- field in this struct [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 `is_deprecated` and `deprecation_reason` are never read [INFO] [stdout] --> src/introspection_response.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 182 | pub struct FullTypeEnumValues { [INFO] [stdout] | ------------------ fields in this struct [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: Option, [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:250:5 [INFO] [stdout] | [INFO] [stdout] 248 | pub struct SchemaDirectivesArgs { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 249 | #[serde(flatten)] [INFO] [stdout] 250 | 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:256:9 [INFO] [stdout] | [INFO] [stdout] 255 | pub struct SchemaDirectives { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 256 | pub name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 257 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 258 | pub locations: Option>>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 259 | 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:269:5 [INFO] [stdout] | [INFO] [stdout] 264 | pub struct Schema { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 269 | 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: trait `CodegenVisitor` is never used [INFO] [stdout] --> src/extensions/mod.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait CodegenVisitor { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/operations.rs:143:60 [INFO] [stdout] | [INFO] [stdout] 143 | OperationDefinition::SelectionSet(_) => panic!(SELECTION_SET_AT_ROOT) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 143 | OperationDefinition::SelectionSet(_) => panic!("{}", SELECTION_SET_AT_ROOT) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `CodegenError` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/unions.rs:662:15 [INFO] [stdout] | [INFO] [stdout] 619 | let schema = crate::schema::Schema::new(); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 620 | let context = QueryContext::new_empty(&schema); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 633 | let result = union.response_for_selection(&context, &selection, &prefix); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 637 | let mut schema = crate::schema::Schema::new(); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 654 | let context = QueryContext::new_empty(&schema); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 662 | match result.unwrap_err() { [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: this value of type `std::collections::HashSet<&str>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tests/github.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 10 | let json: crate::introspection_response::IntrospectionResponse = [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | serde_json::from_str(SCHEMA_JSON).unwrap(); [INFO] [stdout] 12 | let graphql_parser_schema = graphql_parser::parse_schema(SCHEMA_GRAPHQL).unwrap(); [INFO] [stdout] | --------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | let json = Schema::from(&json); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | let gql = Schema::from(&graphql_parser_schema); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | HashSet::<&str>::from_iter(json_value.variants.iter().map(|v| v.name)), [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: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tests/mod.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 11 | let query = graphql_parser::parse_query(query_string).expect("Parse keywords query"); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | let schema = graphql_parser::parse_schema(include_str!("keywords_schema.graphql")) [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | .expect("Parse keywords schema"); [INFO] [stdout] 14 | let schema = Schema::from(&schema); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | [INFO] [stdout] 16 | let options = GraphQLClientCodegenOptions::new(CodegenMode::Cli); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | let r: syn::parse::Result = syn::parse2(generated_tokens); [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: 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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `args` is never read [INFO] [stdout] --> src/introspection_response.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 156 | pub struct FullTypeFields { [INFO] [stdout] | -------------- field in this struct [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 `is_deprecated` and `deprecation_reason` are never read [INFO] [stdout] --> src/introspection_response.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 182 | pub struct FullTypeEnumValues { [INFO] [stdout] | ------------------ fields in this struct [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: Option, [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:250:5 [INFO] [stdout] | [INFO] [stdout] 248 | pub struct SchemaDirectivesArgs { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 249 | #[serde(flatten)] [INFO] [stdout] 250 | 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:256:9 [INFO] [stdout] | [INFO] [stdout] 255 | pub struct SchemaDirectives { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 256 | pub name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 257 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 258 | pub locations: Option>>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 259 | 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:269:5 [INFO] [stdout] | [INFO] [stdout] 264 | pub struct Schema { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 269 | 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: trait `CodegenVisitor` is never used [INFO] [stdout] --> src/extensions/mod.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait CodegenVisitor { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/operations.rs:143:60 [INFO] [stdout] | [INFO] [stdout] 143 | OperationDefinition::SelectionSet(_) => panic!(SELECTION_SET_AT_ROOT) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 143 | OperationDefinition::SelectionSet(_) => panic!("{}", SELECTION_SET_AT_ROOT) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `artemis_codegen` (lib test) due to 4 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "bd3febb8ba1bb03f4134095de2a5337d5a0456f3a8baf0d30415b74d335a27ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd3febb8ba1bb03f4134095de2a5337d5a0456f3a8baf0d30415b74d335a27ba", kill_on_drop: false }` [INFO] [stdout] bd3febb8ba1bb03f4134095de2a5337d5a0456f3a8baf0d30415b74d335a27ba