[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 master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikekukuri%2Frusty-toyspice" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nikekukuri/rusty-toyspice on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-3-tc1/source/Cargo.toml [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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lax v0.16.0 [INFO] [stderr] Downloaded ndarray-linalg v0.16.0 [INFO] [stderr] Downloaded cxxbridge-flags v1.0.91 [INFO] [stderr] Downloaded darling_macro v0.14.3 [INFO] [stderr] Downloaded filetime v0.2.20 [INFO] [stderr] Downloaded ocipkg v0.2.8 [INFO] [stderr] Downloaded intel-mkl-src v0.8.1 [INFO] [stderr] Downloaded intel-mkl-tool v0.8.1 [INFO] [stderr] Downloaded cxxbridge-macro v1.0.91 [INFO] [stderr] Downloaded cxx v1.0.91 [INFO] [stderr] Downloaded cxx-build v1.0.91 [INFO] [stderr] Downloaded darling_core v0.14.3 [INFO] [stderr] Downloaded darling v0.14.3 [INFO] [stderr] Downloaded oci-spec v0.5.8 [INFO] [stderr] Downloaded ureq v2.6.2 [INFO] [stderr] Downloaded katexit v0.1.4 [INFO] [stderr] Downloaded lapack-sys v0.14.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1836cb2b6fb19e9f6f91fa88b07b83191fe6250f6412fc5bdce5a5017a6eab55 [INFO] running `Command { std: "docker" "start" "-a" "1836cb2b6fb19e9f6f91fa88b07b83191fe6250f6412fc5bdce5a5017a6eab55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1836cb2b6fb19e9f6f91fa88b07b83191fe6250f6412fc5bdce5a5017a6eab55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1836cb2b6fb19e9f6f91fa88b07b83191fe6250f6412fc5bdce5a5017a6eab55", kill_on_drop: false }` [INFO] [stdout] 1836cb2b6fb19e9f6f91fa88b07b83191fe6250f6412fc5bdce5a5017a6eab55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3323a2b5147c0f4baa5483222f02ad0410e0b9e3959f258f36d3d4bef761f1cb [INFO] running `Command { std: "docker" "start" "-a" "3323a2b5147c0f4baa5483222f02ad0410e0b9e3959f258f36d3d4bef761f1cb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling serde_json v1.0.93 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling adler v1.0.2 [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 unicode-bidi v0.3.10 [INFO] [stderr] Compiling ryu v1.0.12 [INFO] [stderr] Compiling itoa v1.0.5 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling filetime v0.2.20 [INFO] [stderr] Compiling xattr v0.2.3 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling darling_core v0.14.3 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling iana-time-zone v0.1.53 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling chrono v0.4.23 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling uuid v1.3.0 [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 tar v0.4.38 [INFO] [stderr] Compiling directories v4.0.1 [INFO] [stderr] Compiling base16ct v0.1.1 [INFO] [stderr] Compiling regex v1.7.1 [INFO] [stderr] Compiling intel-mkl-tool v0.8.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking matrixmultiply v0.3.2 [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] Checking approx v0.4.0 [INFO] [stderr] Checking cblas-sys v0.1.4 [INFO] [stderr] Checking lapack-sys v0.14.0 [INFO] [stderr] Checking approx v0.5.1 [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 ureq v2.6.2 [INFO] [stderr] Compiling oci-spec v0.5.8 [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: `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 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: the item `CircuitMatrix` is imported redundantly [INFO] [stdout] --> src/elements.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 141 | use super::*; [INFO] [stdout] | -------- the item `CircuitMatrix` is already imported here [INFO] [stdout] ... [INFO] [stdout] 144 | use crate::matrix::CircuitMatrix; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Element` is imported redundantly [INFO] [stdout] --> src/elements.rs:145:27 [INFO] [stdout] | [INFO] [stdout] 141 | use super::*; [INFO] [stdout] | -------- the item `Element` is already imported here [INFO] [stdout] ... [INFO] [stdout] 145 | use crate::elements::{Element, ElementType}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ElementType` is imported redundantly [INFO] [stdout] --> src/elements.rs:145:36 [INFO] [stdout] | [INFO] [stdout] 141 | use super::*; [INFO] [stdout] | -------- the item `ElementType` is already imported here [INFO] [stdout] ... [INFO] [stdout] 145 | use crate::elements::{Element, ElementType}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Netlist` is imported redundantly [INFO] [stdout] --> src/matrix.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 304 | use super::*; [INFO] [stdout] | -------- the item `Netlist` is already imported here [INFO] [stdout] 305 | [INFO] [stdout] 306 | use crate::netlist::Netlist; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/matrix.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | #![warn(unused_imports)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Element` is imported redundantly [INFO] [stdout] --> src/matrix.rs:307:9 [INFO] [stdout] | [INFO] [stdout] 304 | use super::*; [INFO] [stdout] | -------- the item `Element` is already imported here [INFO] [stdout] ... [INFO] [stdout] 307 | use crate::elements::Element; [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 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: 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/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)]` on by default [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] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [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: 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/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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elem_vec` [INFO] [stdout] --> src/netlist.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let mut elem_vec: Vec = 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: variable does not need to be mutable [INFO] [stdout] --> src/netlist.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let mut elem_vec: Vec = Vec::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [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: 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: 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, Array1) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 288 | pub fn get_current_nodes(&self) -> Array1 { [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)]` 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] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elem_vec` [INFO] [stdout] --> src/netlist.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let mut elem_vec: Vec = 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: variable does not need to be mutable [INFO] [stdout] --> src/netlist.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let mut elem_vec: Vec = Vec::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [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, Array1) { [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)]` 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: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 11s [INFO] running `Command { std: "docker" "inspect" "3323a2b5147c0f4baa5483222f02ad0410e0b9e3959f258f36d3d4bef761f1cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3323a2b5147c0f4baa5483222f02ad0410e0b9e3959f258f36d3d4bef761f1cb", kill_on_drop: false }` [INFO] [stdout] 3323a2b5147c0f4baa5483222f02ad0410e0b9e3959f258f36d3d4bef761f1cb [INFO] checking nikekukuri/rusty-toyspice against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikekukuri%2Frusty-toyspice" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nikekukuri/rusty-toyspice on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-3-tc2/source/Cargo.toml [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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1edb988444ecd8ba25588efac26c8d1a6047b1daaf297bd77cc7666db1bc11cb [INFO] running `Command { std: "docker" "start" "-a" "1edb988444ecd8ba25588efac26c8d1a6047b1daaf297bd77cc7666db1bc11cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1edb988444ecd8ba25588efac26c8d1a6047b1daaf297bd77cc7666db1bc11cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1edb988444ecd8ba25588efac26c8d1a6047b1daaf297bd77cc7666db1bc11cb", kill_on_drop: false }` [INFO] [stdout] 1edb988444ecd8ba25588efac26c8d1a6047b1daaf297bd77cc7666db1bc11cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef735483d3b476bccbd2295b9db66dc0b7f5aadc476fce1a5eda47179de97401 [INFO] running `Command { std: "docker" "start" "-a" "ef735483d3b476bccbd2295b9db66dc0b7f5aadc476fce1a5eda47179de97401", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling generic-array v0.14.6 [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 proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling serde_json v1.0.93 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling rustls v0.20.8 [INFO] [stderr] Compiling unicode-bidi v0.3.10 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling anyhow v1.0.69 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling ryu v1.0.12 [INFO] [stderr] Compiling itoa v1.0.5 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling filetime v0.2.20 [INFO] [stderr] Compiling darling_core v0.14.3 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling webpki-roots v0.22.6 [INFO] [stderr] Compiling xattr v0.2.3 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling iana-time-zone v0.1.53 [INFO] [stderr] Compiling chrono v0.4.23 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling tar v0.4.38 [INFO] [stderr] Compiling directories v4.0.1 [INFO] [stderr] Compiling uuid v1.3.0 [INFO] [stderr] Compiling base16ct v0.1.1 [INFO] [stderr] Compiling intel-mkl-tool v0.8.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking matrixmultiply v0.3.2 [INFO] [stderr] Compiling regex v1.7.1 [INFO] [stderr] Compiling darling_macro v0.14.3 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling getset v0.1.2 [INFO] [stderr] Compiling katexit v0.1.4 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking lapack-sys v0.14.0 [INFO] [stderr] Compiling darling v0.14.3 [INFO] [stderr] Compiling derive_builder_core v0.11.2 [INFO] [stderr] Checking cblas-sys v0.1.4 [INFO] [stderr] Checking approx v0.5.1 [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] Compiling toml v0.5.11 [INFO] [stderr] Checking cauchy v0.4.0 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Compiling ureq v2.6.2 [INFO] [stderr] Compiling oci-spec v0.5.8 [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: the item `CircuitMatrix` is imported redundantly [INFO] [stdout] --> src/elements.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 141 | use super::*; [INFO] [stdout] | -------- the item `CircuitMatrix` is already imported here [INFO] [stdout] ... [INFO] [stdout] 144 | use crate::matrix::CircuitMatrix; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Element` is imported redundantly [INFO] [stdout] --> src/elements.rs:145:27 [INFO] [stdout] | [INFO] [stdout] 141 | use super::*; [INFO] [stdout] | -------- the item `Element` is already imported here [INFO] [stdout] ... [INFO] [stdout] 145 | use crate::elements::{Element, ElementType}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ElementType` is imported redundantly [INFO] [stdout] --> src/elements.rs:145:36 [INFO] [stdout] | [INFO] [stdout] 141 | use super::*; [INFO] [stdout] | -------- the item `ElementType` is already imported here [INFO] [stdout] ... [INFO] [stdout] 145 | use crate::elements::{Element, ElementType}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Netlist` is imported redundantly [INFO] [stdout] --> src/matrix.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 304 | use super::*; [INFO] [stdout] | -------- the item `Netlist` is already imported here [INFO] [stdout] 305 | [INFO] [stdout] 306 | use crate::netlist::Netlist; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/matrix.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | #![warn(unused_imports)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Element` is imported redundantly [INFO] [stdout] --> src/matrix.rs:307:9 [INFO] [stdout] | [INFO] [stdout] 304 | use super::*; [INFO] [stdout] | -------- the item `Element` is already imported here [INFO] [stdout] ... [INFO] [stdout] 307 | use crate::elements::Element; [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: 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/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)]` on by default [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] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elem_vec` [INFO] [stdout] --> src/netlist.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let mut elem_vec: Vec = 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: variable does not need to be mutable [INFO] [stdout] --> src/netlist.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let mut elem_vec: Vec = Vec::new(); [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: 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/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)]` on by default [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: 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, Array1) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 288 | pub fn get_current_nodes(&self) -> Array1 { [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)]` 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: 13 warnings emitted [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] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elem_vec` [INFO] [stdout] --> src/netlist.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let mut elem_vec: Vec = 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: variable does not need to be mutable [INFO] [stdout] --> src/netlist.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let mut elem_vec: Vec = Vec::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [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, Array1) { [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)]` 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: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 59.99s [INFO] running `Command { std: "docker" "inspect" "ef735483d3b476bccbd2295b9db66dc0b7f5aadc476fce1a5eda47179de97401", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef735483d3b476bccbd2295b9db66dc0b7f5aadc476fce1a5eda47179de97401", kill_on_drop: false }` [INFO] [stdout] ef735483d3b476bccbd2295b9db66dc0b7f5aadc476fce1a5eda47179de97401