[INFO] fetching crate kovi-plugin-jx3 0.1.0... [INFO] testing kovi-plugin-jx3-0.1.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate kovi-plugin-jx3 0.1.0 into /workspace/builds/worker-1-tc2/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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate kovi-plugin-jx3 0.1.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 236 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a35f00fe9cca87d03a35b1e10095d0b3fb156740032dacfa16103470c2bcba56 [INFO] running `Command { std: "docker" "start" "-a" "a35f00fe9cca87d03a35b1e10095d0b3fb156740032dacfa16103470c2bcba56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a35f00fe9cca87d03a35b1e10095d0b3fb156740032dacfa16103470c2bcba56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a35f00fe9cca87d03a35b1e10095d0b3fb156740032dacfa16103470c2bcba56", kill_on_drop: false }` [INFO] [stdout] a35f00fe9cca87d03a35b1e10095d0b3fb156740032dacfa16103470c2bcba56 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5fcb8df5799ec700250252a92baab56c7f547a67e4ee3bf77405d1af947b3c19 [INFO] running `Command { std: "docker" "start" "-a" "5fcb8df5799ec700250252a92baab56c7f547a67e4ee3bf77405d1af947b3c19", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling openssl-src v300.5.4+3.5.4 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling unicode-width v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling iri-string v0.7.9 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling fuzzy-matcher v0.3.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling env_filter v0.1.4 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling croner v2.2.0 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling kovi-macros v0.4.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling toml v0.8.23 [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.24 [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 2m 59s [INFO] running `Command { std: "docker" "inspect" "5fcb8df5799ec700250252a92baab56c7f547a67e4ee3bf77405d1af947b3c19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fcb8df5799ec700250252a92baab56c7f547a67e4ee3bf77405d1af947b3c19", kill_on_drop: false }` [INFO] [stdout] 5fcb8df5799ec700250252a92baab56c7f547a67e4ee3bf77405d1af947b3c19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc16410f56ca5236bb5e78a0a83584386339780cb178db35cfbb6520bd0d0512 [INFO] running `Command { std: "docker" "start" "-a" "bc16410f56ca5236bb5e78a0a83584386339780cb178db35cfbb6520bd0d0512", kill_on_drop: false }` [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] [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 3.57s [INFO] running `Command { std: "docker" "inspect" "bc16410f56ca5236bb5e78a0a83584386339780cb178db35cfbb6520bd0d0512", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc16410f56ca5236bb5e78a0a83584386339780cb178db35cfbb6520bd0d0512", kill_on_drop: false }` [INFO] [stdout] bc16410f56ca5236bb5e78a0a83584386339780cb178db35cfbb6520bd0d0512 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ad05c6e625580cd043787504c47013a4f1d71f8fc7df06fb69c91facf30a175d [INFO] running `Command { std: "docker" "start" "-a" "ad05c6e625580cd043787504c47013a4f1d71f8fc7df06fb69c91facf30a175d", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::model::celeb::CelebModel` [INFO] [stderr] --> src/api.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::model::celeb::CelebModel; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Mutex` [INFO] [stderr] --> src/config.rs:18:22 [INFO] [stderr] | [INFO] [stderr] 18 | use std::sync::{Arc, Mutex}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `kovi::chrono::Timelike` [INFO] [stderr] --> src/util.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use kovi::chrono::Timelike; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ops::Deref` [INFO] [stderr] --> src/util.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::ops::Deref; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `msg` [INFO] [stderr] --> src/config/plugin.rs:25:29 [INFO] [stderr] | [INFO] [stderr] 25 | fn parse_msg(&mut self, msg: &str, event: &Arc, bot: &Arc) {} [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `event` [INFO] [stderr] --> src/config/plugin.rs:25:40 [INFO] [stderr] | [INFO] [stderr] 25 | fn parse_msg(&mut self, msg: &str, event: &Arc, bot: &Arc) {} [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `bot` [INFO] [stderr] --> src/config/plugin.rs:25:66 [INFO] [stderr] | [INFO] [stderr] 25 | fn parse_msg(&mut self, msg: &str, event: &Arc, bot: &Arc) {} [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_bot` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/config.rs:74:13 [INFO] [stderr] | [INFO] [stderr] 74 | Err(e) => log!(Level::Error, "加载配置文件'{}'失败", PluginConfig::NAME), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/config.rs:89:21 [INFO] [stderr] | [INFO] [stderr] 89 | Err(e) => log!(Level::Error, "加载配置文件'{}'失败", PluginConfig::NAME), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: fields `code`, `msg`, and `time` are never read [INFO] [stderr] --> src/api.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct ApiResp { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 10 | pub code: usize, [INFO] [stderr] | ^^^^ [INFO] [stderr] 11 | pub msg: String, [INFO] [stderr] | ^^^ [INFO] [stderr] 12 | pub data: T, [INFO] [stderr] 13 | pub time: usize, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ApiResp` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `kovi-plugin-jx3` (lib) generated 10 warnings (run `cargo fix --lib -p kovi-plugin-jx3` to apply 9 suggestions) [INFO] [stderr] warning: `kovi-plugin-jx3` (lib test) generated 10 warnings (10 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/kovi_plugin_jx3-20225484aaf21532) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests kovi_plugin_jx3 [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ad05c6e625580cd043787504c47013a4f1d71f8fc7df06fb69c91facf30a175d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad05c6e625580cd043787504c47013a4f1d71f8fc7df06fb69c91facf30a175d", kill_on_drop: false }` [INFO] [stdout] ad05c6e625580cd043787504c47013a4f1d71f8fc7df06fb69c91facf30a175d