[INFO] cloning repository https://github.com/HypenZou/wechat-bot-core
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HypenZou/wechat-bot-core" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHypenZou%2Fwechat-bot-core", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHypenZou%2Fwechat-bot-core'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5f457613903e4ad2a8a55580d558f11e40b0a63c
[INFO] checking HypenZou/wechat-bot-core against 1.95.0-beta.7 for beta-1.95-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHypenZou%2Fwechat-bot-core" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/HypenZou/wechat-bot-core
[INFO] finished tweaking git repo https://github.com/HypenZou/wechat-bot-core
[INFO] tweaked toml for git repo https://github.com/HypenZou/wechat-bot-core written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/HypenZou/wechat-bot-core on toolchain 1.95.0-beta.7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0-beta.7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/HypenZou/wechat-bot-core 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" "+1.95.0-beta.7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0-beta.7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a93e4473ba96786a18b8758330b5b49b1870e8a9ef4184a3fdbbe4a949447b07
[INFO] running `Command { std: "docker" "start" "-a" "a93e4473ba96786a18b8758330b5b49b1870e8a9ef4184a3fdbbe4a949447b07", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a93e4473ba96786a18b8758330b5b49b1870e8a9ef4184a3fdbbe4a949447b07", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a93e4473ba96786a18b8758330b5b49b1870e8a9ef4184a3fdbbe4a949447b07", kill_on_drop: false }`
[INFO] [stdout] a93e4473ba96786a18b8758330b5b49b1870e8a9ef4184a3fdbbe4a949447b07
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.95.0-beta.7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0a6b028fe53c81146b0e75a62bf362fea020bcce82f7900db8822aac3286c006
[INFO] running `Command { std: "docker" "start" "-a" "0a6b028fe53c81146b0e75a62bf362fea020bcce82f7900db8822aac3286c006", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.92
[INFO] [stderr]     Checking smallvec v1.14.0
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]     Checking tracing-core v0.1.33
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]    Compiling zerocopy v0.8.24
[INFO] [stderr]    Compiling phf_shared v0.8.0
[INFO] [stderr]     Checking indexmap v2.8.0
[INFO] [stderr]    Compiling cc v1.2.17
[INFO] [stderr]    Compiling anyhow v1.0.57
[INFO] [stderr]     Checking futures-sink v0.3.21
[INFO] [stderr]    Compiling itertools v0.10.3
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]     Checking tokio v1.44.1
[INFO] [stderr]     Checking slab v0.4.6
[INFO] [stderr]    Compiling proc-macro-hack v0.5.20+deprecated
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling siphasher v1.0.1
[INFO] [stderr]    Compiling indexmap v1.8.1
[INFO] [stderr]    Compiling phf_shared v0.11.3
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]    Compiling phf_generator v0.11.3
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling openssl v0.10.71
[INFO] [stderr]    Compiling prettyplease v0.2.31
[INFO] [stderr]    Compiling regex-syntax v0.7.5
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]    Compiling string_cache_codegen v0.5.4
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]     Checking precomputed-hash v0.1.1
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling object v0.36.7
[INFO] [stderr]     Checking bitflags v2.9.0
[INFO] [stderr]     Checking mac v0.1.1
[INFO] [stderr]    Compiling fixedbitset v0.4.1
[INFO] [stderr]    Compiling fastrand v1.7.0
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]     Checking futf v0.1.5
[INFO] [stderr]    Compiling rand_pcg v0.2.1
[INFO] [stderr]    Compiling tempfile v3.3.0
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking gimli v0.31.1
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling petgraph v0.6.0
[INFO] [stderr]     Checking dtoa v1.0.10
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]     Checking tendril v0.4.3
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling openssl-sys v0.9.106
[INFO] [stderr]    Compiling prost-derive v0.13.5
[INFO] [stderr]     Checking dtoa-short v0.3.5
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking miniz_oxide v0.8.5
[INFO] [stderr]     Checking getrandom v0.3.2
[INFO] [stderr]     Checking unicode-normalization v0.1.24
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]     Checking form_urlencoded v1.0.1
[INFO] [stderr]    Compiling cssparser-macros v0.6.1
[INFO] [stderr]     Checking rustc-demangle v0.1.24
[INFO] [stderr]     Checking destructure_traitobject v0.2.0
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]     Checking unsafe-any-ors v1.0.0
[INFO] [stderr]     Checking servo_arc v0.1.1
[INFO] [stderr]    Compiling derive_more v0.99.19
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]     Checking axum-core v0.5.2
[INFO] [stderr]     Checking ordered-float v2.10.1
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking thin-slice v0.1.1
[INFO] [stderr]     Checking rustls-pki-types v1.11.0
[INFO] [stderr]     Checking clap_builder v4.5.35
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling regex-automata v0.3.7
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling phf_generator v0.8.0
[INFO] [stderr]     Checking url v2.3.0
[INFO] [stderr]    Compiling phf_codegen v0.8.0
[INFO] [stderr]     Checking typemap-ors v1.0.0
[INFO] [stderr]    Compiling markup5ever v0.10.1
[INFO] [stderr]     Checking addr2line v0.24.2
[INFO] [stderr]    Compiling prost v0.13.5
[INFO] [stderr]    Compiling selectors v0.22.0
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]    Compiling prost-types v0.13.5
[INFO] [stderr]    Compiling clap_derive v4.5.32
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]     Checking serde v1.0.219
[INFO] [stderr]     Checking tokio-util v0.7.1
[INFO] [stderr]     Checking tokio-stream v0.1.17
[INFO] [stderr]     Checking thread-id v4.2.2
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]    Compiling regex v1.9.4
[INFO] [stderr]     Checking log-mdc v0.1.0
[INFO] [stderr]     Checking humantime v2.2.0
[INFO] [stderr]     Checking rand v0.9.0
[INFO] [stderr]     Checking h2 v0.4.8
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling prost-build v0.13.5
[INFO] [stderr]    Compiling serde_with_macros v3.12.0
[INFO] [stderr]    Compiling tonic-build v0.13.0
[INFO] [stderr]     Checking clap v4.5.35
[INFO] [stderr]    Compiling phf_macros v0.8.0
[INFO] [stderr]    Compiling cssparser v0.27.2
[INFO] [stderr]    Compiling html5ever v0.25.2
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]     Checking phf v0.8.0
[INFO] [stderr]     Checking backtrace v0.3.74
[INFO] [stderr]     Checking string_cache v0.8.9
[INFO] [stderr]     Checking serde_yaml v0.9.34+deprecated
[INFO] [stderr]     Checking serde-value v0.7.0
[INFO] [stderr]     Checking axum v0.8.3
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking chrono v0.4.40
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking hyper v1.6.0
[INFO] [stderr]    Compiling wechat-bot-core v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking serde_with v3.12.0
[INFO] [stderr]     Checking hyper-util v0.1.11
[INFO] [stderr]     Checking log4rs v1.3.0
[INFO] [stderr]     Checking nipper v0.1.9
[INFO] [stderr]     Checking hyper-timeout v0.5.2
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking reqwest v0.12.4
[INFO] [stderr]     Checking tonic v0.13.0
[INFO] [stdout] warning: unused import: `Context`
[INFO] [stdout]  --> src/gpt.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | use anyhow::{Context, Result};
[INFO] [stdout]   |              ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tonic::async_trait`
[INFO] [stdout]  --> src/gpt.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tonic::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Context` and `Result`
[INFO] [stdout]  --> src/error.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use anyhow::{Context, Result};
[INFO] [stdout]   |              ^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Rng`
[INFO] [stdout]  --> src/basic_market_info.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rand::{Rng, seq::IndexedRandom};
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `proxy::Message`
[INFO] [stdout]  --> src/basic_market_info.rs:6:65
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::{config::get_config, error::Error, handler::Handler, proxy::Message};
[INFO] [stdout]   |                                                                 ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/gamble.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `log::info`
[INFO] [stdout]  --> src/gamble.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use log::info;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GPTProxy`
[INFO] [stdout]   --> src/gamble.rs:10:17
[INFO] [stdout]    |
[INFO] [stdout] 10 |     gpt::{self, GPTProxy},
[INFO] [stdout]    |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: renamed to `rng`
[INFO] [stdout]   --> src/basic_market_info.rs:76:29
[INFO] [stdout]    |
[INFO] [stdout] 76 |         let mut rng = rand::thread_rng();
[INFO] [stdout]    |                             ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: renamed to `rng`
[INFO] [stdout]   --> src/basic_market_info.rs:80:29
[INFO] [stdout]    |
[INFO] [stdout] 80 |         let mut rng = rand::thread_rng();
[INFO] [stdout]    |                             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: renamed to `rng`
[INFO] [stdout]   --> src/basic_market_info.rs:84:29
[INFO] [stdout]    |
[INFO] [stdout] 84 |         let mut rng = rand::thread_rng();
[INFO] [stdout]    |                             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Context`
[INFO] [stdout]  --> src/gpt.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | use anyhow::{Context, Result};
[INFO] [stdout]   |              ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tonic::async_trait`
[INFO] [stdout]  --> src/gpt.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tonic::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Context` and `Result`
[INFO] [stdout]  --> src/error.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use anyhow::{Context, Result};
[INFO] [stdout]   |              ^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Rng`
[INFO] [stdout]  --> src/basic_market_info.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rand::{Rng, seq::IndexedRandom};
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `proxy::Message`
[INFO] [stdout]  --> src/basic_market_info.rs:6:65
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::{config::get_config, error::Error, handler::Handler, proxy::Message};
[INFO] [stdout]   |                                                                 ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/gamble.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `log::info`
[INFO] [stdout]  --> src/gamble.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use log::info;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GPTProxy`
[INFO] [stdout]   --> src/gamble.rs:10:17
[INFO] [stdout]    |
[INFO] [stdout] 10 |     gpt::{self, GPTProxy},
[INFO] [stdout]    |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: renamed to `rng`
[INFO] [stdout]   --> src/basic_market_info.rs:76:29
[INFO] [stdout]    |
[INFO] [stdout] 76 |         let mut rng = rand::thread_rng();
[INFO] [stdout]    |                             ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: renamed to `rng`
[INFO] [stdout]   --> src/basic_market_info.rs:80:29
[INFO] [stdout]    |
[INFO] [stdout] 80 |         let mut rng = rand::thread_rng();
[INFO] [stdout]    |                             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: renamed to `rng`
[INFO] [stdout]   --> src/basic_market_info.rs:84:29
[INFO] [stdout]    |
[INFO] [stdout] 84 |         let mut rng = rand::thread_rng();
[INFO] [stdout]    |                             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token`
[INFO] [stdout]   --> src/gpt.rs:21:38
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub async fn queryGPT(model: String, token: String, content: String) -> Result<String> {
[INFO] [stdout]    |                                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_token`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token`
[INFO] [stdout]   --> src/gpt.rs:21:38
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub async fn queryGPT(model: String, token: String, content: String) -> Result<String> {
[INFO] [stdout]    |                                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_token`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/huangli.rs:39:23
[INFO] [stdout]    |
[INFO] [stdout] 39 |             .map_err(|e| Error::JsonError(String::from("failed to parse to json value")))?
[INFO] [stdout]    |                       ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/huangli.rs:39:23
[INFO] [stdout]    |
[INFO] [stdout] 39 |             .map_err(|e| Error::JsonError(String::from("failed to parse to json value")))?
[INFO] [stdout]    |                       ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `USER_ID` is never used
[INFO] [stdout]   --> src/gamble.rs:24:11
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl Gamble {
[INFO] [stdout]    | ----------- associated constant in this implementation
[INFO] [stdout] 24 |     const USER_ID: &'static str = "26485810-436e-4b7f-8eff-6c771d4efdcc";
[INFO] [stdout]    |           ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `queryGPT` should have a snake case name
[INFO] [stdout]   --> src/gpt.rs:21:14
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub async fn queryGPT(model: String, token: String, content: String) -> Result<String> {
[INFO] [stdout]    |              ^^^^^^^^ help: convert the identifier to snake case: `query_gpt`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `good_prompt_arrary` should have an upper case name
[INFO] [stdout]  --> src/basic_market_info.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | static good_prompt_arrary: [&'static str; 4] = [
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]   |
[INFO] [stdout] 8 - static good_prompt_arrary: [&'static str; 4] = [
[INFO] [stdout] 8 + static GOOD_PROMPT_ARRARY: [&'static str; 4] = [
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `bad_prompt_arrary` should have an upper case name
[INFO] [stdout]   --> src/basic_market_info.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | static bad_prompt_arrary: [&'static str; 5] = [
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 15 - static bad_prompt_arrary: [&'static str; 5] = [
[INFO] [stdout] 15 + static BAD_PROMPT_ARRARY: [&'static str; 5] = [
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `normal_prompt_arrary` should have an upper case name
[INFO] [stdout]   --> src/basic_market_info.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | static normal_prompt_arrary: [&'static str; 1] = ["沉淀"];
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 23 - static normal_prompt_arrary: [&'static str; 1] = ["沉淀"];
[INFO] [stdout] 23 + static NORMAL_PROMPT_ARRARY: [&'static str; 1] = ["沉淀"];
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `prompt` should have an upper case name
[INFO] [stdout]   --> src/huangli.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 |     const prompt: &'static str = "算命";
[INFO] [stdout]    |           ^^^^^^ help: convert the identifier to upper case: `PROMPT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `url` should have an upper case name
[INFO] [stdout]   --> src/huangli.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 |     const url: &'static str = "http://v.juhe.cn/laohuangli/d";
[INFO] [stdout]    |           ^^^ help: convert the identifier to upper case: `URL`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `USER_ID` is never used
[INFO] [stdout]   --> src/gamble.rs:24:11
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl Gamble {
[INFO] [stdout]    | ----------- associated constant in this implementation
[INFO] [stdout] 24 |     const USER_ID: &'static str = "26485810-436e-4b7f-8eff-6c771d4efdcc";
[INFO] [stdout]    |           ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `queryGPT` should have a snake case name
[INFO] [stdout]   --> src/gpt.rs:21:14
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub async fn queryGPT(model: String, token: String, content: String) -> Result<String> {
[INFO] [stdout]    |              ^^^^^^^^ help: convert the identifier to snake case: `query_gpt`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `good_prompt_arrary` should have an upper case name
[INFO] [stdout]  --> src/basic_market_info.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | static good_prompt_arrary: [&'static str; 4] = [
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]   |
[INFO] [stdout] 8 - static good_prompt_arrary: [&'static str; 4] = [
[INFO] [stdout] 8 + static GOOD_PROMPT_ARRARY: [&'static str; 4] = [
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `bad_prompt_arrary` should have an upper case name
[INFO] [stdout]   --> src/basic_market_info.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | static bad_prompt_arrary: [&'static str; 5] = [
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 15 - static bad_prompt_arrary: [&'static str; 5] = [
[INFO] [stdout] 15 + static BAD_PROMPT_ARRARY: [&'static str; 5] = [
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `normal_prompt_arrary` should have an upper case name
[INFO] [stdout]   --> src/basic_market_info.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | static normal_prompt_arrary: [&'static str; 1] = ["沉淀"];
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 23 - static normal_prompt_arrary: [&'static str; 1] = ["沉淀"];
[INFO] [stdout] 23 + static NORMAL_PROMPT_ARRARY: [&'static str; 1] = ["沉淀"];
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `prompt` should have an upper case name
[INFO] [stdout]   --> src/huangli.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 |     const prompt: &'static str = "算命";
[INFO] [stdout]    |           ^^^^^^ help: convert the identifier to upper case: `PROMPT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `url` should have an upper case name
[INFO] [stdout]   --> src/huangli.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 |     const url: &'static str = "http://v.juhe.cn/laohuangli/d";
[INFO] [stdout]    |           ^^^ help: convert the identifier to upper case: `URL`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `fs::File`
[INFO] [stdout]  --> src/server.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::{fs::File, sync::Arc};
[INFO] [stdout]   |           ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `log4rs::append::file::FileAppender`
[INFO] [stdout]  --> src/server.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use log4rs::append::file::FileAppender;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Request` and `Status`
[INFO] [stdout]   --> src/server.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 | use tonic::{Request, Response, Status, transport::Server};
[INFO] [stdout]    |             ^^^^^^^            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `fs::File`
[INFO] [stdout]  --> src/server.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::{fs::File, sync::Arc};
[INFO] [stdout]   |           ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `log4rs::append::file::FileAppender`
[INFO] [stdout]  --> src/server.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use log4rs::append::file::FileAppender;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Request` and `Status`
[INFO] [stdout]   --> src/server.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 | use tonic::{Request, Response, Status, transport::Server};
[INFO] [stdout]    |             ^^^^^^^            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/server.rs:107:17
[INFO] [stdout]     |
[INFO] [stdout] 107 |             Err(e) => {
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/server.rs:107:17
[INFO] [stdout]     |
[INFO] [stdout] 107 |             Err(e) => {
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.30s
[INFO] running `Command { std: "docker" "inspect" "0a6b028fe53c81146b0e75a62bf362fea020bcce82f7900db8822aac3286c006", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0a6b028fe53c81146b0e75a62bf362fea020bcce82f7900db8822aac3286c006", kill_on_drop: false }`
[INFO] [stdout] 0a6b028fe53c81146b0e75a62bf362fea020bcce82f7900db8822aac3286c006
