[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] building HypenZou/wechat-bot-core against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHypenZou%2Fwechat-bot-core" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HypenZou/wechat-bot-core on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-3-tc1/source/Cargo.toml [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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tonic-build v0.13.0 [INFO] [stderr] Downloaded tokio-util v0.7.1 [INFO] [stderr] Downloaded tonic v0.13.0 [INFO] [stderr] Downloaded nipper v0.1.9 [INFO] [stderr] Downloaded syn v1.0.92 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7dcade1eceaae50975e2ee3808302550c26dbdb40bd1d12ed9ca30761c45b245 [INFO] running `Command { std: "docker" "start" "-a" "7dcade1eceaae50975e2ee3808302550c26dbdb40bd1d12ed9ca30761c45b245", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7dcade1eceaae50975e2ee3808302550c26dbdb40bd1d12ed9ca30761c45b245", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7dcade1eceaae50975e2ee3808302550c26dbdb40bd1d12ed9ca30761c45b245", kill_on_drop: false }` [INFO] [stdout] 7dcade1eceaae50975e2ee3808302550c26dbdb40bd1d12ed9ca30761c45b245 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1abfaad89bdae9aa3f702be146e6cd7685bad5f00bafa81f0b3b988983f0f61 [INFO] running `Command { std: "docker" "start" "-a" "b1abfaad89bdae9aa3f702be146e6cd7685bad5f00bafa81f0b3b988983f0f61", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling syn v1.0.92 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling prettyplease v0.2.31 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling fixedbitset v0.4.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling petgraph v0.6.0 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling regex-automata v0.3.7 [INFO] [stderr] Compiling dtoa v1.0.10 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling miniz_oxide v0.8.5 [INFO] [stderr] Compiling dtoa-short v0.3.5 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling destructure_traitobject v0.2.0 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling servo_arc v0.1.1 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling unsafe-any-ors v1.0.0 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling regex v1.9.4 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling markup5ever v0.10.1 [INFO] [stderr] Compiling selectors v0.22.0 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling thin-slice v0.1.1 [INFO] [stderr] Compiling clap_builder v4.5.35 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling url v2.3.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling typemap-ors v1.0.0 [INFO] [stderr] Compiling thread-id v4.2.2 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling addr2line v0.24.2 [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 phf_macros v0.8.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling cssparser v0.27.2 [INFO] [stderr] Compiling html5ever v0.25.2 [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] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling serde_with_macros v3.12.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling prost-types v0.13.5 [INFO] [stderr] Compiling clap v4.5.35 [INFO] [stderr] Compiling prost-build v0.13.5 [INFO] [stderr] Compiling tonic-build v0.13.0 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling h2 v0.4.8 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling wechat-bot-core v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling axum v0.8.3 [INFO] [stderr] Compiling serde_with v3.12.0 [INFO] [stderr] Compiling log4rs v1.3.0 [INFO] [stderr] Compiling nipper v0.1.9 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling hyper-timeout v0.5.2 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.4 [INFO] [stderr] Compiling 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)]` 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 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` 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: 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)]` 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 { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `query_gpt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` 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] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `GOOD_PROMPT_ARRARY` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [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] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `BAD_PROMPT_ARRARY` [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] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NORMAL_PROMPT_ARRARY` [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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 59.59s [INFO] running `Command { std: "docker" "inspect" "b1abfaad89bdae9aa3f702be146e6cd7685bad5f00bafa81f0b3b988983f0f61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1abfaad89bdae9aa3f702be146e6cd7685bad5f00bafa81f0b3b988983f0f61", kill_on_drop: false }` [INFO] [stdout] b1abfaad89bdae9aa3f702be146e6cd7685bad5f00bafa81f0b3b988983f0f61 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db022affc6433e0d60a356427f2fe933139af0b167ca3022244845fbe68c0af8 [INFO] running `Command { std: "docker" "start" "-a" "db022affc6433e0d60a356427f2fe933139af0b167ca3022244845fbe68c0af8", kill_on_drop: false }` [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)]` 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 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` 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: 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)]` 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 { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `query_gpt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wechat-bot-core v0.1.0 (/opt/rustwide/workdir) [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] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `GOOD_PROMPT_ARRARY` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [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] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `BAD_PROMPT_ARRARY` [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] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NORMAL_PROMPT_ARRARY` [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)]` 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: `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)]` 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 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)]` 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: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 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` 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: 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)]` 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 { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `query_gpt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` 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] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `GOOD_PROMPT_ARRARY` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [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] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `BAD_PROMPT_ARRARY` [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] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NORMAL_PROMPT_ARRARY` [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] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.85s [INFO] running `Command { std: "docker" "inspect" "db022affc6433e0d60a356427f2fe933139af0b167ca3022244845fbe68c0af8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db022affc6433e0d60a356427f2fe933139af0b167ca3022244845fbe68c0af8", kill_on_drop: false }` [INFO] [stdout] db022affc6433e0d60a356427f2fe933139af0b167ca3022244845fbe68c0af8