[INFO] cloning repository https://github.com/immelon0097/spef_parser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/immelon0097/spef_parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimmelon0097%2Fspef_parser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimmelon0097%2Fspef_parser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7f85df774da7bbf0c6347de5a6818c0a5e792669 [INFO] checking immelon0097/spef_parser against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimmelon0097%2Fspef_parser" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/immelon0097/spef_parser [INFO] finished tweaking git repo https://github.com/immelon0097/spef_parser [INFO] tweaked toml for git repo https://github.com/immelon0097/spef_parser written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/immelon0097/spef_parser on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/immelon0097/spef_parser 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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.type [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded scratch v1.0.7 [INFO] [stderr] Downloaded pest_meta v2.7.3 [INFO] [stderr] Downloaded link-cplusplus v1.0.9 [INFO] [stderr] Downloaded cxxbridge-macro v1.0.109 [INFO] [stderr] Downloaded cxxbridge-flags v1.0.109 [INFO] [stderr] Downloaded pest_derive v2.7.3 [INFO] [stderr] Downloaded pest v2.7.3 [INFO] [stderr] Downloaded pest_generator v2.7.3 [INFO] [stderr] Downloaded cxx v1.0.109 [INFO] [stderr] Downloaded cxx-build v1.0.109 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b6d650d767588572f7282d0d740f032cc2cf2621b33d131111782a9b27ebc73 [INFO] running `Command { std: "docker" "start" "-a" "4b6d650d767588572f7282d0d740f032cc2cf2621b33d131111782a9b27ebc73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b6d650d767588572f7282d0d740f032cc2cf2621b33d131111782a9b27ebc73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b6d650d767588572f7282d0d740f032cc2cf2621b33d131111782a9b27ebc73", kill_on_drop: false }` [INFO] [stdout] 4b6d650d767588572f7282d0d740f032cc2cf2621b33d131111782a9b27ebc73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 678036b1a233b9490c1ce880335a2c41ec52db6834bcd4e41fbdbdf82b9518ab [INFO] running `Command { std: "docker" "start" "-a" "678036b1a233b9490c1ce880335a2c41ec52db6834bcd4e41fbdbdf82b9518ab", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.type [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling memchr v2.6.3 [INFO] [stderr] Compiling cxxbridge-flags v1.0.109 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling link-cplusplus v1.0.9 [INFO] [stderr] Compiling cxx v1.0.109 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Compiling cxxbridge-macro v1.0.109 [INFO] [stderr] Compiling pest v2.7.3 [INFO] [stderr] Compiling pest_meta v2.7.3 [INFO] [stderr] Compiling pest_generator v2.7.3 [INFO] [stderr] Compiling pest_derive v2.7.3 [INFO] [stderr] Checking spef-parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spef_parser/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let mut pair_str = pair.as_str(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpefParser` is never constructed [INFO] [stdout] --> src/spef_parser/mod.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct SpefParser; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_float` is never used [INFO] [stdout] --> src/spef_parser/mod.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn process_float(pair: Pair) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_coordinates` is never used [INFO] [stdout] --> src/spef_parser/mod.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn process_coordinates(pair: Pair) -> Result<(f64, f64), pest::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_string` is never used [INFO] [stdout] --> src/spef_parser/mod.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn process_string(pair: Pair) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_conn_dir_enum` is never used [INFO] [stdout] --> src/spef_parser/mod.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn process_conn_dir_enum(pair: Pair) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_conn_type_enum` is never used [INFO] [stdout] --> src/spef_parser/mod.rs:86:4 [INFO] [stdout] | [INFO] [stdout] 86 | fn process_conn_type_enum(pair: Pair) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_section_entry` is never used [INFO] [stdout] --> src/spef_parser/mod.rs:99:4 [INFO] [stdout] | [INFO] [stdout] 99 | fn process_section_entry(pair: Pair) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_header_entry` is never used [INFO] [stdout] --> src/spef_parser/mod.rs:136:4 [INFO] [stdout] | [INFO] [stdout] 136 | fn process_header_entry(pair: Pair) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_namemap_entry` is never used [INFO] [stdout] --> src/spef_parser/mod.rs:162:4 [INFO] [stdout] | [INFO] [stdout] 162 | fn process_namemap_entry(pair: Pair) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_port_entry` is never used [INFO] [stdout] --> src/spef_parser/mod.rs:188:4 [INFO] [stdout] | [INFO] [stdout] 188 | fn process_port_entry(pair: Pair) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_dnet_entry` is never used [INFO] [stdout] --> src/spef_parser/mod.rs:216:4 [INFO] [stdout] | [INFO] [stdout] 216 | fn process_dnet_entry<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_conn_entry` is never used [INFO] [stdout] --> src/spef_parser/mod.rs:245:4 [INFO] [stdout] | [INFO] [stdout] 245 | fn process_conn_entry(pair: Pair) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_spef_file` is never used [INFO] [stdout] --> src/spef_parser/mod.rs:279:8 [INFO] [stdout] | [INFO] [stdout] 279 | pub fn parse_spef_file(spef_file_path: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SpefValue` is never used [INFO] [stdout] --> src/spef_parser/spef_data.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait SpefValue: Debug { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpefFloatValue` is never constructed [INFO] [stdout] --> src/spef_parser/spef_data.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct SpefFloatValue { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpefStringValue` is never constructed [INFO] [stdout] --> src/spef_parser/spef_data.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct SpefStringValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpefCoordinatesValue` is never constructed [INFO] [stdout] --> src/spef_parser/spef_data.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct SpefCoordinatesValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SpefEntryTrait` is never used [INFO] [stdout] --> src/spef_parser/spef_data.rs:82:11 [INFO] [stdout] | [INFO] [stdout] 82 | pub trait SpefEntryTrait: Debug { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpefEntryBasicInfo` is never constructed [INFO] [stdout] --> src/spef_parser/spef_data.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | pub struct SpefEntryBasicInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_file_name`, and `get_line_no` are never used [INFO] [stdout] --> src/spef_parser/spef_data.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 117 | impl SpefEntryBasicInfo { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 118 | fn new(file_name: &str, line_no: usize) -> SpefEntryBasicInfo { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn get_file_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn get_line_no(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SectionType` is never used [INFO] [stdout] --> src/spef_parser/spef_data.rs:132:10 [INFO] [stdout] | [INFO] [stdout] 132 | pub enum SectionType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpefSectionEntry` is never constructed [INFO] [stdout] --> src/spef_parser/spef_data.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 143 | pub struct SpefSectionEntry { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_basic_info`, and `get_section_type` are never used [INFO] [stdout] --> src/spef_parser/spef_data.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 148 | impl SpefSectionEntry { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 149 | pub fn new(file_name: &str, line_no: usize, section_type: SectionType) -> SpefSectionEntry { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn get_basic_info(&self) -> &SpefEntryBasicInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn get_section_type(&self) -> &SectionType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpefHeaderEntry` is never constructed [INFO] [stdout] --> src/spef_parser/spef_data.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | pub struct SpefHeaderEntry { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_basic_info`, `get_header_key`, and `get_header_value` are never used [INFO] [stdout] --> src/spef_parser/spef_data.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 178 | impl SpefHeaderEntry { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 179 | pub fn new(file_name: &str, line_no: usize, header_key: String, header_value: String) -> SpefHeaderEntry { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn get_basic_info(&self) -> &SpefEntryBasicInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn get_header_key(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn get_header_value(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpefNameMapEntry` is never constructed [INFO] [stdout] --> src/spef_parser/spef_data.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 214 | pub struct SpefNameMapEntry { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_basic_info`, `get_index`, and `get_name` are never used [INFO] [stdout] --> src/spef_parser/spef_data.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 220 | impl SpefNameMapEntry { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 221 | pub fn new(file_name: &str, line_no: usize, index: usize, name: &str) -> SpefNameMapEntry { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn get_basic_info(&self) -> &SpefEntryBasicInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | pub fn get_index(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 233 | pub fn get_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ConnectionDirection` is never used [INFO] [stdout] --> src/spef_parser/spef_data.rs:253:10 [INFO] [stdout] | [INFO] [stdout] 253 | pub enum ConnectionDirection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpefPortEntry` is never constructed [INFO] [stdout] --> src/spef_parser/spef_data.rs:260:12 [INFO] [stdout] | [INFO] [stdout] 260 | pub struct SpefPortEntry { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_basic_info`, `get_name`, `get_direction`, and `get_coordinates` are never used [INFO] [stdout] --> src/spef_parser/spef_data.rs:268:12 [INFO] [stdout] | [INFO] [stdout] 267 | impl SpefPortEntry { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 268 | pub fn new(file_name: &str, line_no: usize, name: String, direction: ConnectionDirection, coordinates: (f64, f64)) -> SpefPortEntry { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 272 | pub fn get_basic_info(&self) -> &SpefEntryBasicInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | pub fn get_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 280 | pub fn get_direction(&self) -> &ConnectionDirection { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | pub fn get_coordinates(&self) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ConnectionType` is never used [INFO] [stdout] --> src/spef_parser/spef_data.rs:305:10 [INFO] [stdout] | [INFO] [stdout] 305 | pub enum ConnectionType [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpefConnEntry` is never constructed [INFO] [stdout] --> src/spef_parser/spef_data.rs:312:12 [INFO] [stdout] | [INFO] [stdout] 312 | pub struct SpefConnEntry { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/spef_parser/spef_data.rs:327:12 [INFO] [stdout] | [INFO] [stdout] 326 | impl SpefConnEntry { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 327 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 349 | pub fn get_basic_info(&self) -> &SpefEntryBasicInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 353 | pub fn get_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 357 | pub fn get_conn_direction(&self) -> &ConnectionDirection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 361 | pub fn get_conn_type(&self) -> &ConnectionType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | pub fn get_coordinates(&self) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 369 | pub fn set_layer(&mut self, layer: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 372 | pub fn set_ll_corr(&mut self, coordinates: (f64, f64)) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 375 | pub fn set_ur_corr(&mut self, coordinates: (f64, f64)) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpefNet` is never constructed [INFO] [stdout] --> src/spef_parser/spef_data.rs:397:12 [INFO] [stdout] | [INFO] [stdout] 397 | pub struct SpefNet { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_connection`, `add_cap`, and `add_res` are never used [INFO] [stdout] --> src/spef_parser/spef_data.rs:407:12 [INFO] [stdout] | [INFO] [stdout] 406 | impl SpefNet { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 407 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 414 | pub fn add_connection(&mut self, conn: &SpefConnEntry) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 418 | pub fn add_cap(&mut self, cap: (String, String, f64)) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 422 | pub fn add_res(&mut self, res: (String, String, f64)) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpefExchange` is never constructed [INFO] [stdout] --> src/spef_parser/spef_data.rs:429:12 [INFO] [stdout] | [INFO] [stdout] 429 | pub struct SpefExchange { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_header_entry`, `add_namemap_entry`, `add_port_entry`, and `add_net` are never used [INFO] [stdout] --> src/spef_parser/spef_data.rs:438:12 [INFO] [stdout] | [INFO] [stdout] 437 | impl SpefExchange { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 438 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 444 | pub fn add_header_entry(&mut self, header: SpefHeaderEntry) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 447 | pub fn add_namemap_entry(&mut self, namemap_entry: SpefNameMapEntry) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 451 | pub fn add_port_entry(&mut self, port_entry: SpefPortEntry) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 455 | pub fn add_net(&mut self, net: SpefNet) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SpefParserData` is never used [INFO] [stdout] --> src/spef_parser/spef_data.rs:461:10 [INFO] [stdout] | [INFO] [stdout] 461 | pub enum SpefParserData { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spef_parser/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let mut pair_str = pair.as_str(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpefParser` is never constructed [INFO] [stdout] --> src/spef_parser/mod.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct SpefParser; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_float` is never used [INFO] [stdout] --> src/spef_parser/mod.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn process_float(pair: Pair) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_coordinates` is never used [INFO] [stdout] --> src/spef_parser/mod.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn process_coordinates(pair: Pair) -> Result<(f64, f64), pest::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_string` is never used [INFO] [stdout] --> src/spef_parser/mod.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn process_string(pair: Pair) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_conn_dir_enum` is never used [INFO] [stdout] --> src/spef_parser/mod.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn process_conn_dir_enum(pair: Pair) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_conn_type_enum` is never used [INFO] [stdout] --> src/spef_parser/mod.rs:86:4 [INFO] [stdout] | [INFO] [stdout] 86 | fn process_conn_type_enum(pair: Pair) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_section_entry` is never used [INFO] [stdout] --> src/spef_parser/mod.rs:99:4 [INFO] [stdout] | [INFO] [stdout] 99 | fn process_section_entry(pair: Pair) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_header_entry` is never used [INFO] [stdout] --> src/spef_parser/mod.rs:136:4 [INFO] [stdout] | [INFO] [stdout] 136 | fn process_header_entry(pair: Pair) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_namemap_entry` is never used [INFO] [stdout] --> src/spef_parser/mod.rs:162:4 [INFO] [stdout] | [INFO] [stdout] 162 | fn process_namemap_entry(pair: Pair) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_port_entry` is never used [INFO] [stdout] --> src/spef_parser/mod.rs:188:4 [INFO] [stdout] | [INFO] [stdout] 188 | fn process_port_entry(pair: Pair) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_dnet_entry` is never used [INFO] [stdout] --> src/spef_parser/mod.rs:216:4 [INFO] [stdout] | [INFO] [stdout] 216 | fn process_dnet_entry<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_conn_entry` is never used [INFO] [stdout] --> src/spef_parser/mod.rs:245:4 [INFO] [stdout] | [INFO] [stdout] 245 | fn process_conn_entry(pair: Pair) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_spef_file` is never used [INFO] [stdout] --> src/spef_parser/mod.rs:279:8 [INFO] [stdout] | [INFO] [stdout] 279 | pub fn parse_spef_file(spef_file_path: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SpefValue` is never used [INFO] [stdout] --> src/spef_parser/spef_data.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait SpefValue: Debug { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpefFloatValue` is never constructed [INFO] [stdout] --> src/spef_parser/spef_data.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct SpefFloatValue { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpefStringValue` is never constructed [INFO] [stdout] --> src/spef_parser/spef_data.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct SpefStringValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpefCoordinatesValue` is never constructed [INFO] [stdout] --> src/spef_parser/spef_data.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct SpefCoordinatesValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SpefEntryTrait` is never used [INFO] [stdout] --> src/spef_parser/spef_data.rs:82:11 [INFO] [stdout] | [INFO] [stdout] 82 | pub trait SpefEntryTrait: Debug { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpefEntryBasicInfo` is never constructed [INFO] [stdout] --> src/spef_parser/spef_data.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | pub struct SpefEntryBasicInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_file_name`, and `get_line_no` are never used [INFO] [stdout] --> src/spef_parser/spef_data.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 117 | impl SpefEntryBasicInfo { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 118 | fn new(file_name: &str, line_no: usize) -> SpefEntryBasicInfo { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn get_file_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn get_line_no(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SectionType` is never used [INFO] [stdout] --> src/spef_parser/spef_data.rs:132:10 [INFO] [stdout] | [INFO] [stdout] 132 | pub enum SectionType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpefSectionEntry` is never constructed [INFO] [stdout] --> src/spef_parser/spef_data.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 143 | pub struct SpefSectionEntry { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_basic_info`, and `get_section_type` are never used [INFO] [stdout] --> src/spef_parser/spef_data.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 148 | impl SpefSectionEntry { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 149 | pub fn new(file_name: &str, line_no: usize, section_type: SectionType) -> SpefSectionEntry { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn get_basic_info(&self) -> &SpefEntryBasicInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn get_section_type(&self) -> &SectionType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpefHeaderEntry` is never constructed [INFO] [stdout] --> src/spef_parser/spef_data.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | pub struct SpefHeaderEntry { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_basic_info`, `get_header_key`, and `get_header_value` are never used [INFO] [stdout] --> src/spef_parser/spef_data.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 178 | impl SpefHeaderEntry { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 179 | pub fn new(file_name: &str, line_no: usize, header_key: String, header_value: String) -> SpefHeaderEntry { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn get_basic_info(&self) -> &SpefEntryBasicInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn get_header_key(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn get_header_value(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpefNameMapEntry` is never constructed [INFO] [stdout] --> src/spef_parser/spef_data.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 214 | pub struct SpefNameMapEntry { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_basic_info`, `get_index`, and `get_name` are never used [INFO] [stdout] --> src/spef_parser/spef_data.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 220 | impl SpefNameMapEntry { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 221 | pub fn new(file_name: &str, line_no: usize, index: usize, name: &str) -> SpefNameMapEntry { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn get_basic_info(&self) -> &SpefEntryBasicInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | pub fn get_index(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 233 | pub fn get_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ConnectionDirection` is never used [INFO] [stdout] --> src/spef_parser/spef_data.rs:253:10 [INFO] [stdout] | [INFO] [stdout] 253 | pub enum ConnectionDirection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpefPortEntry` is never constructed [INFO] [stdout] --> src/spef_parser/spef_data.rs:260:12 [INFO] [stdout] | [INFO] [stdout] 260 | pub struct SpefPortEntry { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_basic_info`, `get_name`, `get_direction`, and `get_coordinates` are never used [INFO] [stdout] --> src/spef_parser/spef_data.rs:268:12 [INFO] [stdout] | [INFO] [stdout] 267 | impl SpefPortEntry { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 268 | pub fn new(file_name: &str, line_no: usize, name: String, direction: ConnectionDirection, coordinates: (f64, f64)) -> SpefPortEntry { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 272 | pub fn get_basic_info(&self) -> &SpefEntryBasicInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | pub fn get_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 280 | pub fn get_direction(&self) -> &ConnectionDirection { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | pub fn get_coordinates(&self) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ConnectionType` is never used [INFO] [stdout] --> src/spef_parser/spef_data.rs:305:10 [INFO] [stdout] | [INFO] [stdout] 305 | pub enum ConnectionType [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpefConnEntry` is never constructed [INFO] [stdout] --> src/spef_parser/spef_data.rs:312:12 [INFO] [stdout] | [INFO] [stdout] 312 | pub struct SpefConnEntry { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/spef_parser/spef_data.rs:327:12 [INFO] [stdout] | [INFO] [stdout] 326 | impl SpefConnEntry { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 327 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 349 | pub fn get_basic_info(&self) -> &SpefEntryBasicInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 353 | pub fn get_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 357 | pub fn get_conn_direction(&self) -> &ConnectionDirection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 361 | pub fn get_conn_type(&self) -> &ConnectionType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | pub fn get_coordinates(&self) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 369 | pub fn set_layer(&mut self, layer: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 372 | pub fn set_ll_corr(&mut self, coordinates: (f64, f64)) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 375 | pub fn set_ur_corr(&mut self, coordinates: (f64, f64)) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpefNet` is never constructed [INFO] [stdout] --> src/spef_parser/spef_data.rs:397:12 [INFO] [stdout] | [INFO] [stdout] 397 | pub struct SpefNet { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_connection`, `add_cap`, and `add_res` are never used [INFO] [stdout] --> src/spef_parser/spef_data.rs:407:12 [INFO] [stdout] | [INFO] [stdout] 406 | impl SpefNet { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 407 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 414 | pub fn add_connection(&mut self, conn: &SpefConnEntry) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 418 | pub fn add_cap(&mut self, cap: (String, String, f64)) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 422 | pub fn add_res(&mut self, res: (String, String, f64)) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpefExchange` is never constructed [INFO] [stdout] --> src/spef_parser/spef_data.rs:429:12 [INFO] [stdout] | [INFO] [stdout] 429 | pub struct SpefExchange { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_header_entry`, `add_namemap_entry`, `add_port_entry`, and `add_net` are never used [INFO] [stdout] --> src/spef_parser/spef_data.rs:438:12 [INFO] [stdout] | [INFO] [stdout] 437 | impl SpefExchange { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 438 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 444 | pub fn add_header_entry(&mut self, header: SpefHeaderEntry) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 447 | pub fn add_namemap_entry(&mut self, namemap_entry: SpefNameMapEntry) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 451 | pub fn add_port_entry(&mut self, port_entry: SpefPortEntry) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 455 | pub fn add_net(&mut self, net: SpefNet) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SpefParserData` is never used [INFO] [stdout] --> src/spef_parser/spef_data.rs:461:10 [INFO] [stdout] | [INFO] [stdout] 461 | pub enum SpefParserData { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spef_parser/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let mut pair_str = pair.as_str(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_section_entry` is never used [INFO] [stdout] --> src/spef_parser/mod.rs:99:4 [INFO] [stdout] | [INFO] [stdout] 99 | fn process_section_entry(pair: Pair) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SpefValue` is never used [INFO] [stdout] --> src/spef_parser/spef_data.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait SpefValue: Debug { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpefFloatValue` is never constructed [INFO] [stdout] --> src/spef_parser/spef_data.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct SpefFloatValue { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/spef_parser/spef_data.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct SpefStringValue { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 54 | pub(crate) value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpefStringValue` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpefCoordinatesValue` is never constructed [INFO] [stdout] --> src/spef_parser/spef_data.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct SpefCoordinatesValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SpefEntryTrait` is never used [INFO] [stdout] --> src/spef_parser/spef_data.rs:82:11 [INFO] [stdout] | [INFO] [stdout] 82 | pub trait SpefEntryTrait: Debug { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_name` and `line_no` are never read [INFO] [stdout] --> src/spef_parser/spef_data.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 112 | pub struct SpefEntryBasicInfo { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 113 | file_name: SpefStringValue, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 114 | line_no: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpefEntryBasicInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_file_name` and `get_line_no` are never used [INFO] [stdout] --> src/spef_parser/spef_data.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 117 | impl SpefEntryBasicInfo { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn get_file_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn get_line_no(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SectionType` is never used [INFO] [stdout] --> src/spef_parser/spef_data.rs:132:10 [INFO] [stdout] | [INFO] [stdout] 132 | pub enum SectionType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpefSectionEntry` is never constructed [INFO] [stdout] --> src/spef_parser/spef_data.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 143 | pub struct SpefSectionEntry { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_basic_info`, and `get_section_type` are never used [INFO] [stdout] --> src/spef_parser/spef_data.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 148 | impl SpefSectionEntry { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 149 | pub fn new(file_name: &str, line_no: usize, section_type: SectionType) -> SpefSectionEntry { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn get_basic_info(&self) -> &SpefEntryBasicInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn get_section_type(&self) -> &SectionType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `basic_info`, `header_key`, and `header_value` are never read [INFO] [stdout] --> src/spef_parser/spef_data.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 172 | pub struct SpefHeaderEntry { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 173 | basic_info: SpefEntryBasicInfo, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 174 | header_key: SpefStringValue, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 175 | header_value: SpefStringValue, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpefHeaderEntry` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_basic_info`, `get_header_key`, and `get_header_value` are never used [INFO] [stdout] --> src/spef_parser/spef_data.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 178 | impl SpefHeaderEntry { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn get_basic_info(&self) -> &SpefEntryBasicInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn get_header_key(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn get_header_value(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `basic_info`, `index`, and `name` are never read [INFO] [stdout] --> src/spef_parser/spef_data.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 214 | pub struct SpefNameMapEntry { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 215 | basic_info: SpefEntryBasicInfo, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 216 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 217 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpefNameMapEntry` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_basic_info`, `get_index`, and `get_name` are never used [INFO] [stdout] --> src/spef_parser/spef_data.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 220 | impl SpefNameMapEntry { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn get_basic_info(&self) -> &SpefEntryBasicInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | pub fn get_index(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 233 | pub fn get_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `basic_info`, `name`, `direction`, and `coordinates` are never read [INFO] [stdout] --> src/spef_parser/spef_data.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 260 | pub struct SpefPortEntry { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 261 | basic_info: SpefEntryBasicInfo, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 262 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 263 | direction: ConnectionDirection, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 264 | coordinates: (f64, f64), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpefPortEntry` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_basic_info`, `get_name`, `get_direction`, and `get_coordinates` are never used [INFO] [stdout] --> src/spef_parser/spef_data.rs:272:12 [INFO] [stdout] | [INFO] [stdout] 267 | impl SpefPortEntry { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 272 | pub fn get_basic_info(&self) -> &SpefEntryBasicInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | pub fn get_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 280 | pub fn get_direction(&self) -> &ConnectionDirection { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | pub fn get_coordinates(&self) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/spef_parser/spef_data.rs:313:5 [INFO] [stdout] | [INFO] [stdout] 312 | pub struct SpefConnEntry { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 313 | basic_info: SpefEntryBasicInfo, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 314 | pub conn_type: ConnectionType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 315 | pub conn_direction: ConnectionDirection, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 316 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 317 | pub driving_cell: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 318 | pub load: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 319 | pub layer: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 320 | [INFO] [stdout] 321 | pub coordinates: (f64, f64), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 322 | pub ll_coordinate: (f64, f64), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 323 | pub ur_coordinate: (f64, f64), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpefConnEntry` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/spef_parser/spef_data.rs:349:12 [INFO] [stdout] | [INFO] [stdout] 326 | impl SpefConnEntry { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 349 | pub fn get_basic_info(&self) -> &SpefEntryBasicInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 353 | pub fn get_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 357 | pub fn get_conn_direction(&self) -> &ConnectionDirection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 361 | pub fn get_conn_type(&self) -> &ConnectionType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | pub fn get_coordinates(&self) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 369 | pub fn set_layer(&mut self, layer: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 372 | pub fn set_ll_corr(&mut self, coordinates: (f64, f64)) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 375 | pub fn set_ur_corr(&mut self, coordinates: (f64, f64)) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `caps` and `ress` are never read [INFO] [stdout] --> src/spef_parser/spef_data.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 397 | pub struct SpefNet { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 402 | caps: Vec<(String, String, f64)>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 403 | ress: Vec<(String, String, f64)>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpefNet` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_cap` and `add_res` are never used [INFO] [stdout] --> src/spef_parser/spef_data.rs:418:12 [INFO] [stdout] | [INFO] [stdout] 406 | impl SpefNet { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 418 | pub fn add_cap(&mut self, cap: (String, String, f64)) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 422 | pub fn add_res(&mut self, res: (String, String, f64)) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_name` and `nets` are never read [INFO] [stdout] --> src/spef_parser/spef_data.rs:430:5 [INFO] [stdout] | [INFO] [stdout] 429 | pub struct SpefExchange { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 430 | file_name: SpefStringValue, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 434 | nets: Vec [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpefExchange` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_net` is never used [INFO] [stdout] --> src/spef_parser/spef_data.rs:455:12 [INFO] [stdout] | [INFO] [stdout] 437 | impl SpefExchange { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 455 | pub fn add_net(&mut self, net: SpefNet) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SpefParserData` is never used [INFO] [stdout] --> src/spef_parser/spef_data.rs:461:10 [INFO] [stdout] | [INFO] [stdout] 461 | pub enum SpefParserData { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spef_parser/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let mut pair_str = pair.as_str(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_section_entry` is never used [INFO] [stdout] --> src/spef_parser/mod.rs:99:4 [INFO] [stdout] | [INFO] [stdout] 99 | fn process_section_entry(pair: Pair) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SpefValue` is never used [INFO] [stdout] --> src/spef_parser/spef_data.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait SpefValue: Debug { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpefFloatValue` is never constructed [INFO] [stdout] --> src/spef_parser/spef_data.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct SpefFloatValue { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/spef_parser/spef_data.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct SpefStringValue { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 54 | pub(crate) value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpefStringValue` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpefCoordinatesValue` is never constructed [INFO] [stdout] --> src/spef_parser/spef_data.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct SpefCoordinatesValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SpefEntryTrait` is never used [INFO] [stdout] --> src/spef_parser/spef_data.rs:82:11 [INFO] [stdout] | [INFO] [stdout] 82 | pub trait SpefEntryTrait: Debug { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_name` and `line_no` are never read [INFO] [stdout] --> src/spef_parser/spef_data.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 112 | pub struct SpefEntryBasicInfo { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 113 | file_name: SpefStringValue, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 114 | line_no: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpefEntryBasicInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_file_name` and `get_line_no` are never used [INFO] [stdout] --> src/spef_parser/spef_data.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 117 | impl SpefEntryBasicInfo { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn get_file_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn get_line_no(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SectionType` is never used [INFO] [stdout] --> src/spef_parser/spef_data.rs:132:10 [INFO] [stdout] | [INFO] [stdout] 132 | pub enum SectionType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpefSectionEntry` is never constructed [INFO] [stdout] --> src/spef_parser/spef_data.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 143 | pub struct SpefSectionEntry { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_basic_info`, and `get_section_type` are never used [INFO] [stdout] --> src/spef_parser/spef_data.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 148 | impl SpefSectionEntry { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 149 | pub fn new(file_name: &str, line_no: usize, section_type: SectionType) -> SpefSectionEntry { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn get_basic_info(&self) -> &SpefEntryBasicInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn get_section_type(&self) -> &SectionType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `basic_info`, `header_key`, and `header_value` are never read [INFO] [stdout] --> src/spef_parser/spef_data.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 172 | pub struct SpefHeaderEntry { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 173 | basic_info: SpefEntryBasicInfo, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 174 | header_key: SpefStringValue, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 175 | header_value: SpefStringValue, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpefHeaderEntry` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_basic_info`, `get_header_key`, and `get_header_value` are never used [INFO] [stdout] --> src/spef_parser/spef_data.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 178 | impl SpefHeaderEntry { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn get_basic_info(&self) -> &SpefEntryBasicInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn get_header_key(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn get_header_value(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `basic_info`, `index`, and `name` are never read [INFO] [stdout] --> src/spef_parser/spef_data.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 214 | pub struct SpefNameMapEntry { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 215 | basic_info: SpefEntryBasicInfo, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 216 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 217 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpefNameMapEntry` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_basic_info`, `get_index`, and `get_name` are never used [INFO] [stdout] --> src/spef_parser/spef_data.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 220 | impl SpefNameMapEntry { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn get_basic_info(&self) -> &SpefEntryBasicInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | pub fn get_index(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 233 | pub fn get_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `basic_info`, `name`, `direction`, and `coordinates` are never read [INFO] [stdout] --> src/spef_parser/spef_data.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 260 | pub struct SpefPortEntry { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 261 | basic_info: SpefEntryBasicInfo, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 262 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 263 | direction: ConnectionDirection, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 264 | coordinates: (f64, f64), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpefPortEntry` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_basic_info`, `get_name`, `get_direction`, and `get_coordinates` are never used [INFO] [stdout] --> src/spef_parser/spef_data.rs:272:12 [INFO] [stdout] | [INFO] [stdout] 267 | impl SpefPortEntry { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 272 | pub fn get_basic_info(&self) -> &SpefEntryBasicInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | pub fn get_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 280 | pub fn get_direction(&self) -> &ConnectionDirection { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | pub fn get_coordinates(&self) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/spef_parser/spef_data.rs:313:5 [INFO] [stdout] | [INFO] [stdout] 312 | pub struct SpefConnEntry { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 313 | basic_info: SpefEntryBasicInfo, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 314 | pub conn_type: ConnectionType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 315 | pub conn_direction: ConnectionDirection, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 316 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 317 | pub driving_cell: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 318 | pub load: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 319 | pub layer: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 320 | [INFO] [stdout] 321 | pub coordinates: (f64, f64), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 322 | pub ll_coordinate: (f64, f64), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 323 | pub ur_coordinate: (f64, f64), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpefConnEntry` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/spef_parser/spef_data.rs:349:12 [INFO] [stdout] | [INFO] [stdout] 326 | impl SpefConnEntry { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 349 | pub fn get_basic_info(&self) -> &SpefEntryBasicInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 353 | pub fn get_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 357 | pub fn get_conn_direction(&self) -> &ConnectionDirection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 361 | pub fn get_conn_type(&self) -> &ConnectionType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | pub fn get_coordinates(&self) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 369 | pub fn set_layer(&mut self, layer: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 372 | pub fn set_ll_corr(&mut self, coordinates: (f64, f64)) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 375 | pub fn set_ur_corr(&mut self, coordinates: (f64, f64)) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `caps` and `ress` are never read [INFO] [stdout] --> src/spef_parser/spef_data.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 397 | pub struct SpefNet { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 402 | caps: Vec<(String, String, f64)>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 403 | ress: Vec<(String, String, f64)>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpefNet` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_cap` and `add_res` are never used [INFO] [stdout] --> src/spef_parser/spef_data.rs:418:12 [INFO] [stdout] | [INFO] [stdout] 406 | impl SpefNet { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 418 | pub fn add_cap(&mut self, cap: (String, String, f64)) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 422 | pub fn add_res(&mut self, res: (String, String, f64)) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_name` and `nets` are never read [INFO] [stdout] --> src/spef_parser/spef_data.rs:430:5 [INFO] [stdout] | [INFO] [stdout] 429 | pub struct SpefExchange { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 430 | file_name: SpefStringValue, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 434 | nets: Vec [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpefExchange` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_net` is never used [INFO] [stdout] --> src/spef_parser/spef_data.rs:455:12 [INFO] [stdout] | [INFO] [stdout] 437 | impl SpefExchange { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 455 | pub fn add_net(&mut self, net: SpefNet) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SpefParserData` is never used [INFO] [stdout] --> src/spef_parser/spef_data.rs:461:10 [INFO] [stdout] | [INFO] [stdout] 461 | pub enum SpefParserData { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.89s [INFO] running `Command { std: "docker" "inspect" "678036b1a233b9490c1ce880335a2c41ec52db6834bcd4e41fbdbdf82b9518ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "678036b1a233b9490c1ce880335a2c41ec52db6834bcd4e41fbdbdf82b9518ab", kill_on_drop: false }` [INFO] [stdout] 678036b1a233b9490c1ce880335a2c41ec52db6834bcd4e41fbdbdf82b9518ab