[INFO] fetching crate schematic_macros 0.18.11... [INFO] checking schematic_macros-0.18.11 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate schematic_macros 0.18.11 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate schematic_macros 0.18.11 [INFO] finished tweaking crates.io crate schematic_macros 0.18.11 [INFO] tweaked toml for crates.io crate schematic_macros 0.18.11 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate schematic_macros 0.18.11 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate schematic_macros 0.18.11 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 31ab85d78b31d75f5482dc293415edf2a7ac366e1321632ac5e5fdd92668ff47 [INFO] running `Command { std: "docker" "start" "-a" "31ab85d78b31d75f5482dc293415edf2a7ac366e1321632ac5e5fdd92668ff47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31ab85d78b31d75f5482dc293415edf2a7ac366e1321632ac5e5fdd92668ff47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31ab85d78b31d75f5482dc293415edf2a7ac366e1321632ac5e5fdd92668ff47", kill_on_drop: false }` [INFO] [stdout] 31ab85d78b31d75f5482dc293415edf2a7ac366e1321632ac5e5fdd92668ff47 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 091a2683c4d8870845e705c4a4f426f1bb7fda9247f29d202042bdef685e0971 [INFO] running `Command { std: "docker" "start" "-a" "091a2683c4d8870845e705c4a4f426f1bb7fda9247f29d202042bdef685e0971", kill_on_drop: false }` [INFO] [stderr] Checking ident_case v1.0.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking convert_case v0.8.0 [INFO] [stderr] Checking syn v2.0.104 [INFO] [stderr] Compiling darling_core v0.21.0 [INFO] [stderr] Compiling darling_macro v0.21.0 [INFO] [stderr] Checking darling v0.21.0 [INFO] [stderr] Checking schematic_macros v0.18.11 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `common::Macro` [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use common::Macro; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `proc_macro::TokenStream` [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use proc_macro::TokenStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `quote::quote` [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use quote::quote; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DeriveInput` and `parse_macro_input` [INFO] [stdout] --> src/lib.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | use syn::{DeriveInput, parse_macro_input}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `common::Macro` [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use common::Macro; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `proc_macro::TokenStream` [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use proc_macro::TokenStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `quote::quote` [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use quote::quote; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DeriveInput` and `parse_macro_input` [INFO] [stdout] --> src/lib.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | use syn::{DeriveInput, parse_macro_input}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SerdeMeta` is never constructed [INFO] [stdout] --> src/common/mod.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct SerdeMeta { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Container` is never used [INFO] [stdout] --> src/common/container.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Container<'l> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `has_nested` and `generate_settings_metadata` are never used [INFO] [stdout] --> src/common/container.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Container<'_> { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 12 | pub fn has_nested(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn generate_settings_metadata(&self) -> TokenStream { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FieldSerdeArgs` is never constructed [INFO] [stdout] --> src/common/field.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct FieldSerdeArgs { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `inherit_from_container` is never used [INFO] [stdout] --> src/common/field.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl FieldSerdeArgs { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 28 | pub fn inherit_from_container(&mut self, container: &ContainerSerdeArgs) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FieldArgs` is never constructed [INFO] [stdout] --> src/common/field.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct FieldArgs { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Field` is never constructed [INFO] [stdout] --> src/common/field.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Field<'l> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/common/field.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 80 | impl Field<'_> { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 81 | pub fn from(field: &NativeField) -> Field { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn is_nested(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn is_nullable(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn is_required(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn get_name_raw(&self) -> &Ident { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn get_name(&self, casing_format: Option<&str>) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn get_aliases(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn get_env_var(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn get_serde_meta(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_collection_type` is never used [INFO] [stdout] --> src/common/field_value.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn is_collection_type(ident: &Ident) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TypeInfo` is never constructed [INFO] [stdout] --> src/common/field_value.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct TypeInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_inner_type` is never used [INFO] [stdout] --> src/common/field_value.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn extract_inner_type<'a>(ty: &'a Type, info: &mut TypeInfo) -> &'a Type { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FieldValue` is never used [INFO] [stdout] --> src/common/field_value.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | pub enum FieldValue<'l> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `nested`, `value`, `is_outer_boxed`, `is_outer_optional`, `get_config_type`, and `get_inner_type` are never used [INFO] [stdout] --> src/common/field_value.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 90 | impl<'l> FieldValue<'l> { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 91 | pub fn nested(raw: &'l Type) -> FieldValue<'l> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn value(raw: &'l Type) -> FieldValue<'l> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn is_outer_boxed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn is_outer_optional(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn get_config_type(&self) -> &'l Type { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | pub fn get_inner_type(&self) -> Option<&'l Type> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ContainerSerdeArgs` is never constructed [INFO] [stdout] --> src/common/macros.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ContainerSerdeArgs { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MacroArgs` is never constructed [INFO] [stdout] --> src/common/macros.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct MacroArgs { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PartialAttr` is never constructed [INFO] [stdout] --> src/common/macros.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct PartialAttr { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Macro` is never constructed [INFO] [stdout] --> src/common/macros.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct Macro<'l> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from`, `get_serde_meta`, and `get_partial_attrs` are never used [INFO] [stdout] --> src/common/macros.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 81 | impl<'l> Macro<'l> { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 82 | pub fn from(input: &'l DeriveInput) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | pub fn get_serde_meta(&self) -> TokenStream { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | pub fn get_partial_attrs(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TaggedFormat` is never used [INFO] [stdout] --> src/common/variant.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum TaggedFormat { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VariantArgs` is never constructed [INFO] [stdout] --> src/common/variant.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct VariantArgs { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Variant` is never constructed [INFO] [stdout] --> src/common/variant.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Variant<'l> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from`, `is_default`, `is_nested`, `is_required`, `get_name`, and `get_serde_meta` are never used [INFO] [stdout] --> src/common/variant.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl Variant<'_> { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 54 | pub fn from(var: &NativeVariant) -> Variant { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn is_default(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn is_nested(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn is_required(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn get_name(&self, casing_format: Option<&str>) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn get_serde_meta(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_case` is never used [INFO] [stdout] --> src/utils.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn format_case(format: &str, value: &str, is_variant: bool) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `preserve_str_literal` is never used [INFO] [stdout] --> src/utils.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn preserve_str_literal(meta: &Meta) -> darling::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_meta_path` is never used [INFO] [stdout] --> src/utils.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn get_meta_path(meta: &Meta) -> &Path { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_common_attrs` is never used [INFO] [stdout] --> src/utils.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn extract_common_attrs(attrs: &[Attribute]) -> Vec<&Attribute> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_comment` is never used [INFO] [stdout] --> src/utils.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn extract_comment(attrs: &[&Attribute]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_deprecated` is never used [INFO] [stdout] --> src/utils.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn extract_deprecated(attrs: &[&Attribute]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `map_option_field_quote` is never used [INFO] [stdout] --> src/utils.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn map_option_field_quote( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `instrument_quote` is never used [INFO] [stdout] --> src/utils.rs:201:8 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn instrument_quote() -> proc_macro2::TokenStream { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/common/field.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn from(field: &NativeField) -> Field { [INFO] [stdout] | ^^^^^^^^^^^^ ----- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 81 | pub fn from(field: &NativeField) -> Field<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/common/variant.rs:54:22 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn from(var: &NativeVariant) -> Variant { [INFO] [stdout] | ^^^^^^^^^^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 54 | pub fn from(var: &NativeVariant) -> Variant<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SerdeMeta` is never constructed [INFO] [stdout] --> src/common/mod.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct SerdeMeta { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Container` is never used [INFO] [stdout] --> src/common/container.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Container<'l> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `has_nested` and `generate_settings_metadata` are never used [INFO] [stdout] --> src/common/container.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Container<'_> { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 12 | pub fn has_nested(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn generate_settings_metadata(&self) -> TokenStream { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FieldSerdeArgs` is never constructed [INFO] [stdout] --> src/common/field.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct FieldSerdeArgs { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `inherit_from_container` is never used [INFO] [stdout] --> src/common/field.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl FieldSerdeArgs { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 28 | pub fn inherit_from_container(&mut self, container: &ContainerSerdeArgs) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FieldArgs` is never constructed [INFO] [stdout] --> src/common/field.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct FieldArgs { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Field` is never constructed [INFO] [stdout] --> src/common/field.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Field<'l> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/common/field.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 80 | impl Field<'_> { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 81 | pub fn from(field: &NativeField) -> Field { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn is_nested(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn is_nullable(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn is_required(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn get_name_raw(&self) -> &Ident { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn get_name(&self, casing_format: Option<&str>) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn get_aliases(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn get_env_var(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn get_serde_meta(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_collection_type` is never used [INFO] [stdout] --> src/common/field_value.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn is_collection_type(ident: &Ident) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TypeInfo` is never constructed [INFO] [stdout] --> src/common/field_value.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct TypeInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_inner_type` is never used [INFO] [stdout] --> src/common/field_value.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn extract_inner_type<'a>(ty: &'a Type, info: &mut TypeInfo) -> &'a Type { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FieldValue` is never used [INFO] [stdout] --> src/common/field_value.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | pub enum FieldValue<'l> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `nested`, `value`, `is_outer_boxed`, `is_outer_optional`, `get_config_type`, and `get_inner_type` are never used [INFO] [stdout] --> src/common/field_value.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 90 | impl<'l> FieldValue<'l> { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 91 | pub fn nested(raw: &'l Type) -> FieldValue<'l> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn value(raw: &'l Type) -> FieldValue<'l> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn is_outer_boxed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn is_outer_optional(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn get_config_type(&self) -> &'l Type { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | pub fn get_inner_type(&self) -> Option<&'l Type> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ContainerSerdeArgs` is never constructed [INFO] [stdout] --> src/common/macros.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ContainerSerdeArgs { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MacroArgs` is never constructed [INFO] [stdout] --> src/common/macros.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct MacroArgs { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PartialAttr` is never constructed [INFO] [stdout] --> src/common/macros.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct PartialAttr { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Macro` is never constructed [INFO] [stdout] --> src/common/macros.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct Macro<'l> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from`, `get_serde_meta`, and `get_partial_attrs` are never used [INFO] [stdout] --> src/common/macros.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 81 | impl<'l> Macro<'l> { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 82 | pub fn from(input: &'l DeriveInput) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | pub fn get_serde_meta(&self) -> TokenStream { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | pub fn get_partial_attrs(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TaggedFormat` is never used [INFO] [stdout] --> src/common/variant.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum TaggedFormat { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VariantArgs` is never constructed [INFO] [stdout] --> src/common/variant.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct VariantArgs { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Variant` is never constructed [INFO] [stdout] --> src/common/variant.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Variant<'l> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from`, `is_default`, `is_nested`, `is_required`, `get_name`, and `get_serde_meta` are never used [INFO] [stdout] --> src/common/variant.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl Variant<'_> { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 54 | pub fn from(var: &NativeVariant) -> Variant { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn is_default(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn is_nested(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn is_required(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn get_name(&self, casing_format: Option<&str>) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn get_serde_meta(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_case` is never used [INFO] [stdout] --> src/utils.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn format_case(format: &str, value: &str, is_variant: bool) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `preserve_str_literal` is never used [INFO] [stdout] --> src/utils.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn preserve_str_literal(meta: &Meta) -> darling::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_meta_path` is never used [INFO] [stdout] --> src/utils.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn get_meta_path(meta: &Meta) -> &Path { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_common_attrs` is never used [INFO] [stdout] --> src/utils.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn extract_common_attrs(attrs: &[Attribute]) -> Vec<&Attribute> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_comment` is never used [INFO] [stdout] --> src/utils.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn extract_comment(attrs: &[&Attribute]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_deprecated` is never used [INFO] [stdout] --> src/utils.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn extract_deprecated(attrs: &[&Attribute]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `map_option_field_quote` is never used [INFO] [stdout] --> src/utils.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn map_option_field_quote( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `instrument_quote` is never used [INFO] [stdout] --> src/utils.rs:201:8 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn instrument_quote() -> proc_macro2::TokenStream { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/common/field.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn from(field: &NativeField) -> Field { [INFO] [stdout] | ^^^^^^^^^^^^ ----- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 81 | pub fn from(field: &NativeField) -> Field<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/common/variant.rs:54:22 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn from(var: &NativeVariant) -> Variant { [INFO] [stdout] | ^^^^^^^^^^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 54 | pub fn from(var: &NativeVariant) -> Variant<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.07s [INFO] running `Command { std: "docker" "inspect" "091a2683c4d8870845e705c4a4f426f1bb7fda9247f29d202042bdef685e0971", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "091a2683c4d8870845e705c4a4f426f1bb7fda9247f29d202042bdef685e0971", kill_on_drop: false }` [INFO] [stdout] 091a2683c4d8870845e705c4a4f426f1bb7fda9247f29d202042bdef685e0971