[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] aa06f6c6d983c5957d6c5be1eb62e0a708deb81f
[INFO] testing JCodV/trading-bot against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJCodV%2Ftrading-bot" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[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-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/JCodV/trading-bot on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 526a589958018ade6de4b1afb98fadd1d58e1b40467fe4733204917114f8390c
[INFO] running `Command { std: "docker" "start" "-a" "526a589958018ade6de4b1afb98fadd1d58e1b40467fe4733204917114f8390c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "526a589958018ade6de4b1afb98fadd1d58e1b40467fe4733204917114f8390c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "526a589958018ade6de4b1afb98fadd1d58e1b40467fe4733204917114f8390c", kill_on_drop: false }`
[INFO] [stdout] 526a589958018ade6de4b1afb98fadd1d58e1b40467fe4733204917114f8390c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] aa52b4ec1cc54c78b2c4e9e98531666f57d3cbbe6b7834e801c2505e66f13fff
[INFO] running `Command { std: "docker" "start" "-a" "aa52b4ec1cc54c78b2c4e9e98531666f57d3cbbe6b7834e801c2505e66f13fff", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]    Compiling unicode-ident v1.0.14
[INFO] [stderr]    Compiling libc v0.2.168
[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 pkg-config v0.3.31
[INFO] [stderr]    Compiling rustix v0.38.42
[INFO] [stderr]    Compiling cc v1.2.4
[INFO] [stderr]    Compiling libloading v0.8.6
[INFO] [stderr]    Compiling serde v1.0.216
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling hashbrown v0.15.2
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling winnow v0.6.20
[INFO] [stderr]    Compiling scoped-tls v1.0.1
[INFO] [stderr]    Compiling quick-xml v0.36.2
[INFO] [stderr]    Compiling endi v1.1.0
[INFO] [stderr]    Compiling wayland-client v0.31.7
[INFO] [stderr]    Compiling dlib v0.5.2
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling futures-lite v2.5.0
[INFO] [stderr]    Compiling memoffset v0.9.1
[INFO] [stderr]    Compiling foldhash v0.1.3
[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 litemap v0.7.4
[INFO] [stderr]    Compiling bytes v1.9.0
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling cpufeatures v0.2.16
[INFO] [stderr]    Compiling ttf-parser v0.25.1
[INFO] [stderr]    Compiling wayland-sys v0.31.5
[INFO] [stderr]    Compiling ordered-stream v0.2.0
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling event-listener v5.3.1
[INFO] [stderr]    Compiling async-executor v1.13.1
[INFO] [stderr]    Compiling xml-rs v0.8.24
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.0
[INFO] [stderr]    Compiling indexmap v2.7.0
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling event-listener-strategy v0.5.3
[INFO] [stderr]    Compiling itoa v1.0.14
[INFO] [stderr]    Compiling syn v2.0.90
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling async-lock v3.4.0
[INFO] [stderr]    Compiling async-channel v2.3.1
[INFO] [stderr]    Compiling wayland-scanner v0.31.5
[INFO] [stderr]    Compiling async-broadcast v0.7.1
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]    Compiling icu_properties_data v1.5.0
[INFO] [stderr]    Compiling xcursor v0.3.8
[INFO] [stderr]    Compiling blocking v1.6.1
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling smithay-client-toolkit v0.19.2
[INFO] [stderr]    Compiling cursor-icon v1.1.0
[INFO] [stderr]    Compiling strict-num v0.1.1
[INFO] [stderr]    Compiling toml_edit v0.22.22
[INFO] [stderr]    Compiling accesskit v0.17.1
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.0
[INFO] [stderr]    Compiling arrayref v0.3.9
[INFO] [stderr]    Compiling http v1.2.0
[INFO] [stderr]    Compiling immutable-chunkmap v2.0.6
[INFO] [stderr]    Compiling winit v0.30.5
[INFO] [stderr]    Compiling openssl v0.10.68
[INFO] [stderr]    Compiling httparse v1.9.5
[INFO] [stderr]    Compiling wayland-backend v0.3.7
[INFO] [stderr]    Compiling async-fs v2.1.2
[INFO] [stderr]    Compiling openssl-sys v0.9.104
[INFO] [stderr]    Compiling glutin_egl_sys v0.7.0
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling xdg-home v1.3.0
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling memmap2 v0.9.5
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling socket2 v0.5.8
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling accesskit_consumer v0.26.0
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling owned_ttf_parser v0.25.0
[INFO] [stderr]    Compiling glutin_glx_sys v0.6.0
[INFO] [stderr]    Compiling ab_glyph v0.2.29
[INFO] [stderr]    Compiling xkbcommon-dl v0.4.2
[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 nohash-hasher v0.2.0
[INFO] [stderr]    Compiling miniz_oxide v0.8.0
[INFO] [stderr]    Compiling glutin v0.32.1
[INFO] [stderr]    Compiling fdeflate v0.3.7
[INFO] [stderr]    Compiling glutin-winit v0.5.0
[INFO] [stderr]    Compiling serde_json v1.0.133
[INFO] [stderr]    Compiling home v0.5.11
[INFO] [stderr]    Compiling glow v0.16.0
[INFO] [stderr]    Compiling proc-macro-crate v3.2.0
[INFO] [stderr]    Compiling flate2 v1.0.35
[INFO] [stderr]    Compiling rustls-pki-types v1.10.1
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[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 png v0.17.15
[INFO] [stderr]    Compiling chrono v0.4.39
[INFO] [stderr]    Compiling x11rb v0.13.1
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling zvariant_utils v2.1.0
[INFO] [stderr]    Compiling wayland-csd-frame v0.3.0
[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 yoke-derive v0.7.5
[INFO] [stderr]    Compiling enumflags2_derive v0.7.10
[INFO] [stderr]    Compiling futures-macro v0.3.31
[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 icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling zbus_macros v4.4.0
[INFO] [stderr]    Compiling serde_repr v0.1.19
[INFO] [stderr]    Compiling async-trait v0.1.83
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling bytemuck v1.20.0
[INFO] [stderr]    Compiling tiny-skia-path v0.11.4
[INFO] [stderr]    Compiling emath v0.30.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling arboard v3.4.1
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling polling v3.7.4
[INFO] [stderr]    Compiling image v0.25.5
[INFO] [stderr]    Compiling wayland-protocols v0.32.5
[INFO] [stderr]    Compiling wayland-cursor v0.31.7
[INFO] [stderr]    Compiling tokio v1.42.0
[INFO] [stderr]    Compiling async-io v2.4.0
[INFO] [stderr]    Compiling calloop v0.13.0
[INFO] [stderr]    Compiling tiny-skia v0.11.4
[INFO] [stderr]    Compiling ecolor v0.30.0
[INFO] [stderr]    Compiling zerofrom v0.1.5
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling epaint v0.30.0
[INFO] [stderr]    Compiling calloop-wayland-source v0.3.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling tinystr v0.7.6
[INFO] [stderr]    Compiling icu_collections v1.5.0
[INFO] [stderr]    Compiling icu_locid v1.5.0
[INFO] [stderr]    Compiling egui v0.30.0
[INFO] [stderr]    Compiling icu_provider v1.5.0
[INFO] [stderr]    Compiling icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling http-body-util v0.1.2
[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 wayland-protocols-wlr v0.3.5
[INFO] [stderr]    Compiling wayland-protocols-plasma v0.3.5
[INFO] [stderr]    Compiling icu_normalizer v1.5.0
[INFO] [stderr]    Compiling tokio-util v0.7.13
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling egui_glow v0.30.0
[INFO] [stderr]    Compiling idna_adapter v1.2.0
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling h2 v0.4.7
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling zbus_names v3.0.0
[INFO] [stderr]    Compiling sctk-adwaita v0.10.1
[INFO] [stderr]    Compiling smithay-clipboard v0.7.2
[INFO] [stderr]    Compiling webbrowser v1.0.3
[INFO] [stderr]    Compiling zbus_xml v4.0.0
[INFO] [stderr]    Compiling zbus v4.4.0
[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 hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.9
[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)]` (part of `#[warn(unused)]`) 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<DailyOpenClose, reqwest::Error> {
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 14s
[INFO] running `Command { std: "docker" "inspect" "aa52b4ec1cc54c78b2c4e9e98531666f57d3cbbe6b7834e801c2505e66f13fff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aa52b4ec1cc54c78b2c4e9e98531666f57d3cbbe6b7834e801c2505e66f13fff", kill_on_drop: false }`
[INFO] [stdout] aa52b4ec1cc54c78b2c4e9e98531666f57d3cbbe6b7834e801c2505e66f13fff
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 59c47b9488dc573f042aacb2a0e92fe37b55f99bfef18039d1e3d7dfddb4db05
[INFO] running `Command { std: "docker" "start" "-a" "59c47b9488dc573f042aacb2a0e92fe37b55f99bfef18039d1e3d7dfddb4db05", 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)]` (part of `#[warn(unused)]`) 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<DailyOpenClose, reqwest::Error> {
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.55s
[INFO] running `Command { std: "docker" "inspect" "59c47b9488dc573f042aacb2a0e92fe37b55f99bfef18039d1e3d7dfddb4db05", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "59c47b9488dc573f042aacb2a0e92fe37b55f99bfef18039d1e3d7dfddb4db05", kill_on_drop: false }`
[INFO] [stdout] 59c47b9488dc573f042aacb2a0e92fe37b55f99bfef18039d1e3d7dfddb4db05
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] a1a8d7f7fb484f1de1f1f343253da9401e999647e91e2d980f62fc54326c8bda
[INFO] running `Command { std: "docker" "start" "-a" "a1a8d7f7fb484f1de1f1f343253da9401e999647e91e2d980f62fc54326c8bda", 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)]` (part of `#[warn(unused)]`) 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<DailyOpenClose, reqwest::Error> {
[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.47s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/trading_bot-e65553170060ba5b)
[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" "a1a8d7f7fb484f1de1f1f343253da9401e999647e91e2d980f62fc54326c8bda", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a1a8d7f7fb484f1de1f1f343253da9401e999647e91e2d980f62fc54326c8bda", kill_on_drop: false }`
[INFO] [stdout] a1a8d7f7fb484f1de1f1f343253da9401e999647e91e2d980f62fc54326c8bda
