[INFO] fetching crate stock-calc 1.0.1...
[INFO] building stock-calc-1.0.1 against master#eb171a227f9e5de5d376b6edb56b174bc8235fb3 for pr-149937
[INFO] extracting crate stock-calc 1.0.1 into /workspace/builds/worker-5-tc1/source
[INFO] started tweaking crates.io crate stock-calc 1.0.1
[INFO] finished tweaking crates.io crate stock-calc 1.0.1
[INFO] tweaked toml for crates.io crate stock-calc 1.0.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate stock-calc 1.0.1 on toolchain eb171a227f9e5de5d376b6edb56b174bc8235fb3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate stock-calc 1.0.1 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" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded windows-version v0.1.4
[INFO] [stderr]   Downloaded clap_derive v4.5.41
[INFO] [stderr]   Downloaded mac-notification-sys v0.6.6
[INFO] [stderr]   Downloaded clap v4.5.42
[INFO] [stderr]   Downloaded tauri-winrt-notification v0.7.2
[INFO] [stderr]   Downloaded polling v3.9.0
[INFO] [stderr]   Downloaded notify-rust v4.11.7
[INFO] [stderr]   Downloaded clap_builder v4.5.42
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 25ae6f7ef9340e9df5036978462bca41668b382ffe560208219cdda8251c202c
[INFO] running `Command { std: "docker" "start" "-a" "25ae6f7ef9340e9df5036978462bca41668b382ffe560208219cdda8251c202c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "25ae6f7ef9340e9df5036978462bca41668b382ffe560208219cdda8251c202c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "25ae6f7ef9340e9df5036978462bca41668b382ffe560208219cdda8251c202c", kill_on_drop: false }`
[INFO] [stdout] 25ae6f7ef9340e9df5036978462bca41668b382ffe560208219cdda8251c202c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8c65ea60f3cd2501f4bf688257e558f7a117b9d59dc22629833f7d662011fcfa
[INFO] running `Command { std: "docker" "start" "-a" "8c65ea60f3cd2501f4bf688257e558f7a117b9d59dc22629833f7d662011fcfa", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling hashbrown v0.15.4
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling parking v2.2.1
[INFO] [stderr]    Compiling cc v1.2.31
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling rustix v1.0.8
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling linux-raw-sys v0.9.4
[INFO] [stderr]    Compiling endi v1.1.0
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling ucd-trie v0.1.7
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling async-task v4.7.1
[INFO] [stderr]    Compiling nix v0.30.1
[INFO] [stderr]    Compiling serde_json v1.0.142
[INFO] [stderr]    Compiling futures-lite v2.6.0
[INFO] [stderr]    Compiling piper v0.2.4
[INFO] [stderr]    Compiling dlv-list v0.3.0
[INFO] [stderr]    Compiling indexmap v2.10.0
[INFO] [stderr]    Compiling portable-atomic v1.11.1
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling ordered-stream v0.2.0
[INFO] [stderr]    Compiling linked-hash-map v0.5.6
[INFO] [stderr]    Compiling clap_builder v4.5.42
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling humantime v2.2.0
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling event-listener v5.4.0
[INFO] [stderr]    Compiling yaml-rust v0.4.5
[INFO] [stderr]    Compiling number_prefix v0.4.0
[INFO] [stderr]    Compiling pathdiff v0.2.3
[INFO] [stderr]    Compiling event-listener-strategy v0.5.4
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling async-lock v3.4.0
[INFO] [stderr]    Compiling async-channel v2.5.0
[INFO] [stderr]    Compiling async-broadcast v0.7.2
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling blocking v1.6.2
[INFO] [stderr]    Compiling async-executor v1.13.2
[INFO] [stderr]    Compiling num-format v0.4.4
[INFO] [stderr]    Compiling colored v2.2.0
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling signal-hook-registry v1.4.5
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling socket2 v0.6.0
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling ahash v0.7.8
[INFO] [stderr]    Compiling dirs-sys v0.4.1
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling signal-hook v0.3.18
[INFO] [stderr]    Compiling console v0.15.11
[INFO] [stderr]    Compiling is-terminal v0.4.16
[INFO] [stderr]    Compiling proc-macro-crate v3.3.0
[INFO] [stderr]    Compiling signal-hook-mio v0.2.4
[INFO] [stderr]    Compiling ordered-multimap v0.4.3
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling crossterm v0.27.0
[INFO] [stderr]    Compiling indicatif v0.17.11
[INFO] [stderr]    Compiling dirs v5.0.1
[INFO] [stderr]    Compiling env_logger v0.10.2
[INFO] [stderr]    Compiling rust-ini v0.18.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[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 enumflags2_derive v0.7.12
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling serde_repr v0.1.20
[INFO] [stderr]    Compiling polling v3.9.0
[INFO] [stderr]    Compiling async-io v2.5.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling clap_derive v4.5.41
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling pest v2.8.1
[INFO] [stderr]    Compiling async-signal v0.2.12
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling async-process v2.4.0
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling zerovec v0.11.2
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling clap v4.5.42
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.2
[INFO] [stderr]    Compiling pest_meta v2.8.1
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling pest_generator v2.8.1
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling pest_derive v2.8.1
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling zvariant_utils v3.2.0
[INFO] [stderr]    Compiling enumflags2 v0.7.12
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling json5 v0.4.1
[INFO] [stderr]    Compiling ron v0.7.1
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling zvariant_derive v5.6.0
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling tokio-util v0.7.15
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling zvariant v5.6.0
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling config v0.13.4
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling zbus_names v4.2.0
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling zbus_macros v5.9.0
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling zbus v5.9.0
[INFO] [stderr]    Compiling notify-rust v4.11.7
[INFO] [stderr]    Compiling stock-calc v1.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `retry`
[INFO] [stdout]    --> src/main.rs:124:5
[INFO] [stdout]     |
[INFO] [stdout] 124 |     retry: u32,
[INFO] [stdout]     |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_retry`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `InvalidStockCode` and `StorageError` are never constructed
[INFO] [stdout]   --> src/error.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub enum StockCalcError {
[INFO] [stdout]    |          -------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 12 |     InvalidStockCode(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     StorageError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `StockCalcError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `InvalidNumber` is never constructed
[INFO] [stdout]   --> src/error.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub enum ValidationError {
[INFO] [stdout]    |          --------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 42 |     InvalidNumber,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ValidationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `create_default_config` is never used
[INFO] [stdout]    --> src/config.rs:102:12
[INFO] [stdout]     |
[INFO] [stdout]  56 | impl AppConfig {
[INFO] [stdout]     | -------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 102 |     pub fn create_default_config() -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `validate_stock_code` is never used
[INFO] [stdout]   --> src/api.rs:79:18
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl StockApi {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 79 |     pub async fn validate_stock_code(&self, stock_code: &str) -> Result<bool> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `format_percentage` is never used
[INFO] [stdout]    --> src/calculator.rs:129:12
[INFO] [stdout]     |
[INFO] [stdout]   7 | impl StockCalculator {
[INFO] [stdout]     | -------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 129 |     pub fn format_percentage(percentage: f64) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `config` is never read
[INFO] [stdout]  --> src/storage.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Storage {
[INFO] [stdout]   |            ------- field in this struct
[INFO] [stdout] 9 |     config: AppConfig,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `update_stock`, `backup_database`, `restore_database`, `clear_database`, and `get_database_info` are never used
[INFO] [stdout]    --> src/storage.rs:71:12
[INFO] [stdout]     |
[INFO] [stdout]  12 | impl Storage {
[INFO] [stdout]     | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  71 |     pub fn update_stock(&self, stock: StockData) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  77 |     pub fn backup_database(&self) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  89 |     pub fn restore_database(&self) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |     pub fn clear_database(&self) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 110 |     pub fn get_database_info(&self) -> Result<DatabaseInfo> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DatabaseInfo` is never constructed
[INFO] [stdout]    --> src/storage.rs:129:12
[INFO] [stdout]     |
[INFO] [stdout] 129 | pub struct DatabaseInfo {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_help` is never used
[INFO] [stdout]    --> src/cli.rs:200:8
[INFO] [stdout]     |
[INFO] [stdout] 200 | pub fn print_help() {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 23s
[INFO] running `Command { std: "docker" "inspect" "8c65ea60f3cd2501f4bf688257e558f7a117b9d59dc22629833f7d662011fcfa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8c65ea60f3cd2501f4bf688257e558f7a117b9d59dc22629833f7d662011fcfa", kill_on_drop: false }`
[INFO] [stdout] 8c65ea60f3cd2501f4bf688257e558f7a117b9d59dc22629833f7d662011fcfa
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7fffc8c5fb2e45ab8e73f26748be05c5895e1b79950701052c952f875ce73b07
[INFO] running `Command { std: "docker" "start" "-a" "7fffc8c5fb2e45ab8e73f26748be05c5895e1b79950701052c952f875ce73b07", kill_on_drop: false }`
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling async-stream v0.3.6
[INFO] [stderr]    Compiling tokio-util v0.7.15
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling tokio-test v0.4.4
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling stock-calc v1.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `retry`
[INFO] [stdout]    --> src/main.rs:124:5
[INFO] [stdout]     |
[INFO] [stdout] 124 |     retry: u32,
[INFO] [stdout]     |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_retry`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `InvalidStockCode` and `StorageError` are never constructed
[INFO] [stdout]   --> src/error.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub enum StockCalcError {
[INFO] [stdout]    |          -------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 12 |     InvalidStockCode(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     StorageError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `StockCalcError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `InvalidNumber` is never constructed
[INFO] [stdout]   --> src/error.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub enum ValidationError {
[INFO] [stdout]    |          --------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 42 |     InvalidNumber,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ValidationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `create_default_config` is never used
[INFO] [stdout]    --> src/config.rs:102:12
[INFO] [stdout]     |
[INFO] [stdout]  56 | impl AppConfig {
[INFO] [stdout]     | -------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 102 |     pub fn create_default_config() -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `validate_stock_code` is never used
[INFO] [stdout]   --> src/api.rs:79:18
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl StockApi {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 79 |     pub async fn validate_stock_code(&self, stock_code: &str) -> Result<bool> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `format_percentage` is never used
[INFO] [stdout]    --> src/calculator.rs:129:12
[INFO] [stdout]     |
[INFO] [stdout]   7 | impl StockCalculator {
[INFO] [stdout]     | -------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 129 |     pub fn format_percentage(percentage: f64) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `config` is never read
[INFO] [stdout]  --> src/storage.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Storage {
[INFO] [stdout]   |            ------- field in this struct
[INFO] [stdout] 9 |     config: AppConfig,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `update_stock`, `backup_database`, `restore_database`, `clear_database`, and `get_database_info` are never used
[INFO] [stdout]    --> src/storage.rs:71:12
[INFO] [stdout]     |
[INFO] [stdout]  12 | impl Storage {
[INFO] [stdout]     | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  71 |     pub fn update_stock(&self, stock: StockData) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  77 |     pub fn backup_database(&self) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  89 |     pub fn restore_database(&self) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |     pub fn clear_database(&self) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 110 |     pub fn get_database_info(&self) -> Result<DatabaseInfo> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DatabaseInfo` is never constructed
[INFO] [stdout]    --> src/storage.rs:129:12
[INFO] [stdout]     |
[INFO] [stdout] 129 | pub struct DatabaseInfo {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_help` is never used
[INFO] [stdout]    --> src/cli.rs:200:8
[INFO] [stdout]     |
[INFO] [stdout] 200 | pub fn print_help() {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 19.95s
[INFO] running `Command { std: "docker" "inspect" "7fffc8c5fb2e45ab8e73f26748be05c5895e1b79950701052c952f875ce73b07", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7fffc8c5fb2e45ab8e73f26748be05c5895e1b79950701052c952f875ce73b07", kill_on_drop: false }`
[INFO] [stdout] 7fffc8c5fb2e45ab8e73f26748be05c5895e1b79950701052c952f875ce73b07
