[INFO] cloning repository https://github.com/LastZactionHero/bom_matcher [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LastZactionHero/bom_matcher" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLastZactionHero%2Fbom_matcher", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLastZactionHero%2Fbom_matcher'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d6490726ead2dbdbe2ea9a5edc7679934a3d5183 [INFO] checking LastZactionHero/bom_matcher against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLastZactionHero%2Fbom_matcher" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/LastZactionHero/bom_matcher [INFO] finished tweaking git repo https://github.com/LastZactionHero/bom_matcher [INFO] tweaked toml for git repo https://github.com/LastZactionHero/bom_matcher written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/LastZactionHero/bom_matcher on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/LastZactionHero/bom_matcher 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9ef36d8f14f66e92acc21130d941f9464407c468927587b93da42a0fdcd1a52c [INFO] running `Command { std: "docker" "start" "-a" "9ef36d8f14f66e92acc21130d941f9464407c468927587b93da42a0fdcd1a52c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ef36d8f14f66e92acc21130d941f9464407c468927587b93da42a0fdcd1a52c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ef36d8f14f66e92acc21130d941f9464407c468927587b93da42a0fdcd1a52c", kill_on_drop: false }` [INFO] [stdout] 9ef36d8f14f66e92acc21130d941f9464407c468927587b93da42a0fdcd1a52c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 50a387a261510bc33dcfa6c8f9da002ff9b835524a2ea67916cabf675d41f2d3 [INFO] running `Command { std: "docker" "start" "-a" "50a387a261510bc33dcfa6c8f9da002ff9b835524a2ea67916cabf675d41f2d3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling find-msvc-tools v0.1.1 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Checking iri-string v0.7.8 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking clap_builder v4.5.47 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Compiling cc v1.2.36 [INFO] [stderr] Checking indexmap v2.11.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling synstructure v0.13.2 [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 tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking clap v4.5.47 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Checking hyper-util v0.1.16 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.23 [INFO] [stderr] Checking bom_matcher v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Response` [INFO] [stdout] --> src/digikey.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use reqwest::{Client, Response}; [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: `str::FromStr` [INFO] [stdout] --> src/digikey.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{fmt::Debug, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/gemini.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Bom` [INFO] [stdout] --> src/part_match.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::bom::{Bom, BomItem}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:59:56 [INFO] [stdout] | [INFO] [stdout] 59 | async fn find_candidate_parts(item: BomItem) -> Result<(BomItemPartCandidates)> { [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] 59 - async fn find_candidate_parts(item: BomItem) -> Result<(BomItemPartCandidates)> { [INFO] [stdout] 59 + async fn find_candidate_parts(item: BomItem) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Response` [INFO] [stdout] --> src/digikey.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use reqwest::{Client, Response}; [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: `str::FromStr` [INFO] [stdout] --> src/digikey.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{fmt::Debug, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/gemini.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Bom` [INFO] [stdout] --> src/part_match.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::bom::{Bom, BomItem}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:59:56 [INFO] [stdout] | [INFO] [stdout] 59 | async fn find_candidate_parts(item: BomItem) -> Result<(BomItemPartCandidates)> { [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] 59 - async fn find_candidate_parts(item: BomItem) -> Result<(BomItemPartCandidates)> { [INFO] [stdout] 59 + async fn find_candidate_parts(item: BomItem) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_PARTS_PER_BOM_ITEM` is never used [INFO] [stdout] --> src/main.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const MAX_PARTS_PER_BOM_ITEM: u32 = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `part_candidates` and `bom_item_id` are never read [INFO] [stdout] --> src/main.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 54 | struct BomItemPartCandidates { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 55 | part_candidates: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 56 | bom_item_id: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reference`, `qty`, and `datasheet` are never read [INFO] [stdout] --> src/bom.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct BomItem { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 23 | #[serde(rename = "Reference")] [INFO] [stdout] 24 | pub reference: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 25 | #[serde(rename = "Qty")] [INFO] [stdout] 26 | pub qty: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub datasheet: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BomItem` 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: method `search_keywords` is never used [INFO] [stdout] --> src/bom.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl BomItem { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 41 | pub fn search_keywords(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `expires_in` and `token_type` are never read [INFO] [stdout] --> src/digikey.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TokenResponse { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 10 | pub access_token: String, [INFO] [stdout] 11 | pub expires_in: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | pub token_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `products_count` is never read [INFO] [stdout] --> src/digikey.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct SearchResponse { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 29 | pub products: Vec, [INFO] [stdout] 30 | pub products_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SearchResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/digikey.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Product { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 38 | pub description: Description, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 39 | pub manufacturer: Manufacturer, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 40 | pub manufacturer_product_number: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 41 | pub unit_price: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 42 | pub product_url: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 43 | pub datasheet_url: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 44 | pub photo_url: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 45 | pub product_variations: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 46 | pub quantity_available: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | pub product_status: ProductStatus, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 48 | pub parameters: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 49 | pub category: Category, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 50 | pub series: Series, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 51 | pub classifications: Classifications, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 52 | pub other_names: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Product` 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: fields `product_description` and `detailed_description` are never read [INFO] [stdout] --> src/digikey.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Description { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 58 | pub product_description: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 59 | pub detailed_description: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Description` 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: fields `id` and `name` are never read [INFO] [stdout] --> src/digikey.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Manufacturer { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 65 | pub id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 66 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Manufacturer` 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: fields `digi_key_product_number`, `package_type`, `standard_pricing`, `quantity_availablefor_package_type`, and `minimum_order_quantity` are never read [INFO] [stdout] --> src/digikey.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct ProductVariation { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 72 | pub digi_key_product_number: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 73 | pub package_type: PackageType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 74 | pub standard_pricing: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 75 | pub quantity_availablefor_package_type: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 76 | pub minimum_order_quantity: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProductVariation` 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: fields `id` and `name` are never read [INFO] [stdout] --> src/digikey.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct PackageType { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 82 | pub id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 83 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PackageType` 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: fields `break_quantity`, `unit_price`, and `total_price` are never read [INFO] [stdout] --> src/digikey.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct StandardPricing { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 89 | pub break_quantity: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 90 | pub unit_price: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 91 | pub total_price: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StandardPricing` 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: fields `id` and `status` are never read [INFO] [stdout] --> src/digikey.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct ProductStatus { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 97 | pub id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 98 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProductStatus` 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: fields `parameter_id`, `parameter_text`, and `value_text` are never read [INFO] [stdout] --> src/digikey.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct Parameter { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 104 | pub parameter_id: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 105 | pub parameter_text: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 106 | pub value_text: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Parameter` 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: fields `category_id`, `name`, and `child_categories` are never read [INFO] [stdout] --> src/digikey.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct Category { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 112 | pub category_id: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 113 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 114 | pub child_categories: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Category` 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: fields `id` and `name` are never read [INFO] [stdout] --> src/digikey.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct Series { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 120 | pub id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 121 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Series` 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: fields `reach_status`, `rohs_status`, `moisture_sensitivity_level`, `export_control_class_number`, and `htsus_code` are never read [INFO] [stdout] --> src/digikey.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 126 | pub struct Classifications { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 127 | pub reach_status: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 128 | pub rohs_status: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 129 | #[serde(rename = "MoistureSensitivityLevel")] [INFO] [stdout] 130 | pub moisture_sensitivity_level: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 131 | #[serde(rename = "ExportControlClassNumber")] [INFO] [stdout] 132 | pub export_control_class_number: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 133 | #[serde(rename = "HtsusCode")] [INFO] [stdout] 134 | pub htsus_code: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Classifications` 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: fields `usage_metadata`, `model_version`, and `response_id` are never read [INFO] [stdout] --> src/gemini.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 28 | struct GeminiResponse { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 29 | candidates: Vec, [INFO] [stdout] 30 | usage_metadata: UsageMetadata, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 31 | model_version: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 32 | response_id: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GeminiResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `finish_reason` and `index` are never read [INFO] [stdout] --> src/gemini.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 37 | struct Candidate { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 38 | content: Content, [INFO] [stdout] 39 | finish_reason: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 40 | index: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Candidate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `role` is never read [INFO] [stdout] --> src/gemini.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 45 | struct Content { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 46 | parts: Vec, [INFO] [stdout] 47 | role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Content` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `prompt_token_count`, `candidates_token_count`, `total_token_count`, `prompt_tokens_details`, and `thoughts_token_count` are never read [INFO] [stdout] --> src/gemini.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 52 | struct UsageMetadata { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 53 | prompt_token_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 54 | candidates_token_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 55 | total_token_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 56 | prompt_tokens_details: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 57 | thoughts_token_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UsageMetadata` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `modality` and `token_count` are never read [INFO] [stdout] --> src/gemini.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 62 | struct PromptTokenDetails { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 63 | modality: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 64 | token_count: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PromptTokenDetails` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BomItemKeywordResult` is never constructed [INFO] [stdout] --> src/part_match.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct BomItemKeywordResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | handle.await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 50 | let _ = handle.await.unwrap(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_PARTS_PER_BOM_ITEM` is never used [INFO] [stdout] --> src/main.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const MAX_PARTS_PER_BOM_ITEM: u32 = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `part_candidates` and `bom_item_id` are never read [INFO] [stdout] --> src/main.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 54 | struct BomItemPartCandidates { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 55 | part_candidates: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 56 | bom_item_id: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reference`, `qty`, and `datasheet` are never read [INFO] [stdout] --> src/bom.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct BomItem { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 23 | #[serde(rename = "Reference")] [INFO] [stdout] 24 | pub reference: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 25 | #[serde(rename = "Qty")] [INFO] [stdout] 26 | pub qty: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub datasheet: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BomItem` 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: method `search_keywords` is never used [INFO] [stdout] --> src/bom.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl BomItem { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 41 | pub fn search_keywords(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `expires_in` and `token_type` are never read [INFO] [stdout] --> src/digikey.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TokenResponse { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 10 | pub access_token: String, [INFO] [stdout] 11 | pub expires_in: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | pub token_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `products_count` is never read [INFO] [stdout] --> src/digikey.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct SearchResponse { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 29 | pub products: Vec, [INFO] [stdout] 30 | pub products_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SearchResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/digikey.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Product { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 38 | pub description: Description, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 39 | pub manufacturer: Manufacturer, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 40 | pub manufacturer_product_number: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 41 | pub unit_price: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 42 | pub product_url: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 43 | pub datasheet_url: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 44 | pub photo_url: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 45 | pub product_variations: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 46 | pub quantity_available: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | pub product_status: ProductStatus, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 48 | pub parameters: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 49 | pub category: Category, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 50 | pub series: Series, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 51 | pub classifications: Classifications, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 52 | pub other_names: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Product` 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: fields `product_description` and `detailed_description` are never read [INFO] [stdout] --> src/digikey.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Description { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 58 | pub product_description: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 59 | pub detailed_description: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Description` 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: fields `id` and `name` are never read [INFO] [stdout] --> src/digikey.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Manufacturer { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 65 | pub id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 66 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Manufacturer` 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: fields `digi_key_product_number`, `package_type`, `standard_pricing`, `quantity_availablefor_package_type`, and `minimum_order_quantity` are never read [INFO] [stdout] --> src/digikey.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct ProductVariation { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 72 | pub digi_key_product_number: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 73 | pub package_type: PackageType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 74 | pub standard_pricing: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 75 | pub quantity_availablefor_package_type: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 76 | pub minimum_order_quantity: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProductVariation` 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: fields `id` and `name` are never read [INFO] [stdout] --> src/digikey.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct PackageType { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 82 | pub id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 83 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PackageType` 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: fields `break_quantity`, `unit_price`, and `total_price` are never read [INFO] [stdout] --> src/digikey.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct StandardPricing { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 89 | pub break_quantity: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 90 | pub unit_price: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 91 | pub total_price: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StandardPricing` 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: fields `id` and `status` are never read [INFO] [stdout] --> src/digikey.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct ProductStatus { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 97 | pub id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 98 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProductStatus` 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: fields `parameter_id`, `parameter_text`, and `value_text` are never read [INFO] [stdout] --> src/digikey.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct Parameter { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 104 | pub parameter_id: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 105 | pub parameter_text: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 106 | pub value_text: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Parameter` 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: fields `category_id`, `name`, and `child_categories` are never read [INFO] [stdout] --> src/digikey.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct Category { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 112 | pub category_id: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 113 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 114 | pub child_categories: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Category` 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: fields `id` and `name` are never read [INFO] [stdout] --> src/digikey.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct Series { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 120 | pub id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 121 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Series` 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: fields `reach_status`, `rohs_status`, `moisture_sensitivity_level`, `export_control_class_number`, and `htsus_code` are never read [INFO] [stdout] --> src/digikey.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 126 | pub struct Classifications { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 127 | pub reach_status: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 128 | pub rohs_status: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 129 | #[serde(rename = "MoistureSensitivityLevel")] [INFO] [stdout] 130 | pub moisture_sensitivity_level: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 131 | #[serde(rename = "ExportControlClassNumber")] [INFO] [stdout] 132 | pub export_control_class_number: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 133 | #[serde(rename = "HtsusCode")] [INFO] [stdout] 134 | pub htsus_code: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Classifications` 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: fields `usage_metadata`, `model_version`, and `response_id` are never read [INFO] [stdout] --> src/gemini.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 28 | struct GeminiResponse { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 29 | candidates: Vec, [INFO] [stdout] 30 | usage_metadata: UsageMetadata, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 31 | model_version: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 32 | response_id: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GeminiResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `finish_reason` and `index` are never read [INFO] [stdout] --> src/gemini.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 37 | struct Candidate { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 38 | content: Content, [INFO] [stdout] 39 | finish_reason: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 40 | index: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Candidate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `role` is never read [INFO] [stdout] --> src/gemini.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 45 | struct Content { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 46 | parts: Vec, [INFO] [stdout] 47 | role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Content` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `prompt_token_count`, `candidates_token_count`, `total_token_count`, `prompt_tokens_details`, and `thoughts_token_count` are never read [INFO] [stdout] --> src/gemini.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 52 | struct UsageMetadata { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 53 | prompt_token_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 54 | candidates_token_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 55 | total_token_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 56 | prompt_tokens_details: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 57 | thoughts_token_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UsageMetadata` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `modality` and `token_count` are never read [INFO] [stdout] --> src/gemini.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 62 | struct PromptTokenDetails { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 63 | modality: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 64 | token_count: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PromptTokenDetails` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BomItemKeywordResult` is never constructed [INFO] [stdout] --> src/part_match.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct BomItemKeywordResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | handle.await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 50 | let _ = handle.await.unwrap(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.77s [INFO] running `Command { std: "docker" "inspect" "50a387a261510bc33dcfa6c8f9da002ff9b835524a2ea67916cabf675d41f2d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50a387a261510bc33dcfa6c8f9da002ff9b835524a2ea67916cabf675d41f2d3", kill_on_drop: false }` [INFO] [stdout] 50a387a261510bc33dcfa6c8f9da002ff9b835524a2ea67916cabf675d41f2d3