[INFO] cloning repository https://github.com/xhyccc/RustUI [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xhyccc/RustUI" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxhyccc%2FRustUI", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxhyccc%2FRustUI'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f4805d5880232cd2c5585b6d33fe84558d5b44bd [INFO] checking xhyccc/RustUI against 1ed2df61a19042f231709eb05d032ae9e2cb2084 for pr-160235 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxhyccc%2FRustUI" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/xhyccc/RustUI [INFO] finished tweaking git repo https://github.com/xhyccc/RustUI [INFO] tweaked toml for git repo https://github.com/xhyccc/RustUI written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/xhyccc/RustUI on toolchain 1ed2df61a19042f231709eb05d032ae9e2cb2084 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ed2df61a19042f231709eb05d032ae9e2cb2084" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/xhyccc/RustUI 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" "+1ed2df61a19042f231709eb05d032ae9e2cb2084" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded egui_plot v0.31.0 [INFO] [stderr] Downloaded epaint v0.31.1 [INFO] [stderr] Downloaded ecolor v0.31.1 [INFO] [stderr] Downloaded emath v0.31.1 [INFO] [stderr] Downloaded egui-winit v0.31.1 [INFO] [stderr] Downloaded egui_glow v0.31.1 [INFO] [stderr] Downloaded webbrowser v1.2.0 [INFO] [stderr] Downloaded immutable-chunkmap v2.1.2 [INFO] [stderr] Downloaded eframe v0.31.1 [INFO] [stderr] Downloaded egui-wgpu v0.31.1 [INFO] [stderr] Downloaded wgpu-types v24.0.0 [INFO] [stderr] Downloaded wgpu v24.0.5 [INFO] [stderr] Downloaded egui v0.31.1 [INFO] [stderr] Downloaded wgpu-core v24.0.5 [INFO] [stderr] Downloaded wgpu-hal v24.0.4 [INFO] [stderr] Downloaded epaint_default_fonts v0.31.1 [INFO] [stderr] Downloaded naga v24.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] bd15b3eed3dd4eb1bc79449c70635c970267fa113f6c83f2368971377a17d912 [INFO] running `Command { std: "docker" "start" "bd15b3eed3dd4eb1bc79449c70635c970267fa113f6c83f2368971377a17d912", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd15b3eed3dd4eb1bc79449c70635c970267fa113f6c83f2368971377a17d912", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bd15b3eed3dd4eb1bc79449c70635c970267fa113f6c83f2368971377a17d912" "/opt/rustwide/cargo-home/bin/cargo" "+1ed2df61a19042f231709eb05d032ae9e2cb2084" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd15b3eed3dd4eb1bc79449c70635c970267fa113f6c83f2368971377a17d912", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bd15b3eed3dd4eb1bc79449c70635c970267fa113f6c83f2368971377a17d912" "/opt/rustwide/cargo-home/bin/cargo" "+1ed2df61a19042f231709eb05d032ae9e2cb2084" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.184 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling winnow v1.0.1 [INFO] [stderr] Compiling wayland-sys v0.31.11 [INFO] [stderr] Compiling wayland-backend v0.3.15 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling zvariant_utils v2.1.0 [INFO] [stderr] Compiling wayland-scanner v0.31.10 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking async-channel v2.5.0 [INFO] [stderr] Checking owned_ttf_parser v0.25.1 [INFO] [stderr] Checking async-lock v3.4.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking quick-xml v0.30.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking ab_glyph v0.2.32 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking blocking v1.6.2 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking enumflags2 v0.7.12 [INFO] [stderr] Checking async-broadcast v0.7.2 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Checking ordered-stream v0.2.0 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Compiling xml-rs v0.8.28 [INFO] [stderr] Compiling openssl-sys v0.9.112 [INFO] [stderr] Checking async-fs v2.2.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking accesskit v0.17.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking icu_normalizer v2.2.0 [INFO] [stderr] Checking x11rb-protocol v0.13.2 [INFO] [stderr] Checking immutable-chunkmap v2.1.2 [INFO] [stderr] Compiling winit v0.30.13 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking emath v0.31.1 [INFO] [stderr] Compiling toml_parser v1.1.2+spec-1.1.0 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Checking ecolor v0.31.1 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking epaint_default_fonts v0.31.1 [INFO] [stderr] Compiling openssl v0.10.76 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking dpi v0.1.2 [INFO] [stderr] Compiling smithay-client-toolkit v0.20.0 [INFO] [stderr] Checking pxfm v0.1.28 [INFO] [stderr] Checking accesskit_consumer v0.26.0 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking png v0.18.1 [INFO] [stderr] Compiling glutin v0.32.3 [INFO] [stderr] Compiling glutin-winit v0.5.0 [INFO] [stderr] Checking tracing-subscriber v0.3.23 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Compiling glutin_egl_sys v0.7.1 [INFO] [stderr] Compiling glutin_glx_sys v0.6.1 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Compiling toml_edit v0.25.11+spec-1.1.0 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking mio v1.2.0 [INFO] [stderr] Checking socket2 v0.6.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking xdg-home v1.3.0 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking memmap2 v0.9.10 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tokio v1.51.1 [INFO] [stderr] Checking epaint v0.31.1 [INFO] [stderr] Checking webbrowser v1.2.0 [INFO] [stderr] Compiling proc-macro-crate v3.5.0 [INFO] [stderr] Compiling zvariant_derive v4.2.0 [INFO] [stderr] Compiling zbus_macros v4.4.0 [INFO] [stderr] Checking egui v0.31.1 [INFO] [stderr] Checking zvariant v4.2.0 [INFO] [stderr] Checking moxcms v0.8.1 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Checking gethostname v1.1.0 [INFO] [stderr] Checking async-io v2.6.0 [INFO] [stderr] Checking calloop v0.14.4 [INFO] [stderr] Checking wayland-client v0.31.14 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Compiling zbus_names v3.0.0 [INFO] [stderr] Checking wayland-protocols v0.32.12 [INFO] [stderr] Checking wayland-cursor v0.31.14 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking calloop-wayland-source v0.4.1 [INFO] [stderr] Compiling zbus_xml v4.0.0 [INFO] [stderr] Checking egui_glow v0.31.1 [INFO] [stderr] Checking egui_plot v0.31.0 [INFO] [stderr] Checking zbus v4.4.0 [INFO] [stderr] Compiling zbus-lockstep v0.4.4 [INFO] [stderr] Compiling zbus-lockstep-macros v0.4.4 [INFO] [stderr] Checking image v0.25.10 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-stream v0.1.18 [INFO] [stderr] Checking tokio-test v0.4.5 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.12 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.12 [INFO] [stderr] Checking wayland-protocols-misc v0.3.12 [INFO] [stderr] Checking wayland-protocols-experimental v20250721.0.1 [INFO] [stderr] Checking atspi-common v0.6.0 [INFO] [stderr] Checking hyper v1.9.0 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking smithay-clipboard v0.7.3 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking atspi-proxies v0.6.0 [INFO] [stderr] Checking accesskit_atspi_common v0.10.1 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Checking arboard v3.6.1 [INFO] [stderr] Checking atspi-connection v0.6.0 [INFO] [stderr] Checking atspi v0.22.0 [INFO] [stderr] Checking accesskit_unix v0.13.1 [INFO] [stderr] Checking accesskit_winit v0.23.1 [INFO] [stderr] Checking egui-winit v0.31.1 [INFO] [stderr] Checking eframe v0.31.1 [INFO] [stderr] Checking rustui v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/charts.rs:26:43 [INFO] [stdout] | [INFO] [stdout] 26 | .stroke(egui::Stroke::new(1.0, color)) [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `1.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] = note: `#[warn(float_literal_f32_fallback)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/charts.rs:39:53 [INFO] [stdout] | [INFO] [stdout] 39 | Line::new(points).name(name).color(color).width(1.5) [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `1.5_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/charts.rs:49:63 [INFO] [stdout] | [INFO] [stdout] 49 | Line::new(points).name("收盘价").color(Color32::WHITE).width(1.0) [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `1.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/charts.rs:61:43 [INFO] [stdout] | [INFO] [stdout] 61 | .stroke(egui::Stroke::new(0.5, color)) [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `0.5_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/charts.rs:78:53 [INFO] [stdout] | [INFO] [stdout] 78 | Line::new(points).name(name).color(color).width(1.5) [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `1.5_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/charts.rs:26:43 [INFO] [stdout] | [INFO] [stdout] 26 | .stroke(egui::Stroke::new(1.0, color)) [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `1.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] = note: `#[warn(float_literal_f32_fallback)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/charts.rs:39:53 [INFO] [stdout] | [INFO] [stdout] 39 | Line::new(points).name(name).color(color).width(1.5) [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `1.5_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/charts.rs:49:63 [INFO] [stdout] | [INFO] [stdout] 49 | Line::new(points).name("收盘价").color(Color32::WHITE).width(1.0) [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `1.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/charts.rs:61:43 [INFO] [stdout] | [INFO] [stdout] 61 | .stroke(egui::Stroke::new(0.5, color)) [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `0.5_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/charts.rs:78:53 [INFO] [stdout] | [INFO] [stdout] 78 | Line::new(points).name(name).color(color).width(1.5) [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `1.5_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COLOR_UP` is never used [INFO] [stdout] --> src/charts.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const COLOR_UP: Color32 = Color32::from_rgb(220, 50, 50); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COLOR_DOWN` is never used [INFO] [stdout] --> src/charts.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const COLOR_DOWN: Color32 = Color32::from_rgb(0, 180, 100); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COLOR_SMA5` is never used [INFO] [stdout] --> src/charts.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const COLOR_SMA5: Color32 = Color32::from_rgb(255, 215, 0); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COLOR_SMA10` is never used [INFO] [stdout] --> src/charts.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const COLOR_SMA10: Color32 = Color32::from_rgb(255, 165, 0); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COLOR_SMA20` is never used [INFO] [stdout] --> src/charts.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const COLOR_SMA20: Color32 = Color32::from_rgb(100, 180, 255); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COLOR_EMA12` is never used [INFO] [stdout] --> src/charts.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const COLOR_EMA12: Color32 = Color32::from_rgb(200, 100, 255); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COLOR_EMA26` is never used [INFO] [stdout] --> src/charts.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const COLOR_EMA26: Color32 = Color32::from_rgb(255, 100, 200); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COLOR_ALPHA` is never used [INFO] [stdout] --> src/charts.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const COLOR_ALPHA: Color32 = Color32::from_rgb(255, 255, 100); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_candlestick_bars` is never used [INFO] [stdout] --> src/charts.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn build_candlestick_bars(records: &[OhlcvRecord]) -> BarChart { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_indicator_line` is never used [INFO] [stdout] --> src/charts.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn build_indicator_line<'a>(values: &'a [Option], name: &'a str, color: Color32) -> Line<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_close_line` is never used [INFO] [stdout] --> src/charts.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn build_close_line(records: &[OhlcvRecord]) -> Line<'static> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_volume_bars` is never used [INFO] [stdout] --> src/charts.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn build_volume_bars(records: &[OhlcvRecord]) -> BarChart { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_series` is never used [INFO] [stdout] --> src/charts.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn get_series(r: &IndicatorsResponse, name: &str) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `owned_line` is never used [INFO] [stdout] --> src/charts.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn owned_line(values: Vec>, name: &'static str, color: Color32) -> Line<'static> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sma5_line` is never used [INFO] [stdout] --> src/charts.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn sma5_line(r: &IndicatorsResponse) -> Line<'static> { owned_line(get_series(r, "sma5"), "MA5", COLOR_SMA5) } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sma10_line` is never used [INFO] [stdout] --> src/charts.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn sma10_line(r: &IndicatorsResponse) -> Line<'static> { owned_line(get_series(r, "sma10"), "MA10", COLOR_SMA10) } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sma20_line` is never used [INFO] [stdout] --> src/charts.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn sma20_line(r: &IndicatorsResponse) -> Line<'static> { owned_line(get_series(r, "sma20"), "MA20", COLOR_SMA20) } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ema12_line` is never used [INFO] [stdout] --> src/charts.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn ema12_line(r: &IndicatorsResponse) -> Line<'static> { owned_line(get_series(r, "ema12"), "EMA12", COLOR_EMA12) } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ema26_line` is never used [INFO] [stdout] --> src/charts.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn ema26_line(r: &IndicatorsResponse) -> Line<'static> { owned_line(get_series(r, "ema26"), "EMA26", COLOR_EMA26) } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bb_upper_line` is never used [INFO] [stdout] --> src/charts.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn bb_upper_line(r: &IndicatorsResponse) -> Line<'static> { owned_line(get_series(r, "bb_upper"), "BB上轨", Color32::from_rgb(15... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bb_lower_line` is never used [INFO] [stdout] --> src/charts.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn bb_lower_line(r: &IndicatorsResponse) -> Line<'static> { owned_line(get_series(r, "bb_lower"), "BB下轨", Color32::from_rgb(15... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `macd_line_chart` is never used [INFO] [stdout] --> src/charts.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn macd_line_chart(r: &IndicatorsResponse) -> Line<'static> { owned_line(get_series(r, "macd"), "MACD", Color32::from_rgb(255, 2... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `macd_signal_line` is never used [INFO] [stdout] --> src/charts.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn macd_signal_line(r: &IndicatorsResponse) -> Line<'static> { owned_line(get_series(r, "macd_signal"), "Signal", Color32::from_... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `macd_hist_line` is never used [INFO] [stdout] --> src/charts.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn macd_hist_line(r: &IndicatorsResponse) -> Line<'static> { owned_line(get_series(r, "macd_hist"), "柱", Color32::from_rgb(150,... [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rsi14_line` is never used [INFO] [stdout] --> src/charts.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn rsi14_line(r: &IndicatorsResponse) -> Line<'static> { owned_line(get_series(r, "rsi14"), "RSI14", Color32::from_rgb(100, 220,... [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `kdj_k_line` is never used [INFO] [stdout] --> src/charts.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn kdj_k_line(r: &IndicatorsResponse) -> Line<'static> { owned_line(get_series(r, "kdj_k"), "K", Color32::from_rgb(255, 200, 0)) } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `kdj_d_line` is never used [INFO] [stdout] --> src/charts.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn kdj_d_line(r: &IndicatorsResponse) -> Line<'static> { owned_line(get_series(r, "kdj_d"), "D", Color32::from_rgb(255, 100, 100... [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `kdj_j_line` is never used [INFO] [stdout] --> src/charts.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn kdj_j_line(r: &IndicatorsResponse) -> Line<'static> { owned_line(get_series(r, "kdj_j"), "J", Color32::from_rgb(100, 255, 100... [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COLOR_UP` is never used [INFO] [stdout] --> src/charts.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const COLOR_UP: Color32 = Color32::from_rgb(220, 50, 50); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COLOR_DOWN` is never used [INFO] [stdout] --> src/charts.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const COLOR_DOWN: Color32 = Color32::from_rgb(0, 180, 100); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COLOR_SMA5` is never used [INFO] [stdout] --> src/charts.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const COLOR_SMA5: Color32 = Color32::from_rgb(255, 215, 0); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COLOR_SMA10` is never used [INFO] [stdout] --> src/charts.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const COLOR_SMA10: Color32 = Color32::from_rgb(255, 165, 0); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COLOR_SMA20` is never used [INFO] [stdout] --> src/charts.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const COLOR_SMA20: Color32 = Color32::from_rgb(100, 180, 255); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COLOR_EMA12` is never used [INFO] [stdout] --> src/charts.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const COLOR_EMA12: Color32 = Color32::from_rgb(200, 100, 255); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COLOR_EMA26` is never used [INFO] [stdout] --> src/charts.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const COLOR_EMA26: Color32 = Color32::from_rgb(255, 100, 200); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COLOR_ALPHA` is never used [INFO] [stdout] --> src/charts.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const COLOR_ALPHA: Color32 = Color32::from_rgb(255, 255, 100); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_candlestick_bars` is never used [INFO] [stdout] --> src/charts.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn build_candlestick_bars(records: &[OhlcvRecord]) -> BarChart { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_indicator_line` is never used [INFO] [stdout] --> src/charts.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn build_indicator_line<'a>(values: &'a [Option], name: &'a str, color: Color32) -> Line<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_close_line` is never used [INFO] [stdout] --> src/charts.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn build_close_line(records: &[OhlcvRecord]) -> Line<'static> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_volume_bars` is never used [INFO] [stdout] --> src/charts.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn build_volume_bars(records: &[OhlcvRecord]) -> BarChart { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_series` is never used [INFO] [stdout] --> src/charts.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn get_series(r: &IndicatorsResponse, name: &str) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `owned_line` is never used [INFO] [stdout] --> src/charts.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn owned_line(values: Vec>, name: &'static str, color: Color32) -> Line<'static> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sma5_line` is never used [INFO] [stdout] --> src/charts.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn sma5_line(r: &IndicatorsResponse) -> Line<'static> { owned_line(get_series(r, "sma5"), "MA5", COLOR_SMA5) } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sma10_line` is never used [INFO] [stdout] --> src/charts.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn sma10_line(r: &IndicatorsResponse) -> Line<'static> { owned_line(get_series(r, "sma10"), "MA10", COLOR_SMA10) } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sma20_line` is never used [INFO] [stdout] --> src/charts.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn sma20_line(r: &IndicatorsResponse) -> Line<'static> { owned_line(get_series(r, "sma20"), "MA20", COLOR_SMA20) } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ema12_line` is never used [INFO] [stdout] --> src/charts.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn ema12_line(r: &IndicatorsResponse) -> Line<'static> { owned_line(get_series(r, "ema12"), "EMA12", COLOR_EMA12) } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ema26_line` is never used [INFO] [stdout] --> src/charts.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn ema26_line(r: &IndicatorsResponse) -> Line<'static> { owned_line(get_series(r, "ema26"), "EMA26", COLOR_EMA26) } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bb_upper_line` is never used [INFO] [stdout] --> src/charts.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn bb_upper_line(r: &IndicatorsResponse) -> Line<'static> { owned_line(get_series(r, "bb_upper"), "BB上轨", Color32::from_rgb(15... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bb_lower_line` is never used [INFO] [stdout] --> src/charts.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn bb_lower_line(r: &IndicatorsResponse) -> Line<'static> { owned_line(get_series(r, "bb_lower"), "BB下轨", Color32::from_rgb(15... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `macd_line_chart` is never used [INFO] [stdout] --> src/charts.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn macd_line_chart(r: &IndicatorsResponse) -> Line<'static> { owned_line(get_series(r, "macd"), "MACD", Color32::from_rgb(255, 2... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `macd_signal_line` is never used [INFO] [stdout] --> src/charts.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn macd_signal_line(r: &IndicatorsResponse) -> Line<'static> { owned_line(get_series(r, "macd_signal"), "Signal", Color32::from_... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `macd_hist_line` is never used [INFO] [stdout] --> src/charts.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn macd_hist_line(r: &IndicatorsResponse) -> Line<'static> { owned_line(get_series(r, "macd_hist"), "柱", Color32::from_rgb(150,... [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rsi14_line` is never used [INFO] [stdout] --> src/charts.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn rsi14_line(r: &IndicatorsResponse) -> Line<'static> { owned_line(get_series(r, "rsi14"), "RSI14", Color32::from_rgb(100, 220,... [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `kdj_k_line` is never used [INFO] [stdout] --> src/charts.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn kdj_k_line(r: &IndicatorsResponse) -> Line<'static> { owned_line(get_series(r, "kdj_k"), "K", Color32::from_rgb(255, 200, 0)) } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `kdj_d_line` is never used [INFO] [stdout] --> src/charts.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn kdj_d_line(r: &IndicatorsResponse) -> Line<'static> { owned_line(get_series(r, "kdj_d"), "D", Color32::from_rgb(255, 100, 100... [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `kdj_j_line` is never used [INFO] [stdout] --> src/charts.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn kdj_j_line(r: &IndicatorsResponse) -> Line<'static> { owned_line(get_series(r, "kdj_j"), "J", Color32::from_rgb(100, 255, 100... [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/app.rs:400:80 [INFO] [stdout] | [INFO] [stdout] 400 | build_indicator_line(&vals, &title, COLOR_ALPHA).width(2.0), [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `2.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] = note: `#[warn(float_literal_f32_fallback)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/charts.rs:26:43 [INFO] [stdout] | [INFO] [stdout] 26 | .stroke(egui::Stroke::new(1.0, color)) [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `1.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/charts.rs:39:53 [INFO] [stdout] | [INFO] [stdout] 39 | Line::new(points).name(name).color(color).width(1.5) [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `1.5_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/charts.rs:49:63 [INFO] [stdout] | [INFO] [stdout] 49 | Line::new(points).name("收盘价").color(Color32::WHITE).width(1.0) [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `1.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/charts.rs:61:43 [INFO] [stdout] | [INFO] [stdout] 61 | .stroke(egui::Stroke::new(0.5, color)) [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `0.5_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/charts.rs:78:53 [INFO] [stdout] | [INFO] [stdout] 78 | Line::new(points).name(name).color(color).width(1.5) [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `1.5_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/app.rs:400:80 [INFO] [stdout] | [INFO] [stdout] 400 | build_indicator_line(&vals, &title, COLOR_ALPHA).width(2.0), [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `2.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] = note: `#[warn(float_literal_f32_fallback)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/charts.rs:26:43 [INFO] [stdout] | [INFO] [stdout] 26 | .stroke(egui::Stroke::new(1.0, color)) [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `1.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/charts.rs:39:53 [INFO] [stdout] | [INFO] [stdout] 39 | Line::new(points).name(name).color(color).width(1.5) [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `1.5_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/charts.rs:49:63 [INFO] [stdout] | [INFO] [stdout] 49 | Line::new(points).name("收盘价").color(Color32::WHITE).width(1.0) [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `1.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/charts.rs:61:43 [INFO] [stdout] | [INFO] [stdout] 61 | .stroke(egui::Stroke::new(0.5, color)) [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `0.5_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/charts.rs:78:53 [INFO] [stdout] | [INFO] [stdout] 78 | Line::new(points).name(name).color(color).width(1.5) [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `1.5_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bid`, `ask`, `amount`, `date`, and `time` are never read [INFO] [stdout] --> src/api_client.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct RealtimeQuote { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | pub bid: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 25 | pub ask: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 26 | pub volume: f64, [INFO] [stdout] 27 | pub amount: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 28 | pub date: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | pub time: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RealtimeQuote` has derived impls for the traits `Clone` and `Debug`, but these are 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 `date`, `high`, `low`, `amount`, and `pct_chg` are never read [INFO] [stdout] --> src/api_client.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct OhlcvRecord { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 34 | pub date: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 35 | pub open: f64, [INFO] [stdout] 36 | pub high: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | pub low: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub amount: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 41 | pub pct_chg: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OhlcvRecord` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HistoryResponse` is never constructed [INFO] [stdout] --> src/api_client.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct HistoryResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `code` is never read [INFO] [stdout] --> src/api_client.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct IndicatorsResponse { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 61 | pub code: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndicatorsResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code` and `expression` are never read [INFO] [stdout] --> src/api_client.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct AlphaResponse { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 78 | pub code: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 79 | pub expression: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AlphaResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `history` is never used [INFO] [stdout] --> src/api_client.rs:164:18 [INFO] [stdout] | [INFO] [stdout] 111 | impl BackendClient { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 164 | pub async fn history( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_candlestick_bars` is never used [INFO] [stdout] --> src/charts.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn build_candlestick_bars(records: &[OhlcvRecord]) -> BarChart { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bid`, `ask`, `amount`, `date`, and `time` are never read [INFO] [stdout] --> src/api_client.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct RealtimeQuote { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | pub bid: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 25 | pub ask: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 26 | pub volume: f64, [INFO] [stdout] 27 | pub amount: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 28 | pub date: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | pub time: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RealtimeQuote` has derived impls for the traits `Clone` and `Debug`, but these are 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 `date`, `high`, `low`, `amount`, and `pct_chg` are never read [INFO] [stdout] --> src/api_client.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct OhlcvRecord { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 34 | pub date: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 35 | pub open: f64, [INFO] [stdout] 36 | pub high: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | pub low: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub amount: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 41 | pub pct_chg: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OhlcvRecord` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HistoryResponse` is never constructed [INFO] [stdout] --> src/api_client.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct HistoryResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `code` is never read [INFO] [stdout] --> src/api_client.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct IndicatorsResponse { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 61 | pub code: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndicatorsResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code` and `expression` are never read [INFO] [stdout] --> src/api_client.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct AlphaResponse { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 78 | pub code: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 79 | pub expression: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AlphaResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `history` is never used [INFO] [stdout] --> src/api_client.rs:164:18 [INFO] [stdout] | [INFO] [stdout] 111 | impl BackendClient { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 164 | pub async fn history( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_candlestick_bars` is never used [INFO] [stdout] --> src/charts.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn build_candlestick_bars(records: &[OhlcvRecord]) -> BarChart { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: glutin v0.32.3, glutin-winit v0.5.0, nix v0.29.0, winit v0.30.13 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 6` [INFO] running `Command { std: "docker" "inspect" "bd15b3eed3dd4eb1bc79449c70635c970267fa113f6c83f2368971377a17d912", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd15b3eed3dd4eb1bc79449c70635c970267fa113f6c83f2368971377a17d912", kill_on_drop: false }` [INFO] [stdout] bd15b3eed3dd4eb1bc79449c70635c970267fa113f6c83f2368971377a17d912