[INFO] cloning repository https://github.com/DeanT-04/OpenCircuit [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DeanT-04/OpenCircuit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeanT-04%2FOpenCircuit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeanT-04%2FOpenCircuit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3bea542ed7aeb2181d8b21a309c98aa642cd9c61 [INFO] checking DeanT-04/OpenCircuit/3bea542ed7aeb2181d8b21a309c98aa642cd9c61 against master#82dd3cb008233bfe50ba6b8d6618e6bbd6054eb1 for pr-150408 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeanT-04%2FOpenCircuit" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/DeanT-04/OpenCircuit [INFO] finished tweaking git repo https://github.com/DeanT-04/OpenCircuit [INFO] tweaked toml for git repo https://github.com/DeanT-04/OpenCircuit written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/DeanT-04/OpenCircuit on toolchain 82dd3cb008233bfe50ba6b8d6618e6bbd6054eb1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82dd3cb008233bfe50ba6b8d6618e6bbd6054eb1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/DeanT-04/OpenCircuit 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" "+82dd3cb008233bfe50ba6b8d6618e6bbd6054eb1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tauri-winres v0.3.1 [INFO] [stderr] Downloaded libredox v0.1.8 [INFO] [stderr] Downloaded tray-icon v0.21.0 [INFO] [stderr] Downloaded rust-ini v0.20.0 [INFO] [stderr] Downloaded relative-path v1.9.3 [INFO] [stderr] Downloaded borsh-derive v1.3.0 [INFO] [stderr] Downloaded borsh v1.3.0 [INFO] [stderr] Downloaded config v0.14.1 [INFO] [stderr] Downloaded muda v0.17.0 [INFO] [stderr] Downloaded tauri-plugin-log v2.6.0 [INFO] [stderr] Downloaded yaml-rust2 v0.8.1 [INFO] [stderr] Downloaded android_logger v0.15.1 [INFO] [stderr] Downloaded byte-unit v5.1.6 [INFO] [stderr] Downloaded fern v0.7.1 [INFO] [stderr] Downloaded ollama-rs v0.1.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+82dd3cb008233bfe50ba6b8d6618e6bbd6054eb1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c23c26e56cb1df6b2fe127b8cf9885663785b3ae644da6361ba73076cdb90096 [INFO] running `Command { std: "docker" "start" "-a" "c23c26e56cb1df6b2fe127b8cf9885663785b3ae644da6361ba73076cdb90096", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c23c26e56cb1df6b2fe127b8cf9885663785b3ae644da6361ba73076cdb90096", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c23c26e56cb1df6b2fe127b8cf9885663785b3ae644da6361ba73076cdb90096", kill_on_drop: false }` [INFO] [stdout] c23c26e56cb1df6b2fe127b8cf9885663785b3ae644da6361ba73076cdb90096 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+82dd3cb008233bfe50ba6b8d6618e6bbd6054eb1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7f2da893073a2e524288b2caf426f86d244dd5acd66e31d4979d9d00574b9cc [INFO] running `Command { std: "docker" "start" "-a" "b7f2da893073a2e524288b2caf426f86d244dd5acd66e31d4979d9d00574b9cc", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling version-compare v0.2.0 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking value-bag v1.11.1 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling cfg-expr v0.15.8 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Checking arraydeque v0.5.1 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking yaml-rust2 v0.8.1 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Checking spinning_top v0.3.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking nonzero_ext v0.3.0 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Checking rust-ini v0.20.0 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling cssparser v0.29.6 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling dtoa v1.0.10 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling dtoa-short v0.3.5 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling gio v0.18.4 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling camino v1.1.10 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling servo_arc v0.2.0 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling typeid v1.0.3 [INFO] [stderr] Checking hashlink v0.10.0 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling unic-ucd-ident v0.9.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling phf_macros v0.10.0 [INFO] [stderr] Compiling dyn-clone v1.0.20 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling markup5ever v0.14.1 [INFO] [stderr] Compiling selectors v0.24.0 [INFO] [stderr] Compiling brotli v8.0.1 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Checking libloading v0.8.8 [INFO] [stderr] Compiling toml_writer v1.0.2 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Compiling gtk v0.18.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling x11 v2.21.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling toml_parser v1.0.1 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking tokio v1.47.0 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling serde_with_macros v3.14.0 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling ctor v0.2.9 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Compiling match_token v0.1.0 [INFO] [stderr] Checking hyper-util v0.1.16 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_edit v0.20.2 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking raw-cpuid v11.5.0 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking opencircuit-utils v0.1.0 (/opt/rustwide/workdir/crates/opencircuit-utils) [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> crates/opencircuit-utils/src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking toml v0.8.2 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking config v0.14.1 [INFO] [stderr] Checking quanta v0.12.6 [INFO] [stderr] Checking governor v0.6.3 [INFO] [stderr] Compiling proc-macro-crate v2.0.0 [INFO] [stderr] Compiling system-deps v6.2.2 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Compiling rstest_macros v0.18.2 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.22 [INFO] [stderr] Compiling cfb v0.7.3 [INFO] [stderr] Compiling jsonptr v0.6.3 [INFO] [stderr] Compiling glib-sys v0.18.1 [INFO] [stderr] Compiling gobject-sys v0.18.0 [INFO] [stderr] Compiling gio-sys v0.18.1 [INFO] [stderr] Compiling gdk-sys v0.18.2 [INFO] [stderr] Compiling pango-sys v0.18.0 [INFO] [stderr] Compiling glib-macros v0.18.5 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.18.0 [INFO] [stderr] Compiling cairo-sys-rs v0.18.2 [INFO] [stderr] Compiling atk-sys v0.18.2 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking ollama-rs v0.1.9 [INFO] [stderr] Compiling gtk-sys v0.18.2 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Compiling html5ever v0.29.1 [INFO] [stderr] Compiling erased-serde v0.4.6 [INFO] [stderr] Compiling cargo-platform v0.1.9 [INFO] [stderr] Checking rusqlite v0.37.0 [INFO] [stderr] Checking opencircuit-core v0.1.0 (/opt/rustwide/workdir/crates/opencircuit-core) [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Compiling serde-untagged v0.1.7 [INFO] [stderr] Compiling json-patch v3.0.1 [INFO] [stderr] Compiling kuchikiki v0.8.8-speedreader [INFO] [stderr] Compiling cargo_metadata v0.19.2 [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> crates/opencircuit-core/src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [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: `std::fs` [INFO] [stdout] --> crates/opencircuit-core/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf` and `Path` [INFO] [stdout] --> crates/opencircuit-core/src/lib.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> crates/opencircuit-core/src/models.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> crates/opencircuit-core/src/apis/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> crates/opencircuit-core/src/apis/octopart.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> crates/opencircuit-core/src/apis/octopart.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> crates/opencircuit-core/src/apis/mouser.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling infer v0.19.0 [INFO] [stderr] Compiling urlpattern v0.3.0 [INFO] [stderr] Compiling serde_with v3.14.0 [INFO] [stderr] Compiling serde_spanned v1.0.0 [INFO] [stderr] Compiling toml_datetime v0.7.0 [INFO] [stderr] Compiling toml v0.9.2 [INFO] [stderr] Compiling field-offset v0.3.6 [INFO] [stdout] warning: field `sandbox_mode` is never read [INFO] [stdout] --> crates/opencircuit-core/src/apis/digikey.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct DigiKeyClient { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | sandbox_mode: bool, [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 `token_type` is never read [INFO] [stdout] --> crates/opencircuit-core/src/apis/digikey.rs:294:5 [INFO] [stdout] | [INFO] [stdout] 291 | struct DigiKeyTokenResponse { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 294 | token_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DigiKeyTokenResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking opencircuit-circuit v0.1.0 (/opt/rustwide/workdir/crates/opencircuit-circuit) [INFO] [stderr] Checking opencircuit-ai v0.1.0 (/opt/rustwide/workdir/crates/opencircuit-ai) [INFO] [stderr] Checking glib v0.18.5 [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> crates/opencircuit-ai/src/component_advisor.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::collections::HashMap; [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: `ollama_rs::generation::completion::request::GenerationRequest` [INFO] [stdout] --> crates/opencircuit-ai/src/circuit_simulator.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use ollama_rs::generation::completion::request::GenerationRequest; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> crates/opencircuit-ai/src/docs.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> crates/opencircuit-ai/src/docs.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> crates/opencircuit-ai/src/docs.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error`, `info`, and `warn` [INFO] [stdout] --> crates/opencircuit-ai/src/lib.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | use tracing::{info, warn, error}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking opencircuit-database v0.1.0 (/opt/rustwide/workdir/crates/opencircuit-database) [INFO] [stdout] warning: unused imports: `DateTime` and `Utc` [INFO] [stdout] --> crates/opencircuit-database/src/components.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{DateTime, Utc}; [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: `uuid::Uuid` [INFO] [stdout] --> crates/opencircuit-database/src/components.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Component` [INFO] [stdout] --> crates/opencircuit-database/src/search.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | use opencircuit_core::models::{Component, ComponentCategory, ComponentSearchFilter, ComponentSearchResult, SpecValue}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> crates/opencircuit-database/src/search.rs:397:9 [INFO] [stdout] | [INFO] [stdout] 397 | (position_similarity * 0.5 + character_similarity * 0.3 + length_similarity * 0.2) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 397 - (position_similarity * 0.5 + character_similarity * 0.3 + length_similarity * 0.2) [INFO] [stdout] 397 + position_similarity * 0.5 + character_similarity * 0.3 + length_similarity * 0.2 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tauri-utils v2.6.0 [INFO] [stderr] Checking opencircuit-simulation v0.1.0 (/opt/rustwide/workdir/crates/opencircuit-simulation) [INFO] [stderr] Compiling embed-resource v3.0.5 [INFO] [stderr] Checking opencircuit-pcb v0.1.0 (/opt/rustwide/workdir/crates/opencircuit-pcb) [INFO] [stderr] Compiling javascriptcore-rs-sys v1.1.1 [INFO] [stderr] Compiling soup3-sys v0.5.0 [INFO] [stdout] warning: unused variable: `output_buffer` [INFO] [stdout] --> crates/opencircuit-simulation/src/ngspice_wrapper.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | let output_buffer = Arc::clone(&self.output_buffer); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_buffer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error_buffer` [INFO] [stdout] --> crates/opencircuit-simulation/src/ngspice_wrapper.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | let error_buffer = Arc::clone(&self.error_buffer); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_error_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Compiling tauri-winres v0.3.1 [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> crates/opencircuit-ai/src/lib.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct AiService { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 61 | config: AiConfig, [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 `config` is never read [INFO] [stdout] --> crates/opencircuit-ai/src/ollama_manager.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct OllamaManager { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | config: OllamaConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `recommendation_model` is never read [INFO] [stdout] --> crates/opencircuit-ai/src/component_advisor.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct ComponentAdvisor { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 121 | recommendation_model: AiModel, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `weaknesses` and `cost_effectiveness` are never read [INFO] [stdout] --> crates/opencircuit-ai/src/component_advisor.rs:604:5 [INFO] [stdout] | [INFO] [stdout] 601 | struct ComponentAnalysis { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 604 | weaknesses: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 605 | performance_notes: Vec, [INFO] [stdout] 606 | cost_effectiveness: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ComponentAnalysis` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ollama_client` is never read [INFO] [stdout] --> crates/opencircuit-ai/src/embeddings.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 181 | pub struct ComponentEmbeddingEngine { [INFO] [stdout] | ------------------------ field in this struct [INFO] [stdout] 182 | /// Ollama client for generating embeddings [INFO] [stdout] 183 | ollama_client: OpenCircuitOllamaClient, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rstest v0.18.2 [INFO] [stdout] warning: fields `library`, `get_vec_info_func`, `circ_by_name_func`, and `memory_pool` are never read [INFO] [stdout] --> crates/opencircuit-simulation/src/ngspice_wrapper.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct NgSpiceContext { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 36 | library: Library, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | get_vec_info_func: Symbol<'static, NgSpiceGetVecInfoFunc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | circ_by_name_func: Symbol<'static, NgSpiceCircByNameFunc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 41 | memory_pool: MemoryPool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse_output_line` is never used [INFO] [stdout] --> crates/opencircuit-simulation/src/ngspice_wrapper.rs:257:8 [INFO] [stdout] | [INFO] [stdout] 52 | impl NgSpiceWrapper { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 257 | fn parse_output_line(&self, line: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> crates/opencircuit-simulation/src/memory.rs:295:9 [INFO] [stdout] | [INFO] [stdout] 295 | GLOBAL_MEMORY_POOL.as_ref().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> crates/opencircuit-simulation/src/memory.rs:302:29 [INFO] [stdout] | [INFO] [stdout] 302 | if let Some(pool) = &GLOBAL_MEMORY_POOL { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 302 | if let Some(pool) = &raw const GLOBAL_MEMORY_POOL { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking opencircuit-gui v0.1.0 (/opt/rustwide/workdir/crates/opencircuit-gui) [INFO] [stderr] Compiling cargo_toml v0.22.3 [INFO] [stderr] Compiling webkit2gtk-sys v2.0.1 [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> crates/opencircuit-gui/src/lib.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | use chrono::{DateTime, Utc}; [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 imports: `Deserialize` and `Serialize` [INFO] [stdout] --> crates/opencircuit-gui/src/lib.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stdout] warning: field `ai_service` is never read [INFO] [stdout] --> crates/opencircuit-gui/src/app.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct ConsoleApp { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 21 | state: AppState, [INFO] [stdout] 22 | ai_service: AiService, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gdkx11-sys v0.18.2 [INFO] [stderr] Checking dpi v0.1.2 [INFO] [stderr] Checking opencircuit v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Compiling gtk3-macros v0.18.2 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling dlopen2_derive v0.4.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Compiling tauri-runtime v2.7.1 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Compiling wry v0.52.1 [INFO] [stderr] Checking clap_builder v4.5.41 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling ico v0.4.0 [INFO] [stderr] Checking dlopen2 v0.7.0 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking gdkwayland-sys v0.18.2 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Compiling tauri-runtime-wry v2.7.2 [INFO] [stderr] Compiling rust_decimal v1.37.2 [INFO] [stderr] Checking cairo-rs v0.18.5 [INFO] [stderr] Checking atk v0.18.2 [INFO] [stderr] Checking javascriptcore-rs v1.1.2 [INFO] [stderr] Checking clap v4.5.41 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking rand_xorshift v0.4.0 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking keyboard-types v0.7.0 [INFO] [stderr] Compiling serialize-to-javascript-impl v0.1.1 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking serialize-to-javascript v0.1.1 [INFO] [stderr] Checking proptest v1.7.0 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Checking heck v0.5.0 [INFO] [stderr] Checking utf8-width v0.1.7 [INFO] [stderr] Checking byte-unit v5.1.6 [INFO] [stderr] Checking fern v0.7.1 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/opencircuit-simulation/tests/integration_test.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let mut engine = SimulationEngine::new().await; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process` [INFO] [stdout] --> src/bin/test_runner.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::process; [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 variable: `budget` [INFO] [stdout] --> src/bin/test_runner.rs:289:35 [INFO] [stdout] | [INFO] [stdout] 289 | fn simulate_edge_case(case: &str, budget: f64) -> String { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_budget` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/bin/test_runner.rs:306:26 [INFO] [stdout] | [INFO] [stdout] 306 | fn simulate_user_session(name: &str, project: &str, budget: f64) -> UserSession { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> crates/opencircuit-utils/src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `opencircuit_core::ApiManager`, `opencircuit_core::ApiConfig`, `opencircuit_core::OctopartConfig`, `opencircuit_core::DigiKeyConfig`, `opencircuit_core::MouserConfig`, `opencircuit_core::Component` [INFO] [stdout] --> crates/opencircuit-core/tests/api_integration_tests.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | ApiManager, ApiConfig, OctopartConfig, DigiKeyConfig, MouserConfig, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ no `MouserConfig` in the root [INFO] [stdout] | | | | | [INFO] [stdout] | | | | no `DigiKeyConfig` in the root [INFO] [stdout] | | | no `OctopartConfig` in the root [INFO] [stdout] | | no `ApiConfig` in the root [INFO] [stdout] | no `ApiManager` in the root [INFO] [stdout] 8 | OctopartClient, DigiKeyClient, MouserClient, [INFO] [stdout] 9 | Component, ComponentCategory, ApiError [INFO] [stdout] | ^^^^^^^^^ no `Component` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] opencircuit_core::apis::ApiManager [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] opencircuit_core::apis::ApiConfig [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] opencircuit_core::apis::OctopartConfig [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] opencircuit_core::apis::DigiKeyConfig [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] opencircuit_core::apis::MouserConfig [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] std::path::Component [INFO] [stdout] opencircuit_core::circuit_netlist::Component [INFO] [stdout] opencircuit_core::models::Component [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 7 - ApiManager, ApiConfig, OctopartConfig, DigiKeyConfig, MouserConfig, [INFO] [stdout] 7 + ApiManager, AppConfig, OctopartConfig, DigiKeyConfig, MouserConfig, [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 9 | DbComponent, ComponentCategory, ApiError [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/opencircuit-core/tests/api_integration_tests.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | let results = manager.search_components("resistor").await; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | assert!(results.is_ok()); [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `results` an explicit type [INFO] [stdout] | [INFO] [stdout] 116 | let results: /* Type */ = manager.search_components("resistor").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `opencircuit-core` (test "api_integration_tests") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `output_buffer` [INFO] [stdout] --> crates/opencircuit-simulation/src/ngspice_wrapper.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | let output_buffer = Arc::clone(&self.output_buffer); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_buffer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error_buffer` [INFO] [stdout] --> crates/opencircuit-simulation/src/ngspice_wrapper.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | let error_buffer = Arc::clone(&self.error_buffer); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_error_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `library`, `get_vec_info_func`, `circ_by_name_func`, and `memory_pool` are never read [INFO] [stdout] --> crates/opencircuit-simulation/src/ngspice_wrapper.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct NgSpiceContext { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 36 | library: Library, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | get_vec_info_func: Symbol<'static, NgSpiceGetVecInfoFunc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | circ_by_name_func: Symbol<'static, NgSpiceCircByNameFunc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 41 | memory_pool: MemoryPool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse_output_line` is never used [INFO] [stdout] --> crates/opencircuit-simulation/src/ngspice_wrapper.rs:257:8 [INFO] [stdout] | [INFO] [stdout] 52 | impl NgSpiceWrapper { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 257 | fn parse_output_line(&self, line: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> crates/opencircuit-simulation/src/memory.rs:295:9 [INFO] [stdout] | [INFO] [stdout] 295 | GLOBAL_MEMORY_POOL.as_ref().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> crates/opencircuit-simulation/src/memory.rs:302:29 [INFO] [stdout] | [INFO] [stdout] 302 | if let Some(pool) = &GLOBAL_MEMORY_POOL { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 302 | if let Some(pool) = &raw const GLOBAL_MEMORY_POOL { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b7f2da893073a2e524288b2caf426f86d244dd5acd66e31d4979d9d00574b9cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7f2da893073a2e524288b2caf426f86d244dd5acd66e31d4979d9d00574b9cc", kill_on_drop: false }` [INFO] [stdout] b7f2da893073a2e524288b2caf426f86d244dd5acd66e31d4979d9d00574b9cc