[INFO] fetching crate qq-bot 0.1.0... [INFO] testing qq-bot-0.1.0 against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759-retry [INFO] extracting crate qq-bot 0.1.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate qq-bot 0.1.0 [INFO] finished tweaking crates.io crate qq-bot 0.1.0 [INFO] tweaked toml for crates.io crate qq-bot 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate qq-bot 0.1.0 on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 258 packages to latest compatible versions [INFO] [stderr] Adding image v0.24.9 (available: v0.25.8) [INFO] [stderr] Adding imageproc v0.23.0 (available: v0.25.0) [INFO] [stderr] Adding random v0.12.2 (available: v0.14.1) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.24) [INFO] [stderr] Adding tokio-tungstenite v0.17.2 (available: v0.28.0) [INFO] [stderr] Adding toml v0.5.11 (available: v0.9.8) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 17bb0a29a43a402c13edfab10f704a0f87c8e47c478bfbbceb020fe4a2e63f4d [INFO] running `Command { std: "docker" "start" "-a" "17bb0a29a43a402c13edfab10f704a0f87c8e47c478bfbbceb020fe4a2e63f4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17bb0a29a43a402c13edfab10f704a0f87c8e47c478bfbbceb020fe4a2e63f4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17bb0a29a43a402c13edfab10f704a0f87c8e47c478bfbbceb020fe4a2e63f4d", kill_on_drop: false }` [INFO] [stdout] 17bb0a29a43a402c13edfab10f704a0f87c8e47c478bfbbceb020fe4a2e63f4d [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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a2aa9b4d15d18879704357f9ff2014a036b860e30b1bd76a3eb1a0280952147 [INFO] running `Command { std: "docker" "start" "-a" "0a2aa9b4d15d18879704357f9ff2014a036b860e30b1bd76a3eb1a0280952147", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling openssl v0.10.74 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling cc v1.2.41 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling flate2 v1.1.4 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling wide v0.7.33 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling lebe v0.5.3 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling simba v0.7.3 [INFO] [stderr] Compiling gif v0.13.3 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling custom_derive v0.1.7 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling conv v0.3.3 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling jpeg-decoder v0.3.2 [INFO] [stderr] Compiling owned_ttf_parser v0.15.2 [INFO] [stderr] Compiling random v0.12.2 [INFO] [stderr] Compiling rusttype v0.9.3 [INFO] [stderr] Compiling openssl-sys v0.9.110 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling nalgebra v0.30.1 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerocopy-derive v0.8.27 [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 async-trait v0.1.89 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling h2 v0.3.27 [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_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [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 hyper v0.14.32 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling tungstenite v0.17.3 [INFO] [stderr] Compiling tokio-tungstenite v0.17.2 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling imageproc v0.23.0 [INFO] [stderr] Compiling qq-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `bot` [INFO] [stdout] --> src/restful/send_message.rs:39:36 [INFO] [stdout] | [INFO] [stdout] 39 | pub async fn send_error(&self, bot: &impl QQBotProtocol, channel_id: u64) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bot` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `channel_id` [INFO] [stdout] --> src/restful/send_message.rs:39:62 [INFO] [stdout] | [INFO] [stdout] 39 | pub async fn send_error(&self, bot: &impl QQBotProtocol, channel_id: u64) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SendArkRequest` is never constructed [INFO] [stdout] --> src/restful/send_message.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct SendArkRequest {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 02s [INFO] running `Command { std: "docker" "inspect" "0a2aa9b4d15d18879704357f9ff2014a036b860e30b1bd76a3eb1a0280952147", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a2aa9b4d15d18879704357f9ff2014a036b860e30b1bd76a3eb1a0280952147", kill_on_drop: false }` [INFO] [stdout] 0a2aa9b4d15d18879704357f9ff2014a036b860e30b1bd76a3eb1a0280952147 [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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] adcf604c7de81698a5e4818d989d1d0c7fcde7ff64f84f50268442c6919ab9e3 [INFO] running `Command { std: "docker" "start" "-a" "adcf604c7de81698a5e4818d989d1d0c7fcde7ff64f84f50268442c6919ab9e3", kill_on_drop: false }` [INFO] [stdout] warning: unused variable: `bot` [INFO] [stdout] --> src/restful/send_message.rs:39:36 [INFO] [stdout] | [INFO] [stdout] 39 | pub async fn send_error(&self, bot: &impl QQBotProtocol, channel_id: u64) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bot` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `channel_id` [INFO] [stdout] --> src/restful/send_message.rs:39:62 [INFO] [stdout] | [INFO] [stdout] 39 | pub async fn send_error(&self, bot: &impl QQBotProtocol, channel_id: u64) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling qq-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `SendArkRequest` is never constructed [INFO] [stdout] --> src/restful/send_message.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct SendArkRequest {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::Client` [INFO] [stdout] --> tests/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use reqwest::Client; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bot` [INFO] [stdout] --> src/restful/send_message.rs:39:36 [INFO] [stdout] | [INFO] [stdout] 39 | pub async fn send_error(&self, bot: &impl QQBotProtocol, channel_id: u64) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bot` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `channel_id` [INFO] [stdout] --> src/restful/send_message.rs:39:62 [INFO] [stdout] | [INFO] [stdout] 39 | pub async fn send_error(&self, bot: &impl QQBotProtocol, channel_id: u64) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SendArkRequest` is never constructed [INFO] [stdout] --> src/restful/send_message.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct SendArkRequest {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.64s [INFO] running `Command { std: "docker" "inspect" "adcf604c7de81698a5e4818d989d1d0c7fcde7ff64f84f50268442c6919ab9e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adcf604c7de81698a5e4818d989d1d0c7fcde7ff64f84f50268442c6919ab9e3", kill_on_drop: false }` [INFO] [stdout] adcf604c7de81698a5e4818d989d1d0c7fcde7ff64f84f50268442c6919ab9e3 [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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 94be605a628555578ad7f485da0156e942051775bb96587f27d9fb1f62c4075a [INFO] running `Command { std: "docker" "start" "-a" "94be605a628555578ad7f485da0156e942051775bb96587f27d9fb1f62c4075a", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `bot` [INFO] [stderr] --> src/restful/send_message.rs:39:36 [INFO] [stderr] | [INFO] [stderr] 39 | pub async fn send_error(&self, bot: &impl QQBotProtocol, channel_id: u64) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_bot` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `channel_id` [INFO] [stderr] --> src/restful/send_message.rs:39:62 [INFO] [stderr] | [INFO] [stderr] 39 | pub async fn send_error(&self, bot: &impl QQBotProtocol, channel_id: u64) { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel_id` [INFO] [stderr] [INFO] [stderr] warning: struct `SendArkRequest` is never constructed [INFO] [stderr] --> src/restful/send_message.rs:60:12 [INFO] [stderr] | [INFO] [stderr] 60 | pub struct SendArkRequest {} [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `qq-bot` (lib) generated 3 warnings [INFO] [stderr] warning: `qq-bot` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] warning: unused import: `reqwest::Client` [INFO] [stderr] --> tests/main.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use reqwest::Client; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `qq-bot` (test "main") generated 1 warning (run `cargo fix --test "main"` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/qq_bot-5b122ec63ddd3bab) [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] Running tests/main.rs (/opt/rustwide/target/debug/deps/main-1bcbf36827f587ae) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test ready ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests qq_bot [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" "94be605a628555578ad7f485da0156e942051775bb96587f27d9fb1f62c4075a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94be605a628555578ad7f485da0156e942051775bb96587f27d9fb1f62c4075a", kill_on_drop: false }` [INFO] [stdout] 94be605a628555578ad7f485da0156e942051775bb96587f27d9fb1f62c4075a