[INFO] cloning repository https://github.com/nikekukuri/rusty-toyspice
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nikekukuri/rusty-toyspice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikekukuri%2Frusty-toyspice", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikekukuri%2Frusty-toyspice'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] daad199c223e1d417d7906ae324020dc7178a131
[INFO] checking nikekukuri/rusty-toyspice against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikekukuri%2Frusty-toyspice" "/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/nikekukuri/rusty-toyspice
[INFO] finished tweaking git repo https://github.com/nikekukuri/rusty-toyspice
[INFO] tweaked toml for git repo https://github.com/nikekukuri/rusty-toyspice written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/nikekukuri/rusty-toyspice on toolchain b1f2594eac607c1f051534800237eeedb5590a49
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/nikekukuri/rusty-toyspice 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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b324e566800d1b07be3a5a8d9d89a036f878825743a47b1147938e6de4f9b3ef
[INFO] running `Command { std: "docker" "start" "-a" "b324e566800d1b07be3a5a8d9d89a036f878825743a47b1147938e6de4f9b3ef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b324e566800d1b07be3a5a8d9d89a036f878825743a47b1147938e6de4f9b3ef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b324e566800d1b07be3a5a8d9d89a036f878825743a47b1147938e6de4f9b3ef", kill_on_drop: false }`
[INFO] [stdout] b324e566800d1b07be3a5a8d9d89a036f878825743a47b1147938e6de4f9b3ef
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fda39c19701489dc9d237fef9dbd5ab8fb5bedb644f44fed5a87f49d22c8b301
[INFO] running `Command { std: "docker" "start" "-a" "fda39c19701489dc9d237fef9dbd5ab8fb5bedb644f44fed5a87f49d22c8b301", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.6
[INFO] [stderr]    Compiling syn v1.0.107
[INFO] [stderr]    Compiling typenum v1.16.0
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling once_cell v1.17.1
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling untrusted v0.7.1
[INFO] [stderr]    Compiling libc v0.2.139
[INFO] [stderr]    Compiling serde v1.0.197
[INFO] [stderr]    Compiling serde_json v1.0.93
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling generic-array v0.14.6
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling thiserror v1.0.38
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling itoa v1.0.5
[INFO] [stderr]    Compiling rustls v0.20.8
[INFO] [stderr]    Compiling anyhow v1.0.69
[INFO] [stderr]    Compiling percent-encoding v2.2.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.78
[INFO] [stderr]    Compiling ryu v1.0.12
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling unicode-bidi v0.3.10
[INFO] [stderr]    Compiling form_urlencoded v1.1.0
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling miniz_oxide v0.6.2
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling cpufeatures v0.2.5
[INFO] [stderr]    Compiling regex-syntax v0.6.28
[INFO] [stderr]    Compiling iana-time-zone v0.1.53
[INFO] [stderr]    Compiling base16ct v0.1.1
[INFO] [stderr]     Checking matrixmultiply v0.3.2
[INFO] [stderr]    Compiling walkdir v2.3.2
[INFO] [stderr]    Compiling xattr v0.2.3
[INFO] [stderr]    Compiling idna v0.3.0
[INFO] [stderr]    Compiling time v0.1.45
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling filetime v0.2.20
[INFO] [stderr]    Compiling getrandom v0.2.8
[INFO] [stderr]    Compiling dirs-sys v0.3.7
[INFO] [stderr]    Compiling syn v2.0.52
[INFO] [stderr]    Compiling tar v0.4.38
[INFO] [stderr]    Compiling uuid v1.3.0
[INFO] [stderr]    Compiling flate2 v1.0.25
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling aho-corasick v0.7.20
[INFO] [stderr]    Compiling directories v4.0.1
[INFO] [stderr]     Checking approx v0.4.0
[INFO] [stderr]    Compiling url v2.3.1
[INFO] [stderr]     Checking cblas-sys v0.1.4
[INFO] [stderr]     Checking lapack-sys v0.14.0
[INFO] [stderr]    Compiling chrono v0.4.23
[INFO] [stderr]    Compiling intel-mkl-tool v0.8.1
[INFO] [stderr]    Compiling block-buffer v0.10.3
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling digest v0.10.6
[INFO] [stderr]    Compiling sha2 v0.10.6
[INFO] [stderr]    Compiling serde_derive v1.0.197
[INFO] [stderr]    Compiling regex v1.7.1
[INFO] [stderr]    Compiling webpki v0.22.0
[INFO] [stderr]    Compiling sct v0.7.0
[INFO] [stderr]    Compiling webpki-roots v0.22.6
[INFO] [stderr]    Compiling darling_core v0.14.3
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling thiserror-impl v1.0.38
[INFO] [stderr]    Compiling getset v0.1.2
[INFO] [stderr]    Compiling katexit v0.1.4
[INFO] [stderr]    Compiling darling_macro v0.14.3
[INFO] [stderr]    Compiling darling v0.14.3
[INFO] [stderr]    Compiling derive_builder_core v0.11.2
[INFO] [stderr]    Compiling derive_builder_macro v0.11.2
[INFO] [stderr]    Compiling derive_builder v0.11.2
[INFO] [stderr]     Checking num-complex v0.4.3
[INFO] [stderr]     Checking cauchy v0.4.0
[INFO] [stderr]     Checking ndarray v0.15.6
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]    Compiling oci-spec v0.5.8
[INFO] [stderr]    Compiling ureq v2.6.2
[INFO] [stderr]    Compiling ocipkg v0.2.8
[INFO] [stderr]    Compiling intel-mkl-src v0.8.1
[INFO] [stderr]     Checking lax v0.16.0
[INFO] [stderr]     Checking ndarray-linalg v0.16.0
[INFO] [stderr]     Checking rusty-spice v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::Netlist`
[INFO] [stdout]    --> src/elements.rs:143:9
[INFO] [stdout]     |
[INFO] [stdout] 143 |     use crate::Netlist;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/main.rs:2:9
[INFO] [stdout]     |
[INFO] [stdout]   2 | #![warn(unused_imports)]
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::collections::HashMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/main.rs:87:9
[INFO] [stdout]    |
[INFO] [stdout] 87 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::collections::HashMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/main.rs:2:9
[INFO] [stdout]    |
[INFO] [stdout]  2 | #![warn(unused_imports)]
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `omega`
[INFO] [stdout]   --> src/elements.rs:67:70
[INFO] [stdout]    |
[INFO] [stdout] 67 |     fn ac_mat_vec_V(&mut self, mut elem_mat_vec: TuppleArray1Array2, omega: f64) -> TuppleArray1Array2 {
[INFO] [stdout]    |                                                                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_omega`
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/elements.rs:1:9
[INFO] [stdout]    |
[INFO] [stdout]  1 | #![warn(unused_variables)]
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `omega`
[INFO] [stdout]   --> src/elements.rs:83:70
[INFO] [stdout]    |
[INFO] [stdout] 83 |     fn ac_mat_vec_I(&mut self, mut elem_mat_vec: TuppleArray1Array2, omega: f64) -> TuppleArray1Array2 {
[INFO] [stdout]    |                                                                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_omega`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/elements.rs:100:32
[INFO] [stdout]     |
[INFO] [stdout] 100 |     fn ac_mat_vec_R(&mut self, mut elem_mat_vec: TuppleArray1Array2, omega: f64) -> TuppleArray1Array2 {
[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: unused variable: `omega`
[INFO] [stdout]    --> src/elements.rs:100:70
[INFO] [stdout]     |
[INFO] [stdout] 100 |     fn ac_mat_vec_R(&mut self, mut elem_mat_vec: TuppleArray1Array2, omega: f64) -> TuppleArray1Array2 {
[INFO] [stdout]     |                                                                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_omega`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/matrix.rs:80:9
[INFO] [stdout]    |
[INFO] [stdout] 80 |     let mut idx_gnd: usize = 0;
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `omega`
[INFO] [stdout]   --> src/elements.rs:67:70
[INFO] [stdout]    |
[INFO] [stdout] 67 |     fn ac_mat_vec_V(&mut self, mut elem_mat_vec: TuppleArray1Array2, omega: f64) -> TuppleArray1Array2 {
[INFO] [stdout]    |                                                                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_omega`
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/elements.rs:1:9
[INFO] [stdout]    |
[INFO] [stdout]  1 | #![warn(unused_variables)]
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `omega`
[INFO] [stdout]   --> src/elements.rs:83:70
[INFO] [stdout]    |
[INFO] [stdout] 83 |     fn ac_mat_vec_I(&mut self, mut elem_mat_vec: TuppleArray1Array2, omega: f64) -> TuppleArray1Array2 {
[INFO] [stdout]    |                                                                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_omega`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/elements.rs:100:32
[INFO] [stdout]     |
[INFO] [stdout] 100 |     fn ac_mat_vec_R(&mut self, mut elem_mat_vec: TuppleArray1Array2, omega: f64) -> TuppleArray1Array2 {
[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: unused variable: `omega`
[INFO] [stdout]    --> src/elements.rs:100:70
[INFO] [stdout]     |
[INFO] [stdout] 100 |     fn ac_mat_vec_R(&mut self, mut elem_mat_vec: TuppleArray1Array2, omega: f64) -> TuppleArray1Array2 {
[INFO] [stdout]     |                                                                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_omega`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/matrix.rs:80:9
[INFO] [stdout]    |
[INFO] [stdout] 80 |     let mut idx_gnd: usize = 0;
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/netlist.rs:79:13
[INFO] [stdout]    |
[INFO] [stdout] 79 |             _ => panic!("In netlist, exist NO defined element")
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/netlist.rs:79:13
[INFO] [stdout]    |
[INFO] [stdout] 74 |             ElementType::V => netlist.v.push(elem),
[INFO] [stdout]    |             -------------- matches some of the same values
[INFO] [stdout] 75 |             ElementType::I => netlist.i.push(elem),
[INFO] [stdout]    |             -------------- matches some of the same values
[INFO] [stdout] 76 |             ElementType::R => netlist.r.push(elem),
[INFO] [stdout]    |             -------------- matches some of the same values
[INFO] [stdout] 77 |             ElementType::C => netlist.c.push(elem),
[INFO] [stdout]    |             -------------- matches some of the same values
[INFO] [stdout] 78 |             ElementType::L => netlist.l.push(elem),
[INFO] [stdout] 79 |             _ => panic!("In netlist, exist NO defined element")
[INFO] [stdout]    |             ^ ...and 1 other patterns collectively make this unreachable
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/netlist.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let mut elem_vec: Vec<Element> = Vec::new();
[INFO] [stdout]    |         ----^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `elem_vec`
[INFO] [stdout]   --> src/netlist.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let mut elem_vec: Vec<Element> = Vec::new();
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elem_vec`
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/netlist.rs:1:9
[INFO] [stdout]    |
[INFO] [stdout]  1 | #![warn(unused_variables)]
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Config` is never constructed
[INFO] [stdout]   --> src/main.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | struct Config {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/main.rs:3:9
[INFO] [stdout]    |
[INFO] [stdout]  3 | #![warn(dead_code)]
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/elements.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct Element {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] 23 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Element` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/elements.rs:2:9
[INFO] [stdout]    |
[INFO] [stdout]  2 | #![warn(dead_code)]
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_current_mat_vec` and `get_number_of_nodes` are never used
[INFO] [stdout]    --> src/matrix.rs:284:12
[INFO] [stdout]     |
[INFO] [stdout] 110 | impl CircuitMatrix {
[INFO] [stdout]     | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 284 |     pub fn get_current_mat_vec(&self) -> (Array2<Complex64>, Array1<Complex64>) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 292 |     pub fn get_number_of_nodes(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/matrix.rs:3:9
[INFO] [stdout]     |
[INFO] [stdout]   3 | #![warn(dead_code)]
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `total_elements` is never used
[INFO] [stdout]   --> src/netlist.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl Netlist {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 29 |     fn total_elements(&self) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/netlist.rs:3:9
[INFO] [stdout]    |
[INFO] [stdout]  3 | #![warn(dead_code)]
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]   --> src/matrix.rs:83:13
[INFO] [stdout]    |
[INFO] [stdout] 83 |             idx_gnd == i;
[INFO] [stdout]    |             ^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 83 |             let _ = idx_gnd == i;
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/netlist.rs:79:13
[INFO] [stdout]    |
[INFO] [stdout] 79 |             _ => panic!("In netlist, exist NO defined element")
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/netlist.rs:79:13
[INFO] [stdout]    |
[INFO] [stdout] 74 |             ElementType::V => netlist.v.push(elem),
[INFO] [stdout]    |             -------------- matches some of the same values
[INFO] [stdout] 75 |             ElementType::I => netlist.i.push(elem),
[INFO] [stdout]    |             -------------- matches some of the same values
[INFO] [stdout] 76 |             ElementType::R => netlist.r.push(elem),
[INFO] [stdout]    |             -------------- matches some of the same values
[INFO] [stdout] 77 |             ElementType::C => netlist.c.push(elem),
[INFO] [stdout]    |             -------------- matches some of the same values
[INFO] [stdout] 78 |             ElementType::L => netlist.l.push(elem),
[INFO] [stdout] 79 |             _ => panic!("In netlist, exist NO defined element")
[INFO] [stdout]    |             ^ ...and 1 other patterns collectively make this unreachable
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/netlist.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let mut elem_vec: Vec<Element> = Vec::new();
[INFO] [stdout]    |         ----^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `elem_vec`
[INFO] [stdout]   --> src/netlist.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let mut elem_vec: Vec<Element> = Vec::new();
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elem_vec`
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/netlist.rs:1:9
[INFO] [stdout]    |
[INFO] [stdout]  1 | #![warn(unused_variables)]
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Config` is never constructed
[INFO] [stdout]   --> src/main.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | struct Config {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/main.rs:3:9
[INFO] [stdout]    |
[INFO] [stdout]  3 | #![warn(dead_code)]
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/elements.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct Element {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] 23 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Element` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/elements.rs:2:9
[INFO] [stdout]    |
[INFO] [stdout]  2 | #![warn(dead_code)]
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_current_mat_vec`, `get_current_nodes`, and `get_number_of_nodes` are never used
[INFO] [stdout]    --> src/matrix.rs:284:12
[INFO] [stdout]     |
[INFO] [stdout] 110 | impl CircuitMatrix {
[INFO] [stdout]     | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 284 |     pub fn get_current_mat_vec(&self) -> (Array2<Complex64>, Array1<Complex64>) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 288 |     pub fn get_current_nodes(&self) -> Array1<String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 292 |     pub fn get_number_of_nodes(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/matrix.rs:3:9
[INFO] [stdout]     |
[INFO] [stdout]   3 | #![warn(dead_code)]
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `total_elements` is never used
[INFO] [stdout]   --> src/netlist.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl Netlist {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 29 |     fn total_elements(&self) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/netlist.rs:3:9
[INFO] [stdout]    |
[INFO] [stdout]  3 | #![warn(dead_code)]
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]   --> src/matrix.rs:83:13
[INFO] [stdout]    |
[INFO] [stdout] 83 |             idx_gnd == i;
[INFO] [stdout]    |             ^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 83 |             let _ = idx_gnd == i;
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.90s
[INFO] running `Command { std: "docker" "inspect" "fda39c19701489dc9d237fef9dbd5ab8fb5bedb644f44fed5a87f49d22c8b301", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fda39c19701489dc9d237fef9dbd5ab8fb5bedb644f44fed5a87f49d22c8b301", kill_on_drop: false }`
[INFO] [stdout] fda39c19701489dc9d237fef9dbd5ab8fb5bedb644f44fed5a87f49d22c8b301
