[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 try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok 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-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/immelon0097/spef_parser on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.type [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0920a5087192498ad95943d1b3edaf8c4d9e048a4d10adb0697c977d4f40ee69 [INFO] running `Command { std: "docker" "start" "-a" "0920a5087192498ad95943d1b3edaf8c4d9e048a4d10adb0697c977d4f40ee69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0920a5087192498ad95943d1b3edaf8c4d9e048a4d10adb0697c977d4f40ee69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0920a5087192498ad95943d1b3edaf8c4d9e048a4d10adb0697c977d4f40ee69", kill_on_drop: false }` [INFO] [stdout] 0920a5087192498ad95943d1b3edaf8c4d9e048a4d10adb0697c977d4f40ee69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd3ba6120ea5fc79e4a4f83657ba6382da0abb2c5368770d9c087398e0d6fe63 [INFO] running `Command { std: "docker" "start" "-a" "fd3ba6120ea5fc79e4a4f83657ba6382da0abb2c5368770d9c087398e0d6fe63", 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 memchr v2.6.3 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling cxxbridge-flags v1.0.109 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.37 [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] error: this type will no longer be must used: Result [INFO] [stdout] --> src/spef_parser/mod.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | match pair_clone.as_str().parse::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `spef-parser` (lib) due to 1 previous error; 39 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] error: this type will no longer be must used: Result [INFO] [stdout] --> src/spef_parser/mod.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | match pair_clone.as_str().parse::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `spef-parser` (lib test) due to 1 previous error; 39 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fd3ba6120ea5fc79e4a4f83657ba6382da0abb2c5368770d9c087398e0d6fe63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd3ba6120ea5fc79e4a4f83657ba6382da0abb2c5368770d9c087398e0d6fe63", kill_on_drop: false }` [INFO] [stdout] fd3ba6120ea5fc79e4a4f83657ba6382da0abb2c5368770d9c087398e0d6fe63