[INFO] fetching crate kovi-plugin-jx3 0.1.0... [INFO] testing kovi-plugin-jx3-0.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate kovi-plugin-jx3 0.1.0 into /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate kovi-plugin-jx3 0.1.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 240 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded kovi-macros v0.4.0 [INFO] [stderr] Downloaded kovi v0.10.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b2d04a8e56986843563024e0c089353bea92e4289e1dc98937bf45908e462bec [INFO] running `Command { std: "docker" "start" "-a" "b2d04a8e56986843563024e0c089353bea92e4289e1dc98937bf45908e462bec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b2d04a8e56986843563024e0c089353bea92e4289e1dc98937bf45908e462bec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2d04a8e56986843563024e0c089353bea92e4289e1dc98937bf45908e462bec", kill_on_drop: false }` [INFO] [stdout] b2d04a8e56986843563024e0c089353bea92e4289e1dc98937bf45908e462bec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ccb3386f64aa04e70e973db9760c2e12b9d8fcf711fa6720bc23bdafa5ecdec [INFO] running `Command { std: "docker" "start" "-a" "2ccb3386f64aa04e70e973db9760c2e12b9d8fcf711fa6720bc23bdafa5ecdec", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling fuzzy-matcher v0.3.7 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling croner v2.2.0 [INFO] [stderr] Compiling openssl-src v300.5.2+3.5.2 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [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 futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling hyper-util v0.1.16 [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 2m 59s [INFO] running `Command { std: "docker" "inspect" "2ccb3386f64aa04e70e973db9760c2e12b9d8fcf711fa6720bc23bdafa5ecdec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ccb3386f64aa04e70e973db9760c2e12b9d8fcf711fa6720bc23bdafa5ecdec", kill_on_drop: false }` [INFO] [stdout] 2ccb3386f64aa04e70e973db9760c2e12b9d8fcf711fa6720bc23bdafa5ecdec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c137f14c671aa4620560264c452be7525fd01caa9a75abc4fe99e148f7b3a47 [INFO] running `Command { std: "docker" "start" "-a" "5c137f14c671aa4620560264c452be7525fd01caa9a75abc4fe99e148f7b3a47", 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] [stderr] Compiling kovi-plugin-jx3 v0.1.0 (/opt/rustwide/workdir) [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 1.41s [INFO] running `Command { std: "docker" "inspect" "5c137f14c671aa4620560264c452be7525fd01caa9a75abc4fe99e148f7b3a47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c137f14c671aa4620560264c452be7525fd01caa9a75abc4fe99e148f7b3a47", kill_on_drop: false }` [INFO] [stdout] 5c137f14c671aa4620560264c452be7525fd01caa9a75abc4fe99e148f7b3a47 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8cc34feb2c67126066fd746ec0aa2748a2895ec118479441784d463b4c6158b1 [INFO] running `Command { std: "docker" "start" "-a" "8cc34feb2c67126066fd746ec0aa2748a2895ec118479441784d463b4c6158b1", 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 4 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.30s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/kovi_plugin_jx3-19d2074eb9ef4455) [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.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8cc34feb2c67126066fd746ec0aa2748a2895ec118479441784d463b4c6158b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cc34feb2c67126066fd746ec0aa2748a2895ec118479441784d463b4c6158b1", kill_on_drop: false }` [INFO] [stdout] 8cc34feb2c67126066fd746ec0aa2748a2895ec118479441784d463b4c6158b1