[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] testing xhyccc/RustUI against master#f9988fefd3add01f414f52b414308e7872622fee for pr-155114 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxhyccc%2FRustUI" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/xhyccc/RustUI on toolchain f9988fefd3add01f414f52b414308e7872622fee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "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" "+f9988fefd3add01f414f52b414308e7872622fee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.68 [INFO] [stderr] Downloaded emath v0.31.1 [INFO] [stderr] Downloaded rustls-webpki v0.103.11 [INFO] [stderr] Downloaded wayland-sys v0.31.11 [INFO] [stderr] Downloaded accesskit v0.17.1 [INFO] [stderr] Downloaded wayland-backend v0.3.15 [INFO] [stderr] Downloaded wayland-protocols-wlr v0.3.12 [INFO] [stderr] Downloaded hyper-rustls v0.27.8 [INFO] [stderr] Downloaded wayland-client v0.31.14 [INFO] [stderr] Downloaded egui_plot v0.31.0 [INFO] [stderr] Downloaded epaint v0.31.1 [INFO] [stderr] Downloaded wayland-protocols-plasma v0.3.12 [INFO] [stderr] Downloaded ecolor v0.31.1 [INFO] [stderr] Downloaded wayland-scanner v0.31.10 [INFO] [stderr] Downloaded wayland-cursor v0.31.14 [INFO] [stderr] Downloaded wayland-protocols v0.32.12 [INFO] [stderr] Downloaded eframe v0.31.1 [INFO] [stderr] Downloaded jni-macros v0.22.4 [INFO] [stderr] Downloaded egui v0.31.1 [INFO] [stderr] Downloaded jni v0.22.4 [INFO] [stderr] Downloaded egui_glow v0.31.1 [INFO] [stderr] Downloaded egui-winit v0.31.1 [INFO] [stderr] Downloaded webbrowser v1.2.0 [INFO] [stderr] Downloaded wayland-protocols-misc v0.3.12 [INFO] [stderr] Downloaded accesskit_windows v0.24.1 [INFO] [stderr] Downloaded accesskit_winit v0.23.1 [INFO] [stderr] Downloaded simd_cesu8 v1.1.1 [INFO] [stderr] Downloaded android-activity v0.6.1 [INFO] [stderr] Downloaded accesskit_consumer v0.26.0 [INFO] [stderr] Downloaded accesskit_unix v0.13.1 [INFO] [stderr] Downloaded epaint_default_fonts v0.31.1 [INFO] [stderr] Downloaded zbus_macros v4.4.0 [INFO] [stderr] Downloaded immutable-chunkmap v2.1.2 [INFO] [stderr] Downloaded zbus_names v3.0.0 [INFO] [stderr] Downloaded zbus-lockstep v0.4.4 [INFO] [stderr] Downloaded accesskit_macos v0.18.1 [INFO] [stderr] Downloaded zbus v4.4.0 [INFO] [stderr] Downloaded async-signal v0.2.14 [INFO] [stderr] Downloaded atspi v0.22.0 [INFO] [stderr] Downloaded atspi-proxies v0.6.0 [INFO] [stderr] Downloaded zbus-lockstep-macros v0.4.4 [INFO] [stderr] Downloaded zbus_xml v4.0.0 [INFO] [stderr] Downloaded atspi-connection v0.6.0 [INFO] [stderr] Downloaded accesskit_atspi_common v0.10.1 [INFO] [stderr] Downloaded egui-wgpu v0.31.1 [INFO] [stderr] Downloaded atspi-common v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 21fe4079beb6893acab595f22cd8cc0a8d34eed12d237dce94d26300d79d55f2 [INFO] running `Command { std: "docker" "start" "-a" "21fe4079beb6893acab595f22cd8cc0a8d34eed12d237dce94d26300d79d55f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21fe4079beb6893acab595f22cd8cc0a8d34eed12d237dce94d26300d79d55f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21fe4079beb6893acab595f22cd8cc0a8d34eed12d237dce94d26300d79d55f2", kill_on_drop: false }` [INFO] [stdout] 21fe4079beb6893acab595f22cd8cc0a8d34eed12d237dce94d26300d79d55f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd80e3db1c8ff39ae645e95082ed788438fb8936499e8228d2e92e21c09dd7d2 [INFO] running `Command { std: "docker" "start" "-a" "bd80e3db1c8ff39ae645e95082ed788438fb8936499e8228d2e92e21c09dd7d2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.184 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling pkg-config v0.3.33 [INFO] [stderr] Compiling cc v1.2.60 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling hashbrown v0.17.0 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling polling v3.11.0 [INFO] [stderr] Compiling winnow v1.0.1 [INFO] [stderr] Compiling wayland-client v0.31.14 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling toml_datetime v1.1.1+spec-1.1.0 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling fastrand v2.4.1 [INFO] [stderr] Compiling endi v1.1.1 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Compiling owned_ttf_parser v0.25.1 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling piper v0.2.5 [INFO] [stderr] Compiling litemap v0.8.2 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Compiling writeable v0.6.3 [INFO] [stderr] Compiling wayland-sys v0.31.11 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling ab_glyph v0.2.32 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling ordered-stream v0.2.0 [INFO] [stderr] Compiling indexmap v2.14.0 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling xml-rs v0.8.28 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling icu_normalizer_data v2.2.0 [INFO] [stderr] Compiling quick-xml v0.39.2 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling icu_properties_data v2.2.0 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling async-lock v3.4.2 [INFO] [stderr] Compiling async-broadcast v0.7.2 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling accesskit v0.17.1 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling simd-adler32 v0.3.9 [INFO] [stderr] Compiling gethostname v1.1.0 [INFO] [stderr] Compiling immutable-chunkmap v2.1.2 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling toml_parser v1.1.2+spec-1.1.0 [INFO] [stderr] Compiling epaint_default_fonts v0.31.1 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling async-executor v1.14.0 [INFO] [stderr] Compiling wayland-backend v0.3.15 [INFO] [stderr] Compiling openssl-sys v0.9.112 [INFO] [stderr] Compiling openssl v0.10.76 [INFO] [stderr] Compiling async-fs v2.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling wayland-scanner v0.31.10 [INFO] [stderr] Compiling mio v1.2.0 [INFO] [stderr] Compiling toml_edit v0.25.11+spec-1.1.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling xdg-home v1.3.0 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling memmap2 v0.9.10 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling x11rb v0.13.2 [INFO] [stderr] Compiling flate2 v1.1.9 [INFO] [stderr] Compiling glutin_egl_sys v0.7.1 [INFO] [stderr] Compiling glutin_glx_sys v0.6.1 [INFO] [stderr] Compiling accesskit_consumer v0.26.0 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling smithay-client-toolkit v0.20.0 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling pxfm v0.1.28 [INFO] [stderr] Compiling proc-macro-crate v3.5.0 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling png v0.18.1 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling glutin v0.32.3 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling openssl-probe v0.2.1 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling glutin-winit v0.5.0 [INFO] [stderr] Compiling ipnet v2.12.0 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling web-time v1.1.0 [INFO] [stderr] Compiling glow v0.16.0 [INFO] [stderr] Compiling iri-string v0.7.12 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling tracing-subscriber v0.3.23 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling wayland-protocols v0.32.12 [INFO] [stderr] Compiling wayland-cursor v0.31.14 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zvariant_utils v2.1.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling zvariant_derive v4.2.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling zbus_macros v4.4.0 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling moxcms v0.8.1 [INFO] [stderr] Compiling tokio v1.51.1 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling zerofrom v0.1.7 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Compiling calloop v0.14.4 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling bytemuck v1.25.0 [INFO] [stderr] Compiling calloop v0.13.0 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling emath v0.31.1 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling ecolor v0.31.1 [INFO] [stderr] Compiling calloop-wayland-source v0.3.0 [INFO] [stderr] Compiling calloop-wayland-source v0.4.1 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling epaint v0.31.1 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling enumflags2 v0.7.12 [INFO] [stderr] Compiling quick-xml v0.30.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling egui v0.31.1 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling zvariant v4.2.0 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling image v0.25.10 [INFO] [stderr] Compiling wayland-protocols-wlr v0.3.12 [INFO] [stderr] Compiling wayland-protocols-plasma v0.3.12 [INFO] [stderr] Compiling wayland-protocols-experimental v20250721.0.1 [INFO] [stderr] Compiling wayland-protocols-misc v0.3.12 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling webbrowser v1.2.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Compiling zbus_names v3.0.0 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling arboard v3.6.1 [INFO] [stderr] Compiling zbus_xml v4.0.0 [INFO] [stderr] Compiling zbus v4.4.0 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling h2 v0.4.13 [INFO] [stderr] Compiling zbus-lockstep v0.4.4 [INFO] [stderr] Compiling zbus-lockstep-macros v0.4.4 [INFO] [stderr] Compiling sctk-adwaita v0.10.1 [INFO] [stderr] Compiling smithay-clipboard v0.7.3 [INFO] [stderr] Compiling egui_glow v0.31.1 [INFO] [stderr] Compiling egui_plot v0.31.0 [INFO] [stderr] Compiling winit v0.30.13 [INFO] [stderr] Compiling hyper v1.9.0 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling atspi-common v0.6.0 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.28 [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.31.1 [INFO] [stderr] Compiling eframe v0.31.1 [INFO] [stderr] Compiling 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: 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: 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 3m 02s [INFO] running `Command { std: "docker" "inspect" "bd80e3db1c8ff39ae645e95082ed788438fb8936499e8228d2e92e21c09dd7d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd80e3db1c8ff39ae645e95082ed788438fb8936499e8228d2e92e21c09dd7d2", kill_on_drop: false }` [INFO] [stdout] bd80e3db1c8ff39ae645e95082ed788438fb8936499e8228d2e92e21c09dd7d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9079f6d3fa396a32d34300bc41ce61e99960473f4981791eb19ab24da61132a3 [INFO] running `Command { std: "docker" "start" "-a" "9079f6d3fa396a32d34300bc41ce61e99960473f4981791eb19ab24da61132a3", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.51.1 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling h2 v0.4.13 [INFO] [stderr] Compiling tokio-test v0.4.5 [INFO] [stderr] Compiling hyper v1.9.0 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling 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: 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/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: 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/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: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] [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 `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 `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: 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: 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 `test` profile [unoptimized + debuginfo] target(s) in 26.15s [INFO] running `Command { std: "docker" "inspect" "9079f6d3fa396a32d34300bc41ce61e99960473f4981791eb19ab24da61132a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9079f6d3fa396a32d34300bc41ce61e99960473f4981791eb19ab24da61132a3", kill_on_drop: false }` [INFO] [stdout] 9079f6d3fa396a32d34300bc41ce61e99960473f4981791eb19ab24da61132a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1c56771dd22c05899017c2799605fdd9eca4fc8eac33e0fe4dea7e8e9cb50ad3 [INFO] running `Command { std: "docker" "start" "-a" "1c56771dd22c05899017c2799605fdd9eca4fc8eac33e0fe4dea7e8e9cb50ad3", kill_on_drop: false }` [INFO] [stderr] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stderr] --> src/charts.rs:26:43 [INFO] [stderr] | [INFO] [stderr] 26 | .stroke(egui::Stroke::new(1.0, color)) [INFO] [stderr] | ^^^ help: explicitly specify the type as `f32`: `1.0_f32` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #154024 [INFO] [stderr] = note: `#[warn(float_literal_f32_fallback)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stderr] --> src/charts.rs:39:53 [INFO] [stderr] | [INFO] [stderr] 39 | Line::new(points).name(name).color(color).width(1.5) [INFO] [stderr] | ^^^ help: explicitly specify the type as `f32`: `1.5_f32` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #154024 [INFO] [stderr] [INFO] [stderr] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stderr] --> src/charts.rs:49:63 [INFO] [stderr] | [INFO] [stderr] 49 | Line::new(points).name("收盘价").color(Color32::WHITE).width(1.0) [INFO] [stderr] | ^^^ help: explicitly specify the type as `f32`: `1.0_f32` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #154024 [INFO] [stderr] [INFO] [stderr] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stderr] --> src/charts.rs:61:43 [INFO] [stderr] | [INFO] [stderr] 61 | .stroke(egui::Stroke::new(0.5, color)) [INFO] [stderr] | ^^^ help: explicitly specify the type as `f32`: `0.5_f32` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #154024 [INFO] [stderr] [INFO] [stderr] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stderr] --> src/charts.rs:78:53 [INFO] [stderr] | [INFO] [stderr] 78 | Line::new(points).name(name).color(color).width(1.5) [INFO] [stderr] | ^^^ help: explicitly specify the type as `f32`: `1.5_f32` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #154024 [INFO] [stderr] [INFO] [stderr] warning: constant `COLOR_UP` is never used [INFO] [stderr] --> src/charts.rs:8:11 [INFO] [stderr] | [INFO] [stderr] 8 | pub const COLOR_UP: Color32 = Color32::from_rgb(220, 50, 50); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: constant `COLOR_DOWN` is never used [INFO] [stderr] --> src/charts.rs:9:11 [INFO] [stderr] | [INFO] [stderr] 9 | pub const COLOR_DOWN: Color32 = Color32::from_rgb(0, 180, 100); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `COLOR_SMA5` is never used [INFO] [stderr] --> src/charts.rs:10:11 [INFO] [stderr] | [INFO] [stderr] 10 | pub const COLOR_SMA5: Color32 = Color32::from_rgb(255, 215, 0); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `COLOR_SMA10` is never used [INFO] [stderr] --> src/charts.rs:11:11 [INFO] [stderr] | [INFO] [stderr] 11 | pub const COLOR_SMA10: Color32 = Color32::from_rgb(255, 165, 0); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `COLOR_SMA20` is never used [INFO] [stderr] --> src/charts.rs:12:11 [INFO] [stderr] | [INFO] [stderr] 12 | pub const COLOR_SMA20: Color32 = Color32::from_rgb(100, 180, 255); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `COLOR_EMA12` is never used [INFO] [stderr] --> src/charts.rs:13:11 [INFO] [stderr] | [INFO] [stderr] 13 | pub const COLOR_EMA12: Color32 = Color32::from_rgb(200, 100, 255); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `COLOR_EMA26` is never used [INFO] [stderr] --> src/charts.rs:14:11 [INFO] [stderr] | [INFO] [stderr] 14 | pub const COLOR_EMA26: Color32 = Color32::from_rgb(255, 100, 200); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `COLOR_ALPHA` is never used [INFO] [stderr] --> src/charts.rs:15:11 [INFO] [stderr] | [INFO] [stderr] 15 | pub const COLOR_ALPHA: Color32 = Color32::from_rgb(255, 255, 100); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `build_candlestick_bars` is never used [INFO] [stderr] --> src/charts.rs:17:8 [INFO] [stderr] | [INFO] [stderr] 17 | pub fn build_candlestick_bars(records: &[OhlcvRecord]) -> BarChart { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `build_indicator_line` is never used [INFO] [stderr] --> src/charts.rs:32:8 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn build_indicator_line<'a>(values: &'a [Option], name: &'a str, color: Color32) -> Line<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `build_close_line` is never used [INFO] [stderr] --> src/charts.rs:42:8 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn build_close_line(records: &[OhlcvRecord]) -> Line<'static> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `build_volume_bars` is never used [INFO] [stderr] --> src/charts.rs:52:8 [INFO] [stderr] | [INFO] [stderr] 52 | pub fn build_volume_bars(records: &[OhlcvRecord]) -> BarChart { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_series` is never used [INFO] [stderr] --> src/charts.rs:67:4 [INFO] [stderr] | [INFO] [stderr] 67 | fn get_series(r: &IndicatorsResponse, name: &str) -> Vec> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `owned_line` is never used [INFO] [stderr] --> src/charts.rs:71:4 [INFO] [stderr] | [INFO] [stderr] 71 | fn owned_line(values: Vec>, name: &'static str, color: Color32) -> Line<'static> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `sma5_line` is never used [INFO] [stderr] --> src/charts.rs:81:8 [INFO] [stderr] | [INFO] [stderr] 81 | pub fn sma5_line(r: &IndicatorsResponse) -> Line<'static> { owned_line(get_series(r, "sma5"), "MA5", COLOR_SMA5) } [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `sma10_line` is never used [INFO] [stderr] --> src/charts.rs:82:8 [INFO] [stderr] | [INFO] [stderr] 82 | pub fn sma10_line(r: &IndicatorsResponse) -> Line<'static> { owned_line(get_series(r, "sma10"), "MA10", COLOR_SMA10) } [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `sma20_line` is never used [INFO] [stderr] --> src/charts.rs:83:8 [INFO] [stderr] | [INFO] [stderr] 83 | pub fn sma20_line(r: &IndicatorsResponse) -> Line<'static> { owned_line(get_series(r, "sma20"), "MA20", COLOR_SMA20) } [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `ema12_line` is never used [INFO] [stderr] --> src/charts.rs:84:8 [INFO] [stderr] | [INFO] [stderr] 84 | pub fn ema12_line(r: &IndicatorsResponse) -> Line<'static> { owned_line(get_series(r, "ema12"), "EMA12", COLOR_EMA12) } [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `ema26_line` is never used [INFO] [stderr] --> src/charts.rs:85:8 [INFO] [stderr] | [INFO] [stderr] 85 | pub fn ema26_line(r: &IndicatorsResponse) -> Line<'static> { owned_line(get_series(r, "ema26"), "EMA26", COLOR_EMA26) } [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `bb_upper_line` is never used [INFO] [stderr] --> src/charts.rs:86:8 [INFO] [stderr] | [INFO] [stderr] 86 | pub fn bb_upper_line(r: &IndicatorsResponse) -> Line<'static> { owned_line(get_series(r, "bb_upper"), "BB上轨", Color32::from_rgb(15... [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `bb_lower_line` is never used [INFO] [stderr] --> src/charts.rs:87:8 [INFO] [stderr] | [INFO] [stderr] 87 | pub fn bb_lower_line(r: &IndicatorsResponse) -> Line<'static> { owned_line(get_series(r, "bb_lower"), "BB下轨", Color32::from_rgb(15... [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `macd_line_chart` is never used [INFO] [stderr] --> src/charts.rs:88:8 [INFO] [stderr] | [INFO] [stderr] 88 | pub fn macd_line_chart(r: &IndicatorsResponse) -> Line<'static> { owned_line(get_series(r, "macd"), "MACD", Color32::from_rgb(255, 2... [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `macd_signal_line` is never used [INFO] [stderr] --> src/charts.rs:89:8 [INFO] [stderr] | [INFO] [stderr] 89 | pub fn macd_signal_line(r: &IndicatorsResponse) -> Line<'static> { owned_line(get_series(r, "macd_signal"), "Signal", Color32::from_... [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `macd_hist_line` is never used [INFO] [stderr] --> src/charts.rs:90:8 [INFO] [stderr] | [INFO] [stderr] 90 | pub fn macd_hist_line(r: &IndicatorsResponse) -> Line<'static> { owned_line(get_series(r, "macd_hist"), "柱", Color32::from_rgb(150,... [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `rsi14_line` is never used [INFO] [stderr] --> src/charts.rs:91:8 [INFO] [stderr] | [INFO] [stderr] 91 | pub fn rsi14_line(r: &IndicatorsResponse) -> Line<'static> { owned_line(get_series(r, "rsi14"), "RSI14", Color32::from_rgb(100, 220,... [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `kdj_k_line` is never used [INFO] [stderr] --> src/charts.rs:92:8 [INFO] [stderr] | [INFO] [stderr] 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] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `kdj_d_line` is never used [INFO] [stderr] --> src/charts.rs:93:8 [INFO] [stderr] | [INFO] [stderr] 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] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `kdj_j_line` is never used [INFO] [stderr] --> src/charts.rs:94:8 [INFO] [stderr] | [INFO] [stderr] 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] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rustui` (lib) generated 33 warnings (run `cargo fix --lib -p rustui` to apply 5 suggestions) [INFO] [stderr] warning: `rustui` (lib test) generated 33 warnings (33 duplicates) [INFO] [stderr] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stderr] --> src/app.rs:400:80 [INFO] [stderr] | [INFO] [stderr] 400 | build_indicator_line(&vals, &title, COLOR_ALPHA).width(2.0), [INFO] [stderr] | ^^^ help: explicitly specify the type as `f32`: `2.0_f32` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #154024 [INFO] [stderr] = note: `#[warn(float_literal_f32_fallback)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stderr] --> src/charts.rs:26:43 [INFO] [stderr] | [INFO] [stderr] 26 | .stroke(egui::Stroke::new(1.0, color)) [INFO] [stderr] | ^^^ help: explicitly specify the type as `f32`: `1.0_f32` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #154024 [INFO] [stderr] [INFO] [stderr] warning: fields `bid`, `ask`, `amount`, `date`, and `time` are never read [INFO] [stderr] --> src/api_client.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 16 | pub struct RealtimeQuote { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 24 | pub bid: f64, [INFO] [stderr] | ^^^ [INFO] [stderr] 25 | pub ask: f64, [INFO] [stderr] | ^^^ [INFO] [stderr] 26 | pub volume: f64, [INFO] [stderr] 27 | pub amount: f64, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 28 | pub date: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 29 | pub time: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RealtimeQuote` has derived impls for the traits `Clone` and `Debug`, but these are 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 `date`, `high`, `low`, `amount`, and `pct_chg` are never read [INFO] [stderr] --> src/api_client.rs:34:9 [INFO] [stderr] | [INFO] [stderr] 33 | pub struct OhlcvRecord { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 34 | pub date: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 35 | pub open: f64, [INFO] [stderr] 36 | pub high: f64, [INFO] [stderr] | ^^^^ [INFO] [stderr] 37 | pub low: f64, [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 40 | pub amount: Option, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 41 | pub pct_chg: Option, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `OhlcvRecord` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `HistoryResponse` is never constructed [INFO] [stderr] --> src/api_client.rs:45:12 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct HistoryResponse { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `code` is never read [INFO] [stderr] --> src/api_client.rs:61:9 [INFO] [stderr] | [INFO] [stderr] 60 | pub struct IndicatorsResponse { [INFO] [stderr] | ------------------ field in this struct [INFO] [stderr] 61 | pub code: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `IndicatorsResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `code` and `expression` are never read [INFO] [stderr] --> src/api_client.rs:78:9 [INFO] [stderr] | [INFO] [stderr] 77 | pub struct AlphaResponse { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 78 | pub code: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 79 | pub expression: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AlphaResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `history` is never used [INFO] [stderr] --> src/api_client.rs:164:18 [INFO] [stderr] | [INFO] [stderr] 111 | impl BackendClient { [INFO] [stderr] | ------------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 164 | pub async fn history( [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rustui` (bin "rustui") generated 13 warnings (5 duplicates) (run `cargo fix --bin "rustui" -p rustui` to apply 2 suggestions) [INFO] [stderr] warning: `rustui` (bin "rustui" test) generated 13 warnings (13 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.53s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rustui-39c01e3d940417f5) [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rustui-7dbf3c9dd318255b) [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] [stderr] Running tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-fdbbfd07948e3af3) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test tests::test_health_ok ... ok [INFO] [stdout] test tests::test_quote_deserialization ... ok [INFO] [stdout] test tests::test_history_deserialization ... ok [INFO] [stdout] test tests::test_alpha_deserialization ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.41s [INFO] [stdout] [INFO] [stderr] Doc-tests rustui [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" "1c56771dd22c05899017c2799605fdd9eca4fc8eac33e0fe4dea7e8e9cb50ad3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c56771dd22c05899017c2799605fdd9eca4fc8eac33e0fe4dea7e8e9cb50ad3", kill_on_drop: false }` [INFO] [stdout] 1c56771dd22c05899017c2799605fdd9eca4fc8eac33e0fe4dea7e8e9cb50ad3