[INFO] cloning repository https://github.com/wiomoc/yang_utils [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wiomoc/yang_utils" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwiomoc%2Fyang_utils", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwiomoc%2Fyang_utils'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f7f7e3dfc8326cb458741c47136a3957a65742cc [INFO] checking wiomoc/yang_utils against master#f8f6997469237299c1d60814c7b9828602a1f8e4 for pr-143808 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwiomoc%2Fyang_utils" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/wiomoc/yang_utils [INFO] finished tweaking git repo https://github.com/wiomoc/yang_utils [INFO] tweaked toml for git repo https://github.com/wiomoc/yang_utils written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/wiomoc/yang_utils on toolchain f8f6997469237299c1d60814c7b9828602a1f8e4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/wiomoc/yang_utils 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" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1c3f7780e31b025b52870d14a1b6be5cd08c7693d78a51df78bc4e1b17e0badd [INFO] running `Command { std: "docker" "start" "-a" "1c3f7780e31b025b52870d14a1b6be5cd08c7693d78a51df78bc4e1b17e0badd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c3f7780e31b025b52870d14a1b6be5cd08c7693d78a51df78bc4e1b17e0badd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c3f7780e31b025b52870d14a1b6be5cd08c7693d78a51df78bc4e1b17e0badd", kill_on_drop: false }` [INFO] [stdout] 1c3f7780e31b025b52870d14a1b6be5cd08c7693d78a51df78bc4e1b17e0badd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f6adc7393fef44d27d9e2aee6aeb1d3333c426761d910fc93128d077273faef [INFO] running `Command { std: "docker" "start" "-a" "6f6adc7393fef44d27d9e2aee6aeb1d3333c426761d910fc93128d077273faef", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking gimli v0.29.0 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Checking is_ci v1.2.0 [INFO] [stderr] Compiling cc v1.1.13 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Checking supports-color v3.0.0 [INFO] [stderr] Checking owo-colors v4.0.0 [INFO] [stderr] Checking supports-unicode v3.0.0 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking supports-hyperlinks v3.0.0 [INFO] [stderr] Checking object v0.36.3 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking addr2line v0.22.0 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling miette-derive v7.2.0 [INFO] [stderr] Checking backtrace-ext v0.2.1 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking miette v7.2.0 [INFO] [stderr] Checking yang-utils v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/typing/range.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | let mut model_range_iter = range.0.iter().enumerate(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/typing/range.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | let mut model_range_iter = range.0.iter().enumerate(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RangeElement` is more private than the item `derive_range` [INFO] [stdout] --> src/typing/range.rs:114:1 [INFO] [stdout] | [INFO] [stdout] 114 | / pub (crate) fn derive_range>( [INFO] [stdout] 115 | | base_range: &SingleItemOrVec>, [INFO] [stdout] 116 | | model_range: Option<&model::LengthRangePattern>, [INFO] [stdout] 117 | | error_context: &mut ErrorContext, [INFO] [stdout] 118 | | ) -> Result>, ()> { [INFO] [stdout] | |______________________________________________^ function `derive_range` is reachable at visibility `pub(in crate::typing)` [INFO] [stdout] | [INFO] [stdout] note: but trait `RangeElement` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/typing/range.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | trait RangeElement: PartialOrd + Copy { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ResolveBoundary` is more private than the item `derive_range` [INFO] [stdout] --> src/typing/range.rs:114:1 [INFO] [stdout] | [INFO] [stdout] 114 | / pub (crate) fn derive_range>( [INFO] [stdout] 115 | | base_range: &SingleItemOrVec>, [INFO] [stdout] 116 | | model_range: Option<&model::LengthRangePattern>, [INFO] [stdout] 117 | | error_context: &mut ErrorContext, [INFO] [stdout] 118 | | ) -> Result>, ()> { [INFO] [stdout] | |______________________________________________^ function `derive_range` is reachable at visibility `pub(in crate::typing)` [INFO] [stdout] | [INFO] [stdout] note: but trait `ResolveBoundary` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/typing/range.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | trait ResolveBoundary: Copy + FromStr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `span` and `message` are never read [INFO] [stdout] --> src/parser/parser.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct ParseError { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 15 | pub span: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` 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] [INFO] [stdout] [INFO] [stdout] warning: fields `module`, `description`, `prefix`, `reference`, and `revision_date` are never read [INFO] [stdout] --> src/parser/model.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 94 | "import", Import, [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 95 | module: One, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 96 | { [INFO] [stdout] 97 | description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 98 | prefix: One, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 99 | reference: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 100 | revision_date: Option => "revision-date" [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Import` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `submodule`, `description`, `reference`, and `revision_date` are never read [INFO] [stdout] --> src/parser/model.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 105 | "include", Include, [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 106 | submodule: One, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 107 | { [INFO] [stdout] 108 | description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 109 | reference: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 110 | revision_date: Option => "revision-date" [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Include` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `revision`, `description`, and `reference` are never read [INFO] [stdout] --> src/parser/model.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 115 | "revision", Revision, [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 116 | revision: One, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 117 | { [INFO] [stdout] 118 | description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 119 | reference: Option [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Revision` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RangeElement` is more private than the item `derive_range` [INFO] [stdout] --> src/typing/range.rs:114:1 [INFO] [stdout] | [INFO] [stdout] 114 | / pub (crate) fn derive_range>( [INFO] [stdout] 115 | | base_range: &SingleItemOrVec>, [INFO] [stdout] 116 | | model_range: Option<&model::LengthRangePattern>, [INFO] [stdout] 117 | | error_context: &mut ErrorContext, [INFO] [stdout] 118 | | ) -> Result>, ()> { [INFO] [stdout] | |______________________________________________^ function `derive_range` is reachable at visibility `pub(in crate::typing)` [INFO] [stdout] | [INFO] [stdout] note: but trait `RangeElement` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/typing/range.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | trait RangeElement: PartialOrd + Copy { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ResolveBoundary` is more private than the item `derive_range` [INFO] [stdout] --> src/typing/range.rs:114:1 [INFO] [stdout] | [INFO] [stdout] 114 | / pub (crate) fn derive_range>( [INFO] [stdout] 115 | | base_range: &SingleItemOrVec>, [INFO] [stdout] 116 | | model_range: Option<&model::LengthRangePattern>, [INFO] [stdout] 117 | | error_context: &mut ErrorContext, [INFO] [stdout] 118 | | ) -> Result>, ()> { [INFO] [stdout] | |______________________________________________^ function `derive_range` is reachable at visibility `pub(in crate::typing)` [INFO] [stdout] | [INFO] [stdout] note: but trait `ResolveBoundary` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/typing/range.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | trait ResolveBoundary: Copy + FromStr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BelongsTo` is never constructed [INFO] [stdout] --> src/parser/model.rs:124:19 [INFO] [stdout] | [INFO] [stdout] 124 | "belongs-to", BelongsTo, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `description`, `if_feature`, `position`, `reference`, and `status` are never read [INFO] [stdout] --> src/parser/model.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 132 | "bit", Bit, [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 133 | name: One, [INFO] [stdout] | ^^^^ [INFO] [stdout] 134 | { [INFO] [stdout] 135 | description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 136 | if_feature: Vec => "if-feature", [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 137 | position: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 138 | reference: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 139 | status: Option [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Bit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SpannedTok` is never used [INFO] [stdout] --> src/parser/lexer.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub type SpannedTok = (Span, Result); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Tok` is never used [INFO] [stdout] --> src/parser/lexer.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Tok { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LexicalError` is never used [INFO] [stdout] --> src/parser/lexer.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum LexicalError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Lexer` is never constructed [INFO] [stdout] --> src/parser/lexer.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Lexer<'input> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LocatedChar` is never constructed [INFO] [stdout] --> src/parser/lexer.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | struct LocatedChar(Loc, char); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from`, `loc`, and `ch` are never used [INFO] [stdout] --> src/parser/lexer.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 32 | impl LocatedChar { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 33 | fn from((loc, ch): (Loc, char)) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn loc(self) -> Loc { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn ch(self) -> char { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/parser/lexer.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl<'input> Lexer<'input> { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 47 | pub fn new(input: &'input str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn pop_or_eof(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | fn peek(&mut self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | fn consume_linecomment(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | fn consume_escaped_char(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | fn consume_unquoted_string(&mut self, first_char: LocatedChar) -> SpannedTok { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | fn consume_quoted_string(&mut self, starting_pos: Loc, is_double_quoted: bool) -> SpannedTok { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Statement` is never constructed [INFO] [stdout] --> src/parser/parser.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct Statement { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ParseError` is never constructed [INFO] [stdout] --> src/parser/parser.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct ParseError { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/parser/parser.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) fn parse(input: &str) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `next_tok_or_err` is never used [INFO] [stdout] --> src/parser/parser.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn next_tok_or_err(lexer: &mut Lexer) -> Result<(Span, Tok), ParseError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_statement` is never used [INFO] [stdout] --> src/parser/parser.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn parse_statement( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Status` is never used [INFO] [stdout] --> src/parser/model.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `description`, `if_feature`, `reference`, `status`, and `value` are never read [INFO] [stdout] --> src/parser/model.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 144 | "enum", Enum, [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 145 | name: One, [INFO] [stdout] | ^^^^ [INFO] [stdout] 146 | { [INFO] [stdout] 147 | description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 148 | if_feature: Vec => "if-feature", [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 149 | reference: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 150 | status: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 151 | value: Option [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Enum` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/model.rs:159:11 [INFO] [stdout] | [INFO] [stdout] 159 | Value(u32), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LengthBoundary` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] 159 - Value(u32), [INFO] [stdout] 159 + Value(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/model.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | Integer(i32), [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RangeBoundary` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] 181 - Integer(i32), [INFO] [stdout] 181 + Integer(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/model.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | Decimal(f64), [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RangeBoundary` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] 182 - Decimal(f64), [INFO] [stdout] 182 + Decimal(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lower_boundary` and `upper_boundary` are never read [INFO] [stdout] --> src/parser/model.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 202 | pub struct LengthRangePatternPart { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 203 | pub lower_boundary: T, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 204 | pub upper_boundary: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LengthRangePatternPart` 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 `0` is never read [INFO] [stdout] --> src/parser/model.rs:208:57 [INFO] [stdout] | [INFO] [stdout] 208 | pub struct LengthRangePattern>(pub Vec>); [INFO] [stdout] | ------------------ field in this struct ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `LengthRangePattern` 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/parser/model.rs:94:15 [INFO] [stdout] | [INFO] [stdout] 94 | "import", Import, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `length_expression`, `description`, `error_app_tag`, `error_message`, and `reference` are never read [INFO] [stdout] --> src/parser/model.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 260 | "length", Length, [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 261 | length_expression: One>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 262 | { [INFO] [stdout] 263 | description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 264 | error_app_tag: Option => "error-app-tag", [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 265 | error_message: Option => "error-message", [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 266 | reference: Option [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Length` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Include` is never constructed [INFO] [stdout] --> src/parser/model.rs:105:16 [INFO] [stdout] | [INFO] [stdout] 105 | "include", Include, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Revision` is never constructed [INFO] [stdout] --> src/parser/model.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | "revision", Revision, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BelongsTo` is never constructed [INFO] [stdout] --> src/parser/model.rs:124:19 [INFO] [stdout] | [INFO] [stdout] 124 | "belongs-to", BelongsTo, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bit` is never constructed [INFO] [stdout] --> src/parser/model.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | "bit", Bit, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `regex`, `description`, `error_app_tag`, `error_message`, `modifier`, and `reference` are never read [INFO] [stdout] --> src/parser/model.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 271 | "pattern", Pattern, [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 272 | regex: One, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 273 | { [INFO] [stdout] 274 | description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 275 | error_app_tag: Option => "error-app-tag", [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 276 | error_message: Option => "error-message", [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 277 | modifier: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 278 | reference: Option [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pattern` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Enum` is never constructed [INFO] [stdout] --> src/parser/model.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | "enum", Enum, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LengthBoundary` is never used [INFO] [stdout] --> src/parser/model.rs:156:10 [INFO] [stdout] | [INFO] [stdout] 156 | pub enum LengthBoundary { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RangeBoundary` is never used [INFO] [stdout] --> src/parser/model.rs:178:10 [INFO] [stdout] | [INFO] [stdout] 178 | pub enum RangeBoundary { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LengthRangePatternPart` is never constructed [INFO] [stdout] --> src/parser/model.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 202 | pub struct LengthRangePatternPart { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LengthRangePattern` is never constructed [INFO] [stdout] --> src/parser/model.rs:208:12 [INFO] [stdout] | [INFO] [stdout] 208 | pub struct LengthRangePattern>(pub Vec>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `range_expression`, `description`, `error_app_tag`, `error_message`, and `reference` are never read [INFO] [stdout] --> src/parser/model.rs:284:5 [INFO] [stdout] | [INFO] [stdout] 283 | "range", Range, [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 284 | range_expression: One>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 285 | { [INFO] [stdout] 286 | description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 287 | error_app_tag: Option => "error-app-tag", [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 288 | error_message: Option => "error-message", [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 289 | reference: Option [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Range` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/parser/model.rs:295:5 [INFO] [stdout] | [INFO] [stdout] 294 | "type", Type, [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 295 | name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 296 | { [INFO] [stdout] 297 | base: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 298 | bit: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] 299 | r#enum: Vec => "enum", [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 300 | fraction_digits: Option => "fraction-digits", [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 301 | length: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 302 | range: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 303 | path: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 304 | pattern: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 305 | require_instance: Option => "require-instance", [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 306 | r#type: Vec => "type" [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `base`, `description`, `if_feature`, `reference`, and `status` are never read [INFO] [stdout] --> src/parser/model.rs:312:6 [INFO] [stdout] | [INFO] [stdout] 311 | "identity", Identity, [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 312 | name: One, [INFO] [stdout] | ^^^^ [INFO] [stdout] 313 | { [INFO] [stdout] 314 | base: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 315 | description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 316 | if_feature: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 317 | reference: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 318 | status: Option [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Identity` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Length` is never constructed [INFO] [stdout] --> src/parser/model.rs:260:15 [INFO] [stdout] | [INFO] [stdout] 260 | "length", Length, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pattern` is never constructed [INFO] [stdout] --> src/parser/model.rs:271:16 [INFO] [stdout] | [INFO] [stdout] 271 | "pattern", Pattern, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Range` is never constructed [INFO] [stdout] --> src/parser/model.rs:283:14 [INFO] [stdout] | [INFO] [stdout] 283 | "range", Range, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Type` is never constructed [INFO] [stdout] --> src/parser/model.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | "type", Type, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Identity` is never constructed [INFO] [stdout] --> src/parser/model.rs:311:17 [INFO] [stdout] | [INFO] [stdout] 311 | "identity", Identity, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Typedef` is never constructed [INFO] [stdout] --> src/parser/model.rs:323:16 [INFO] [stdout] | [INFO] [stdout] 323 | "typedef", Typedef, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Grouping` is never constructed [INFO] [stdout] --> src/parser/model.rs:336:17 [INFO] [stdout] | [INFO] [stdout] 336 | "grouping", Grouping, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Leaf` is never constructed [INFO] [stdout] --> src/parser/model.rs:358:13 [INFO] [stdout] | [INFO] [stdout] 358 | "leaf", Leaf, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LeafList` is never constructed [INFO] [stdout] --> src/parser/model.rs:376:18 [INFO] [stdout] | [INFO] [stdout] 376 | "leaf-list", LeafList, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AnyDataOrXml` is never constructed [INFO] [stdout] --> src/parser/model.rs:395:27 [INFO] [stdout] | [INFO] [stdout] 395 | "anydata" | "anyxml", AnyDataOrXml, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InOutput` is never constructed [INFO] [stdout] --> src/parser/model.rs:410:25 [INFO] [stdout] | [INFO] [stdout] 410 | "input" | "output", InOutput, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ActionOrRpc` is never constructed [INFO] [stdout] --> src/parser/model.rs:427:23 [INFO] [stdout] | [INFO] [stdout] 427 | "action" | "rpc", ActionOrRpc, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Refine` is never constructed [INFO] [stdout] --> src/parser/model.rs:442:15 [INFO] [stdout] | [INFO] [stdout] 442 | "refine", Refine, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Augment` is never constructed [INFO] [stdout] --> src/parser/model.rs:465:16 [INFO] [stdout] | [INFO] [stdout] 465 | "augment", Augment, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Uses` is never constructed [INFO] [stdout] --> src/parser/model.rs:477:13 [INFO] [stdout] | [INFO] [stdout] 477 | "uses", Uses, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Container` is never constructed [INFO] [stdout] --> src/parser/model.rs:491:18 [INFO] [stdout] | [INFO] [stdout] 491 | "container", Container, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `List` is never constructed [INFO] [stdout] --> src/parser/model.rs:518:13 [INFO] [stdout] | [INFO] [stdout] 518 | "list", List, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/parser/model.rs:324:5 [INFO] [stdout] | [INFO] [stdout] 323 | "typedef", Typedef, [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 324 | name: One, [INFO] [stdout] | ^^^^ [INFO] [stdout] 325 | { [INFO] [stdout] 326 | default: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 327 | description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 328 | reference: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 329 | status: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 330 | r#type: One, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 331 | units: Option [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Typedef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Notification` is never constructed [INFO] [stdout] --> src/parser/model.rs:549:21 [INFO] [stdout] | [INFO] [stdout] 549 | "notification", Notification, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Choice` is never constructed [INFO] [stdout] --> src/parser/model.rs:571:15 [INFO] [stdout] | [INFO] [stdout] 571 | "choice", Choice, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Case` is never constructed [INFO] [stdout] --> src/parser/model.rs:593:13 [INFO] [stdout] | [INFO] [stdout] 593 | "case", Case, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Deviation` is never constructed [INFO] [stdout] --> src/parser/model.rs:613:18 [INFO] [stdout] | [INFO] [stdout] 613 | "deviation", Deviation, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DeviateAspect` is never used [INFO] [stdout] --> src/parser/model.rs:623:10 [INFO] [stdout] | [INFO] [stdout] 623 | pub enum DeviateAspect { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/parser/model.rs:337:5 [INFO] [stdout] | [INFO] [stdout] 336 | "grouping", Grouping, [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 337 | name: One, [INFO] [stdout] | ^^^^ [INFO] [stdout] 338 | { [INFO] [stdout] 339 | action: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 340 | anydata: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 341 | anyxml: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 342 | choice: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 343 | container: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 344 | description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 345 | grouping: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 346 | leaf: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 347 | leaf_list: Vec => "leaf-list", [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 348 | list: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 349 | notification: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 350 | reference: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 351 | status: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 352 | typedef: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 353 | uses: Vec [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Grouping` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/parser/model.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 358 | "leaf", Leaf, [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 359 | name: One, [INFO] [stdout] | ^^^^ [INFO] [stdout] 360 | { [INFO] [stdout] 361 | config: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 362 | default: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 363 | description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 364 | if_feature: Vec => "if-feature", [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 365 | must: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 366 | reference: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 367 | status: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 368 | r#type: One => "type", [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 369 | units: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 370 | when: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 371 | mandatory: Option [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Leaf` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Deviate` is never constructed [INFO] [stdout] --> src/parser/model.rs:650:16 [INFO] [stdout] | [INFO] [stdout] 650 | "deviate", Deviate, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Module` is never constructed [INFO] [stdout] --> src/parser/model.rs:666:15 [INFO] [stdout] | [INFO] [stdout] 666 | "module", Module, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SubModule` is never constructed [INFO] [stdout] --> src/parser/model.rs:702:18 [INFO] [stdout] | [INFO] [stdout] 702 | "submodule", SubModule, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/parser/model_mapper.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Mapper` is never used [INFO] [stdout] --> src/parser/model_mapper.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) trait Mapper { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ArgumentMapper` is never used [INFO] [stdout] --> src/parser/model_mapper.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) trait ArgumentMapper { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SingleItemOrVec` is never used [INFO] [stdout] --> src/typing/mod.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) enum SingleItemOrVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `iter` is never used [INFO] [stdout] --> src/typing/mod.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 23 | impl SingleItemOrVec { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] 24 | pub(crate) fn iter(&self) -> SingleItemOrVecIter { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SingleItemOrVecIter` is never used [INFO] [stdout] --> src/typing/mod.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) enum SingleItemOrVecIter<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `TypeTrait` is never used [INFO] [stdout] --> src/typing/mod.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | trait TypeTrait: Sized { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Type` is never used [INFO] [stdout] --> src/typing/mod.rs:86:6 [INFO] [stdout] | [INFO] [stdout] 86 | enum Type { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `BUILD_IN_TYPES` is never used [INFO] [stdout] --> src/typing/mod.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | static BUILD_IN_TYPES: phf::Map<&'static str, Type> = phf_map! { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IntType` is never constructed [INFO] [stdout] --> src/typing/number.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct IntType { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DecimalType` is never constructed [INFO] [stdout] --> src/typing/number.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) struct DecimalType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `IntRangePart` is never used [INFO] [stdout] --> src/typing/range.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | pub (crate) type IntRangePart = RangePart; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DecimalRangePart` is never used [INFO] [stdout] --> src/typing/range.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | pub (crate) type DecimalRangePart = RangePart; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RangePart` is never constructed [INFO] [stdout] --> src/typing/range.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | pub (crate) struct RangePart { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RangeElement` is never used [INFO] [stdout] --> src/typing/range.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | trait RangeElement: PartialOrd + Copy { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ResolveBoundary` is never used [INFO] [stdout] --> src/typing/range.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | trait ResolveBoundary: Copy + FromStr { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `derive_range` is never used [INFO] [stdout] --> src/typing/range.rs:114:16 [INFO] [stdout] | [INFO] [stdout] 114 | pub (crate) fn derive_range>( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StringType` is never constructed [INFO] [stdout] --> src/typing/string.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct StringType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BoolType` is never constructed [INFO] [stdout] --> src/typing/boolean.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct BoolType {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EnumerationType` is never constructed [INFO] [stdout] --> src/typing/enumeration.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct EnumerationType { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ErrorContext` is never constructed [INFO] [stdout] --> src/errors.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ErrorContext { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_diagnostics`, `add_error`, `add_warning`, `sort_errors`, and `print` are never used [INFO] [stdout] --> src/errors.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 9 | impl ErrorContext { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 10 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub(crate) fn add_diagnostics(&mut self, loc: crate::Span, message: String, severity: Severity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub(crate) fn add_error(&mut self, loc: crate::Span, error: String) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub(crate) fn add_warning(&mut self, loc: crate::Span, warning: String) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub(crate) fn sort_errors(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn print(&self, source: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/typing/mod.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) fn iter(&self) -> SingleItemOrVecIter { [INFO] [stdout] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) fn iter(&self) -> SingleItemOrVecIter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/typing/number.rs:83:20 [INFO] [stdout] | [INFO] [stdout] 83 | if fraction_digits < 0 || fraction_digits > 18 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/parser/model.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 376 | "leaf-list", LeafList, [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 377 | name: One, [INFO] [stdout] | ^^^^ [INFO] [stdout] 378 | { [INFO] [stdout] 379 | config: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 380 | default: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 381 | description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 382 | if_feature: Vec => "if-feature", [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 383 | must: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 384 | reference: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 385 | status: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 386 | r#type: One => "type", [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 387 | units: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 388 | when: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 389 | max_elements: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 390 | min_elements: Option [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LeafList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/parser/model.rs:396:5 [INFO] [stdout] | [INFO] [stdout] 395 | "anydata" | "anyxml", AnyDataOrXml, [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 396 | name: One, [INFO] [stdout] | ^^^^ [INFO] [stdout] 397 | { [INFO] [stdout] 398 | config: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 399 | description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 400 | if_feature: Vec => "if-feature", [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 401 | mandatory: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 402 | must: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 403 | reference: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 404 | status: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 405 | when: Option [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnyDataOrXml` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/parser/model.rs:412:9 [INFO] [stdout] | [INFO] [stdout] 410 | "input" | "output", InOutput, [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 411 | { [INFO] [stdout] 412 | anydata: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 413 | anyxml: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 414 | choice: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 415 | container: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 416 | grouping: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 417 | leaf: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 418 | leaf_list: Vec => "leaf-list", [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 419 | list: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 420 | must: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 421 | typedef: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 422 | uses: Vec [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InOutput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/parser/model.rs:428:5 [INFO] [stdout] | [INFO] [stdout] 427 | "action" | "rpc", ActionOrRpc, [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 428 | name: One, [INFO] [stdout] | ^^^^ [INFO] [stdout] 429 | { [INFO] [stdout] 430 | description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 431 | grouping: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 432 | if_feature: Vec => "if-feature", [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 433 | input: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 434 | output: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 435 | reference: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 436 | status: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 437 | typedef: Vec [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ActionOrRpc` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/parser/model.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 442 | "refine", Refine, [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 443 | target: One, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 444 | { [INFO] [stdout] 445 | action: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 446 | anydata: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 447 | anyxml: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 448 | case: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 449 | choice: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 450 | container: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 451 | description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 452 | if_feature: Vec => "if-feature", [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 453 | leaf: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 454 | leaf_list: Vec => "leaf-list", [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 455 | list: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 456 | notification: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 457 | reference: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 458 | status: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 459 | uses: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 460 | when: Option [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Refine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `target`, `description`, `if_feature`, `reference`, `status`, and `when` are never read [INFO] [stdout] --> src/parser/model.rs:466:5 [INFO] [stdout] | [INFO] [stdout] 465 | "augment", Augment, [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 466 | target: One, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 467 | { [INFO] [stdout] 468 | description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 469 | if_feature: Vec => "if-feature", [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 470 | reference: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 471 | status: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 472 | when: Option [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Augment` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/parser/model.rs:478:5 [INFO] [stdout] | [INFO] [stdout] 477 | "uses", Uses, [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 478 | name: One, [INFO] [stdout] | ^^^^ [INFO] [stdout] 479 | { [INFO] [stdout] 480 | augment: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 481 | description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 482 | if_feature: Vec => "if-feature", [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 483 | reference: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 484 | refine: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 485 | status: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 486 | when: Option [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Uses` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/parser/model.rs:492:4 [INFO] [stdout] | [INFO] [stdout] 491 | "container", Container, [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 492 | name: One, [INFO] [stdout] | ^^^^ [INFO] [stdout] 493 | { [INFO] [stdout] 494 | action: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 495 | anydata: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 496 | anyxml: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 497 | choice: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 498 | config: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 499 | container: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 500 | description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 501 | grouping: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 502 | if_feature: Vec => "if-feature", [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 503 | leaf: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 504 | leaf_list: Vec => "leaf-list", [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 505 | list: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 506 | must: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 507 | notification: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 508 | reference: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 509 | status: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 510 | typedef: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 511 | uses: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 512 | when: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 513 | presence: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Container` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/parser/model.rs:519:4 [INFO] [stdout] | [INFO] [stdout] 518 | "list", List, [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 519 | name: One, [INFO] [stdout] | ^^^^ [INFO] [stdout] 520 | { [INFO] [stdout] 521 | action: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 522 | anydata: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 523 | anyxml: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 524 | choice: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 525 | config: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 526 | container: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 527 | description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 528 | grouping: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 529 | if_feature: Vec => "if-feature", [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 530 | leaf: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 531 | leaf_list: Vec => "leaf-list", [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 532 | list: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 533 | must: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 534 | notification: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 535 | reference: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 536 | status: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 537 | typedef: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 538 | uses: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 539 | when: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 540 | key: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 541 | max_elements: Option => "max-elements", [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 542 | min_elements: Option => "min-elements", [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 543 | ordered_by: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 544 | unique: Vec [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/parser/model.rs:550:5 [INFO] [stdout] | [INFO] [stdout] 549 | "notification", Notification, [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 550 | name: One, [INFO] [stdout] | ^^^^ [INFO] [stdout] 551 | { [INFO] [stdout] 552 | anydata: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 553 | anyxml: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 554 | choice: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 555 | container: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 556 | description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 557 | grouping: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 558 | if_feature: Vec => "if-feature", [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 559 | leaf: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 560 | leaf_list: Vec => "leaf-list", [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 561 | list: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 562 | must: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 563 | reference: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 564 | status: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 565 | typedef: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 566 | uses: Vec [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Notification` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/parser/model.rs:573:9 [INFO] [stdout] | [INFO] [stdout] 571 | "choice", Choice, [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 572 | { [INFO] [stdout] 573 | anydata: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 574 | anyxml: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 575 | case: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 576 | choice: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 577 | config: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 578 | container: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 579 | default: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 580 | description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 581 | if_feature: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 582 | leaf: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 583 | leaf_list: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 584 | list: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 585 | mandatory: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 586 | reference: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 587 | status: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 588 | when: Option [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Choice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/parser/model.rs:595:9 [INFO] [stdout] | [INFO] [stdout] 593 | "case", Case, [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 594 | { [INFO] [stdout] 595 | anydata: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 596 | anyxml: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 597 | choice: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 598 | container: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 599 | description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 600 | grouping: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 601 | if_feature: Vec => "if-feature", [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 602 | leaf: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 603 | leaf_list: Vec => "leaf-list", [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 604 | list: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 605 | reference: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 606 | status: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 607 | uses: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 608 | when: Option [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Case` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `target`, `description`, `deviate`, and `reference` are never read [INFO] [stdout] --> src/parser/model.rs:614:5 [INFO] [stdout] | [INFO] [stdout] 613 | "deviation", Deviation, [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 614 | target: One, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 615 | { [INFO] [stdout] 616 | description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 617 | deviate: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 618 | reference: Option [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Deviation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/parser/model.rs:651:5 [INFO] [stdout] | [INFO] [stdout] 650 | "deviate", Deviate, [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 651 | aspect: One, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 652 | { [INFO] [stdout] 653 | config: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 654 | default: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 655 | mandatory: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 656 | max_elements: Option => "max-elements", [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 657 | min_elements: Option => "min-elements", [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 658 | must: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 659 | r#type: Option => "type", [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 660 | unique: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 661 | units: Option [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Deviate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/parser/model.rs:667:5 [INFO] [stdout] | [INFO] [stdout] 666 | "module", Module, [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 667 | name: One, [INFO] [stdout] | ^^^^ [INFO] [stdout] 668 | { [INFO] [stdout] 669 | yang_version: Option => "yang-version", [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 670 | import: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 671 | include: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 672 | [INFO] [stdout] 673 | organization: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 674 | contact: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 675 | description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 676 | reference: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 677 | [INFO] [stdout] 678 | revision: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 679 | [INFO] [stdout] 680 | namespace: One, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 681 | prefix: One, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 682 | [INFO] [stdout] 683 | anydata: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 684 | anyxml: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 685 | augment: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 686 | choice: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 687 | container: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 688 | deviation: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 689 | grouping: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 690 | identity: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 691 | leaf: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 692 | leaf_list: Vec => "leaf-list", [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 693 | list: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 694 | notification: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 695 | rpc: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] 696 | typedef: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 697 | uses: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Module` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SubModule` is never constructed [INFO] [stdout] --> src/parser/model.rs:702:18 [INFO] [stdout] | [INFO] [stdout] 702 | "submodule", SubModule, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SingleItemOrVec` is never used [INFO] [stdout] --> src/typing/mod.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) enum SingleItemOrVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `iter` is never used [INFO] [stdout] --> src/typing/mod.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 23 | impl SingleItemOrVec { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] 24 | pub(crate) fn iter(&self) -> SingleItemOrVecIter { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SingleItemOrVecIter` is never used [INFO] [stdout] --> src/typing/mod.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) enum SingleItemOrVecIter<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `TypeTrait` is never used [INFO] [stdout] --> src/typing/mod.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | trait TypeTrait: Sized { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Type` is never used [INFO] [stdout] --> src/typing/mod.rs:86:6 [INFO] [stdout] | [INFO] [stdout] 86 | enum Type { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `BUILD_IN_TYPES` is never used [INFO] [stdout] --> src/typing/mod.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | static BUILD_IN_TYPES: phf::Map<&'static str, Type> = phf_map! { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IntType` is never constructed [INFO] [stdout] --> src/typing/number.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct IntType { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DecimalType` is never constructed [INFO] [stdout] --> src/typing/number.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) struct DecimalType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `IntRangePart` is never used [INFO] [stdout] --> src/typing/range.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | pub (crate) type IntRangePart = RangePart; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DecimalRangePart` is never used [INFO] [stdout] --> src/typing/range.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | pub (crate) type DecimalRangePart = RangePart; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RangePart` is never constructed [INFO] [stdout] --> src/typing/range.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | pub (crate) struct RangePart { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RangeElement` is never used [INFO] [stdout] --> src/typing/range.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | trait RangeElement: PartialOrd + Copy { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ResolveBoundary` is never used [INFO] [stdout] --> src/typing/range.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | trait ResolveBoundary: Copy + FromStr { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `derive_range` is never used [INFO] [stdout] --> src/typing/range.rs:114:16 [INFO] [stdout] | [INFO] [stdout] 114 | pub (crate) fn derive_range>( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StringType` is never constructed [INFO] [stdout] --> src/typing/string.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct StringType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BoolType` is never constructed [INFO] [stdout] --> src/typing/boolean.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct BoolType {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EnumerationType` is never constructed [INFO] [stdout] --> src/typing/enumeration.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct EnumerationType { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sort_errors` is never used [INFO] [stdout] --> src/errors.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 9 | impl ErrorContext { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub(crate) fn sort_errors(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/typing/mod.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) fn iter(&self) -> SingleItemOrVecIter { [INFO] [stdout] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) fn iter(&self) -> SingleItemOrVecIter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/typing/number.rs:83:20 [INFO] [stdout] | [INFO] [stdout] 83 | if fraction_digits < 0 || fraction_digits > 18 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.56s [INFO] running `Command { std: "docker" "inspect" "6f6adc7393fef44d27d9e2aee6aeb1d3333c426761d910fc93128d077273faef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f6adc7393fef44d27d9e2aee6aeb1d3333c426761d910fc93128d077273faef", kill_on_drop: false }` [INFO] [stdout] 6f6adc7393fef44d27d9e2aee6aeb1d3333c426761d910fc93128d077273faef