[INFO] fetching crate spice21 0.1.5... [INFO] checking spice21-0.1.5 against try#e251c42c969d6f8dbaae00e1028489c3a29f8789 for pr-94081 [INFO] extracting crate spice21 0.1.5 into /workspace/builds/worker-113/source [INFO] validating manifest of crates.io crate spice21 0.1.5 on toolchain e251c42c969d6f8dbaae00e1028489c3a29f8789 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e251c42c969d6f8dbaae00e1028489c3a29f8789" "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-113/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e251c42c969d6f8dbaae00e1028489c3a29f8789" "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" "+e251c42c969d6f8dbaae00e1028489c3a29f8789" "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-113/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+e251c42c969d6f8dbaae00e1028489c3a29f8789" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b41c70cf2fe929cf81940b811c63de89034e51b54563462cbe57e5581d5a54a [INFO] running `Command { std: "docker" "start" "-a" "1b41c70cf2fe929cf81940b811c63de89034e51b54563462cbe57e5581d5a54a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b41c70cf2fe929cf81940b811c63de89034e51b54563462cbe57e5581d5a54a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b41c70cf2fe929cf81940b811c63de89034e51b54563462cbe57e5581d5a54a", kill_on_drop: false }` [INFO] [stdout] 1b41c70cf2fe929cf81940b811c63de89034e51b54563462cbe57e5581d5a54a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+e251c42c969d6f8dbaae00e1028489c3a29f8789" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 487d9723db74f9f64425330403075f0a55425f84839545e67feabde91e256982 [INFO] running `Command { std: "docker" "start" "-a" "487d9723db74f9f64425330403075f0a55425f84839545e67feabde91e256982", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling anyhow v1.0.54 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling libc v0.2.118 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling prost-derive v0.6.1 [INFO] [stderr] Compiling enum_dispatch v0.3.8 [INFO] [stderr] Compiling prost v0.6.1 [INFO] [stderr] Checking spice21int v0.1.5 [INFO] [stderr] Checking prost-types v0.6.1 [INFO] [stderr] Compiling spice21procs v0.1.5 [INFO] [stderr] Compiling spice21 v0.1.5 (/opt/rustwide/workdir) [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking serde_yaml v0.8.23 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking num v0.3.1 [INFO] [stdout] warning: unused import: `mos::*` [INFO] [stdout] --> src/comps/mod.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) use mos::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TranState` [INFO] [stdout] --> src/comps/mos.rs:14:67 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::analysis::{AnalysisInfo, ChargeInteg, Options, Stamps, TranState, VarIndex, Variables}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/comps/diode.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `from_opt_type` [INFO] [stdout] --> src/comps/diode.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::{attr, from_opt_type, sperror, SpNum, SpResult}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TranState` [INFO] [stdout] --> src/comps/mos.rs:14:67 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::analysis::{AnalysisInfo, ChargeInteg, Options, Stamps, TranState, VarIndex, Variables}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/comps/diode.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `from_opt_type` [INFO] [stdout] --> src/comps/diode.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::{attr, from_opt_type, sperror, SpNum, SpResult}; [INFO] [stdout] | ^^^^^^^^^^^^^ [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: unused variable: `m_` [INFO] [stdout] --> src/elab.rs:147:28 [INFO] [stdout] | [INFO] [stdout] 147 | } else if let Some(m_) = self.defs.mos1.models.get(&model) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_m_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pbfact1` [INFO] [stdout] --> src/comps/mos.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | let pbfact1 = -2.0 * vtnom * (1.5 * fact1.ln() + Q * arg1); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pbfact1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/comps/mos.rs:321:21 [INFO] [stdout] | [INFO] [stdout] 321 | if let Some(t) = inst.temp { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gcbs` [INFO] [stdout] --> src/comps/mos.rs:929:13 [INFO] [stdout] | [INFO] [stdout] 929 | let gcbs = omega * self.op.cbs; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_gcbs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gcbd` [INFO] [stdout] --> src/comps/mos.rs:930:13 [INFO] [stdout] | [INFO] [stdout] 930 | let gcbd = omega * self.op.cbd; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_gcbd` [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: 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: 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: unused variable: `m_` [INFO] [stdout] --> src/elab.rs:147:28 [INFO] [stdout] | [INFO] [stdout] 147 | } else if let Some(m_) = self.defs.mos1.models.get(&model) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_m_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pbfact1` [INFO] [stdout] --> src/comps/mos.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | let pbfact1 = -2.0 * vtnom * (1.5 * fact1.ln() + Q * arg1); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pbfact1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/comps/mos.rs:321:21 [INFO] [stdout] | [INFO] [stdout] 321 | if let Some(t) = inst.temp { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gcbs` [INFO] [stdout] --> src/comps/mos.rs:929:13 [INFO] [stdout] | [INFO] [stdout] 929 | let gcbs = omega * self.op.cbs; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_gcbs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gcbd` [INFO] [stdout] --> src/comps/mos.rs:930:13 [INFO] [stdout] | [INFO] [stdout] 930 | let gcbd = omega * self.op.cbd; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_gcbd` [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: 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: unused variable: `d` [INFO] [stdout] --> src/proto.rs:338:13 [INFO] [stdout] | [INFO] [stdout] 338 | let d: Circuit = toml::from_str(&s).unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [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: `v` [INFO] [stdout] --> src/comps/mod.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | v: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CapOpPoint` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/comps/mod.rs:165:10 [INFO] [stdout] | [INFO] [stdout] 165 | #[derive(Clone, Copy, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `orig` [INFO] [stdout] --> src/sparse21/mod.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | orig: (usize, usize, T), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Element` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sparse21/mod.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `m` [INFO] [stdout] --> src/comps/mos.rs:252:5 [INFO] [stdout] | [INFO] [stdout] 252 | m: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Mos1InstanceParams` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/comps/mos.rs:250:10 [INFO] [stdout] | [INFO] [stdout] 250 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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: `ids` [INFO] [stdout] --> src/comps/mos.rs:527:5 [INFO] [stdout] | [INFO] [stdout] 527 | ids: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Mos1OpPoint` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/comps/mos.rs:525:19 [INFO] [stdout] | [INFO] [stdout] 525 | #[derive(Default, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `vds` [INFO] [stdout] --> src/comps/mos.rs:529:5 [INFO] [stdout] | [INFO] [stdout] 529 | vds: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Mos1OpPoint` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/comps/mos.rs:525:19 [INFO] [stdout] | [INFO] [stdout] 525 | #[derive(Default, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/elab.rs:97:28 [INFO] [stdout] | [INFO] [stdout] 97 | None => panic!(format!("Parameters not defined: {}", params)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 97 - None => panic!(format!("Parameters not defined: {}", params)), [INFO] [stdout] 97 + None => panic!("Parameters not defined: {}", params), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/elab.rs:151:32 [INFO] [stdout] | [INFO] [stdout] 151 | None => panic!(format!("Parameters not defined: {}", params)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 151 - None => panic!(format!("Parameters not defined: {}", params)), [INFO] [stdout] 151 + None => panic!("Parameters not defined: {}", params), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/elab.rs:167:20 [INFO] [stdout] | [INFO] [stdout] 167 | panic!(format!("Model not defined: {}", model)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 167 - panic!(format!("Model not defined: {}", model)); [INFO] [stdout] 167 + panic!("Model not defined: {}", model); [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] [stderr] error: could not compile `spice21`; 32 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustc --crate-name spice21 --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 -C metadata=59fd0f5806e6632a -C extra-filename=-59fd0f5806e6632a --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern bytes=/opt/rustwide/target/debug/deps/libbytes-1351b578c83586bb.rmeta --extern enum_dispatch=/opt/rustwide/target/debug/deps/libenum_dispatch-9ac9401fc864f96a.so --extern num=/opt/rustwide/target/debug/deps/libnum-3110e663fdcd68a5.rmeta --extern prost=/opt/rustwide/target/debug/deps/libprost-06e054baee283cce.rmeta --extern prost_types=/opt/rustwide/target/debug/deps/libprost_types-0b70e56888dd2fea.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-23ca550cd5218669.rmeta --extern serde_derive=/opt/rustwide/target/debug/deps/libserde_derive-3c44de0a2437352c.so --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-bce02fede3f060dd.rmeta --extern serde_yaml=/opt/rustwide/target/debug/deps/libserde_yaml-ce64e8f5491fe1fb.rmeta --extern spice21int=/opt/rustwide/target/debug/deps/libspice21int-51559f7b8b737b12.rmeta --extern spice21procs=/opt/rustwide/target/debug/deps/libspice21procs-c99fb7edebcf4e12.so --extern textwrap=/opt/rustwide/target/debug/deps/libtextwrap-8199935811c71723.rmeta --extern toml=/opt/rustwide/target/debug/deps/libtoml-7793ee574446e7b9.rmeta --cap-lints=forbid` (signal: 9, SIGKILL: kill) [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: 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: `v` [INFO] [stdout] --> src/comps/mod.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | v: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CapOpPoint` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/comps/mod.rs:165:10 [INFO] [stdout] | [INFO] [stdout] 165 | #[derive(Clone, Copy, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `orig` [INFO] [stdout] --> src/sparse21/mod.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | orig: (usize, usize, T), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Element` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sparse21/mod.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `m` [INFO] [stdout] --> src/comps/mos.rs:252:5 [INFO] [stdout] | [INFO] [stdout] 252 | m: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Mos1InstanceParams` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/comps/mos.rs:250:10 [INFO] [stdout] | [INFO] [stdout] 250 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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: `ids` [INFO] [stdout] --> src/comps/mos.rs:527:5 [INFO] [stdout] | [INFO] [stdout] 527 | ids: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Mos1OpPoint` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/comps/mos.rs:525:19 [INFO] [stdout] | [INFO] [stdout] 525 | #[derive(Default, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `vds` [INFO] [stdout] --> src/comps/mos.rs:529:5 [INFO] [stdout] | [INFO] [stdout] 529 | vds: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Mos1OpPoint` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/comps/mos.rs:525:19 [INFO] [stdout] | [INFO] [stdout] 525 | #[derive(Default, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/elab.rs:97:28 [INFO] [stdout] | [INFO] [stdout] 97 | None => panic!(format!("Parameters not defined: {}", params)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 97 - None => panic!(format!("Parameters not defined: {}", params)), [INFO] [stdout] 97 + None => panic!("Parameters not defined: {}", params), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/elab.rs:151:32 [INFO] [stdout] | [INFO] [stdout] 151 | None => panic!(format!("Parameters not defined: {}", params)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 151 - None => panic!(format!("Parameters not defined: {}", params)), [INFO] [stdout] 151 + None => panic!("Parameters not defined: {}", params), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/elab.rs:167:20 [INFO] [stdout] | [INFO] [stdout] 167 | panic!(format!("Model not defined: {}", model)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 167 - panic!(format!("Model not defined: {}", model)); [INFO] [stdout] 167 + panic!("Model not defined: {}", model); [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: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "487d9723db74f9f64425330403075f0a55425f84839545e67feabde91e256982", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "487d9723db74f9f64425330403075f0a55425f84839545e67feabde91e256982", kill_on_drop: false }` [INFO] [stdout] 487d9723db74f9f64425330403075f0a55425f84839545e67feabde91e256982