[INFO] fetching crate qm-fin-catch-data 0.1.0... [INFO] linting qm-fin-catch-data-0.1.0 against nightly for clippy-nonminimal_bool-denied [INFO] extracting crate qm-fin-catch-data 0.1.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate qm-fin-catch-data 0.1.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate qm-fin-catch-data 0.1.0 [INFO] tweaked toml for crates.io crate qm-fin-catch-data 0.1.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate qm-fin-catch-data 0.1.0 on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate qm-fin-catch-data 0.1.0 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" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dd709c69d8f2e38ebc3c7244397518a8680c00f30b049b1717126b3fb25e1657 [INFO] running `Command { std: "docker" "start" "-a" "dd709c69d8f2e38ebc3c7244397518a8680c00f30b049b1717126b3fb25e1657", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd709c69d8f2e38ebc3c7244397518a8680c00f30b049b1717126b3fb25e1657", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd709c69d8f2e38ebc3c7244397518a8680c00f30b049b1717126b3fb25e1657", kill_on_drop: false }` [INFO] [stdout] dd709c69d8f2e38ebc3c7244397518a8680c00f30b049b1717126b3fb25e1657 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c330a3b857c4cc866aa739bde07fa85ab083e3bf405639ee6ef6228cb232e119 [INFO] running `Command { std: "docker" "start" "-a" "c330a3b857c4cc866aa739bde07fa85ab083e3bf405639ee6ef6228cb232e119", kill_on_drop: false }` [INFO] [stderr] Compiling find-msvc-tools v0.1.7 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Compiling time-core v0.1.7 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Checking psl-types v2.0.11 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Compiling time-macros v0.2.25 [INFO] [stderr] Compiling cc v1.2.52 [INFO] [stderr] Checking time v0.3.45 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking rustls-webpki v0.103.9 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.43 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking publicsuffix v2.3.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking cookie_store v0.22.0 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking hyper-util v0.1.19 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Checking qm-fin-catch-data v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `default_exchange_rate_source` is never read [INFO] [stdout] --> src/gateway/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct DataSourceGateway { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | default_exchange_rate_source: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/gateway/mod.rs:118:22 [INFO] [stdout] | [INFO] [stdout] 118 | .map_err(|e| ApiError::InvalidRequest(e))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the tuple variant itself: `ApiError::InvalidRequest` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] = note: `#[warn(clippy::redundant_closure)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/gateway/mod.rs:144:22 [INFO] [stdout] | [INFO] [stdout] 144 | .map_err(|e| ApiError::InvalidRequest(e))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the tuple variant itself: `ApiError::InvalidRequest` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/gateway/mod.rs:172:22 [INFO] [stdout] | [INFO] [stdout] 172 | .map_err(|e| ApiError::InvalidRequest(e))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the tuple variant itself: `ApiError::InvalidRequest` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `format!` [INFO] [stdout] --> src/models/gold_premium.rs:225:35 [INFO] [stdout] | [INFO] [stdout] 225 | weekend_warnings.push(format!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 226 | | "Requested 'from' date falls on a weekend. Using previous Friday's data instead." [INFO] [stdout] 227 | | )); [INFO] [stdout] | |_____________^ help: consider using `.to_string()`: `"Requested 'from' date falls on a weekend. Using previous Friday's data instead.".to_string()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stdout] = note: `#[warn(clippy::useless_format)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `format!` [INFO] [stdout] --> src/models/gold_premium.rs:235:35 [INFO] [stdout] | [INFO] [stdout] 235 | weekend_warnings.push(format!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 236 | | "Requested 'to' date falls on a weekend. Using previous Friday's data instead." [INFO] [stdout] 237 | | )); [INFO] [stdout] | |_____________^ help: consider using `.to_string()`: `"Requested 'to' date falls on a weekend. Using previous Friday's data instead.".to_string()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `default_exchange_rate_source` is never read [INFO] [stdout] --> src/gateway/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct DataSourceGateway { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | default_exchange_rate_source: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/gateway/mod.rs:118:22 [INFO] [stdout] | [INFO] [stdout] 118 | .map_err(|e| ApiError::InvalidRequest(e))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the tuple variant itself: `ApiError::InvalidRequest` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] = note: `#[warn(clippy::redundant_closure)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/gateway/mod.rs:144:22 [INFO] [stdout] | [INFO] [stdout] 144 | .map_err(|e| ApiError::InvalidRequest(e))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the tuple variant itself: `ApiError::InvalidRequest` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/gateway/mod.rs:172:22 [INFO] [stdout] | [INFO] [stdout] 172 | .map_err(|e| ApiError::InvalidRequest(e))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the tuple variant itself: `ApiError::InvalidRequest` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/sources/yahoo_finance.rs:327:19 [INFO] [stdout] | [INFO] [stdout] 327 | } else if (is_to_current_date && !is_single_day_query) || is_single_day_query { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 327 - } else if (is_to_current_date && !is_single_day_query) || is_single_day_query { [INFO] [stdout] 327 + } else if !(!is_to_current_date && !is_single_day_query) { [INFO] [stdout] | [INFO] [stdout] 327 - } else if (is_to_current_date && !is_single_day_query) || is_single_day_query { [INFO] [stdout] 327 + } else if is_to_current_date || is_single_day_query { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `format!` [INFO] [stdout] --> src/models/gold_premium.rs:225:35 [INFO] [stdout] | [INFO] [stdout] 225 | weekend_warnings.push(format!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 226 | | "Requested 'from' date falls on a weekend. Using previous Friday's data instead." [INFO] [stdout] 227 | | )); [INFO] [stdout] | |_____________^ help: consider using `.to_string()`: `"Requested 'from' date falls on a weekend. Using previous Friday's data instead.".to_string()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stdout] = note: `#[warn(clippy::useless_format)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `format!` [INFO] [stdout] --> src/models/gold_premium.rs:235:35 [INFO] [stdout] | [INFO] [stdout] 235 | weekend_warnings.push(format!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 236 | | "Requested 'to' date falls on a weekend. Using previous Friday's data instead." [INFO] [stdout] 237 | | )); [INFO] [stdout] | |_____________^ help: consider using `.to_string()`: `"Requested 'to' date falls on a weekend. Using previous Friday's data instead.".to_string()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/sources/vietcombank.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | current_date = current_date + ChronoDuration::days(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `current_date += ChronoDuration::days(1)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] = note: `#[warn(clippy::assign_op_pattern)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/sources/yahoo_finance.rs:327:19 [INFO] [stdout] | [INFO] [stdout] 327 | } else if (is_to_current_date && !is_single_day_query) || is_single_day_query { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 327 - } else if (is_to_current_date && !is_single_day_query) || is_single_day_query { [INFO] [stdout] 327 + } else if !(!is_to_current_date && !is_single_day_query) { [INFO] [stdout] | [INFO] [stdout] 327 - } else if (is_to_current_date && !is_single_day_query) || is_single_day_query { [INFO] [stdout] 327 + } else if is_to_current_date || is_single_day_query { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> examples/display_sjc_metadata.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / /// ``` [INFO] [stdout] 7 | | [INFO] [stdout] | |_^ [INFO] [stdout] 8 | use qm_fin_catch_data::sources::{GoldDataSource, SjcSource}; [INFO] [stdout] | - the comment documents this `use` import [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = note: `#[warn(clippy::empty_line_after_doc_comments)]` on by default [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] help: if the comment should document the crate use an inner doc comment [INFO] [stdout] | [INFO] [stdout] 1 ~ //! Display SJC metadata in a pretty format [INFO] [stdout] 2 ~ //! [INFO] [stdout] 3 ~ //! Usage: [INFO] [stdout] 4 ~ //! ``` [INFO] [stdout] 5 ~ //! cargo run --example display_sjc_metadata [INFO] [stdout] 6 ~ //! ``` [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> tests/yahoo_finance_weekend_test.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / /// ``` [INFO] [stdout] 8 | | [INFO] [stdout] | |_^ [INFO] [stdout] 9 | use qm_fin_catch_data::{ [INFO] [stdout] | - the comment documents this `use` import [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = note: `#[warn(clippy::empty_line_after_doc_comments)]` on by default [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] help: if the comment should document the crate use an inner doc comment [INFO] [stdout] | [INFO] [stdout] 1 ~ //! Test Yahoo Finance weekend handling [INFO] [stdout] 2 ~ //! These tests verify that Yahoo Finance correctly falls back to Friday for weekend dates [INFO] [stdout] 3 ~ //! [INFO] [stdout] 4 ~ //! To run these tests: [INFO] [stdout] 5 ~ //! ``` [INFO] [stdout] 6 ~ //! cargo test --test yahoo_finance_weekend_test -- --nocapture [INFO] [stdout] 7 ~ //! ``` [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> tests/metadata_price_scale_test.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / /// ``` [INFO] [stdout] 7 | | [INFO] [stdout] | |_^ [INFO] [stdout] 8 | use qm_fin_catch_data::{ [INFO] [stdout] | - the comment documents this `use` import [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = note: `#[warn(clippy::empty_line_after_doc_comments)]` on by default [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] help: if the comment should document the crate use an inner doc comment [INFO] [stdout] | [INFO] [stdout] 1 ~ //! Test to verify that all stock sources include price_scale in metadata [INFO] [stdout] 2 ~ //! [INFO] [stdout] 3 ~ //! To run this test: [INFO] [stdout] 4 ~ //! ``` [INFO] [stdout] 5 ~ //! cargo test --test metadata_price_scale_test -- --nocapture [INFO] [stdout] 6 ~ //! ``` [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> tests/gold_premium_test.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / /// ``` [INFO] [stdout] 8 | | [INFO] [stdout] | |_^ [INFO] [stdout] 9 | use qm_fin_catch_data::{ [INFO] [stdout] | - the comment documents this `use` import [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = note: `#[warn(clippy::empty_line_after_doc_comments)]` on by default [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] help: if the comment should document the crate use an inner doc comment [INFO] [stdout] | [INFO] [stdout] 1 ~ //! Integration tests for gold premium API [INFO] [stdout] 2 ~ //! These tests verify that gold premium calculations work correctly [INFO] [stdout] 3 ~ //! [INFO] [stdout] 4 ~ //! To run these tests: [INFO] [stdout] 5 ~ //! ``` [INFO] [stdout] 6 ~ //! cargo test --test gold_premium_test -- --test-threads=1 --nocapture [INFO] [stdout] 7 ~ //! ``` [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> tests/sources_integration_test.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / /// - API endpoints have changed [INFO] [stdout] 14 | | [INFO] [stdout] | |_^ [INFO] [stdout] 15 | use qm_fin_catch_data::{ [INFO] [stdout] | - the comment documents this `use` import [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = note: `#[warn(clippy::empty_line_after_doc_comments)]` on by default [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] help: if the comment should document the crate use an inner doc comment [INFO] [stdout] | [INFO] [stdout] 1 ~ //! Integration tests for all data sources [INFO] [stdout] 2 ~ //! These tests verify that connections to external APIs work correctly [INFO] [stdout] 3 ~ //! [INFO] [stdout] 4 ~ //! To run these tests: [INFO] [stdout] 5 ~ //! ``` [INFO] [stdout] 6 ~ //! cargo test --test sources_integration_test -- --test-threads=1 --nocapture [INFO] [stdout] 7 ~ //! ``` [INFO] [stdout] 8 ~ //! [INFO] [stdout] 9 ~ //! Note: These are integration tests that make real API calls. [INFO] [stdout] 10 ~ //! They may fail if: [INFO] [stdout] 11 ~ //! - Network connectivity is unavailable [INFO] [stdout] 12 ~ //! - External APIs are down or rate-limiting [INFO] [stdout] 13 ~ //! - API endpoints have changed [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> examples/explore_sjc_gold_ids.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / /// ``` [INFO] [stdout] 10 | | [INFO] [stdout] | |_^ [INFO] [stdout] 11 | use qm_fin_catch_data::{ [INFO] [stdout] | - the comment documents this `use` import [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = note: `#[warn(clippy::empty_line_after_doc_comments)]` on by default [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] help: if the comment should document the crate use an inner doc comment [INFO] [stdout] | [INFO] [stdout] 1 ~ //! Exploration tool to discover available SJC gold price IDs [INFO] [stdout] 2 ~ //! [INFO] [stdout] 3 ~ //! This program queries the SJC API with different gold_price_id values [INFO] [stdout] 4 ~ //! to discover what gold types are available and document them. [INFO] [stdout] 5 ~ //! [INFO] [stdout] 6 ~ //! Usage: [INFO] [stdout] 7 ~ //! ``` [INFO] [stdout] 8 ~ //! cargo run --example explore_sjc_gold_ids [INFO] [stdout] 9 ~ //! ``` [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/sources/vietcombank.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | current_date = current_date + ChronoDuration::days(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `current_date += ChronoDuration::days(1)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] = note: `#[warn(clippy::assign_op_pattern)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.29s [INFO] running `Command { std: "docker" "inspect" "c330a3b857c4cc866aa739bde07fa85ab083e3bf405639ee6ef6228cb232e119", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c330a3b857c4cc866aa739bde07fa85ab083e3bf405639ee6ef6228cb232e119", kill_on_drop: false }` [INFO] [stdout] c330a3b857c4cc866aa739bde07fa85ab083e3bf405639ee6ef6228cb232e119