[INFO] cloning repository https://github.com/vikiboss/tg2ob [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vikiboss/tg2ob" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvikiboss%2Ftg2ob", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvikiboss%2Ftg2ob'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aee5e68e3509a7fcd1ee5fef3670231eea1b044b [INFO] testing vikiboss/tg2ob against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvikiboss%2Ftg2ob" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/vikiboss/tg2ob [INFO] finished tweaking git repo https://github.com/vikiboss/tg2ob [INFO] tweaked toml for git repo https://github.com/vikiboss/tg2ob written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/vikiboss/tg2ob on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/vikiboss/tg2ob 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d982e5de9633953f00acbca6947c0b5a662dc8c988b3b07380f9ac0adb0b931f [INFO] running `Command { std: "docker" "start" "-a" "d982e5de9633953f00acbca6947c0b5a662dc8c988b3b07380f9ac0adb0b931f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d982e5de9633953f00acbca6947c0b5a662dc8c988b3b07380f9ac0adb0b931f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d982e5de9633953f00acbca6947c0b5a662dc8c988b3b07380f9ac0adb0b931f", kill_on_drop: false }` [INFO] [stdout] d982e5de9633953f00acbca6947c0b5a662dc8c988b3b07380f9ac0adb0b931f [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c3919b8cbe27809849774574e586f3c4f8cb76979e1ba5755da4b2c0f8ba16a [INFO] running `Command { std: "docker" "start" "-a" "7c3919b8cbe27809849774574e586f3c4f8cb76979e1ba5755da4b2c0f8ba16a", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling cc v1.2.32 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling clap_builder v4.5.43 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling yaml-rust2 v0.8.1 [INFO] [stderr] Compiling rust-ini v0.20.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling clap v4.5.43 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tungstenite v0.24.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-tungstenite v0.24.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling bitflags v2.9.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 serde_path_to_error v0.1.17 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling config v0.14.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling tg2ob v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `GetGroupListResponse`, `GroupMemberInfo`, and `MessageData` [INFO] [stdout] --> src/onebot/server.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 21 | DeleteMessageParams, GetMessageParams, MessageData, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 22 | GetGroupListResponse, GetGroupMemberListParams, GroupMemberInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/telegram/client.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct TelegramClient { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 11 | client: Client, [INFO] [stdout] 12 | token: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TelegramClient` has a derived impl for the trait `Clone`, but this is 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: method `get_file` is never used [INFO] [stdout] --> src/telegram/client.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 16 | impl TelegramClient { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub async fn get_file(&self, file_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MessageData` is never constructed [INFO] [stdout] --> src/onebot/types.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | pub struct MessageData { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GetGroupListResponse` is never constructed [INFO] [stdout] --> src/onebot/types.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | pub struct GetGroupListResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GroupMemberInfo` is never constructed [INFO] [stdout] --> src/onebot/types.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | pub struct GroupMemberInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `telegram_user_to_onebot_userinfo` and `parse_cq_code` are never used [INFO] [stdout] --> src/utils/converter.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl MessageConverter { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn telegram_user_to_onebot_userinfo(&self, user: &User) -> UserInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn parse_cq_code(&self, message: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 22s [INFO] running `Command { std: "docker" "inspect" "7c3919b8cbe27809849774574e586f3c4f8cb76979e1ba5755da4b2c0f8ba16a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c3919b8cbe27809849774574e586f3c4f8cb76979e1ba5755da4b2c0f8ba16a", kill_on_drop: false }` [INFO] [stdout] 7c3919b8cbe27809849774574e586f3c4f8cb76979e1ba5755da4b2c0f8ba16a [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ddcc05513bad1ffd2bbbd1d350d8a91973302e6cfc785fa8eda69876bb736288 [INFO] running `Command { std: "docker" "start" "-a" "ddcc05513bad1ffd2bbbd1d350d8a91973302e6cfc785fa8eda69876bb736288", kill_on_drop: false }` [INFO] [stderr] Compiling tg2ob v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `GetGroupListResponse`, `GroupMemberInfo`, and `MessageData` [INFO] [stdout] --> src/onebot/server.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 21 | DeleteMessageParams, GetMessageParams, MessageData, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 22 | GetGroupListResponse, GetGroupMemberListParams, GroupMemberInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/telegram/client.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct TelegramClient { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 11 | client: Client, [INFO] [stdout] 12 | token: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TelegramClient` has a derived impl for the trait `Clone`, but this is 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: method `get_file` is never used [INFO] [stdout] --> src/telegram/client.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 16 | impl TelegramClient { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub async fn get_file(&self, file_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MessageData` is never constructed [INFO] [stdout] --> src/onebot/types.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | pub struct MessageData { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GetGroupListResponse` is never constructed [INFO] [stdout] --> src/onebot/types.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | pub struct GetGroupListResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GroupMemberInfo` is never constructed [INFO] [stdout] --> src/onebot/types.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | pub struct GroupMemberInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `telegram_user_to_onebot_userinfo` and `parse_cq_code` are never used [INFO] [stdout] --> src/utils/converter.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl MessageConverter { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn telegram_user_to_onebot_userinfo(&self, user: &User) -> UserInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn parse_cq_code(&self, message: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.26s [INFO] running `Command { std: "docker" "inspect" "ddcc05513bad1ffd2bbbd1d350d8a91973302e6cfc785fa8eda69876bb736288", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddcc05513bad1ffd2bbbd1d350d8a91973302e6cfc785fa8eda69876bb736288", kill_on_drop: false }` [INFO] [stdout] ddcc05513bad1ffd2bbbd1d350d8a91973302e6cfc785fa8eda69876bb736288 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 968fab5f6c52766cfc1b0c82c58bde1f018fa6ed9c869416a8f2638fbae61a97 [INFO] running `Command { std: "docker" "start" "-a" "968fab5f6c52766cfc1b0c82c58bde1f018fa6ed9c869416a8f2638fbae61a97", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `GetGroupListResponse`, `GroupMemberInfo`, and `MessageData` [INFO] [stderr] --> src/onebot/server.rs:21:44 [INFO] [stderr] | [INFO] [stderr] 21 | DeleteMessageParams, GetMessageParams, MessageData, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 22 | GetGroupListResponse, GetGroupMemberListParams, GroupMemberInfo, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `token` is never read [INFO] [stderr] --> src/telegram/client.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct TelegramClient { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] 11 | client: Client, [INFO] [stderr] 12 | token: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TelegramClient` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `get_file` is never used [INFO] [stderr] --> src/telegram/client.rs:73:18 [INFO] [stderr] | [INFO] [stderr] 16 | impl TelegramClient { [INFO] [stderr] | ------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 73 | pub async fn get_file(&self, file_id: &str) -> Result { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `MessageData` is never constructed [INFO] [stderr] --> src/onebot/types.rs:105:12 [INFO] [stderr] | [INFO] [stderr] 105 | pub struct MessageData { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `GetGroupListResponse` is never constructed [INFO] [stderr] --> src/onebot/types.rs:115:12 [INFO] [stderr] | [INFO] [stderr] 115 | pub struct GetGroupListResponse { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `GroupMemberInfo` is never constructed [INFO] [stderr] --> src/onebot/types.rs:129:12 [INFO] [stderr] | [INFO] [stderr] 129 | pub struct GroupMemberInfo { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `telegram_user_to_onebot_userinfo` and `parse_cq_code` are never used [INFO] [stderr] --> src/utils/converter.rs:139:12 [INFO] [stderr] | [INFO] [stderr] 11 | impl MessageConverter { [INFO] [stderr] | --------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 139 | pub fn telegram_user_to_onebot_userinfo(&self, user: &User) -> UserInfo { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 148 | pub fn parse_cq_code(&self, message: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `tg2ob` (bin "tg2ob" test) generated 7 warnings (run `cargo fix --bin "tg2ob" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/tg2ob-c2f0434b4754d1f1) [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" "968fab5f6c52766cfc1b0c82c58bde1f018fa6ed9c869416a8f2638fbae61a97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "968fab5f6c52766cfc1b0c82c58bde1f018fa6ed9c869416a8f2638fbae61a97", kill_on_drop: false }` [INFO] [stdout] 968fab5f6c52766cfc1b0c82c58bde1f018fa6ed9c869416a8f2638fbae61a97