[INFO] cloning repository https://github.com/diegorainero/dr-fuel-predictor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/diegorainero/dr-fuel-predictor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdiegorainero%2Fdr-fuel-predictor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdiegorainero%2Fdr-fuel-predictor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0ee431702751e9ff9a0f92a782684411951033c2 [INFO] testing diegorainero/dr-fuel-predictor against try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdiegorainero%2Fdr-fuel-predictor" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/diegorainero/dr-fuel-predictor [INFO] finished tweaking git repo https://github.com/diegorainero/dr-fuel-predictor [INFO] tweaked toml for git repo https://github.com/diegorainero/dr-fuel-predictor written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/diegorainero/dr-fuel-predictor on toolchain 9f93af291970322f4f1c6315ccde4d7078201159 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/diegorainero/dr-fuel-predictor 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" "+9f93af291970322f4f1c6315ccde4d7078201159" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 464c39ae71957ed1abb1c68351c5fc97a97c5096e6944497e3a950ea708452e1 [INFO] running `Command { std: "docker" "start" "-a" "464c39ae71957ed1abb1c68351c5fc97a97c5096e6944497e3a950ea708452e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "464c39ae71957ed1abb1c68351c5fc97a97c5096e6944497e3a950ea708452e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "464c39ae71957ed1abb1c68351c5fc97a97c5096e6944497e3a950ea708452e1", kill_on_drop: false }` [INFO] [stdout] 464c39ae71957ed1abb1c68351c5fc97a97c5096e6944497e3a950ea708452e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f55518fbcf5c30f76af8ecd78892850a3c7b0b68df8cdf431c9d3dd1379d7790 [INFO] running `Command { std: "docker" "start" "-a" "f55518fbcf5c30f76af8ecd78892850a3c7b0b68df8cdf431c9d3dd1379d7790", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling find-msvc-tools v0.1.1 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling indexmap v2.11.1 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling cc v1.2.36 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling psl-types v2.0.11 [INFO] [stderr] Compiling litrs v0.4.2 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling regex-lite v0.1.7 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling time v0.3.43 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling actix-service v2.0.3 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling brotli v8.0.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling v_htmlescape v0.15.8 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling bytecount v0.6.9 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling http-range v0.1.5 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling eventsource-stream v0.2.3 [INFO] [stderr] Compiling dotenvy_macro v0.15.7 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling async-openai-macros v0.1.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling publicsuffix v2.3.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling secrecy v0.10.3 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling actix-rt v2.11.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling cookie_store v0.21.1 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling actix-http v3.11.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling gcp_auth v0.12.3 [INFO] [stderr] Compiling actix-web v4.11.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling reqwest-streams v0.8.2 [INFO] [stderr] Compiling reqwest-eventsource v0.6.0 [INFO] [stderr] Compiling deepseek_rs v0.1.4 [INFO] [stderr] Compiling google-generative-ai-rs v0.3.4 [INFO] [stderr] Compiling async-openai v0.29.3 [INFO] [stderr] Compiling actix-files v0.6.7 [INFO] [stderr] Compiling actix-cors v0.7.1 [INFO] [stderr] Compiling dr_fuel_predictor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Role` [INFO] [stdout] --> src/predictor.rs:4:76 [INFO] [stdout] | [INFO] [stdout] 4 | ChatCompletionRequestUserMessageArgs, CreateChatCompletionRequest, Role, [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: `Content`, `Part`, and `api::Client as GeminiClient` [INFO] [stdout] --> src/predictor.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | api::Client as GeminiClient, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | gemini::{Content, Part}, [INFO] [stdout] | ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_news_impact` is never used [INFO] [stdout] --> src/predictor.rs:383:4 [INFO] [stdout] | [INFO] [stdout] 383 | fn calculate_news_impact(sentiment: &SentimentSummary, articles: &[NewsArticle]) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_ai_analysis` is never used [INFO] [stdout] --> src/predictor.rs:400:10 [INFO] [stdout] | [INFO] [stdout] 400 | async fn get_ai_analysis( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_weighted_confidence` is never used [INFO] [stdout] --> src/predictor.rs:714:4 [INFO] [stdout] | [INFO] [stdout] 714 | fn calculate_weighted_confidence(predictions: &[FuelPrediction]) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_average_rsi` is never used [INFO] [stdout] --> src/predictor.rs:723:4 [INFO] [stdout] | [INFO] [stdout] 723 | fn calculate_average_rsi(fuel_data: &[FuelData]) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_market_momentum` is never used [INFO] [stdout] --> src/predictor.rs:757:4 [INFO] [stdout] | [INFO] [stdout] 757 | fn calculate_market_momentum(predictions: &[FuelPrediction]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `identify_support_resistance` is never used [INFO] [stdout] --> src/predictor.rs:774:4 [INFO] [stdout] | [INFO] [stdout] 774 | fn identify_support_resistance(fuel_data: &[FuelData]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_bollinger_signal` is never used [INFO] [stdout] --> src/predictor.rs:815:4 [INFO] [stdout] | [INFO] [stdout] 815 | fn calculate_bollinger_signal(_fuel_data: &[FuelData], _product: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_macd_signal` is never used [INFO] [stdout] --> src/predictor.rs:820:4 [INFO] [stdout] | [INFO] [stdout] 820 | fn calculate_macd_signal(_fuel_data: &[FuelData], _product: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_volume_ratio` is never used [INFO] [stdout] --> src/predictor.rs:825:4 [INFO] [stdout] | [INFO] [stdout] 825 | fn calculate_volume_ratio(_fuel_data: &[FuelData]) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `try_alternative_gemini_models` is never used [INFO] [stdout] --> src/predictor.rs:1374:10 [INFO] [stdout] | [INFO] [stdout] 1374 | async fn try_alternative_gemini_models( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_gemini_analysis_with_model` is never used [INFO] [stdout] --> src/predictor.rs:1449:10 [INFO] [stdout] | [INFO] [stdout] 1449 | async fn get_gemini_analysis_with_model( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_available_models` is never used [INFO] [stdout] --> src/predictor.rs:1609:10 [INFO] [stdout] | [INFO] [stdout] 1609 | async fn list_available_models() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 38s [INFO] running `Command { std: "docker" "inspect" "f55518fbcf5c30f76af8ecd78892850a3c7b0b68df8cdf431c9d3dd1379d7790", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f55518fbcf5c30f76af8ecd78892850a3c7b0b68df8cdf431c9d3dd1379d7790", kill_on_drop: false }` [INFO] [stdout] f55518fbcf5c30f76af8ecd78892850a3c7b0b68df8cdf431c9d3dd1379d7790 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 01c40e7215d1c4a059f7697cf5c35ae8843c9bcaf4d7daa7d75ba43a6659cc32 [INFO] running `Command { std: "docker" "start" "-a" "01c40e7215d1c4a059f7697cf5c35ae8843c9bcaf4d7daa7d75ba43a6659cc32", kill_on_drop: false }` [INFO] [stderr] Compiling dr_fuel_predictor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Role` [INFO] [stdout] --> src/predictor.rs:4:76 [INFO] [stdout] | [INFO] [stdout] 4 | ChatCompletionRequestUserMessageArgs, CreateChatCompletionRequest, Role, [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: `Content`, `Part`, and `api::Client as GeminiClient` [INFO] [stdout] --> src/predictor.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | api::Client as GeminiClient, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | gemini::{Content, Part}, [INFO] [stdout] | ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_news_impact` is never used [INFO] [stdout] --> src/predictor.rs:383:4 [INFO] [stdout] | [INFO] [stdout] 383 | fn calculate_news_impact(sentiment: &SentimentSummary, articles: &[NewsArticle]) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_ai_analysis` is never used [INFO] [stdout] --> src/predictor.rs:400:10 [INFO] [stdout] | [INFO] [stdout] 400 | async fn get_ai_analysis( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_weighted_confidence` is never used [INFO] [stdout] --> src/predictor.rs:714:4 [INFO] [stdout] | [INFO] [stdout] 714 | fn calculate_weighted_confidence(predictions: &[FuelPrediction]) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_average_rsi` is never used [INFO] [stdout] --> src/predictor.rs:723:4 [INFO] [stdout] | [INFO] [stdout] 723 | fn calculate_average_rsi(fuel_data: &[FuelData]) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_market_momentum` is never used [INFO] [stdout] --> src/predictor.rs:757:4 [INFO] [stdout] | [INFO] [stdout] 757 | fn calculate_market_momentum(predictions: &[FuelPrediction]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `identify_support_resistance` is never used [INFO] [stdout] --> src/predictor.rs:774:4 [INFO] [stdout] | [INFO] [stdout] 774 | fn identify_support_resistance(fuel_data: &[FuelData]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_bollinger_signal` is never used [INFO] [stdout] --> src/predictor.rs:815:4 [INFO] [stdout] | [INFO] [stdout] 815 | fn calculate_bollinger_signal(_fuel_data: &[FuelData], _product: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_macd_signal` is never used [INFO] [stdout] --> src/predictor.rs:820:4 [INFO] [stdout] | [INFO] [stdout] 820 | fn calculate_macd_signal(_fuel_data: &[FuelData], _product: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_volume_ratio` is never used [INFO] [stdout] --> src/predictor.rs:825:4 [INFO] [stdout] | [INFO] [stdout] 825 | fn calculate_volume_ratio(_fuel_data: &[FuelData]) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `try_alternative_gemini_models` is never used [INFO] [stdout] --> src/predictor.rs:1374:10 [INFO] [stdout] | [INFO] [stdout] 1374 | async fn try_alternative_gemini_models( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_gemini_analysis_with_model` is never used [INFO] [stdout] --> src/predictor.rs:1449:10 [INFO] [stdout] | [INFO] [stdout] 1449 | async fn get_gemini_analysis_with_model( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_available_models` is never used [INFO] [stdout] --> src/predictor.rs:1609:10 [INFO] [stdout] | [INFO] [stdout] 1609 | async fn list_available_models() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.62s [INFO] running `Command { std: "docker" "inspect" "01c40e7215d1c4a059f7697cf5c35ae8843c9bcaf4d7daa7d75ba43a6659cc32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01c40e7215d1c4a059f7697cf5c35ae8843c9bcaf4d7daa7d75ba43a6659cc32", kill_on_drop: false }` [INFO] [stdout] 01c40e7215d1c4a059f7697cf5c35ae8843c9bcaf4d7daa7d75ba43a6659cc32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fc4b9b93c47b62fc23adaa5e2b10b0221ab382481187f3b54e114694ab43cccd [INFO] running `Command { std: "docker" "start" "-a" "fc4b9b93c47b62fc23adaa5e2b10b0221ab382481187f3b54e114694ab43cccd", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Role` [INFO] [stderr] --> src/predictor.rs:4:76 [INFO] [stderr] | [INFO] [stderr] 4 | ChatCompletionRequestUserMessageArgs, CreateChatCompletionRequest, Role, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Content`, `Part`, and `api::Client as GeminiClient` [INFO] [stderr] --> src/predictor.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | api::Client as GeminiClient, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 12 | gemini::{Content, Part}, [INFO] [stderr] | ^^^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `calculate_news_impact` is never used [INFO] [stderr] --> src/predictor.rs:383:4 [INFO] [stderr] | [INFO] [stderr] 383 | fn calculate_news_impact(sentiment: &SentimentSummary, articles: &[NewsArticle]) -> f64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `get_ai_analysis` is never used [INFO] [stderr] --> src/predictor.rs:400:10 [INFO] [stderr] | [INFO] [stderr] 400 | async fn get_ai_analysis( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `calculate_weighted_confidence` is never used [INFO] [stderr] --> src/predictor.rs:714:4 [INFO] [stderr] | [INFO] [stderr] 714 | fn calculate_weighted_confidence(predictions: &[FuelPrediction]) -> f64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `calculate_average_rsi` is never used [INFO] [stderr] --> src/predictor.rs:723:4 [INFO] [stderr] | [INFO] [stderr] 723 | fn calculate_average_rsi(fuel_data: &[FuelData]) -> f64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `calculate_market_momentum` is never used [INFO] [stderr] --> src/predictor.rs:757:4 [INFO] [stderr] | [INFO] [stderr] 757 | fn calculate_market_momentum(predictions: &[FuelPrediction]) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `identify_support_resistance` is never used [INFO] [stderr] --> src/predictor.rs:774:4 [INFO] [stderr] | [INFO] [stderr] 774 | fn identify_support_resistance(fuel_data: &[FuelData]) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `calculate_bollinger_signal` is never used [INFO] [stderr] --> src/predictor.rs:815:4 [INFO] [stderr] | [INFO] [stderr] 815 | fn calculate_bollinger_signal(_fuel_data: &[FuelData], _product: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `calculate_macd_signal` is never used [INFO] [stderr] --> src/predictor.rs:820:4 [INFO] [stderr] | [INFO] [stderr] 820 | fn calculate_macd_signal(_fuel_data: &[FuelData], _product: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `calculate_volume_ratio` is never used [INFO] [stderr] --> src/predictor.rs:825:4 [INFO] [stderr] | [INFO] [stderr] 825 | fn calculate_volume_ratio(_fuel_data: &[FuelData]) -> f64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `try_alternative_gemini_models` is never used [INFO] [stderr] --> src/predictor.rs:1374:10 [INFO] [stderr] | [INFO] [stderr] 1374 | async fn try_alternative_gemini_models( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_gemini_analysis_with_model` is never used [INFO] [stderr] --> src/predictor.rs:1449:10 [INFO] [stderr] | [INFO] [stderr] 1449 | async fn get_gemini_analysis_with_model( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `list_available_models` is never used [INFO] [stderr] --> src/predictor.rs:1609:10 [INFO] [stderr] | [INFO] [stderr] 1609 | async fn list_available_models() -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `dr_fuel_predictor` (bin "dr_fuel_predictor" test) generated 14 warnings (run `cargo fix --bin "dr_fuel_predictor" -p dr_fuel_predictor --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/dr_fuel_predictor-9af5febdb7757b9b) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fc4b9b93c47b62fc23adaa5e2b10b0221ab382481187f3b54e114694ab43cccd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc4b9b93c47b62fc23adaa5e2b10b0221ab382481187f3b54e114694ab43cccd", kill_on_drop: false }` [INFO] [stdout] fc4b9b93c47b62fc23adaa5e2b10b0221ab382481187f3b54e114694ab43cccd