[INFO] fetching crate kovi-plugin-jx3 0.1.0... [INFO] building kovi-plugin-jx3-0.1.0 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate kovi-plugin-jx3 0.1.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate kovi-plugin-jx3 0.1.0 [INFO] finished tweaking crates.io crate kovi-plugin-jx3 0.1.0 [INFO] tweaked toml for crates.io crate kovi-plugin-jx3 0.1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate kovi-plugin-jx3 0.1.0 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 246 packages to latest compatible versions [INFO] [stderr] Adding kovi v0.10.4 (available: v0.12.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-tungstenite v0.24.0 [INFO] [stderr] Downloaded kovi-macros v0.4.0 [INFO] [stderr] Downloaded hyper-util v0.1.17 [INFO] [stderr] Downloaded croner v2.2.0 [INFO] [stderr] Downloaded tungstenite v0.24.0 [INFO] [stderr] Downloaded tokio-rustls v0.26.4 [INFO] [stderr] Downloaded anstyle v1.0.13 [INFO] [stderr] Downloaded rustls-webpki v0.103.6 [INFO] [stderr] Downloaded kovi v0.10.4 [INFO] [stderr] Downloaded rustls v0.23.32 [INFO] [stderr] Downloaded openssl-src v300.5.2+3.5.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 58446cac76462e32f77e328cb0149b7ee7350de78d511126df2d4362b746f965 [INFO] running `Command { std: "docker" "start" "-a" "58446cac76462e32f77e328cb0149b7ee7350de78d511126df2d4362b746f965", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58446cac76462e32f77e328cb0149b7ee7350de78d511126df2d4362b746f965", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58446cac76462e32f77e328cb0149b7ee7350de78d511126df2d4362b746f965", kill_on_drop: false }` [INFO] [stdout] 58446cac76462e32f77e328cb0149b7ee7350de78d511126df2d4362b746f965 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a7ebe37623d32046416644d6ee0283eb1c5ef002f2c87fcb011aea57dabb554 [INFO] running `Command { std: "docker" "start" "-a" "0a7ebe37623d32046416644d6ee0283eb1c5ef002f2c87fcb011aea57dabb554", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling openssl-src v300.5.2+3.5.2 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling fuzzy-matcher v0.3.7 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling kovi-macros v0.4.0 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling croner v2.2.0 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tungstenite v0.24.0 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling tokio-tungstenite v0.24.0 [INFO] [stderr] Compiling kovi v0.10.4 [INFO] [stderr] Compiling kovi-plugin-jx3 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::model::celeb::CelebModel` [INFO] [stdout] --> src/api.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::model::celeb::CelebModel; [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: `Mutex` [INFO] [stdout] --> src/config.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `kovi::chrono::Timelike` [INFO] [stdout] --> src/util.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use kovi::chrono::Timelike; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/util.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/config/plugin.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | fn parse_msg(&mut self, msg: &str, event: &Arc, bot: &Arc) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/config/plugin.rs:25:40 [INFO] [stdout] | [INFO] [stdout] 25 | fn parse_msg(&mut self, msg: &str, event: &Arc, bot: &Arc) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bot` [INFO] [stdout] --> src/config/plugin.rs:25:66 [INFO] [stdout] | [INFO] [stdout] 25 | fn parse_msg(&mut self, msg: &str, event: &Arc, bot: &Arc) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/config.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | Err(e) => log!(Level::Error, "加载配置文件'{}'失败", PluginConfig::NAME), [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/config.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | Err(e) => log!(Level::Error, "加载配置文件'{}'失败", PluginConfig::NAME), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code`, `msg`, and `time` are never read [INFO] [stdout] --> src/api.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ApiResp { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 10 | pub code: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | pub msg: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | pub data: T, [INFO] [stdout] 13 | pub time: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiResp` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 37s [INFO] running `Command { std: "docker" "inspect" "0a7ebe37623d32046416644d6ee0283eb1c5ef002f2c87fcb011aea57dabb554", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a7ebe37623d32046416644d6ee0283eb1c5ef002f2c87fcb011aea57dabb554", kill_on_drop: false }` [INFO] [stdout] 0a7ebe37623d32046416644d6ee0283eb1c5ef002f2c87fcb011aea57dabb554 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 94b07cc3e55321bc348171648fd7a2a3004ef88d7df129163a11bac97398b8a0 [INFO] running `Command { std: "docker" "start" "-a" "94b07cc3e55321bc348171648fd7a2a3004ef88d7df129163a11bac97398b8a0", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `crate::model::celeb::CelebModel` [INFO] [stdout] --> src/api.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::model::celeb::CelebModel; [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: `Mutex` [INFO] [stdout] --> src/config.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `kovi::chrono::Timelike` [INFO] [stdout] --> src/util.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use kovi::chrono::Timelike; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/util.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/config/plugin.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | fn parse_msg(&mut self, msg: &str, event: &Arc, bot: &Arc) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/config/plugin.rs:25:40 [INFO] [stdout] | [INFO] [stdout] 25 | fn parse_msg(&mut self, msg: &str, event: &Arc, bot: &Arc) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bot` [INFO] [stdout] --> src/config/plugin.rs:25:66 [INFO] [stdout] | [INFO] [stdout] 25 | fn parse_msg(&mut self, msg: &str, event: &Arc, bot: &Arc) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/config.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | Err(e) => log!(Level::Error, "加载配置文件'{}'失败", PluginConfig::NAME), [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/config.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | Err(e) => log!(Level::Error, "加载配置文件'{}'失败", PluginConfig::NAME), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling kovi-plugin-jx3 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `code`, `msg`, and `time` are never read [INFO] [stdout] --> src/api.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ApiResp { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 10 | pub code: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | pub msg: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | pub data: T, [INFO] [stdout] 13 | pub time: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiResp` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::model::celeb::CelebModel` [INFO] [stdout] --> src/api.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::model::celeb::CelebModel; [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: `Mutex` [INFO] [stdout] --> src/config.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `kovi::chrono::Timelike` [INFO] [stdout] --> src/util.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use kovi::chrono::Timelike; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/util.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/config/plugin.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | fn parse_msg(&mut self, msg: &str, event: &Arc, bot: &Arc) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/config/plugin.rs:25:40 [INFO] [stdout] | [INFO] [stdout] 25 | fn parse_msg(&mut self, msg: &str, event: &Arc, bot: &Arc) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bot` [INFO] [stdout] --> src/config/plugin.rs:25:66 [INFO] [stdout] | [INFO] [stdout] 25 | fn parse_msg(&mut self, msg: &str, event: &Arc, bot: &Arc) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/config.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | Err(e) => log!(Level::Error, "加载配置文件'{}'失败", PluginConfig::NAME), [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/config.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | Err(e) => log!(Level::Error, "加载配置文件'{}'失败", PluginConfig::NAME), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code`, `msg`, and `time` are never read [INFO] [stdout] --> src/api.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ApiResp { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 10 | pub code: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | pub msg: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | pub data: T, [INFO] [stdout] 13 | pub time: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiResp` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.37s [INFO] running `Command { std: "docker" "inspect" "94b07cc3e55321bc348171648fd7a2a3004ef88d7df129163a11bac97398b8a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94b07cc3e55321bc348171648fd7a2a3004ef88d7df129163a11bac97398b8a0", kill_on_drop: false }` [INFO] [stdout] 94b07cc3e55321bc348171648fd7a2a3004ef88d7df129163a11bac97398b8a0