[INFO] fetching crate spice21 0.1.5... [INFO] checking spice21-0.1.5 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate spice21 0.1.5 into /workspace/builds/worker-43/source [INFO] validating manifest of crates.io crate spice21 0.1.5 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate spice21 0.1.5 [INFO] finished tweaking crates.io crate spice21 0.1.5 [INFO] tweaked toml for crates.io crate spice21 0.1.5 written to /workspace/builds/worker-43/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a8f0c8e781916e22a31e546f6dae7279f7c45d9791aa61a835e424be96401675 [INFO] running `Command { std: "docker" "start" "-a" "a8f0c8e781916e22a31e546f6dae7279f7c45d9791aa61a835e424be96401675", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8f0c8e781916e22a31e546f6dae7279f7c45d9791aa61a835e424be96401675", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8f0c8e781916e22a31e546f6dae7279f7c45d9791aa61a835e424be96401675", kill_on_drop: false }` [INFO] [stdout] a8f0c8e781916e22a31e546f6dae7279f7c45d9791aa61a835e424be96401675 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 87840c0c58ceaca3d7bab43bc15ff73536f6a1e1c01d5434000b73ffbfaa5a39 [INFO] running `Command { std: "docker" "start" "-a" "87840c0c58ceaca3d7bab43bc15ff73536f6a1e1c01d5434000b73ffbfaa5a39", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling serde_derive v1.0.128 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.128 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.3.2 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling enum_dispatch v0.3.7 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Compiling prost-derive v0.6.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling prost v0.6.1 [INFO] [stderr] Checking prost-types v0.6.1 [INFO] [stderr] Checking spice21int v0.1.5 [INFO] [stderr] Compiling spice21procs v0.1.5 [INFO] [stderr] Compiling spice21 v0.1.5 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2018 edition to 2021 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking serde_yaml v0.8.19 [INFO] [stderr] Checking serde_json v1.0.66 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/comps/mos.rs (5 fixes) [INFO] [stderr] Fixed src/proto.rs (1 fix) [INFO] [stderr] Fixed src/comps/diode.rs (2 fixes) [INFO] [stderr] Fixed src/elab.rs (4 fixes) [INFO] [stdout] warning: the item `mos` is imported redundantly [INFO] [stdout] --> src/tests.rs:1450:9 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::comps::*; [INFO] [stdout] | --------------- the item `mos` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1450 | use crate::comps::mos; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/comps/mos.rs:387:21 [INFO] [stdout] | [INFO] [stdout] 387 | 0.0 => cj_t * area, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(illegal_floating_point_literal_pattern)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/comps/mos.rs:391:21 [INFO] [stdout] | [INFO] [stdout] 391 | 0.0 => cj_t * area, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cjunc` is assigned to, but never used [INFO] [stdout] --> src/comps/diode.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | let mut cjunc = model.cj0 / (1.0 + model.m * (400e-6 * (tnom - consts::TEMP_REF) - gmaold)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_cjunc` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `cjunc` is never read [INFO] [stdout] --> src/comps/diode.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | cjunc *= 1.0 + model.m * (400e-6 * (temp - consts::TEMP_REF) - gmanew); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find` [INFO] [stdout] --> src/analysis.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn find>(&self, name: S) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TRAP` [INFO] [stdout] --> src/analysis.rs:397:5 [INFO] [stdout] | [INFO] [stdout] 397 | TRAP, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `temp` [INFO] [stdout] --> src/comps/mos.rs:302:5 [INFO] [stdout] | [INFO] [stdout] 302 | pub(crate) temp: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `kp_t` [INFO] [stdout] --> src/comps/mos.rs:305:5 [INFO] [stdout] | [INFO] [stdout] 305 | pub(crate) kp_t: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `leff` [INFO] [stdout] --> src/comps/mos.rs:312:5 [INFO] [stdout] | [INFO] [stdout] 312 | pub(crate) leff: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `area` [INFO] [stdout] --> src/comps/mos.rs:490:5 [INFO] [stdout] | [INFO] [stdout] 490 | area: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `vcrit` [INFO] [stdout] --> src/comps/mos.rs:494:5 [INFO] [stdout] | [INFO] [stdout] 494 | vcrit: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `v` [INFO] [stdout] --> src/comps/mod.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | v: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `MAX` should have a snake case name [INFO] [stdout] --> src/comps/cmath.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) fn MAX(a: f64, b: f64) -> f64 { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `max` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `MIN` should have a snake case name [INFO] [stdout] --> src/comps/cmath.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) fn MIN(a: f64, b: f64) -> f64 { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `min` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/comps/mod.rs (1 fix) [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/comps/mos.rs:387:21 [INFO] [stdout] | [INFO] [stdout] 387 | 0.0 => cj_t * area, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(illegal_floating_point_literal_pattern)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/comps/mos.rs:391:21 [INFO] [stdout] | [INFO] [stdout] 391 | 0.0 => cj_t * area, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cjunc` is assigned to, but never used [INFO] [stdout] --> src/comps/diode.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | let mut cjunc = model.cj0 / (1.0 + model.m * (400e-6 * (tnom - consts::TEMP_REF) - gmaold)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_cjunc` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `cjunc` is never read [INFO] [stdout] --> src/comps/diode.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | cjunc *= 1.0 + model.m * (400e-6 * (temp - consts::TEMP_REF) - gmanew); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find` [INFO] [stdout] --> src/analysis.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn find>(&self, name: S) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/analysis.rs:366:19 [INFO] [stdout] | [INFO] [stdout] 366 | pub(crate) fn get>(&self, signame: S) -> SpResult { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TRAP` [INFO] [stdout] --> src/analysis.rs:397:5 [INFO] [stdout] | [INFO] [stdout] 397 | TRAP, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `s` [INFO] [stdout] --> src/circuit.rs:61:15 [INFO] [stdout] | [INFO] [stdout] 61 | pub(crate) fn s>(from: S) -> String { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `temp` [INFO] [stdout] --> src/comps/mos.rs:302:5 [INFO] [stdout] | [INFO] [stdout] 302 | pub(crate) temp: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `kp_t` [INFO] [stdout] --> src/comps/mos.rs:305:5 [INFO] [stdout] | [INFO] [stdout] 305 | pub(crate) kp_t: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `leff` [INFO] [stdout] --> src/comps/mos.rs:312:5 [INFO] [stdout] | [INFO] [stdout] 312 | pub(crate) leff: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `area` [INFO] [stdout] --> src/comps/mos.rs:490:5 [INFO] [stdout] | [INFO] [stdout] 490 | area: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `vcrit` [INFO] [stdout] --> src/comps/mos.rs:494:5 [INFO] [stdout] | [INFO] [stdout] 494 | vcrit: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `v` [INFO] [stdout] --> src/comps/mod.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | v: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `MAX` should have a snake case name [INFO] [stdout] --> src/comps/cmath.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) fn MAX(a: f64, b: f64) -> f64 { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `max` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `MIN` should have a snake case name [INFO] [stdout] --> src/comps/cmath.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) fn MIN(a: f64, b: f64) -> f64 { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `min` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 34s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Compiling spice21 v0.1.5 (/tmp/fixit) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MosType` [INFO] [stdout] --> src/tests.rs:1444:44 [INFO] [stdout] | [INFO] [stdout] 1444 | ckt.defs.mos0.insert("default".into(), MosType::NMOS); [INFO] [stdout] | ^^^^^^^ use of undeclared type `MosType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MosType` [INFO] [stdout] --> src/tests.rs:1445:41 [INFO] [stdout] | [INFO] [stdout] 1445 | ckt.defs.mos0.insert("nmos".into(), MosType::NMOS); [INFO] [stdout] | ^^^^^^^ use of undeclared type `MosType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MosType` [INFO] [stdout] --> src/tests.rs:1446:41 [INFO] [stdout] | [INFO] [stdout] 1446 | ckt.defs.mos0.insert("pmos".into(), MosType::PMOS); [INFO] [stdout] | ^^^^^^^ use of undeclared type `MosType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MosType` [INFO] [stdout] --> src/tests.rs:1455:19 [INFO] [stdout] | [INFO] [stdout] 1455 | mos_type: MosType::PMOS, [INFO] [stdout] | ^^^^^^^ use of undeclared type `MosType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MosType` [INFO] [stdout] --> src/tests.rs:1465:37 [INFO] [stdout] | [INFO] [stdout] 1465 | let nmos = Bsim4ModelSpecs::new(MosType::NMOS); [INFO] [stdout] | ^^^^^^^ use of undeclared type `MosType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MosType` [INFO] [stdout] --> src/tests.rs:1469:37 [INFO] [stdout] | [INFO] [stdout] 1469 | let pmos = Bsim4ModelSpecs::new(MosType::PMOS); [INFO] [stdout] | ^^^^^^^ use of undeclared type `MosType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MosPorts` in this scope [INFO] [stdout] --> src/tests.rs:191:20 [INFO] [stdout] | [INFO] [stdout] 191 | ports: MosPorts { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::MosPorts; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::tests::mos::MosPorts; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MosPorts` in this scope [INFO] [stdout] --> src/tests.rs:215:20 [INFO] [stdout] | [INFO] [stdout] 215 | ports: MosPorts { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::MosPorts; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::tests::mos::MosPorts; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MosPorts` in this scope [INFO] [stdout] --> src/tests.rs:245:20 [INFO] [stdout] | [INFO] [stdout] 245 | ports: MosPorts { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::MosPorts; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::tests::mos::MosPorts; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MosPorts` in this scope [INFO] [stdout] --> src/tests.rs:268:20 [INFO] [stdout] | [INFO] [stdout] 268 | ports: MosPorts { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::MosPorts; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::tests::mos::MosPorts; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MosPorts` in this scope [INFO] [stdout] --> src/tests.rs:292:20 [INFO] [stdout] | [INFO] [stdout] 292 | ports: MosPorts { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::MosPorts; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::tests::mos::MosPorts; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MosPorts` in this scope [INFO] [stdout] --> src/tests.rs:322:20 [INFO] [stdout] | [INFO] [stdout] 322 | ports: MosPorts { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::MosPorts; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::tests::mos::MosPorts; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MosPorts` in this scope [INFO] [stdout] --> src/tests.rs:346:20 [INFO] [stdout] | [INFO] [stdout] 346 | ports: MosPorts { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::MosPorts; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::tests::mos::MosPorts; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MosPorts` in this scope [INFO] [stdout] --> src/tests.rs:369:20 [INFO] [stdout] | [INFO] [stdout] 369 | ports: MosPorts { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::MosPorts; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::tests::mos::MosPorts; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MosPorts` in this scope [INFO] [stdout] --> src/tests.rs:394:20 [INFO] [stdout] | [INFO] [stdout] 394 | ports: MosPorts { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::MosPorts; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::tests::mos::MosPorts; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MosPorts` in this scope [INFO] [stdout] --> src/tests.rs:418:20 [INFO] [stdout] | [INFO] [stdout] 418 | ports: MosPorts { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::MosPorts; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::tests::mos::MosPorts; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MosPorts` in this scope [INFO] [stdout] --> src/tests.rs:442:20 [INFO] [stdout] | [INFO] [stdout] 442 | ports: MosPorts { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::MosPorts; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::tests::mos::MosPorts; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MosPorts` in this scope [INFO] [stdout] --> src/tests.rs:468:20 [INFO] [stdout] | [INFO] [stdout] 468 | ports: MosPorts { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::MosPorts; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::tests::mos::MosPorts; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MosPorts` in this scope [INFO] [stdout] --> src/tests.rs:493:20 [INFO] [stdout] | [INFO] [stdout] 493 | ports: MosPorts { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::MosPorts; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::tests::mos::MosPorts; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MosPorts` in this scope [INFO] [stdout] --> src/tests.rs:504:20 [INFO] [stdout] | [INFO] [stdout] 504 | ports: MosPorts { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::MosPorts; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::tests::mos::MosPorts; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MosPorts` in this scope [INFO] [stdout] --> src/tests.rs:528:20 [INFO] [stdout] | [INFO] [stdout] 528 | ports: MosPorts { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::MosPorts; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::tests::mos::MosPorts; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MosPorts` in this scope [INFO] [stdout] --> src/tests.rs:539:20 [INFO] [stdout] | [INFO] [stdout] 539 | ports: MosPorts { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::MosPorts; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::tests::mos::MosPorts; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MosPorts` in this scope [INFO] [stdout] --> src/tests.rs:570:20 [INFO] [stdout] | [INFO] [stdout] 570 | ports: MosPorts { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::MosPorts; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::tests::mos::MosPorts; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MosPorts` in this scope [INFO] [stdout] --> src/tests.rs:581:20 [INFO] [stdout] | [INFO] [stdout] 581 | ports: MosPorts { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::MosPorts; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::tests::mos::MosPorts; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MosPorts` in this scope [INFO] [stdout] --> src/tests.rs:592:20 [INFO] [stdout] | [INFO] [stdout] 592 | ports: MosPorts { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::MosPorts; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::tests::mos::MosPorts; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MosPorts` in this scope [INFO] [stdout] --> src/tests.rs:603:20 [INFO] [stdout] | [INFO] [stdout] 603 | ports: MosPorts { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::MosPorts; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::tests::mos::MosPorts; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MosPorts` in this scope [INFO] [stdout] --> src/tests.rs:614:20 [INFO] [stdout] | [INFO] [stdout] 614 | ports: MosPorts { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::MosPorts; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::tests::mos::MosPorts; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MosPorts` in this scope [INFO] [stdout] --> src/tests.rs:625:20 [INFO] [stdout] | [INFO] [stdout] 625 | ports: MosPorts { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::MosPorts; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::tests::mos::MosPorts; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MosPorts` in this scope [INFO] [stdout] --> src/tests.rs:636:20 [INFO] [stdout] | [INFO] [stdout] 636 | ports: MosPorts { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::MosPorts; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::tests::mos::MosPorts; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MosPorts` in this scope [INFO] [stdout] --> src/tests.rs:647:20 [INFO] [stdout] | [INFO] [stdout] 647 | ports: MosPorts { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::MosPorts; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::tests::mos::MosPorts; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MosPorts` in this scope [INFO] [stdout] --> src/tests.rs:798:20 [INFO] [stdout] | [INFO] [stdout] 798 | ports: MosPorts { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::MosPorts; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::tests::mos::MosPorts; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MosPorts` in this scope [INFO] [stdout] --> src/tests.rs:824:20 [INFO] [stdout] | [INFO] [stdout] 824 | ports: MosPorts { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::MosPorts; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::tests::mos::MosPorts; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MosPorts` in this scope [INFO] [stdout] --> src/tests.rs:1082:20 [INFO] [stdout] | [INFO] [stdout] 1082 | ports: MosPorts { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::MosPorts; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::tests::mos::MosPorts; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MosPorts` in this scope [INFO] [stdout] --> src/tests.rs:1120:20 [INFO] [stdout] | [INFO] [stdout] 1120 | ports: MosPorts { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::MosPorts; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::tests::mos::MosPorts; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MosPorts` in this scope [INFO] [stdout] --> src/tests.rs:1152:20 [INFO] [stdout] | [INFO] [stdout] 1152 | ports: MosPorts { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::MosPorts; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::tests::mos::MosPorts; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MosPorts` in this scope [INFO] [stdout] --> src/tests.rs:1186:20 [INFO] [stdout] | [INFO] [stdout] 1186 | ports: MosPorts { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::MosPorts; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::tests::mos::MosPorts; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MosPorts` in this scope [INFO] [stdout] --> src/tests.rs:1218:20 [INFO] [stdout] | [INFO] [stdout] 1218 | ports: MosPorts { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::MosPorts; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::tests::mos::MosPorts; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MosPorts` in this scope [INFO] [stdout] --> src/tests.rs:1280:20 [INFO] [stdout] | [INFO] [stdout] 1280 | ports: MosPorts { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::MosPorts; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::tests::mos::MosPorts; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MosPorts` in this scope [INFO] [stdout] --> src/tests.rs:1303:20 [INFO] [stdout] | [INFO] [stdout] 1303 | ports: MosPorts { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::MosPorts; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::tests::mos::MosPorts; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MosPorts` in this scope [INFO] [stdout] --> src/tests.rs:1344:20 [INFO] [stdout] | [INFO] [stdout] 1344 | ports: MosPorts { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::MosPorts; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::tests::mos::MosPorts; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::comps::*` [INFO] [stdout] --> src/tests.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::comps::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `mos` is imported redundantly [INFO] [stdout] --> src/tests.rs:1450:9 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::comps::*; [INFO] [stdout] | --------------- the item `mos` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1450 | use crate::comps::mos; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/comps/mos.rs:387:21 [INFO] [stdout] | [INFO] [stdout] 387 | 0.0 => cj_t * area, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(illegal_floating_point_literal_pattern)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/comps/mos.rs:391:21 [INFO] [stdout] | [INFO] [stdout] 391 | 0.0 => cj_t * area, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cjunc` is assigned to, but never used [INFO] [stdout] --> src/comps/diode.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | let mut cjunc = model.cj0 / (1.0 + model.m * (400e-6 * (tnom - consts::TEMP_REF) - gmaold)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_cjunc` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `cjunc` is never read [INFO] [stdout] --> src/comps/diode.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | cjunc *= 1.0 + model.m * (400e-6 * (temp - consts::TEMP_REF) - gmanew); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 40 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] error: could not compile `spice21` due to 41 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: associated function is never used: `find` [INFO] [stdout] --> src/analysis.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn find>(&self, name: S) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/analysis.rs:366:19 [INFO] [stdout] | [INFO] [stdout] 366 | pub(crate) fn get>(&self, signame: S) -> SpResult { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TRAP` [INFO] [stdout] --> src/analysis.rs:397:5 [INFO] [stdout] | [INFO] [stdout] 397 | TRAP, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `s` [INFO] [stdout] --> src/circuit.rs:61:15 [INFO] [stdout] | [INFO] [stdout] 61 | pub(crate) fn s>(from: S) -> String { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `temp` [INFO] [stdout] --> src/comps/mos.rs:302:5 [INFO] [stdout] | [INFO] [stdout] 302 | pub(crate) temp: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `kp_t` [INFO] [stdout] --> src/comps/mos.rs:305:5 [INFO] [stdout] | [INFO] [stdout] 305 | pub(crate) kp_t: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `leff` [INFO] [stdout] --> src/comps/mos.rs:312:5 [INFO] [stdout] | [INFO] [stdout] 312 | pub(crate) leff: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `area` [INFO] [stdout] --> src/comps/mos.rs:490:5 [INFO] [stdout] | [INFO] [stdout] 490 | area: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `vcrit` [INFO] [stdout] --> src/comps/mos.rs:494:5 [INFO] [stdout] | [INFO] [stdout] 494 | vcrit: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `v` [INFO] [stdout] --> src/comps/mod.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | v: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `MAX` should have a snake case name [INFO] [stdout] --> src/comps/cmath.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) fn MAX(a: f64, b: f64) -> f64 { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `max` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `MIN` should have a snake case name [INFO] [stdout] --> src/comps/cmath.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) fn MIN(a: f64, b: f64) -> f64 { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `min` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to check after updating to 2021 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "87840c0c58ceaca3d7bab43bc15ff73536f6a1e1c01d5434000b73ffbfaa5a39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87840c0c58ceaca3d7bab43bc15ff73536f6a1e1c01d5434000b73ffbfaa5a39", kill_on_drop: false }` [INFO] [stdout] 87840c0c58ceaca3d7bab43bc15ff73536f6a1e1c01d5434000b73ffbfaa5a39