[INFO] cloning repository https://github.com/voloder/rusty-circuits
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/voloder/rusty-circuits" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoloder%2Frusty-circuits", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoloder%2Frusty-circuits'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bb8093e3d94bf7abc4d1e08a1928130243ab35a2
[INFO] checking voloder/rusty-circuits against try#2b3c0f3a743ea631d10817f9a05e6b73970e9ef1 for pr-139751-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoloder%2Frusty-circuits" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/voloder/rusty-circuits
[INFO] finished tweaking git repo https://github.com/voloder/rusty-circuits
[INFO] tweaked toml for git repo https://github.com/voloder/rusty-circuits written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/voloder/rusty-circuits on toolchain 2b3c0f3a743ea631d10817f9a05e6b73970e9ef1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2b3c0f3a743ea631d10817f9a05e6b73970e9ef1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/voloder/rusty-circuits 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" "+2b3c0f3a743ea631d10817f9a05e6b73970e9ef1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2b3c0f3a743ea631d10817f9a05e6b73970e9ef1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ad3026c128fa36490bad7b829181cd3ce204dc17584af4364692052902218222
[INFO] running `Command { std: "docker" "start" "-a" "ad3026c128fa36490bad7b829181cd3ce204dc17584af4364692052902218222", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ad3026c128fa36490bad7b829181cd3ce204dc17584af4364692052902218222", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ad3026c128fa36490bad7b829181cd3ce204dc17584af4364692052902218222", kill_on_drop: false }`
[INFO] [stdout] ad3026c128fa36490bad7b829181cd3ce204dc17584af4364692052902218222
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2b3c0f3a743ea631d10817f9a05e6b73970e9ef1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 68191ea693becae6bc77c6d43b9235ca99fa1384bbcfa1221ff96ae4595d3fd3
[INFO] running `Command { std: "docker" "start" "-a" "68191ea693becae6bc77c6d43b9235ca99fa1384bbcfa1221ff96ae4595d3fd3", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling rustix v0.38.34
[INFO] [stderr]     Checking libloading v0.8.5
[INFO] [stderr]    Compiling wayland-sys v0.31.4
[INFO] [stderr]    Compiling cc v1.1.8
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]    Compiling quick-xml v0.34.0
[INFO] [stderr]    Compiling wayland-client v0.31.5
[INFO] [stderr]     Checking dlib v0.5.2
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]     Checking parking v2.2.0
[INFO] [stderr]    Compiling indexmap v2.3.0
[INFO] [stderr]     Checking futures-io v0.3.30
[INFO] [stderr]    Compiling winnow v0.5.40
[INFO] [stderr]     Checking concurrent-queue v2.5.0
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling serde v1.0.205
[INFO] [stderr]     Checking event-listener v5.3.1
[INFO] [stderr]    Compiling syn v2.0.72
[INFO] [stderr]    Compiling wayland-scanner v0.31.4
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling io-lifetimes v1.0.11
[INFO] [stderr]     Checking fastrand v2.1.0
[INFO] [stderr]    Compiling wayland-backend v0.3.6
[INFO] [stderr]     Checking event-listener-strategy v0.5.2
[INFO] [stderr]     Checking futures-lite v2.3.0
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]    Compiling memoffset v0.7.1
[INFO] [stderr]    Compiling polling v2.8.0
[INFO] [stderr]     Checking fastrand v1.9.0
[INFO] [stderr]    Compiling regex-syntax v0.8.4
[INFO] [stderr]    Compiling rustix v0.37.27
[INFO] [stderr]     Checking waker-fn v1.2.0
[INFO] [stderr]    Compiling khronos_api v3.1.0
[INFO] [stderr]     Checking futures-lite v1.13.0
[INFO] [stderr]     Checking piper v0.2.3
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking async-channel v2.3.1
[INFO] [stderr]     Checking async-lock v2.8.0
[INFO] [stderr]    Compiling async-fs v1.6.0
[INFO] [stderr]    Compiling async-io v1.13.0
[INFO] [stderr]     Checking linux-raw-sys v0.3.8
[INFO] [stderr]     Checking ttf-parser v0.24.1
[INFO] [stderr]     Checking blocking v1.6.1
[INFO] [stderr]    Compiling regex-automata v0.4.7
[INFO] [stderr]    Compiling zvariant_utils v1.0.1
[INFO] [stderr]    Compiling proc-macro-crate v1.3.1
[INFO] [stderr]     Checking owned_ttf_parser v0.24.0
[INFO] [stderr]     Checking socket2 v0.4.10
[INFO] [stderr]     Checking cpufeatures v0.2.12
[INFO] [stderr]     Checking xcursor v0.3.6
[INFO] [stderr]    Compiling xml-rs v0.8.21
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling bytemuck_derive v1.7.0
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling thiserror-impl v1.0.63
[INFO] [stderr]    Compiling serde_derive v1.0.205
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]    Compiling enumflags2_derive v0.7.10
[INFO] [stderr]    Compiling zvariant_derive v3.15.2
[INFO] [stderr]     Checking bytemuck v1.16.3
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]    Compiling regex v1.10.6
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking polling v3.7.2
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]     Checking thiserror v1.0.63
[INFO] [stderr]     Checking wayland-protocols v0.31.2
[INFO] [stderr]     Checking wayland-cursor v0.31.5
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling serde_repr v0.1.19
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling async-recursion v1.1.1
[INFO] [stderr]    Compiling async-trait v0.1.81
[INFO] [stderr]     Checking ab_glyph v0.2.28
[INFO] [stderr]     Checking wayland-csd-frame v0.3.0
[INFO] [stderr]    Compiling zbus_macros v3.15.2
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking nix v0.26.4
[INFO] [stderr]     Checking async-executor v1.13.0
[INFO] [stderr]     Checking xdg-home v1.2.0
[INFO] [stderr]     Checking memmap2 v0.9.4
[INFO] [stderr]     Checking async-broadcast v0.5.1
[INFO] [stderr]     Checking ordered-stream v0.2.0
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]     Checking ahash v0.8.11
[INFO] [stderr]     Checking calloop v0.12.4
[INFO] [stderr]    Compiling smithay-client-toolkit v0.18.1
[INFO] [stderr]     Checking tiny-skia-path v0.11.4
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking calloop-wayland-source v0.2.0
[INFO] [stderr]     Checking accesskit v0.12.3
[INFO] [stderr]     Checking x11rb-protocol v0.13.1
[INFO] [stderr]     Checking arrayvec v0.7.4
[INFO] [stderr]     Checking tiny-skia v0.11.4
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking emath v0.28.1
[INFO] [stderr]    Compiling winit v0.29.15
[INFO] [stderr]     Checking raw-window-handle v0.5.2
[INFO] [stderr]     Checking wayland-protocols-wlr v0.2.0
[INFO] [stderr]     Checking wayland-protocols-plasma v0.2.0
[INFO] [stderr]     Checking ecolor v0.28.1
[INFO] [stderr]     Checking unicode-normalization v0.1.23
[INFO] [stderr]    Compiling glutin_glx_sys v0.5.0
[INFO] [stderr]    Compiling glutin_egl_sys v0.6.0
[INFO] [stderr]     Checking calloop v0.13.0
[INFO] [stderr]     Checking wayland-protocols v0.32.3
[INFO] [stderr]     Checking xkbcommon-dl v0.4.2
[INFO] [stderr]     Checking adler v1.0.2
[INFO] [stderr]     Checking nohash-hasher v0.2.0
[INFO] [stderr]     Checking epaint v0.28.1
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]     Checking miniz_oxide v0.7.4
[INFO] [stderr]     Checking calloop-wayland-source v0.3.0
[INFO] [stderr]     Checking accesskit_consumer v0.16.1
[INFO] [stderr]    Compiling glutin v0.31.3
[INFO] [stderr]     Checking async-once-cell v0.5.3
[INFO] [stderr]     Checking sctk-adwaita v0.8.3
[INFO] [stderr]     Checking flate2 v1.0.31
[INFO] [stderr]     Checking enumflags2 v0.7.10
[INFO] [stderr]     Checking egui v0.28.1
[INFO] [stderr]     Checking zvariant v3.15.2
[INFO] [stderr]     Checking url v2.5.2
[INFO] [stderr]     Checking fdeflate v0.3.4
[INFO] [stderr]     Checking safe_arch v0.7.2
[INFO] [stderr]    Compiling glutin-winit v0.4.2
[INFO] [stderr]    Compiling matrixmultiply v0.3.9
[INFO] [stderr]     Checking home v0.5.9
[INFO] [stderr]     Checking png v0.17.13
[INFO] [stderr]     Checking wide v0.7.26
[INFO] [stderr]     Checking webbrowser v1.0.1
[INFO] [stderr]     Checking num-complex v0.4.6
[INFO] [stderr]     Checking approx v0.5.1
[INFO] [stderr]     Checking rawpointer v0.2.1
[INFO] [stderr]    Compiling litrs v0.4.1
[INFO] [stderr]     Checking byteorder-lite v0.1.0
[INFO] [stderr]     Checking web-time v0.2.4
[INFO] [stderr]     Checking zbus_names v2.6.1
[INFO] [stderr]     Checking image v0.25.2
[INFO] [stderr]     Checking num-rational v0.4.2
[INFO] [stderr]    Compiling document-features v0.2.10
[INFO] [stderr]     Checking zbus v3.15.2
[INFO] [stderr]    Compiling nalgebra-macros v0.2.2
[INFO] [stderr]     Checking simba v0.9.0
[INFO] [stderr]     Checking itertools v0.13.0
[INFO] [stderr]     Checking wayland-protocols-wlr v0.3.3
[INFO] [stderr]     Checking egui_glow v0.28.1
[INFO] [stderr]     Checking smithay-client-toolkit v0.19.2
[INFO] [stderr]     Checking smithay-clipboard v0.7.2
[INFO] [stderr]     Checking atspi-common v0.3.0
[INFO] [stderr]     Checking x11rb v0.13.1
[INFO] [stderr]     Checking nalgebra v0.33.0
[INFO] [stderr]     Checking arboard v3.4.0
[INFO] [stderr]     Checking atspi-proxies v0.3.0
[INFO] [stderr]     Checking atspi-connection v0.3.0
[INFO] [stderr]     Checking atspi v0.19.0
[INFO] [stderr]     Checking accesskit_unix v0.6.2
[INFO] [stderr]     Checking accesskit_winit v0.16.1
[INFO] [stderr]     Checking egui-winit v0.28.1
[INFO] [stderr]     Checking eframe v0.28.1
[INFO] [stderr]     Checking rusty_circuit v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `ElementType`
[INFO] [stdout]  --> src/circuit_solver.rs:2:29
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::{CircuitElement, ElementType, Node};
[INFO] [stdout]   |                             ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BTreeMap`
[INFO] [stdout]  --> src/components/capacitor.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::{BTreeMap, HashMap};
[INFO] [stdout]   |                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::hash_map::Values`
[INFO] [stdout]  --> src/components/capacitor.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::hash_map::Values;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Rect`
[INFO] [stdout]  --> src/components/capacitor.rs:4:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | use eframe::egui::{Pos2, Rect, Stroke, Vec2};
[INFO] [stdout]   |                          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BTreeMap`
[INFO] [stdout]  --> src/components/dc_voltage_source.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::{BTreeMap, HashMap};
[INFO] [stdout]   |                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::hash_map::Values`
[INFO] [stdout]  --> src/components/dc_voltage_source.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::hash_map::Values;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Rect`
[INFO] [stdout]  --> src/components/dc_voltage_source.rs:4:33
[INFO] [stdout]   |
[INFO] [stdout] 4 | use eframe::egui::{Frame, Pos2, Rect, Stroke, Vec2};
[INFO] [stdout]   |                                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BTreeMap`
[INFO] [stdout]  --> src/components/resistor.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::{BTreeMap, HashMap};
[INFO] [stdout]   |                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::hash_map::Values`
[INFO] [stdout]  --> src/components/resistor.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::hash_map::Values;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Ui`
[INFO] [stdout]  --> src/components/resistor.rs:4:54
[INFO] [stdout]   |
[INFO] [stdout] 4 | use eframe::egui::{Frame, Pos2, Rect, Shape, Stroke, Ui, Vec2};
[INFO] [stdout]   |                                                      ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `eframe::egui::debug_text::print`
[INFO] [stdout]  --> src/components/resistor.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use eframe::egui::debug_text::print;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BTreeMap`
[INFO] [stdout]  --> src/components/wire.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::{BTreeMap, HashMap};
[INFO] [stdout]   |                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::hash_map::Values`
[INFO] [stdout]  --> src/components/wire.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::hash_map::Values;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Rect`
[INFO] [stdout]  --> src/components/wire.rs:4:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | use eframe::egui::{Pos2, Rect, Stroke, Vec2};
[INFO] [stdout]   |                          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `eframe::egui::accesskit::NodeClassSet`
[INFO] [stdout]  --> src/components/wire.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use eframe::egui::accesskit::NodeClassSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BTreeMap`
[INFO] [stdout]  --> src/components/current_source.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::{BTreeMap, HashMap};
[INFO] [stdout]   |                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::hash_map::Values`
[INFO] [stdout]  --> src/components/current_source.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::hash_map::Values;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Rect`
[INFO] [stdout]  --> src/components/current_source.rs:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | use eframe::egui::{Color32, Pos2, Rect, Stroke, Vec2};
[INFO] [stdout]   |                                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BTreeMap`
[INFO] [stdout]  --> src/components/circuit_switch.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::{BTreeMap, HashMap};
[INFO] [stdout]   |                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::hash_map::Values`
[INFO] [stdout]  --> src/components/circuit_switch.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::hash_map::Values;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BTreeMap`
[INFO] [stdout]  --> src/components/ground.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::{BTreeMap, HashMap};
[INFO] [stdout]   |                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::hash_map::Values`
[INFO] [stdout]  --> src/components/ground.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::hash_map::Values;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Rect`
[INFO] [stdout]  --> src/components/ground.rs:4:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | use eframe::egui::{Pos2, Rect, Stroke, Vec2};
[INFO] [stdout]   |                          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::hash_map::Values`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::collections::hash_map::Values;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::num::FpCategory::Zero`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::num::FpCategory::Zero;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Add`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::ops::Add;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WindowBuilder`
[INFO] [stdout]   --> src/main.rs:15:20
[INFO] [stdout]    |
[INFO] [stdout] 15 | use eframe::{egui, WindowBuilder};
[INFO] [stdout]    |                    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WidgetText`
[INFO] [stdout]   --> src/main.rs:16:53
[INFO] [stdout]    |
[INFO] [stdout] 16 | use eframe::egui::{FontFamily, Key, Rgba, RichText, WidgetText};
[INFO] [stdout]    |                                                     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Shape`
[INFO] [stdout]   --> src/main.rs:18:37
[INFO] [stdout]    |
[INFO] [stdout] 18 | use eframe::epaint::{Color32, Pos2, Shape, Stroke};
[INFO] [stdout]    |                                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ElementType`
[INFO] [stdout]  --> src/circuit_solver.rs:2:29
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::{CircuitElement, ElementType, Node};
[INFO] [stdout]   |                             ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BTreeMap`
[INFO] [stdout]  --> src/components/capacitor.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::{BTreeMap, HashMap};
[INFO] [stdout]   |                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::hash_map::Values`
[INFO] [stdout]  --> src/components/capacitor.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::hash_map::Values;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Rect`
[INFO] [stdout]  --> src/components/capacitor.rs:4:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | use eframe::egui::{Pos2, Rect, Stroke, Vec2};
[INFO] [stdout]   |                          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BTreeMap`
[INFO] [stdout]  --> src/components/dc_voltage_source.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::{BTreeMap, HashMap};
[INFO] [stdout]   |                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::hash_map::Values`
[INFO] [stdout]  --> src/components/dc_voltage_source.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::hash_map::Values;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Rect`
[INFO] [stdout]  --> src/components/dc_voltage_source.rs:4:33
[INFO] [stdout]   |
[INFO] [stdout] 4 | use eframe::egui::{Frame, Pos2, Rect, Stroke, Vec2};
[INFO] [stdout]   |                                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BTreeMap`
[INFO] [stdout]  --> src/components/resistor.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::{BTreeMap, HashMap};
[INFO] [stdout]   |                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::hash_map::Values`
[INFO] [stdout]  --> src/components/resistor.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::hash_map::Values;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Ui`
[INFO] [stdout]  --> src/components/resistor.rs:4:54
[INFO] [stdout]   |
[INFO] [stdout] 4 | use eframe::egui::{Frame, Pos2, Rect, Shape, Stroke, Ui, Vec2};
[INFO] [stdout]   |                                                      ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `eframe::egui::debug_text::print`
[INFO] [stdout]  --> src/components/resistor.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use eframe::egui::debug_text::print;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BTreeMap`
[INFO] [stdout]  --> src/components/wire.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::{BTreeMap, HashMap};
[INFO] [stdout]   |                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::hash_map::Values`
[INFO] [stdout]  --> src/components/wire.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::hash_map::Values;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Rect`
[INFO] [stdout]  --> src/components/wire.rs:4:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | use eframe::egui::{Pos2, Rect, Stroke, Vec2};
[INFO] [stdout]   |                          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `eframe::egui::accesskit::NodeClassSet`
[INFO] [stdout]  --> src/components/wire.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use eframe::egui::accesskit::NodeClassSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BTreeMap`
[INFO] [stdout]  --> src/components/current_source.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::{BTreeMap, HashMap};
[INFO] [stdout]   |                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::hash_map::Values`
[INFO] [stdout]  --> src/components/current_source.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::hash_map::Values;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Rect`
[INFO] [stdout]  --> src/components/current_source.rs:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | use eframe::egui::{Color32, Pos2, Rect, Stroke, Vec2};
[INFO] [stdout]   |                                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BTreeMap`
[INFO] [stdout]  --> src/components/circuit_switch.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::{BTreeMap, HashMap};
[INFO] [stdout]   |                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::hash_map::Values`
[INFO] [stdout]  --> src/components/circuit_switch.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::hash_map::Values;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BTreeMap`
[INFO] [stdout]  --> src/components/ground.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::{BTreeMap, HashMap};
[INFO] [stdout]   |                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::hash_map::Values`
[INFO] [stdout]  --> src/components/ground.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::hash_map::Values;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Rect`
[INFO] [stdout]  --> src/components/ground.rs:4:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | use eframe::egui::{Pos2, Rect, Stroke, Vec2};
[INFO] [stdout]   |                          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::hash_map::Values`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::collections::hash_map::Values;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::num::FpCategory::Zero`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::num::FpCategory::Zero;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Add`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::ops::Add;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WindowBuilder`
[INFO] [stdout]   --> src/main.rs:15:20
[INFO] [stdout]    |
[INFO] [stdout] 15 | use eframe::{egui, WindowBuilder};
[INFO] [stdout]    |                    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WidgetText`
[INFO] [stdout]   --> src/main.rs:16:53
[INFO] [stdout]    |
[INFO] [stdout] 16 | use eframe::egui::{FontFamily, Key, Rgba, RichText, WidgetText};
[INFO] [stdout]    |                                                     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Shape`
[INFO] [stdout]   --> src/main.rs:18:37
[INFO] [stdout]    |
[INFO] [stdout] 18 | use eframe::epaint::{Color32, Pos2, Shape, Stroke};
[INFO] [stdout]    |                                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `element`
[INFO] [stdout]   --> src/circuit_solver.rs:84:30
[INFO] [stdout]    |
[INFO] [stdout] 84 |         elements.retain(|id, element| {
[INFO] [stdout]    |                              ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nodes`
[INFO] [stdout]   --> src/components/capacitor.rs:20:112
[INFO] [stdout]    |
[INFO] [stdout] 20 | ...pos: Pos2, screen_size: Vec2, nodes: &HashMap<(i32, i32), Node>) {
[INFO] [stdout]    |                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_nodes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nodes`
[INFO] [stdout]   --> src/components/dc_voltage_source.rs:25:112
[INFO] [stdout]    |
[INFO] [stdout] 25 | ...pos: Pos2, screen_size: Vec2, nodes: &HashMap<(i32, i32), Node>) {
[INFO] [stdout]    |                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_nodes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vector`
[INFO] [stdout]   --> src/components/resistor.rs:84:55
[INFO] [stdout]    |
[INFO] [stdout] 84 |     fn stamp_matrix(&self, matrix: &mut DMatrix<f64>, vector: &mut DVector<f64>, nodes: &Vec<Node>) {
[INFO] [stdout]    |                                                       ^^^^^^ help: if this is intentional, prefix it with an underscore: `_vector`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `grid_step`
[INFO] [stdout]   --> src/components/wire.rs:22:59
[INFO] [stdout]    |
[INFO] [stdout] 22 | ...egui::Ui, stroke: Stroke, grid_step: f32, screen_pos: Pos2, screen_size: Vec2, nodes: &HashMap<(i32, i32), Node>) {
[INFO] [stdout]    |                              ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_grid_step`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nodes`
[INFO] [stdout]   --> src/components/wire.rs:22:112
[INFO] [stdout]    |
[INFO] [stdout] 22 | ...pos: Pos2, screen_size: Vec2, nodes: &HashMap<(i32, i32), Node>) {
[INFO] [stdout]    |                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_nodes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nodes`
[INFO] [stdout]   --> src/components/current_source.rs:23:112
[INFO] [stdout]    |
[INFO] [stdout] 23 | ...pos: Pos2, screen_size: Vec2, nodes: &HashMap<(i32, i32), Node>) {
[INFO] [stdout]    |                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_nodes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `normal`
[INFO] [stdout]   --> src/components/current_source.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let normal = Vec2::new(screen_size.y, -screen_size.x) / screen_size.length();
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_normal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `matrix`
[INFO] [stdout]   --> src/components/current_source.rs:68:28
[INFO] [stdout]    |
[INFO] [stdout] 68 |     fn stamp_matrix(&self, matrix: &mut DMatrix<f64>, vector: &mut DVector<f64>, nodes: &Vec<Node>) {
[INFO] [stdout]    |                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_matrix`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nodes`
[INFO] [stdout]   --> src/components/circuit_switch.rs:22:112
[INFO] [stdout]    |
[INFO] [stdout] 22 | ...pos: Pos2, screen_size: Vec2, nodes: &HashMap<(i32, i32), Node>) {
[INFO] [stdout]    |                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_nodes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nodes`
[INFO] [stdout]   --> src/components/ground.rs:23:112
[INFO] [stdout]    |
[INFO] [stdout] 23 | ...pos: Pos2, screen_size: Vec2, nodes: &HashMap<(i32, i32), Node>) {
[INFO] [stdout]    |                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_nodes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vector`
[INFO] [stdout]   --> src/components/ground.rs:68:55
[INFO] [stdout]    |
[INFO] [stdout] 68 |     fn stamp_matrix(&self, matrix: &mut DMatrix<f64>, vector: &mut DVector<f64>, nodes: &Vec<Node>) {
[INFO] [stdout]    |                                                       ^^^^^^ help: if this is intentional, prefix it with an underscore: `_vector`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `matrix`
[INFO] [stdout]   --> src/main.rs:53:28
[INFO] [stdout]    |
[INFO] [stdout] 53 |     fn stamp_matrix(&self, matrix: &mut DMatrix<f64>, vector: &mut DVector<f64>, nodes: &Vec<Node>) {}
[INFO] [stdout]    |                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_matrix`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vector`
[INFO] [stdout]   --> src/main.rs:53:55
[INFO] [stdout]    |
[INFO] [stdout] 53 |     fn stamp_matrix(&self, matrix: &mut DMatrix<f64>, vector: &mut DVector<f64>, nodes: &Vec<Node>) {}
[INFO] [stdout]    |                                                       ^^^^^^ help: if this is intentional, prefix it with an underscore: `_vector`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nodes`
[INFO] [stdout]   --> src/main.rs:53:82
[INFO] [stdout]    |
[INFO] [stdout] 53 |     fn stamp_matrix(&self, matrix: &mut DMatrix<f64>, vector: &mut DVector<f64>, nodes: &Vec<Node>) {}
[INFO] [stdout]    |                                                                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_nodes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node`
[INFO] [stdout]   --> src/main.rs:55:36
[INFO] [stdout]    |
[INFO] [stdout] 55 |     fn set_voltage_node(&mut self, node: u32) {}
[INFO] [stdout]    |                                    ^^^^ help: if this is intentional, prefix it with an underscore: `_node`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/main.rs:62:31
[INFO] [stdout]    |
[INFO] [stdout] 62 |     fn draw_window(&mut self, ctx: &egui::Context) -> Option<Pos2> { None }
[INFO] [stdout]    |                               ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cc`
[INFO] [stdout]   --> src/main.rs:93:19
[INFO] [stdout]    |
[INFO] [stdout] 93 |         Box::new(|cc| {
[INFO] [stdout]    |                   ^^ help: if this is intentional, prefix it with an underscore: `_cc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:288:21
[INFO] [stdout]     |
[INFO] [stdout] 288 |                 let mut element = self.current_element.as_deref_mut().unwrap();
[INFO] [stdout]     |                     ----^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:326:17
[INFO] [stdout]     |
[INFO] [stdout] 326 |             let mut matrix_size = nodes.len() + voltage_nodes as usize;
[INFO] [stdout]     |                 ----^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input_state`
[INFO] [stdout]    --> src/main.rs:164:23
[INFO] [stdout]     |
[INFO] [stdout] 164 |             ui.input(|input_state| {});
[INFO] [stdout]     |                       ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rect`
[INFO] [stdout]    --> src/main.rs:199:18
[INFO] [stdout]     |
[INFO] [stdout] 199 |             let (rect, response) =
[INFO] [stdout]     |                  ^^^^ help: if this is intentional, prefix it with an underscore: `_rect`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `normal`
[INFO] [stdout]    --> src/main.rs:255:25
[INFO] [stdout]     |
[INFO] [stdout] 255 |                     let normal = Vec2::new(normalized.y, -normalized.x);
[INFO] [stdout]     |                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_normal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `center`
[INFO] [stdout]    --> src/main.rs:265:21
[INFO] [stdout]     |
[INFO] [stdout] 265 |                 let center = screen_pos + screen_size / 2.0;
[INFO] [stdout]     |                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/main.rs:318:18
[INFO] [stdout]     |
[INFO] [stdout] 318 |             for (id, element) in elements.iter_mut() {
[INFO] [stdout]     |                  ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_admittance`, `get_id`, and `get_type` are never used
[INFO] [stdout]   --> src/main.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | trait CircuitElement: ElementClone + std::fmt::Debug {
[INFO] [stdout]    |       -------------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 42 |     fn get_admittance(&self) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |     fn get_id(&self) -> u32;
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 46 |     fn get_type(&self) -> ElementType;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]   --> src/components/capacitor.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct Capacitor {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     id: u32,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Capacitor` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]   --> src/components/wire.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Wire {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 13 |     id: u32,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Wire` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]   --> src/components/current_source.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct CurrentSource {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     id: u32,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CurrentSource` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]   --> src/components/circuit_switch.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct Switch {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     id: u32,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Switch` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `voltage_node` are never read
[INFO] [stdout]   --> src/components/ground.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct Ground {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     id: u32,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 13 |     nodes: Vec<u32>,
[INFO] [stdout] 14 |     voltage_node: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Ground` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `element`
[INFO] [stdout]   --> src/circuit_solver.rs:84:30
[INFO] [stdout]    |
[INFO] [stdout] 84 |         elements.retain(|id, element| {
[INFO] [stdout]    |                              ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nodes`
[INFO] [stdout]   --> src/components/capacitor.rs:20:112
[INFO] [stdout]    |
[INFO] [stdout] 20 | ...pos: Pos2, screen_size: Vec2, nodes: &HashMap<(i32, i32), Node>) {
[INFO] [stdout]    |                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_nodes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nodes`
[INFO] [stdout]   --> src/components/dc_voltage_source.rs:25:112
[INFO] [stdout]    |
[INFO] [stdout] 25 | ...pos: Pos2, screen_size: Vec2, nodes: &HashMap<(i32, i32), Node>) {
[INFO] [stdout]    |                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_nodes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vector`
[INFO] [stdout]   --> src/components/resistor.rs:84:55
[INFO] [stdout]    |
[INFO] [stdout] 84 |     fn stamp_matrix(&self, matrix: &mut DMatrix<f64>, vector: &mut DVector<f64>, nodes: &Vec<Node>) {
[INFO] [stdout]    |                                                       ^^^^^^ help: if this is intentional, prefix it with an underscore: `_vector`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `grid_step`
[INFO] [stdout]   --> src/components/wire.rs:22:59
[INFO] [stdout]    |
[INFO] [stdout] 22 | ...egui::Ui, stroke: Stroke, grid_step: f32, screen_pos: Pos2, screen_size: Vec2, nodes: &HashMap<(i32, i32), Node>) {
[INFO] [stdout]    |                              ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_grid_step`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nodes`
[INFO] [stdout]   --> src/components/wire.rs:22:112
[INFO] [stdout]    |
[INFO] [stdout] 22 | ...pos: Pos2, screen_size: Vec2, nodes: &HashMap<(i32, i32), Node>) {
[INFO] [stdout]    |                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_nodes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nodes`
[INFO] [stdout]   --> src/components/current_source.rs:23:112
[INFO] [stdout]    |
[INFO] [stdout] 23 | ...pos: Pos2, screen_size: Vec2, nodes: &HashMap<(i32, i32), Node>) {
[INFO] [stdout]    |                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_nodes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `normal`
[INFO] [stdout]   --> src/components/current_source.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let normal = Vec2::new(screen_size.y, -screen_size.x) / screen_size.length();
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_normal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `matrix`
[INFO] [stdout]   --> src/components/current_source.rs:68:28
[INFO] [stdout]    |
[INFO] [stdout] 68 |     fn stamp_matrix(&self, matrix: &mut DMatrix<f64>, vector: &mut DVector<f64>, nodes: &Vec<Node>) {
[INFO] [stdout]    |                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_matrix`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nodes`
[INFO] [stdout]   --> src/components/circuit_switch.rs:22:112
[INFO] [stdout]    |
[INFO] [stdout] 22 | ...pos: Pos2, screen_size: Vec2, nodes: &HashMap<(i32, i32), Node>) {
[INFO] [stdout]    |                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_nodes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nodes`
[INFO] [stdout]   --> src/components/ground.rs:23:112
[INFO] [stdout]    |
[INFO] [stdout] 23 | ...pos: Pos2, screen_size: Vec2, nodes: &HashMap<(i32, i32), Node>) {
[INFO] [stdout]    |                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_nodes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vector`
[INFO] [stdout]   --> src/components/ground.rs:68:55
[INFO] [stdout]    |
[INFO] [stdout] 68 |     fn stamp_matrix(&self, matrix: &mut DMatrix<f64>, vector: &mut DVector<f64>, nodes: &Vec<Node>) {
[INFO] [stdout]    |                                                       ^^^^^^ help: if this is intentional, prefix it with an underscore: `_vector`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `matrix`
[INFO] [stdout]   --> src/main.rs:53:28
[INFO] [stdout]    |
[INFO] [stdout] 53 |     fn stamp_matrix(&self, matrix: &mut DMatrix<f64>, vector: &mut DVector<f64>, nodes: &Vec<Node>) {}
[INFO] [stdout]    |                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_matrix`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vector`
[INFO] [stdout]   --> src/main.rs:53:55
[INFO] [stdout]    |
[INFO] [stdout] 53 |     fn stamp_matrix(&self, matrix: &mut DMatrix<f64>, vector: &mut DVector<f64>, nodes: &Vec<Node>) {}
[INFO] [stdout]    |                                                       ^^^^^^ help: if this is intentional, prefix it with an underscore: `_vector`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nodes`
[INFO] [stdout]   --> src/main.rs:53:82
[INFO] [stdout]    |
[INFO] [stdout] 53 |     fn stamp_matrix(&self, matrix: &mut DMatrix<f64>, vector: &mut DVector<f64>, nodes: &Vec<Node>) {}
[INFO] [stdout]    |                                                                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_nodes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node`
[INFO] [stdout]   --> src/main.rs:55:36
[INFO] [stdout]    |
[INFO] [stdout] 55 |     fn set_voltage_node(&mut self, node: u32) {}
[INFO] [stdout]    |                                    ^^^^ help: if this is intentional, prefix it with an underscore: `_node`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/main.rs:62:31
[INFO] [stdout]    |
[INFO] [stdout] 62 |     fn draw_window(&mut self, ctx: &egui::Context) -> Option<Pos2> { None }
[INFO] [stdout]    |                               ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cc`
[INFO] [stdout]   --> src/main.rs:93:19
[INFO] [stdout]    |
[INFO] [stdout] 93 |         Box::new(|cc| {
[INFO] [stdout]    |                   ^^ help: if this is intentional, prefix it with an underscore: `_cc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:288:21
[INFO] [stdout]     |
[INFO] [stdout] 288 |                 let mut element = self.current_element.as_deref_mut().unwrap();
[INFO] [stdout]     |                     ----^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:326:17
[INFO] [stdout]     |
[INFO] [stdout] 326 |             let mut matrix_size = nodes.len() + voltage_nodes as usize;
[INFO] [stdout]     |                 ----^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input_state`
[INFO] [stdout]    --> src/main.rs:164:23
[INFO] [stdout]     |
[INFO] [stdout] 164 |             ui.input(|input_state| {});
[INFO] [stdout]     |                       ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rect`
[INFO] [stdout]    --> src/main.rs:199:18
[INFO] [stdout]     |
[INFO] [stdout] 199 |             let (rect, response) =
[INFO] [stdout]     |                  ^^^^ help: if this is intentional, prefix it with an underscore: `_rect`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `normal`
[INFO] [stdout]    --> src/main.rs:255:25
[INFO] [stdout]     |
[INFO] [stdout] 255 |                     let normal = Vec2::new(normalized.y, -normalized.x);
[INFO] [stdout]     |                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_normal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `center`
[INFO] [stdout]    --> src/main.rs:265:21
[INFO] [stdout]     |
[INFO] [stdout] 265 |                 let center = screen_pos + screen_size / 2.0;
[INFO] [stdout]     |                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/main.rs:318:18
[INFO] [stdout]     |
[INFO] [stdout] 318 |             for (id, element) in elements.iter_mut() {
[INFO] [stdout]     |                  ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_admittance`, `get_id`, and `get_type` are never used
[INFO] [stdout]   --> src/main.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | trait CircuitElement: ElementClone + std::fmt::Debug {
[INFO] [stdout]    |       -------------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 42 |     fn get_admittance(&self) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |     fn get_id(&self) -> u32;
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 46 |     fn get_type(&self) -> ElementType;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]   --> src/components/capacitor.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct Capacitor {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     id: u32,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Capacitor` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]   --> src/components/wire.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Wire {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 13 |     id: u32,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Wire` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]   --> src/components/current_source.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct CurrentSource {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     id: u32,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CurrentSource` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]   --> src/components/circuit_switch.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct Switch {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     id: u32,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Switch` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `voltage_node` are never read
[INFO] [stdout]   --> src/components/ground.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct Ground {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     id: u32,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 13 |     nodes: Vec<u32>,
[INFO] [stdout] 14 |     voltage_node: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Ground` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 36s
[INFO] running `Command { std: "docker" "inspect" "68191ea693becae6bc77c6d43b9235ca99fa1384bbcfa1221ff96ae4595d3fd3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "68191ea693becae6bc77c6d43b9235ca99fa1384bbcfa1221ff96ae4595d3fd3", kill_on_drop: false }`
[INFO] [stdout] 68191ea693becae6bc77c6d43b9235ca99fa1384bbcfa1221ff96ae4595d3fd3
