[INFO] cloning repository https://github.com/hanpama/girin [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hanpama/girin" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhanpama%2Fgirin", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhanpama%2Fgirin'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ba3a63f54bbb643963abe13857cf9ef3144ace86 [INFO] checking hanpama/girin against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhanpama%2Fgirin" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hanpama/girin on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hanpama/girin [INFO] finished tweaking git repo https://github.com/hanpama/girin [INFO] tweaked toml for git repo https://github.com/hanpama/girin written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/hanpama/girin 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 12fae238a9c1429115b3369e8c8f5775ef5937b9525bc282f9c6f0f03cd61ede [INFO] running `Command { std: "docker" "start" "-a" "12fae238a9c1429115b3369e8c8f5775ef5937b9525bc282f9c6f0f03cd61ede", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "12fae238a9c1429115b3369e8c8f5775ef5937b9525bc282f9c6f0f03cd61ede", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12fae238a9c1429115b3369e8c8f5775ef5937b9525bc282f9c6f0f03cd61ede", kill_on_drop: false }` [INFO] [stdout] 12fae238a9c1429115b3369e8c8f5775ef5937b9525bc282f9c6f0f03cd61ede [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cfe35b664a23cdcdf249d4b885946a66649de4db87850aa8cce7fc4240e6e7d6 [INFO] running `Command { std: "docker" "start" "-a" "cfe35b664a23cdcdf249d4b885946a66649de4db87850aa8cce7fc4240e6e7d6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking either v1.8.1 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking ascii v0.9.3 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking combine v3.8.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Checking clap v4.5.16 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Checking graphql-parser v0.4.0 [INFO] [stderr] Checking girin v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `InterfaceExtension` and `ObjectExtension` [INFO] [stdout] --> src/python/naming.rs:2:59 [INFO] [stdout] | [INFO] [stdout] 2 | EnumDefinition, InputDefinition, InterfaceDefinition, InterfaceExtension, ObjectDefinition, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | ObjectExtension, ScalarDefinition, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `field::ResolveOption` [INFO] [stdout] --> src/schema/object.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{field::ResolveOption, Field, Module, Position, SourceConfig}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `InterfaceExtension` and `ObjectExtension` [INFO] [stdout] --> src/python/naming.rs:2:59 [INFO] [stdout] | [INFO] [stdout] 2 | EnumDefinition, InputDefinition, InterfaceDefinition, InterfaceExtension, ObjectDefinition, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | ObjectExtension, ScalarDefinition, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `field::ResolveOption` [INFO] [stdout] --> src/schema/object.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{field::ResolveOption, Field, Module, Position, SourceConfig}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/python/source.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 208 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 209 | return src.import(&expr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/python/source.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 208 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 209 | return src.import(&expr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/graphql/mod.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/graphql/mod.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 30 | Definition::ScalarDefinition(def) => { [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 35 | Definition::ObjectDefinition(def) => { [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 40 | Definition::InterfaceDefinition(def) => { [INFO] [stdout] | ------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 45 | Definition::UnionDefinition(def) => { [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 60 | _ => {} [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/graphql/mod.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/graphql/mod.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 30 | Definition::ScalarDefinition(def) => { [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 35 | Definition::ObjectDefinition(def) => { [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 40 | Definition::InterfaceDefinition(def) => { [INFO] [stdout] | ------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 45 | Definition::UnionDefinition(def) => { [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 60 | _ => {} [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/graphql/mod.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | s: &'a Schema, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/graphql/mod.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | s: &'a Schema, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/python/builder.rs:152:45 [INFO] [stdout] | [INFO] [stdout] 152 | fn render_scalar_type(src: &mut SourceCode, s: &Schema, def: &ScalarDefinition) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/python/builder.rs:152:45 [INFO] [stdout] | [INFO] [stdout] 152 | fn render_scalar_type(src: &mut SourceCode, s: &Schema, def: &ScalarDefinition) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/python/builder.rs:193:44 [INFO] [stdout] | [INFO] [stdout] 193 | fn render_enum_value(src: &mut SourceCode, s: &Schema, def: &EnumValue) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/python/builder.rs:193:44 [INFO] [stdout] | [INFO] [stdout] 193 | fn render_enum_value(src: &mut SourceCode, s: &Schema, def: &EnumValue) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/python/impl_.rs:160:47 [INFO] [stdout] | [INFO] [stdout] 160 | fn render_scalar_config(src: &mut SourceCode, s: &Schema, def: &ScalarDefinition) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/python/impl_.rs:160:47 [INFO] [stdout] | [INFO] [stdout] 160 | fn render_scalar_config(src: &mut SourceCode, s: &Schema, def: &ScalarDefinition) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/python/source.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/python/source.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 16 | Definition::ObjectDefinition(inner) => { [INFO] [stdout] | ----------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 21 | Definition::InterfaceDefinition(inner) => { [INFO] [stdout] | -------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 26 | Definition::InputDefinition(inner) => { [INFO] [stdout] | ---------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 31 | Definition::EnumDefinition(inner) => { [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 46 | _ => {} [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/python/source.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/python/source.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 16 | Definition::ObjectDefinition(inner) => { [INFO] [stdout] | ----------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 21 | Definition::InterfaceDefinition(inner) => { [INFO] [stdout] | -------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 26 | Definition::InputDefinition(inner) => { [INFO] [stdout] | ---------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 31 | Definition::EnumDefinition(inner) => { [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 46 | _ => {} [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/python/source.rs:171:47 [INFO] [stdout] | [INFO] [stdout] 171 | fn render_scalar_source(src: &mut SourceCode, s: &Schema, def: &ScalarDefinition) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/python/source.rs:171:47 [INFO] [stdout] | [INFO] [stdout] 171 | fn render_scalar_source(src: &mut SourceCode, s: &Schema, def: &ScalarDefinition) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> src/python/source.rs:206:22 [INFO] [stdout] | [INFO] [stdout] 206 | fn format_type_alias(src: &mut SourceCode, expr: String) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> src/python/source.rs:206:22 [INFO] [stdout] | [INFO] [stdout] 206 | fn format_type_alias(src: &mut SourceCode, expr: String) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/python/spec.rs:120:45 [INFO] [stdout] | [INFO] [stdout] 120 | fn render_scalar_spec(src: &mut SourceCode, s: &Schema, def: &ScalarDefinition) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/python/spec.rs:120:45 [INFO] [stdout] | [INFO] [stdout] 120 | fn render_scalar_spec(src: &mut SourceCode, s: &Schema, def: &ScalarDefinition) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `def` [INFO] [stdout] --> src/schema/parse.rs:65:53 [INFO] [stdout] | [INFO] [stdout] 65 | schema::Definition::DirectiveDefinition(def) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `def` [INFO] [stdout] --> src/schema/parse.rs:65:53 [INFO] [stdout] | [INFO] [stdout] 65 | schema::Definition::DirectiveDefinition(def) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `def` [INFO] [stdout] --> src/schema/parse.rs:126:39 [INFO] [stdout] | [INFO] [stdout] 126 | schema::TypeExtension::Scalar(def) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `def` [INFO] [stdout] --> src/schema/parse.rs:126:39 [INFO] [stdout] | [INFO] [stdout] 126 | schema::TypeExtension::Scalar(def) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/schema/parse.rs:832:69 [INFO] [stdout] | [INFO] [stdout] 832 | GraphQLValidationViolation::ProvidedRequiredArguments { pos, name } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `pos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/schema/parse.rs:835:62 [INFO] [stdout] | [INFO] [stdout] 835 | GraphQLValidationViolation::KnownArgumentNames { pos, name } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `pos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/schema/parse.rs:838:63 [INFO] [stdout] | [INFO] [stdout] 838 | GraphQLValidationViolation::ValuesOfCorrectType { pos, name, value } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `pos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/schema/parse.rs:841:64 [INFO] [stdout] | [INFO] [stdout] 841 | GraphQLValidationViolation::LoneSchemaDefinition { pos } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `pos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/schema/parse.rs:844:66 [INFO] [stdout] | [INFO] [stdout] 844 | GraphQLValidationViolation::PossibleTypeExtensions { pos, def, ext } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `pos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `def` [INFO] [stdout] --> src/schema/parse.rs:844:71 [INFO] [stdout] | [INFO] [stdout] 844 | GraphQLValidationViolation::PossibleTypeExtensions { pos, def, ext } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `def: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ext` [INFO] [stdout] --> src/schema/parse.rs:844:76 [INFO] [stdout] | [INFO] [stdout] 844 | GraphQLValidationViolation::PossibleTypeExtensions { pos, def, ext } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `ext: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/schema/parse.rs:847:73 [INFO] [stdout] | [INFO] [stdout] 847 | GraphQLValidationViolation::UniqueArgumentDefinitionNames { pos, name } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `pos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/schema/parse.rs:850:64 [INFO] [stdout] | [INFO] [stdout] 850 | GraphQLValidationViolation::UniqueDirectiveNames { pos, name } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `pos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/schema/parse.rs:853:64 [INFO] [stdout] | [INFO] [stdout] 853 | GraphQLValidationViolation::UniqueEnumValueNames { pos, name } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `pos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/schema/parse.rs:856:70 [INFO] [stdout] | [INFO] [stdout] 856 | GraphQLValidationViolation::UniqueFieldDefinitionNames { pos, name } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `pos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/schema/parse.rs:859:59 [INFO] [stdout] | [INFO] [stdout] 859 | GraphQLValidationViolation::UniqueTypeNames { pos, name } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `pos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/schema/parse.rs:832:69 [INFO] [stdout] | [INFO] [stdout] 832 | GraphQLValidationViolation::ProvidedRequiredArguments { pos, name } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `pos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/schema/parse.rs:835:62 [INFO] [stdout] | [INFO] [stdout] 835 | GraphQLValidationViolation::KnownArgumentNames { pos, name } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `pos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/schema/parse.rs:838:63 [INFO] [stdout] | [INFO] [stdout] 838 | GraphQLValidationViolation::ValuesOfCorrectType { pos, name, value } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `pos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/schema/parse.rs:841:64 [INFO] [stdout] | [INFO] [stdout] 841 | GraphQLValidationViolation::LoneSchemaDefinition { pos } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `pos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/schema/parse.rs:844:66 [INFO] [stdout] | [INFO] [stdout] 844 | GraphQLValidationViolation::PossibleTypeExtensions { pos, def, ext } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `pos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `def` [INFO] [stdout] --> src/schema/parse.rs:844:71 [INFO] [stdout] | [INFO] [stdout] 844 | GraphQLValidationViolation::PossibleTypeExtensions { pos, def, ext } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `def: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ext` [INFO] [stdout] --> src/schema/parse.rs:844:76 [INFO] [stdout] | [INFO] [stdout] 844 | GraphQLValidationViolation::PossibleTypeExtensions { pos, def, ext } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `ext: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/schema/parse.rs:847:73 [INFO] [stdout] | [INFO] [stdout] 847 | GraphQLValidationViolation::UniqueArgumentDefinitionNames { pos, name } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `pos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/schema/parse.rs:850:64 [INFO] [stdout] | [INFO] [stdout] 850 | GraphQLValidationViolation::UniqueDirectiveNames { pos, name } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `pos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/schema/parse.rs:853:64 [INFO] [stdout] | [INFO] [stdout] 853 | GraphQLValidationViolation::UniqueEnumValueNames { pos, name } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `pos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/schema/parse.rs:856:70 [INFO] [stdout] | [INFO] [stdout] 856 | GraphQLValidationViolation::UniqueFieldDefinitionNames { pos, name } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `pos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/schema/parse.rs:859:59 [INFO] [stdout] | [INFO] [stdout] 859 | GraphQLValidationViolation::UniqueTypeNames { pos, name } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `pos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_dir` [INFO] [stdout] --> src/swift/mod.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn generate_swift_code(target_dir: PathBuf) -> Result<(), SwiftGenerationError> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cli` [INFO] [stdout] --> src/main.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let cli = Command::new("girin") [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cli` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_dir` [INFO] [stdout] --> src/swift/mod.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn generate_swift_code(target_dir: PathBuf) -> Result<(), SwiftGenerationError> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cli` [INFO] [stdout] --> src/main.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let cli = Command::new("girin") [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cli` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/python/error.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | Io(std::io::Error), [INFO] [stdout] | -- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 3 | Io(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Import` is never constructed [INFO] [stdout] --> src/python/sourcecode.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct Import { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_expr` and `to_string` are never used [INFO] [stdout] --> src/python/sourcecode.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl Import { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 18 | fn from_expr(expr: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_field` and `iter_interfaces` are never used [INFO] [stdout] --> src/schema/definition.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Type { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn get_field(&self, name: &str) -> Option<&Field> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn iter_interfaces(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_scalar`, `as_object`, `as_interface`, `get_field`, and `iter_interfaces` are never used [INFO] [stdout] --> src/schema/definition.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 76 | impl Definition { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn as_scalar(&self) -> &ScalarDefinition { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn as_object(&self) -> &ObjectDefinition { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn as_interface(&self) -> &InterfaceDefinition { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn get_field(&self, name: &str) -> Option<&Field> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn iter_interfaces<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_object_ext`, `as_interface_ext`, `get_field`, and `iter_interfaces` are never used [INFO] [stdout] --> src/schema/definition.rs:195:12 [INFO] [stdout] | [INFO] [stdout] 174 | impl Extension { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn as_object_ext(&self) -> &ObjectExtension { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | pub fn as_interface_ext(&self) -> &InterfaceExtension { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | pub fn get_field(&self, name: &str) -> Option<&Field> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | pub fn iter_interfaces<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/python/error.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | Io(std::io::Error), [INFO] [stdout] | -- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 3 | Io(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/enum_.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct EnumDefinition { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnumDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Import` is never constructed [INFO] [stdout] --> src/python/sourcecode.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct Import { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_expr` and `to_string` are never used [INFO] [stdout] --> src/python/sourcecode.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl Import { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 18 | fn from_expr(expr: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/enum_.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct EnumValue { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnumValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/enum_.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct EnumExtension { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnumExtension` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_field` and `iter_interfaces` are never used [INFO] [stdout] --> src/schema/definition.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Type { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn get_field(&self, name: &str) -> Option<&Field> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn iter_interfaces(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/field.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Field { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Field` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ResolveOption` is never constructed [INFO] [stdout] --> src/schema/field.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct ResolveOption<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_scalar`, `as_object`, `as_interface`, `get_field`, and `iter_interfaces` are never used [INFO] [stdout] --> src/schema/definition.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 76 | impl Definition { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn as_scalar(&self) -> &ScalarDefinition { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn as_object(&self) -> &ObjectDefinition { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn as_interface(&self) -> &InterfaceDefinition { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn get_field(&self, name: &str) -> Option<&Field> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn iter_interfaces<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/input.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct InputDefinition { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InputDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/input.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct InputExtension { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InputExtension` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_object_ext`, `as_interface_ext`, `get_field`, and `iter_interfaces` are never used [INFO] [stdout] --> src/schema/definition.rs:195:12 [INFO] [stdout] | [INFO] [stdout] 174 | impl Extension { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn as_object_ext(&self) -> &ObjectExtension { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | pub fn as_interface_ext(&self) -> &InterfaceExtension { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | pub fn get_field(&self, name: &str) -> Option<&Field> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | pub fn iter_interfaces<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/input_value.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct InputValue { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InputValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/enum_.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct EnumDefinition { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnumDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/interface.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct InterfaceDefinition { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InterfaceDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/enum_.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct EnumValue { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnumValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_field` and `collect_source_configs` are never used [INFO] [stdout] --> src/schema/interface.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl InterfaceDefinition { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn get_field(&self, name: &str) -> Option<&Field> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn collect_source_configs(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/enum_.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct EnumExtension { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnumExtension` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/interface.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct InterfaceExtension { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 40 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InterfaceExtension` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/field.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Field { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Field` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ResolveOption` is never constructed [INFO] [stdout] --> src/schema/field.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct ResolveOption<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_field` and `collect_source_configs` are never used [INFO] [stdout] --> src/schema/interface.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl InterfaceExtension { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn get_field(&self, name: &str) -> Option<&Field> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn collect_source_configs(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/input.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct InputDefinition { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InputDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/input.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct InputExtension { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InputExtension` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/input_value.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct InputValue { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InputValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/interface.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct InterfaceDefinition { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InterfaceDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_field` and `collect_source_configs` are never used [INFO] [stdout] --> src/schema/interface.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl InterfaceDefinition { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn get_field(&self, name: &str) -> Option<&Field> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn collect_source_configs(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/interface.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct InterfaceExtension { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 40 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InterfaceExtension` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/object.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ObjectDefinition { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ObjectDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_field` and `collect_source_configs` are never used [INFO] [stdout] --> src/schema/interface.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl InterfaceExtension { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn get_field(&self, name: &str) -> Option<&Field> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn collect_source_configs(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/object.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ObjectDefinition { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ObjectDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_field` and `collect_source_configs` are never used [INFO] [stdout] --> src/schema/object.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl ObjectDefinition { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn get_field(&self, name: &str) -> Option<&Field> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn collect_source_configs(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_field` and `collect_source_configs` are never used [INFO] [stdout] --> src/schema/object.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl ObjectDefinition { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn get_field(&self, name: &str) -> Option<&Field> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn collect_source_configs(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/object.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct ObjectExtension { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 40 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ObjectExtension` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/object.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct ObjectExtension { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 40 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ObjectExtension` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_field` and `collect_source_configs` are never used [INFO] [stdout] --> src/schema/object.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl ObjectExtension { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn get_field(&self, name: &str) -> Option<&Field> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn collect_source_configs(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_module` is never used [INFO] [stdout] --> src/schema/parse.rs:733:4 [INFO] [stdout] | [INFO] [stdout] 733 | fn format_module(root: &Path, file: &Path) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_field` and `collect_source_configs` are never used [INFO] [stdout] --> src/schema/object.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl ObjectExtension { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn get_field(&self, name: &str) -> Option<&Field> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn collect_source_configs(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_module` is never used [INFO] [stdout] --> src/schema/parse.rs:733:4 [INFO] [stdout] | [INFO] [stdout] 733 | fn format_module(root: &Path, file: &Path) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/schema/parse.rs:799:5 [INFO] [stdout] | [INFO] [stdout] 785 | pub enum GraphQLValidationViolation { [INFO] [stdout] | -------------------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 799 | LoneSchemaDefinition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 802 | PossibleTypeExtensions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 807 | UniqueArgumentDefinitionNames { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 811 | UniqueDirectiveNames { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 815 | UniqueEnumValueNames { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 819 | UniqueFieldDefinitionNames { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 823 | UniqueTypeNames { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GraphQLValidationViolation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/schema/parse.rs:799:5 [INFO] [stdout] | [INFO] [stdout] 785 | pub enum GraphQLValidationViolation { [INFO] [stdout] | -------------------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 799 | LoneSchemaDefinition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 802 | PossibleTypeExtensions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 807 | UniqueArgumentDefinitionNames { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 811 | UniqueDirectiveNames { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 815 | UniqueEnumValueNames { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 819 | UniqueFieldDefinitionNames { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 823 | UniqueTypeNames { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GraphQLValidationViolation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/scalar.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ScalarDefinition { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScalarDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/scalar.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ScalarDefinition { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScalarDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `line` and `column` are never read [INFO] [stdout] --> src/schema/types.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Position { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub column: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Position` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `line` and `column` are never read [INFO] [stdout] --> src/schema/types.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Position { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub column: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Position` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/union.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct UnionDefinition { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnionDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/union.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct UnionDefinition { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnionDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/union.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct UnionExtension { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnionExtension` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/union.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct UnionExtension { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnionExtension` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_swift_code` is never used [INFO] [stdout] --> src/swift/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn generate_swift_code(target_dir: PathBuf) -> Result<(), SwiftGenerationError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_swift_code` is never used [INFO] [stdout] --> src/swift/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn generate_swift_code(target_dir: PathBuf) -> Result<(), SwiftGenerationError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SourceCode` is never constructed [INFO] [stdout] --> src/swift/sourcecode.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct SourceCode { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SourceCode` is never constructed [INFO] [stdout] --> src/swift/sourcecode.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct SourceCode { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 58 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 58 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.48s [INFO] running `Command { std: "docker" "inspect" "cfe35b664a23cdcdf249d4b885946a66649de4db87850aa8cce7fc4240e6e7d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfe35b664a23cdcdf249d4b885946a66649de4db87850aa8cce7fc4240e6e7d6", kill_on_drop: false }` [INFO] [stdout] cfe35b664a23cdcdf249d4b885946a66649de4db87850aa8cce7fc4240e6e7d6 [INFO] checking hanpama/girin against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhanpama%2Fgirin" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hanpama/girin on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hanpama/girin [INFO] finished tweaking git repo https://github.com/hanpama/girin [INFO] tweaked toml for git repo https://github.com/hanpama/girin written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/hanpama/girin 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d463d4c7929a2122b6006c52f373d1a9010862c7ebe71014689bee817477ccc9 [INFO] running `Command { std: "docker" "start" "-a" "d463d4c7929a2122b6006c52f373d1a9010862c7ebe71014689bee817477ccc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d463d4c7929a2122b6006c52f373d1a9010862c7ebe71014689bee817477ccc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d463d4c7929a2122b6006c52f373d1a9010862c7ebe71014689bee817477ccc9", kill_on_drop: false }` [INFO] [stdout] d463d4c7929a2122b6006c52f373d1a9010862c7ebe71014689bee817477ccc9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5592432ca36d82ce2dbd84a45d20dc2178d4379c40920a90b73d75a0eb3d461b [INFO] running `Command { std: "docker" "start" "-a" "5592432ca36d82ce2dbd84a45d20dc2178d4379c40920a90b73d75a0eb3d461b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking either v1.8.1 [INFO] [stderr] Checking ascii v0.9.3 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking combine v3.8.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Checking clap v4.5.16 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Checking graphql-parser v0.4.0 [INFO] [stderr] Checking girin v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `InterfaceExtension` and `ObjectExtension` [INFO] [stdout] --> src/python/naming.rs:2:59 [INFO] [stdout] | [INFO] [stdout] 2 | EnumDefinition, InputDefinition, InterfaceDefinition, InterfaceExtension, ObjectDefinition, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | ObjectExtension, ScalarDefinition, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `field::ResolveOption` [INFO] [stdout] --> src/schema/object.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{field::ResolveOption, Field, Module, Position, SourceConfig}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `InterfaceExtension` and `ObjectExtension` [INFO] [stdout] --> src/python/naming.rs:2:59 [INFO] [stdout] | [INFO] [stdout] 2 | EnumDefinition, InputDefinition, InterfaceDefinition, InterfaceExtension, ObjectDefinition, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | ObjectExtension, ScalarDefinition, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `field::ResolveOption` [INFO] [stdout] --> src/schema/object.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{field::ResolveOption, Field, Module, Position, SourceConfig}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/python/source.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 208 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 209 | return src.import(&expr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/python/source.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 208 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 209 | return src.import(&expr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/graphql/mod.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/graphql/mod.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 30 | Definition::ScalarDefinition(def) => { [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 35 | Definition::ObjectDefinition(def) => { [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 40 | Definition::InterfaceDefinition(def) => { [INFO] [stdout] | ------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 45 | Definition::UnionDefinition(def) => { [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 60 | _ => {} [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/graphql/mod.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | s: &'a Schema, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/graphql/mod.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/graphql/mod.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 30 | Definition::ScalarDefinition(def) => { [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 35 | Definition::ObjectDefinition(def) => { [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 40 | Definition::InterfaceDefinition(def) => { [INFO] [stdout] | ------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 45 | Definition::UnionDefinition(def) => { [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 60 | _ => {} [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/graphql/mod.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | s: &'a Schema, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/python/builder.rs:152:45 [INFO] [stdout] | [INFO] [stdout] 152 | fn render_scalar_type(src: &mut SourceCode, s: &Schema, def: &ScalarDefinition) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/python/builder.rs:193:44 [INFO] [stdout] | [INFO] [stdout] 193 | fn render_enum_value(src: &mut SourceCode, s: &Schema, def: &EnumValue) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/python/builder.rs:152:45 [INFO] [stdout] | [INFO] [stdout] 152 | fn render_scalar_type(src: &mut SourceCode, s: &Schema, def: &ScalarDefinition) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/python/builder.rs:193:44 [INFO] [stdout] | [INFO] [stdout] 193 | fn render_enum_value(src: &mut SourceCode, s: &Schema, def: &EnumValue) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/python/impl_.rs:160:47 [INFO] [stdout] | [INFO] [stdout] 160 | fn render_scalar_config(src: &mut SourceCode, s: &Schema, def: &ScalarDefinition) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/python/impl_.rs:160:47 [INFO] [stdout] | [INFO] [stdout] 160 | fn render_scalar_config(src: &mut SourceCode, s: &Schema, def: &ScalarDefinition) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/python/source.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/python/source.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 16 | Definition::ObjectDefinition(inner) => { [INFO] [stdout] | ----------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 21 | Definition::InterfaceDefinition(inner) => { [INFO] [stdout] | -------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 26 | Definition::InputDefinition(inner) => { [INFO] [stdout] | ---------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 31 | Definition::EnumDefinition(inner) => { [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 46 | _ => {} [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/python/source.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/python/source.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 16 | Definition::ObjectDefinition(inner) => { [INFO] [stdout] | ----------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 21 | Definition::InterfaceDefinition(inner) => { [INFO] [stdout] | -------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 26 | Definition::InputDefinition(inner) => { [INFO] [stdout] | ---------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 31 | Definition::EnumDefinition(inner) => { [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 46 | _ => {} [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/python/source.rs:171:47 [INFO] [stdout] | [INFO] [stdout] 171 | fn render_scalar_source(src: &mut SourceCode, s: &Schema, def: &ScalarDefinition) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> src/python/source.rs:206:22 [INFO] [stdout] | [INFO] [stdout] 206 | fn format_type_alias(src: &mut SourceCode, expr: String) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/python/source.rs:171:47 [INFO] [stdout] | [INFO] [stdout] 171 | fn render_scalar_source(src: &mut SourceCode, s: &Schema, def: &ScalarDefinition) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> src/python/source.rs:206:22 [INFO] [stdout] | [INFO] [stdout] 206 | fn format_type_alias(src: &mut SourceCode, expr: String) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/python/spec.rs:120:45 [INFO] [stdout] | [INFO] [stdout] 120 | fn render_scalar_spec(src: &mut SourceCode, s: &Schema, def: &ScalarDefinition) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/python/spec.rs:120:45 [INFO] [stdout] | [INFO] [stdout] 120 | fn render_scalar_spec(src: &mut SourceCode, s: &Schema, def: &ScalarDefinition) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `def` [INFO] [stdout] --> src/schema/parse.rs:65:53 [INFO] [stdout] | [INFO] [stdout] 65 | schema::Definition::DirectiveDefinition(def) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `def` [INFO] [stdout] --> src/schema/parse.rs:65:53 [INFO] [stdout] | [INFO] [stdout] 65 | schema::Definition::DirectiveDefinition(def) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `def` [INFO] [stdout] --> src/schema/parse.rs:126:39 [INFO] [stdout] | [INFO] [stdout] 126 | schema::TypeExtension::Scalar(def) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `def` [INFO] [stdout] --> src/schema/parse.rs:126:39 [INFO] [stdout] | [INFO] [stdout] 126 | schema::TypeExtension::Scalar(def) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/schema/parse.rs:832:69 [INFO] [stdout] | [INFO] [stdout] 832 | GraphQLValidationViolation::ProvidedRequiredArguments { pos, name } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `pos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/schema/parse.rs:835:62 [INFO] [stdout] | [INFO] [stdout] 835 | GraphQLValidationViolation::KnownArgumentNames { pos, name } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `pos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/schema/parse.rs:838:63 [INFO] [stdout] | [INFO] [stdout] 838 | GraphQLValidationViolation::ValuesOfCorrectType { pos, name, value } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `pos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/schema/parse.rs:841:64 [INFO] [stdout] | [INFO] [stdout] 841 | GraphQLValidationViolation::LoneSchemaDefinition { pos } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `pos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/schema/parse.rs:844:66 [INFO] [stdout] | [INFO] [stdout] 844 | GraphQLValidationViolation::PossibleTypeExtensions { pos, def, ext } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `pos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `def` [INFO] [stdout] --> src/schema/parse.rs:844:71 [INFO] [stdout] | [INFO] [stdout] 844 | GraphQLValidationViolation::PossibleTypeExtensions { pos, def, ext } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `def: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ext` [INFO] [stdout] --> src/schema/parse.rs:844:76 [INFO] [stdout] | [INFO] [stdout] 844 | GraphQLValidationViolation::PossibleTypeExtensions { pos, def, ext } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `ext: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/schema/parse.rs:847:73 [INFO] [stdout] | [INFO] [stdout] 847 | GraphQLValidationViolation::UniqueArgumentDefinitionNames { pos, name } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `pos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/schema/parse.rs:850:64 [INFO] [stdout] | [INFO] [stdout] 850 | GraphQLValidationViolation::UniqueDirectiveNames { pos, name } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `pos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/schema/parse.rs:853:64 [INFO] [stdout] | [INFO] [stdout] 853 | GraphQLValidationViolation::UniqueEnumValueNames { pos, name } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `pos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/schema/parse.rs:856:70 [INFO] [stdout] | [INFO] [stdout] 856 | GraphQLValidationViolation::UniqueFieldDefinitionNames { pos, name } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `pos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/schema/parse.rs:859:59 [INFO] [stdout] | [INFO] [stdout] 859 | GraphQLValidationViolation::UniqueTypeNames { pos, name } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `pos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/schema/parse.rs:832:69 [INFO] [stdout] | [INFO] [stdout] 832 | GraphQLValidationViolation::ProvidedRequiredArguments { pos, name } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `pos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/schema/parse.rs:835:62 [INFO] [stdout] | [INFO] [stdout] 835 | GraphQLValidationViolation::KnownArgumentNames { pos, name } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `pos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/schema/parse.rs:838:63 [INFO] [stdout] | [INFO] [stdout] 838 | GraphQLValidationViolation::ValuesOfCorrectType { pos, name, value } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `pos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/schema/parse.rs:841:64 [INFO] [stdout] | [INFO] [stdout] 841 | GraphQLValidationViolation::LoneSchemaDefinition { pos } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `pos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/schema/parse.rs:844:66 [INFO] [stdout] | [INFO] [stdout] 844 | GraphQLValidationViolation::PossibleTypeExtensions { pos, def, ext } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `pos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `def` [INFO] [stdout] --> src/schema/parse.rs:844:71 [INFO] [stdout] | [INFO] [stdout] 844 | GraphQLValidationViolation::PossibleTypeExtensions { pos, def, ext } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `def: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ext` [INFO] [stdout] --> src/schema/parse.rs:844:76 [INFO] [stdout] | [INFO] [stdout] 844 | GraphQLValidationViolation::PossibleTypeExtensions { pos, def, ext } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `ext: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/schema/parse.rs:847:73 [INFO] [stdout] | [INFO] [stdout] 847 | GraphQLValidationViolation::UniqueArgumentDefinitionNames { pos, name } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `pos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/schema/parse.rs:850:64 [INFO] [stdout] | [INFO] [stdout] 850 | GraphQLValidationViolation::UniqueDirectiveNames { pos, name } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `pos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/schema/parse.rs:853:64 [INFO] [stdout] | [INFO] [stdout] 853 | GraphQLValidationViolation::UniqueEnumValueNames { pos, name } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `pos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/schema/parse.rs:856:70 [INFO] [stdout] | [INFO] [stdout] 856 | GraphQLValidationViolation::UniqueFieldDefinitionNames { pos, name } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `pos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/schema/parse.rs:859:59 [INFO] [stdout] | [INFO] [stdout] 859 | GraphQLValidationViolation::UniqueTypeNames { pos, name } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `pos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_dir` [INFO] [stdout] --> src/swift/mod.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn generate_swift_code(target_dir: PathBuf) -> Result<(), SwiftGenerationError> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cli` [INFO] [stdout] --> src/main.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let cli = Command::new("girin") [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cli` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/python/error.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | Io(std::io::Error), [INFO] [stdout] | -- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 3 | Io(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Import` is never constructed [INFO] [stdout] --> src/python/sourcecode.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct Import { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_expr` and `to_string` are never used [INFO] [stdout] --> src/python/sourcecode.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl Import { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 18 | fn from_expr(expr: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_field` and `iter_interfaces` are never used [INFO] [stdout] --> src/schema/definition.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Type { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn get_field(&self, name: &str) -> Option<&Field> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn iter_interfaces(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_scalar`, `as_object`, `as_interface`, `get_field`, and `iter_interfaces` are never used [INFO] [stdout] --> src/schema/definition.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 76 | impl Definition { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn as_scalar(&self) -> &ScalarDefinition { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn as_object(&self) -> &ObjectDefinition { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn as_interface(&self) -> &InterfaceDefinition { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn get_field(&self, name: &str) -> Option<&Field> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn iter_interfaces<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_object_ext`, `as_interface_ext`, `get_field`, and `iter_interfaces` are never used [INFO] [stdout] --> src/schema/definition.rs:195:12 [INFO] [stdout] | [INFO] [stdout] 174 | impl Extension { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn as_object_ext(&self) -> &ObjectExtension { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | pub fn as_interface_ext(&self) -> &InterfaceExtension { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | pub fn get_field(&self, name: &str) -> Option<&Field> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | pub fn iter_interfaces<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/enum_.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct EnumDefinition { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnumDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_dir` [INFO] [stdout] --> src/swift/mod.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn generate_swift_code(target_dir: PathBuf) -> Result<(), SwiftGenerationError> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/enum_.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct EnumValue { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnumValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/enum_.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct EnumExtension { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnumExtension` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/field.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Field { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Field` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ResolveOption` is never constructed [INFO] [stdout] --> src/schema/field.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct ResolveOption<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/input.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct InputDefinition { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InputDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/input.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct InputExtension { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InputExtension` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/input_value.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct InputValue { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InputValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cli` [INFO] [stdout] --> src/main.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let cli = Command::new("girin") [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cli` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/interface.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct InterfaceDefinition { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InterfaceDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_field` and `collect_source_configs` are never used [INFO] [stdout] --> src/schema/interface.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl InterfaceDefinition { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn get_field(&self, name: &str) -> Option<&Field> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn collect_source_configs(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/interface.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct InterfaceExtension { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 40 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InterfaceExtension` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_field` and `collect_source_configs` are never used [INFO] [stdout] --> src/schema/interface.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl InterfaceExtension { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn get_field(&self, name: &str) -> Option<&Field> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn collect_source_configs(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/object.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ObjectDefinition { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ObjectDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_field` and `collect_source_configs` are never used [INFO] [stdout] --> src/schema/object.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl ObjectDefinition { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn get_field(&self, name: &str) -> Option<&Field> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn collect_source_configs(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/object.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct ObjectExtension { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 40 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ObjectExtension` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_field` and `collect_source_configs` are never used [INFO] [stdout] --> src/schema/object.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl ObjectExtension { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn get_field(&self, name: &str) -> Option<&Field> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn collect_source_configs(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_module` is never used [INFO] [stdout] --> src/schema/parse.rs:733:4 [INFO] [stdout] | [INFO] [stdout] 733 | fn format_module(root: &Path, file: &Path) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/schema/parse.rs:799:5 [INFO] [stdout] | [INFO] [stdout] 785 | pub enum GraphQLValidationViolation { [INFO] [stdout] | -------------------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 799 | LoneSchemaDefinition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 802 | PossibleTypeExtensions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 807 | UniqueArgumentDefinitionNames { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 811 | UniqueDirectiveNames { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 815 | UniqueEnumValueNames { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 819 | UniqueFieldDefinitionNames { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 823 | UniqueTypeNames { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GraphQLValidationViolation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/scalar.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ScalarDefinition { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScalarDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `line` and `column` are never read [INFO] [stdout] --> src/schema/types.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Position { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub column: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Position` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/union.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct UnionDefinition { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnionDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/union.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct UnionExtension { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnionExtension` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_swift_code` is never used [INFO] [stdout] --> src/swift/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn generate_swift_code(target_dir: PathBuf) -> Result<(), SwiftGenerationError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SourceCode` is never constructed [INFO] [stdout] --> src/swift/sourcecode.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct SourceCode { [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/schema/parse.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 82 | def: schema::TypeDefinition, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 83 | ) -> Result { [INFO] [stdout] 84 | Ok(match def { [INFO] [stdout] | ________^ [INFO] [stdout] 85 | | schema::TypeDefinition::Scalar(def) => { [INFO] [stdout] 86 | | Definition::ScalarDefinition(build_scalar_type_definition(module, &def)?) [INFO] [stdout] 87 | | } [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] 103 | | }) [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/schema/parse.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 108 | def: schema::TypeExtension, [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 109 | ) -> Result { [INFO] [stdout] 110 | Ok(match def { [INFO] [stdout] | ________^ [INFO] [stdout] 111 | | schema::TypeExtension::Object(def) => { [INFO] [stdout] 112 | | Extension::ObjectExtension(build_object_type_extension(module, &def)?) [INFO] [stdout] 113 | | } [INFO] [stdout] ... | [INFO] [stdout] 128 | | } [INFO] [stdout] 129 | | }) [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 `0` is never read [INFO] [stdout] --> src/python/error.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | Io(std::io::Error), [INFO] [stdout] | -- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 3 | Io(()), [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/schema/schema.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 74 | let extension_interfaces = self.get_extentions(name).flat_map(|ext| match ext { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 80 | / definition_interfaces [INFO] [stdout] 81 | | .into_iter() [INFO] [stdout] 82 | | .chain(extension_interfaces) [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: struct `Import` is never constructed [INFO] [stdout] --> src/python/sourcecode.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct Import { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_expr` and `to_string` are never used [INFO] [stdout] --> src/python/sourcecode.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl Import { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 18 | fn from_expr(expr: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn to_string(&self) -> String { [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/schema/schema.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 93 | let extension_fields = self.get_extentions(name).flat_map(|ext| match ext { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 99 | / definition_fields [INFO] [stdout] 100 | | .into_iter() [INFO] [stdout] 101 | | .chain(extension_fields) [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: methods `get_field` and `iter_interfaces` are never used [INFO] [stdout] --> src/schema/definition.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Type { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn get_field(&self, name: &str) -> Option<&Field> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn iter_interfaces(&self) -> impl Iterator { [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/schema/schema.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 106 | let definition_types = self.get_definition(name).as_union().iter_types(); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 107 | [INFO] [stdout] 108 | let extension_types = self [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 112 | definition_types.chain(extension_types).collect() [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: methods `as_scalar`, `as_object`, `as_interface`, `get_field`, and `iter_interfaces` are never used [INFO] [stdout] --> src/schema/definition.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 76 | impl Definition { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn as_scalar(&self) -> &ScalarDefinition { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn as_object(&self) -> &ObjectDefinition { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn as_interface(&self) -> &InterfaceDefinition { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn get_field(&self, name: &str) -> Option<&Field> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn iter_interfaces<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_object_ext`, `as_interface_ext`, `get_field`, and `iter_interfaces` are never used [INFO] [stdout] --> src/schema/definition.rs:195:12 [INFO] [stdout] | [INFO] [stdout] 174 | impl Extension { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn as_object_ext(&self) -> &ObjectExtension { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | pub fn as_interface_ext(&self) -> &InterfaceExtension { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | pub fn get_field(&self, name: &str) -> Option<&Field> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | pub fn iter_interfaces<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/enum_.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct EnumDefinition { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnumDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/enum_.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct EnumValue { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnumValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/enum_.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct EnumExtension { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnumExtension` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/field.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Field { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Field` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ResolveOption` is never constructed [INFO] [stdout] --> src/schema/field.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct ResolveOption<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/input.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct InputDefinition { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InputDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/input.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct InputExtension { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InputExtension` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/input_value.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct InputValue { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InputValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/interface.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct InterfaceDefinition { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InterfaceDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_field` and `collect_source_configs` are never used [INFO] [stdout] --> src/schema/interface.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl InterfaceDefinition { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn get_field(&self, name: &str) -> Option<&Field> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn collect_source_configs(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/interface.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct InterfaceExtension { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 40 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InterfaceExtension` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_field` and `collect_source_configs` are never used [INFO] [stdout] --> src/schema/interface.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl InterfaceExtension { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn get_field(&self, name: &str) -> Option<&Field> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn collect_source_configs(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/object.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ObjectDefinition { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ObjectDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_field` and `collect_source_configs` are never used [INFO] [stdout] --> src/schema/object.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl ObjectDefinition { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn get_field(&self, name: &str) -> Option<&Field> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn collect_source_configs(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/object.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct ObjectExtension { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 40 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ObjectExtension` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_field` and `collect_source_configs` are never used [INFO] [stdout] --> src/schema/object.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl ObjectExtension { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn get_field(&self, name: &str) -> Option<&Field> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn collect_source_configs(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_module` is never used [INFO] [stdout] --> src/schema/parse.rs:733:4 [INFO] [stdout] | [INFO] [stdout] 733 | fn format_module(root: &Path, file: &Path) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/schema/parse.rs:799:5 [INFO] [stdout] | [INFO] [stdout] 785 | pub enum GraphQLValidationViolation { [INFO] [stdout] | -------------------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 799 | LoneSchemaDefinition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 802 | PossibleTypeExtensions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 807 | UniqueArgumentDefinitionNames { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 811 | UniqueDirectiveNames { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 815 | UniqueEnumValueNames { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 819 | UniqueFieldDefinitionNames { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 823 | UniqueTypeNames { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GraphQLValidationViolation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/scalar.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ScalarDefinition { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScalarDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `line` and `column` are never read [INFO] [stdout] --> src/schema/types.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Position { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub column: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Position` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/union.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct UnionDefinition { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnionDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/schema/union.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct UnionExtension { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnionExtension` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_swift_code` is never used [INFO] [stdout] --> src/swift/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn generate_swift_code(target_dir: PathBuf) -> Result<(), SwiftGenerationError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SourceCode` is never constructed [INFO] [stdout] --> src/swift/sourcecode.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct SourceCode { [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/schema/parse.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 82 | def: schema::TypeDefinition, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 83 | ) -> Result { [INFO] [stdout] 84 | Ok(match def { [INFO] [stdout] | ________^ [INFO] [stdout] 85 | | schema::TypeDefinition::Scalar(def) => { [INFO] [stdout] 86 | | Definition::ScalarDefinition(build_scalar_type_definition(module, &def)?) [INFO] [stdout] 87 | | } [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] 103 | | }) [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/schema/parse.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 108 | def: schema::TypeExtension, [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 109 | ) -> Result { [INFO] [stdout] 110 | Ok(match def { [INFO] [stdout] | ________^ [INFO] [stdout] 111 | | schema::TypeExtension::Object(def) => { [INFO] [stdout] 112 | | Extension::ObjectExtension(build_object_type_extension(module, &def)?) [INFO] [stdout] 113 | | } [INFO] [stdout] ... | [INFO] [stdout] 128 | | } [INFO] [stdout] 129 | | }) [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/schema/schema.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 74 | let extension_interfaces = self.get_extentions(name).flat_map(|ext| match ext { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 80 | / definition_interfaces [INFO] [stdout] 81 | | .into_iter() [INFO] [stdout] 82 | | .chain(extension_interfaces) [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/schema/schema.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 93 | let extension_fields = self.get_extentions(name).flat_map(|ext| match ext { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 99 | / definition_fields [INFO] [stdout] 100 | | .into_iter() [INFO] [stdout] 101 | | .chain(extension_fields) [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/schema/schema.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 106 | let definition_types = self.get_definition(name).as_union().iter_types(); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 107 | [INFO] [stdout] 108 | let extension_types = self [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 112 | definition_types.chain(extension_types).collect() [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 5 previous errors; 58 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `girin` (bin "girin") due to 6 previous errors; 58 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 5 previous errors; 58 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `girin` (bin "girin" test) due to 6 previous errors; 58 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5592432ca36d82ce2dbd84a45d20dc2178d4379c40920a90b73d75a0eb3d461b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5592432ca36d82ce2dbd84a45d20dc2178d4379c40920a90b73d75a0eb3d461b", kill_on_drop: false }` [INFO] [stdout] 5592432ca36d82ce2dbd84a45d20dc2178d4379c40920a90b73d75a0eb3d461b