[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 try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHypenZou%2Fwechat-bot-core" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-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-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/HypenZou/wechat-bot-core on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5c226b40242444afc4a2de32d54f0e52d90293f26e158c90c5b3255269f2661c
[INFO] running `Command { std: "docker" "start" "-a" "5c226b40242444afc4a2de32d54f0e52d90293f26e158c90c5b3255269f2661c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5c226b40242444afc4a2de32d54f0e52d90293f26e158c90c5b3255269f2661c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5c226b40242444afc4a2de32d54f0e52d90293f26e158c90c5b3255269f2661c", kill_on_drop: false }`
[INFO] [stdout] 5c226b40242444afc4a2de32d54f0e52d90293f26e158c90c5b3255269f2661c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 70471232dd5451f4c4b92c4f94da91fab0505ac1ebfa4ea55230b66d5b8a1d67
[INFO] running `Command { std: "docker" "start" "-a" "70471232dd5451f4c4b92c4f94da91fab0505ac1ebfa4ea55230b66d5b8a1d67", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.92
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling siphasher v0.3.11
[INFO] [stderr]    Compiling anyhow v1.0.57
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]    Compiling zerocopy v0.8.24
[INFO] [stderr]     Checking futures-sink v0.3.21
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]     Checking socket2 v0.5.9
[INFO] [stderr]    Compiling proc-macro-hack v0.5.20+deprecated
[INFO] [stderr]     Checking slab v0.4.6
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling phf_shared v0.11.3
[INFO] [stderr]    Compiling indexmap v1.8.1
[INFO] [stderr]     Checking phf_shared v0.8.0
[INFO] [stderr]    Compiling itertools v0.10.3
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling regex-syntax v0.7.5
[INFO] [stderr]    Compiling phf_generator v0.11.3
[INFO] [stderr]    Compiling prettyplease v0.2.31
[INFO] [stderr]     Checking percent-encoding v2.1.0
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling string_cache_codegen v0.5.4
[INFO] [stderr]    Compiling rustversion v1.0.20
[INFO] [stderr]     Checking mac v0.1.1
[INFO] [stderr]    Compiling fastrand v1.7.0
[INFO] [stderr]    Compiling fixedbitset v0.4.1
[INFO] [stderr]     Checking precomputed-hash v0.1.1
[INFO] [stderr]    Compiling remove_dir_all v0.5.3
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking tinyvec v1.9.0
[INFO] [stderr]    Compiling tempfile v3.3.0
[INFO] [stderr]     Checking futf v0.1.5
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]    Compiling multimap v0.8.3
[INFO] [stderr]     Checking dtoa v1.0.10
[INFO] [stderr]     Checking miniz_oxide v0.8.5
[INFO] [stderr]    Compiling rand_pcg v0.2.1
[INFO] [stderr]     Checking tendril v0.4.3
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking object v0.36.7
[INFO] [stderr]     Checking getrandom v0.3.2
[INFO] [stderr]     Checking dtoa-short v0.3.5
[INFO] [stderr]     Checking form_urlencoded v1.0.1
[INFO] [stderr]     Checking destructure_traitobject v0.2.0
[INFO] [stderr]     Checking nodrop v0.1.14
[INFO] [stderr]     Checking itoa v0.4.8
[INFO] [stderr]     Checking unicode-bidi v0.3.18
[INFO] [stderr]     Checking anstream v0.6.18
[INFO] [stderr]    Compiling petgraph v0.6.0
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking servo_arc v0.1.1
[INFO] [stderr]     Checking unsafe-any-ors v1.0.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking matchit v0.8.4
[INFO] [stderr]     Checking thin-slice v0.1.1
[INFO] [stderr]     Checking clap_builder v4.5.35
[INFO] [stderr]     Checking axum-core v0.5.2
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking typemap-ors v1.0.0
[INFO] [stderr]     Checking thread-id v4.2.2
[INFO] [stderr]     Checking log-mdc v0.1.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking arc-swap v1.7.1
[INFO] [stderr]     Checking rand v0.9.0
[INFO] [stderr]     Checking ordered-float v2.10.1
[INFO] [stderr]     Checking unicode-normalization v0.1.24
[INFO] [stderr]    Compiling regex-automata v0.3.7
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]     Checking url v2.3.0
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling phf_generator v0.8.0
[INFO] [stderr]    Compiling regex v1.9.4
[INFO] [stderr]    Compiling phf_codegen v0.8.0
[INFO] [stderr]    Compiling markup5ever v0.10.1
[INFO] [stderr]    Compiling selectors v0.22.0
[INFO] [stderr]    Compiling darling_core v0.20.11
[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]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling prost-derive v0.13.5
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling cssparser-macros v0.6.1
[INFO] [stderr]    Compiling derive_more v0.99.19
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]     Checking backtrace v0.3.74
[INFO] [stderr]     Checking openssl v0.10.71
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]     Checking phf v0.8.0
[INFO] [stderr]     Checking tokio v1.44.1
[INFO] [stderr]    Compiling clap_derive v4.5.32
[INFO] [stderr]     Checking pin-project v1.1.10
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]    Compiling prost v0.13.5
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking thiserror v2.0.12
[INFO] [stderr]    Compiling prost-types v0.13.5
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]     Checking clap v4.5.35
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling serde_with_macros v3.12.0
[INFO] [stderr]     Checking serde v1.0.219
[INFO] [stderr]    Compiling prost-build v0.13.5
[INFO] [stderr]    Compiling tonic-build v0.13.0
[INFO] [stderr]     Checking tokio-util v0.7.1
[INFO] [stderr]     Checking tokio-stream v0.1.17
[INFO] [stderr]     Checking h2 v0.4.8
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]    Compiling wechat-bot-core v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking log v0.4.27
[INFO] [stderr]     Checking string_cache v0.8.9
[INFO] [stderr]     Checking chrono v0.4.40
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_yaml v0.9.34+deprecated
[INFO] [stderr]     Checking serde-value v0.7.0
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking native-tls v0.2.14
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking axum v0.8.3
[INFO] [stderr]     Checking log4rs v1.3.0
[INFO] [stderr]     Checking serde_with v3.12.0
[INFO] [stderr]     Checking nipper v0.1.9
[INFO] [stderr]     Checking hyper v1.6.0
[INFO] [stderr]     Checking hyper-util v0.1.11
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking hyper-timeout v0.5.2
[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: 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: 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] error: this type will no longer be must used: Result<response::Response<tonic::body::Body>, Infallible>
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/wechat-bot-core-110222cdcde71753/out/proxy.rs:280:42
[INFO] [stdout]     |
[INFO] [stdout] 280 |                       let fut = async move {
[INFO] [stdout]     |  __________________________________________^
[INFO] [stdout] 281 | |                         let method = OnMessageSvc(inner);
[INFO] [stdout] 282 | |                         let codec = tonic::codec::ProstCodec::default();
[INFO] [stdout] 283 | |                         let mut grpc = tonic::server::Grpc::new(codec)
[INFO] [stdout] ...   |
[INFO] [stdout] 293 | |                         Ok(res)
[INFO] [stdout] 294 | |                     };
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<response::Response<tonic::body::Body>, Infallible>
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/wechat-bot-core-110222cdcde71753/out/proxy.rs:293:25
[INFO] [stdout]     |
[INFO] [stdout] 293 |                         Ok(res)
[INFO] [stdout]     |                         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<response::Response<tonic::body::Body>, Infallible>
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/wechat-bot-core-110222cdcde71753/out/proxy.rs:298:41
[INFO] [stdout]     |
[INFO] [stdout] 298 |                       Box::pin(async move {
[INFO] [stdout]     |  _________________________________________^
[INFO] [stdout] 299 | |                         let mut response = http::Response::new(
[INFO] [stdout] 300 | |                             tonic::body::Body::default(),
[INFO] [stdout] 301 | |                         );
[INFO] [stdout] ...   |
[INFO] [stdout] 313 | |                         Ok(response)
[INFO] [stdout] 314 | |                     })
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<response::Response<tonic::body::Body>, Infallible>
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/wechat-bot-core-110222cdcde71753/out/proxy.rs:313:25
[INFO] [stdout]     |
[INFO] [stdout] 313 |                         Ok(response)
[INFO] [stdout]     |                         ^^^^^^^^^^^^
[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] error: this type will no longer be must used: Result<response::Response<tonic::body::Body>, Infallible>
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/wechat-bot-core-110222cdcde71753/out/proxy.rs:280:42
[INFO] [stdout]     |
[INFO] [stdout] 280 |                       let fut = async move {
[INFO] [stdout]     |  __________________________________________^
[INFO] [stdout] 281 | |                         let method = OnMessageSvc(inner);
[INFO] [stdout] 282 | |                         let codec = tonic::codec::ProstCodec::default();
[INFO] [stdout] 283 | |                         let mut grpc = tonic::server::Grpc::new(codec)
[INFO] [stdout] ...   |
[INFO] [stdout] 293 | |                         Ok(res)
[INFO] [stdout] 294 | |                     };
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<response::Response<tonic::body::Body>, Infallible>
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/wechat-bot-core-110222cdcde71753/out/proxy.rs:293:25
[INFO] [stdout]     |
[INFO] [stdout] 293 |                         Ok(res)
[INFO] [stdout]     |                         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<response::Response<tonic::body::Body>, Infallible>
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/wechat-bot-core-110222cdcde71753/out/proxy.rs:298:41
[INFO] [stdout]     |
[INFO] [stdout] 298 |                       Box::pin(async move {
[INFO] [stdout]     |  _________________________________________^
[INFO] [stdout] 299 | |                         let mut response = http::Response::new(
[INFO] [stdout] 300 | |                             tonic::body::Body::default(),
[INFO] [stdout] 301 | |                         );
[INFO] [stdout] ...   |
[INFO] [stdout] 313 | |                         Ok(response)
[INFO] [stdout] 314 | |                     })
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<response::Response<tonic::body::Body>, Infallible>
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/wechat-bot-core-110222cdcde71753/out/proxy.rs:313:25
[INFO] [stdout]     |
[INFO] [stdout] 313 |                         Ok(response)
[INFO] [stdout]     |                         ^^^^^^^^^^^^
[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] [stderr] error: could not compile `wechat-bot-core` (lib) due to 4 previous errors; 20 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `wechat-bot-core` (lib test) due to 4 previous errors; 20 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "70471232dd5451f4c4b92c4f94da91fab0505ac1ebfa4ea55230b66d5b8a1d67", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "70471232dd5451f4c4b92c4f94da91fab0505ac1ebfa4ea55230b66d5b8a1d67", kill_on_drop: false }`
[INFO] [stdout] 70471232dd5451f4c4b92c4f94da91fab0505ac1ebfa4ea55230b66d5b8a1d67
