[INFO] fetching crate luo9_sdk 1.0.3... [INFO] testing luo9_sdk-1.0.3 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate luo9_sdk 1.0.3 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate luo9_sdk 1.0.3 [INFO] finished tweaking crates.io crate luo9_sdk 1.0.3 [INFO] tweaked toml for crates.io crate luo9_sdk 1.0.3 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate luo9_sdk 1.0.3 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate luo9_sdk 1.0.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded configparser v3.1.0 [INFO] [stderr] Downloaded hyper-util v0.1.11 [INFO] [stderr] Downloaded miniz_oxide v0.8.7 [INFO] [stderr] Downloaded cc v1.2.18 [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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4dd89e9256119e1ffa850ab0058461980544d7ff1787b1a9f1d89bde2ecd5955 [INFO] running `Command { std: "docker" "start" "-a" "4dd89e9256119e1ffa850ab0058461980544d7ff1787b1a9f1d89bde2ecd5955", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4dd89e9256119e1ffa850ab0058461980544d7ff1787b1a9f1d89bde2ecd5955", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4dd89e9256119e1ffa850ab0058461980544d7ff1787b1a9f1d89bde2ecd5955", kill_on_drop: false }` [INFO] [stdout] 4dd89e9256119e1ffa850ab0058461980544d7ff1787b1a9f1d89bde2ecd5955 [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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea354517de3b001534ff169dfe6d31bece5d4c0a17e3339b2dd6c35c1314b107 [INFO] running `Command { std: "docker" "start" "-a" "ea354517de3b001534ff169dfe6d31bece5d4c0a17e3339b2dd6c35c1314b107", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling cc v1.2.18 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling configparser v3.1.0 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling openssl-sys v0.9.107 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling h2 v0.4.8 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stderr] Compiling luo9_sdk v1.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/api/mod.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | use anyhow::{Result, anyhow}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/api/napcat/group.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let response = client.post(&url) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/utils/check.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn duplicate_message_check(message: &str, group_id: &str, count: usize) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `group_id` [INFO] [stdout] --> src/utils/check.rs:9:53 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn duplicate_message_check(message: &str, group_id: &str, count: usize) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_group_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/utils/check.rs:9:69 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn duplicate_message_check(message: &str, group_id: &str, count: usize) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `group_id` [INFO] [stdout] --> src/utils/check.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | pub async fn register_check(group_id: &str, qq: &str, user_data_path: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_group_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `qq` [INFO] [stdout] --> src/utils/check.rs:13:45 [INFO] [stdout] | [INFO] [stdout] 13 | pub async fn register_check(group_id: &str, qq: &str, user_data_path: &str) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_qq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `group_id` [INFO] [stdout] --> src/utils/check.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | pub async fn frozen_check(group_id: &str, qq: &str, admin_frozen_path: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_group_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/utils/message_limit.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct MessageLimit { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 5 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MessageLimit` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `interactiveState_check` should have a snake case name [INFO] [stdout] --> src/utils/check.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | pub async fn interactiveState_check() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `interactive_state_check` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.26s [INFO] running `Command { std: "docker" "inspect" "ea354517de3b001534ff169dfe6d31bece5d4c0a17e3339b2dd6c35c1314b107", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea354517de3b001534ff169dfe6d31bece5d4c0a17e3339b2dd6c35c1314b107", kill_on_drop: false }` [INFO] [stdout] ea354517de3b001534ff169dfe6d31bece5d4c0a17e3339b2dd6c35c1314b107 [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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 015ce08699774661dfc46e2a177a6875532e80c54f9a2a12a711e5eb763171fb [INFO] running `Command { std: "docker" "start" "-a" "015ce08699774661dfc46e2a177a6875532e80c54f9a2a12a711e5eb763171fb", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling h2 v0.4.8 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stderr] Compiling luo9_sdk v1.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/api/mod.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | use anyhow::{Result, anyhow}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/api/napcat/group.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let response = client.post(&url) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/utils/check.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn duplicate_message_check(message: &str, group_id: &str, count: usize) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `group_id` [INFO] [stdout] --> src/utils/check.rs:9:53 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn duplicate_message_check(message: &str, group_id: &str, count: usize) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_group_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/utils/check.rs:9:69 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn duplicate_message_check(message: &str, group_id: &str, count: usize) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `group_id` [INFO] [stdout] --> src/utils/check.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | pub async fn register_check(group_id: &str, qq: &str, user_data_path: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_group_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `qq` [INFO] [stdout] --> src/utils/check.rs:13:45 [INFO] [stdout] | [INFO] [stdout] 13 | pub async fn register_check(group_id: &str, qq: &str, user_data_path: &str) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_qq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `group_id` [INFO] [stdout] --> src/utils/check.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | pub async fn frozen_check(group_id: &str, qq: &str, admin_frozen_path: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_group_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/utils/message_limit.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct MessageLimit { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 5 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MessageLimit` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `interactiveState_check` should have a snake case name [INFO] [stdout] --> src/utils/check.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | pub async fn interactiveState_check() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `interactive_state_check` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/api/mod.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | use anyhow::{Result, anyhow}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/api/napcat/group.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let response = client.post(&url) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/utils/check.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn duplicate_message_check(message: &str, group_id: &str, count: usize) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `group_id` [INFO] [stdout] --> src/utils/check.rs:9:53 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn duplicate_message_check(message: &str, group_id: &str, count: usize) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_group_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/utils/check.rs:9:69 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn duplicate_message_check(message: &str, group_id: &str, count: usize) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `group_id` [INFO] [stdout] --> src/utils/check.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | pub async fn register_check(group_id: &str, qq: &str, user_data_path: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_group_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `qq` [INFO] [stdout] --> src/utils/check.rs:13:45 [INFO] [stdout] | [INFO] [stdout] 13 | pub async fn register_check(group_id: &str, qq: &str, user_data_path: &str) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_qq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `group_id` [INFO] [stdout] --> src/utils/check.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | pub async fn frozen_check(group_id: &str, qq: &str, admin_frozen_path: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_group_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/utils/message_limit.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct MessageLimit { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 5 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MessageLimit` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `interactiveState_check` should have a snake case name [INFO] [stdout] --> src/utils/check.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | pub async fn interactiveState_check() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `interactive_state_check` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 21.24s [INFO] running `Command { std: "docker" "inspect" "015ce08699774661dfc46e2a177a6875532e80c54f9a2a12a711e5eb763171fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "015ce08699774661dfc46e2a177a6875532e80c54f9a2a12a711e5eb763171fb", kill_on_drop: false }` [INFO] [stdout] 015ce08699774661dfc46e2a177a6875532e80c54f9a2a12a711e5eb763171fb [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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7b1c348f41ebc8f5c17d97c43f73d12f64e8e2397ba8ec4d6ad7dc8c6c9042fb [INFO] running `Command { std: "docker" "start" "-a" "7b1c348f41ebc8f5c17d97c43f73d12f64e8e2397ba8ec4d6ad7dc8c6c9042fb", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `anyhow` [INFO] [stderr] --> src/api/mod.rs:11:22 [INFO] [stderr] | [INFO] [stderr] 11 | use anyhow::{Result, anyhow}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `response` [INFO] [stderr] --> src/api/napcat/group.rs:78:9 [INFO] [stderr] | [INFO] [stderr] 78 | let response = client.post(&url) [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `message` [INFO] [stderr] --> src/utils/check.rs:9:38 [INFO] [stderr] | [INFO] [stderr] 9 | pub async fn duplicate_message_check(message: &str, group_id: &str, count: usize) -> bool { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `group_id` [INFO] [stderr] --> src/utils/check.rs:9:53 [INFO] [stderr] | [INFO] [stderr] 9 | pub async fn duplicate_message_check(message: &str, group_id: &str, count: usize) -> bool { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_group_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `count` [INFO] [stderr] --> src/utils/check.rs:9:69 [INFO] [stderr] | [INFO] [stderr] 9 | pub async fn duplicate_message_check(message: &str, group_id: &str, count: usize) -> bool { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `group_id` [INFO] [stderr] --> src/utils/check.rs:13:29 [INFO] [stderr] | [INFO] [stderr] 13 | pub async fn register_check(group_id: &str, qq: &str, user_data_path: &str) -> bool { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_group_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `qq` [INFO] [stderr] --> src/utils/check.rs:13:45 [INFO] [stderr] | [INFO] [stderr] 13 | pub async fn register_check(group_id: &str, qq: &str, user_data_path: &str) -> bool { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_qq` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `group_id` [INFO] [stderr] --> src/utils/check.rs:27:27 [INFO] [stderr] | [INFO] [stderr] 27 | pub async fn frozen_check(group_id: &str, qq: &str, admin_frozen_path: &str) -> bool { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_group_id` [INFO] [stderr] [INFO] [stderr] warning: field `name` is never read [INFO] [stderr] --> src/utils/message_limit.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct MessageLimit { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 5 | name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MessageLimit` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `interactiveState_check` should have a snake case name [INFO] [stderr] --> src/utils/check.rs:41:14 [INFO] [stderr] | [INFO] [stderr] 41 | pub async fn interactiveState_check() -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `interactive_state_check` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `luo9_sdk` (lib) generated 10 warnings (run `cargo fix --lib -p luo9_sdk` to apply 1 suggestion) [INFO] [stderr] warning: `luo9_sdk` (lib test) generated 10 warnings (10 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/luo9_sdk-bbd3e436e7126a5f) [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 luo9_sdk [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" "7b1c348f41ebc8f5c17d97c43f73d12f64e8e2397ba8ec4d6ad7dc8c6c9042fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b1c348f41ebc8f5c17d97c43f73d12f64e8e2397ba8ec4d6ad7dc8c6c9042fb", kill_on_drop: false }` [INFO] [stdout] 7b1c348f41ebc8f5c17d97c43f73d12f64e8e2397ba8ec4d6ad7dc8c6c9042fb