[INFO] cloning repository https://github.com/JCodV/trading-bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JCodV/trading-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJCodV%2Ftrading-bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJCodV%2Ftrading-bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 856d9af8550bdc02fc356398a2efd7a24db6ebd3 [INFO] testing JCodV/trading-bot against master#9e136a30a965bf4e63f03095c57df7257bf96fd6 for pr-134530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJCodV%2Ftrading-bot" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JCodV/trading-bot on toolchain 9e136a30a965bf4e63f03095c57df7257bf96fd6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JCodV/trading-bot [INFO] finished tweaking git repo https://github.com/JCodV/trading-bot [INFO] tweaked toml for git repo https://github.com/JCodV/trading-bot written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/JCodV/trading-bot 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" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8861ad6628855839da9679342c1ee9f4b4d2e648c1218355d8dab1475f01efda [INFO] running `Command { std: "docker" "start" "-a" "8861ad6628855839da9679342c1ee9f4b4d2e648c1218355d8dab1475f01efda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8861ad6628855839da9679342c1ee9f4b4d2e648c1218355d8dab1475f01efda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8861ad6628855839da9679342c1ee9f4b4d2e648c1218355d8dab1475f01efda", kill_on_drop: false }` [INFO] [stdout] 8861ad6628855839da9679342c1ee9f4b4d2e648c1218355d8dab1475f01efda [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 820cdc170bf1f9046c811eb5de002019d61002080da9b9094fb2938989498e67 [INFO] running `Command { std: "docker" "start" "-a" "820cdc170bf1f9046c811eb5de002019d61002080da9b9094fb2938989498e67", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling libc v0.2.168 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling cc v1.2.4 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling quick-xml v0.36.2 [INFO] [stderr] Compiling wayland-sys v0.31.5 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling wayland-client v0.31.7 [INFO] [stderr] Compiling endi v1.1.0 [INFO] [stderr] Compiling event-listener-strategy v0.5.3 [INFO] [stderr] Compiling futures-lite v2.5.0 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling foldhash v0.1.3 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling ttf-parser v0.25.1 [INFO] [stderr] Compiling cpufeatures v0.2.16 [INFO] [stderr] Compiling async-broadcast v0.7.1 [INFO] [stderr] Compiling wayland-scanner v0.31.5 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling xdg-home v1.3.0 [INFO] [stderr] Compiling ordered-stream v0.2.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling wayland-backend v0.3.7 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling xml-rs v0.8.24 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling xcursor v0.3.8 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling cursor-icon v1.1.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Compiling xkeysym v0.2.1 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling accesskit v0.17.1 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling async-executor v1.13.1 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling async-fs v2.1.2 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling x11rb-protocol v0.13.1 [INFO] [stderr] Compiling as-raw-xcb-connection v1.0.1 [INFO] [stderr] Compiling immutable-chunkmap v2.0.6 [INFO] [stderr] Compiling winit v0.30.5 [INFO] [stderr] Compiling raw-window-handle v0.6.2 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling glutin_glx_sys v0.6.0 [INFO] [stderr] Compiling glutin_egl_sys v0.7.0 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling accesskit_consumer v0.26.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling epaint_default_fonts v0.30.0 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling smol_str v0.2.2 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling dpi v0.1.1 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling owned_ttf_parser v0.25.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling ab_glyph v0.2.29 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling glutin v0.32.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling glutin-winit v0.5.0 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling glow v0.16.0 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling web-time v1.1.0 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling rustls-pki-types v1.10.1 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling png v0.17.15 [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zvariant_utils v2.1.0 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling enumflags2_derive v0.7.10 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling zvariant_derive v4.2.0 [INFO] [stderr] Compiling bytemuck_derive v1.8.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling polling v3.7.4 [INFO] [stderr] Compiling zbus_macros v4.4.0 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling async-io v2.4.0 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling bytemuck v1.20.0 [INFO] [stderr] Compiling calloop v0.13.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling emath v0.30.0 [INFO] [stderr] Compiling image v0.25.5 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling ecolor v0.30.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling epaint v0.30.0 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling egui v0.30.0 [INFO] [stderr] Compiling wayland-protocols v0.32.5 [INFO] [stderr] Compiling calloop-wayland-source v0.3.0 [INFO] [stderr] Compiling wayland-cursor v0.31.7 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling enumflags2 v0.7.10 [INFO] [stderr] Compiling quick-xml v0.30.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling zvariant v4.2.0 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling zbus_names v3.0.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling egui_glow v0.30.0 [INFO] [stderr] Compiling zbus_xml v4.0.0 [INFO] [stderr] Compiling zbus v4.4.0 [INFO] [stderr] Compiling wayland-protocols-wlr v0.3.5 [INFO] [stderr] Compiling wayland-protocols-plasma v0.3.5 [INFO] [stderr] Compiling webbrowser v1.0.3 [INFO] [stderr] Compiling zbus-lockstep v0.4.4 [INFO] [stderr] Compiling zbus-lockstep-macros v0.4.4 [INFO] [stderr] Compiling hyper v1.5.1 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling sctk-adwaita v0.10.1 [INFO] [stderr] Compiling smithay-clipboard v0.7.2 [INFO] [stderr] Compiling x11rb v0.13.1 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.9 [INFO] [stderr] Compiling arboard v3.4.1 [INFO] [stderr] Compiling atspi-common v0.6.0 [INFO] [stderr] Compiling atspi-proxies v0.6.0 [INFO] [stderr] Compiling accesskit_atspi_common v0.10.1 [INFO] [stderr] Compiling atspi-connection v0.6.0 [INFO] [stderr] Compiling atspi v0.22.0 [INFO] [stderr] Compiling accesskit_unix v0.13.1 [INFO] [stderr] Compiling accesskit_winit v0.23.1 [INFO] [stderr] Compiling egui-winit v0.30.0 [INFO] [stderr] Compiling eframe v0.30.0 [INFO] [stderr] Compiling trading-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/daily_open_close.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct DailyOpenClose { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 5 | #[serde(rename = "afterHours")] [INFO] [stdout] 6 | after_hours: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 7 | close: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | from: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | high: f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | low: f32, [INFO] [stdout] | ^^^ [INFO] [stdout] 11 | #[serde(rename = "preMarket")] [INFO] [stdout] 12 | pre_market: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | volume: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DailyOpenClose` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `inc_or_dec` and `percent_change` are never read [INFO] [stdout] --> src/jtrader.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct StockStats { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 21 | inc_or_dec: IncreaseOrDecrease, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 22 | percent_change: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `api_key`, `stats_yesterday`, `stats_week`, `stats_month`, and `stats_year` are never read [INFO] [stdout] --> src/jtrader.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct JTrader { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 35 | api_key: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | stats_yesterday: StockStats, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 41 | stats_week: StockStats, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 42 | stats_month: StockStats, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 43 | stats_year: StockStats, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_selected_stock_data` is never used [INFO] [stdout] --> src/jtrader.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 61 | impl JTrader { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | async fn get_selected_stock_data(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_request` is never used [INFO] [stdout] --> src/jtrader.rs:125:10 [INFO] [stdout] | [INFO] [stdout] 125 | async fn get_request(url: &String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 25s [INFO] running `Command { std: "docker" "inspect" "820cdc170bf1f9046c811eb5de002019d61002080da9b9094fb2938989498e67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "820cdc170bf1f9046c811eb5de002019d61002080da9b9094fb2938989498e67", kill_on_drop: false }` [INFO] [stdout] 820cdc170bf1f9046c811eb5de002019d61002080da9b9094fb2938989498e67 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf33a3f0b65f2eb551758959ee9c66d89085d64e3d46f20e74a55bd788dae27f [INFO] running `Command { std: "docker" "start" "-a" "bf33a3f0b65f2eb551758959ee9c66d89085d64e3d46f20e74a55bd788dae27f", kill_on_drop: false }` [INFO] [stderr] Compiling trading-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/daily_open_close.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct DailyOpenClose { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 5 | #[serde(rename = "afterHours")] [INFO] [stdout] 6 | after_hours: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 7 | close: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | from: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | high: f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | low: f32, [INFO] [stdout] | ^^^ [INFO] [stdout] 11 | #[serde(rename = "preMarket")] [INFO] [stdout] 12 | pre_market: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | volume: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DailyOpenClose` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `inc_or_dec` and `percent_change` are never read [INFO] [stdout] --> src/jtrader.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct StockStats { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 21 | inc_or_dec: IncreaseOrDecrease, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 22 | percent_change: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `api_key`, `stats_yesterday`, `stats_week`, `stats_month`, and `stats_year` are never read [INFO] [stdout] --> src/jtrader.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct JTrader { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 35 | api_key: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | stats_yesterday: StockStats, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 41 | stats_week: StockStats, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 42 | stats_month: StockStats, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 43 | stats_year: StockStats, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_selected_stock_data` is never used [INFO] [stdout] --> src/jtrader.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 61 | impl JTrader { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | async fn get_selected_stock_data(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_request` is never used [INFO] [stdout] --> src/jtrader.rs:125:10 [INFO] [stdout] | [INFO] [stdout] 125 | async fn get_request(url: &String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.49s [INFO] running `Command { std: "docker" "inspect" "bf33a3f0b65f2eb551758959ee9c66d89085d64e3d46f20e74a55bd788dae27f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf33a3f0b65f2eb551758959ee9c66d89085d64e3d46f20e74a55bd788dae27f", kill_on_drop: false }` [INFO] [stdout] bf33a3f0b65f2eb551758959ee9c66d89085d64e3d46f20e74a55bd788dae27f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7d5fa450ca7b180a98e45a6ddb31bfddf9ed2e855ec0689e9e9a757f5d1ff311 [INFO] running `Command { std: "docker" "start" "-a" "7d5fa450ca7b180a98e45a6ddb31bfddf9ed2e855ec0689e9e9a757f5d1ff311", kill_on_drop: false }` [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/daily_open_close.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct DailyOpenClose { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] 5 | #[serde(rename = "afterHours")] [INFO] [stderr] 6 | after_hours: f32, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 7 | close: f32, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 8 | from: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 9 | high: f32, [INFO] [stderr] | ^^^^ [INFO] [stderr] 10 | low: f32, [INFO] [stderr] | ^^^ [INFO] [stderr] 11 | #[serde(rename = "preMarket")] [INFO] [stderr] 12 | pre_market: f32, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 13 | status: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 14 | volume: f32, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 15 | symbol: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DailyOpenClose` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `inc_or_dec` and `percent_change` are never read [INFO] [stderr] --> src/jtrader.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 20 | pub struct StockStats { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 21 | inc_or_dec: IncreaseOrDecrease, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 22 | percent_change: f32, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `api_key`, `stats_yesterday`, `stats_week`, `stats_month`, and `stats_year` are never read [INFO] [stderr] --> src/jtrader.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 34 | pub struct JTrader { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 35 | api_key: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 40 | stats_yesterday: StockStats, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 41 | stats_week: StockStats, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 42 | stats_month: StockStats, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 43 | stats_year: StockStats, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `get_selected_stock_data` is never used [INFO] [stderr] --> src/jtrader.rs:66:14 [INFO] [stderr] | [INFO] [stderr] 61 | impl JTrader { [INFO] [stderr] | ------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 66 | async fn get_selected_stock_data(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_request` is never used [INFO] [stderr] --> src/jtrader.rs:125:10 [INFO] [stderr] | [INFO] [stderr] 125 | async fn get_request(url: &String) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `trading-bot` (bin "trading-bot" test) generated 5 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.39s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/trading_bot-41fa1548b3e5ad90) [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" "7d5fa450ca7b180a98e45a6ddb31bfddf9ed2e855ec0689e9e9a757f5d1ff311", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d5fa450ca7b180a98e45a6ddb31bfddf9ed2e855ec0689e9e9a757f5d1ff311", kill_on_drop: false }` [INFO] [stdout] 7d5fa450ca7b180a98e45a6ddb31bfddf9ed2e855ec0689e9e9a757f5d1ff311