[INFO] cloning repository https://github.com/cheedonghu/news2tg [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cheedonghu/news2tg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcheedonghu%2Fnews2tg", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcheedonghu%2Fnews2tg'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c39c700c2196ed0063b113f1b7600d768bfa2787 [INFO] checking cheedonghu/news2tg against master#53509ca37e3b507887607c2f4a7f23bd4838f099 for pr-156027 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcheedonghu%2Fnews2tg" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/cheedonghu/news2tg [INFO] finished tweaking git repo https://github.com/cheedonghu/news2tg [INFO] tweaked toml for git repo https://github.com/cheedonghu/news2tg written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/cheedonghu/news2tg on toolchain 53509ca37e3b507887607c2f4a7f23bd4838f099 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+53509ca37e3b507887607c2f4a7f23bd4838f099" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/cheedonghu/news2tg 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" "+53509ca37e3b507887607c2f4a7f23bd4838f099" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded macro-utils v0.1.3 [INFO] [stderr] Downloaded clap v4.5.45 [INFO] [stderr] Downloaded getopts v0.2.23 [INFO] [stderr] Downloaded getset v0.1.6 [INFO] [stderr] Downloaded flexi_logger v0.28.5 [INFO] [stderr] Downloaded clap_builder v4.5.44 [INFO] [stderr] Downloaded minifier v0.0.41 [INFO] [stderr] Downloaded openai_dive v0.4.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+53509ca37e3b507887607c2f4a7f23bd4838f099" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a9186c97e614c3f07e117d22b442f7e1062595db6628b586b1607107d12d9f3c [INFO] running `Command { std: "docker" "start" "-a" "a9186c97e614c3f07e117d22b442f7e1062595db6628b586b1607107d12d9f3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9186c97e614c3f07e117d22b442f7e1062595db6628b586b1607107d12d9f3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9186c97e614c3f07e117d22b442f7e1062595db6628b586b1607107d12d9f3c", kill_on_drop: false }` [INFO] [stdout] a9186c97e614c3f07e117d22b442f7e1062595db6628b586b1607107d12d9f3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+53509ca37e3b507887607c2f4a7f23bd4838f099" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66f47999b0644547153de44e0270f2137ac27b3e57589b86ccffb8f4f8a2bea0 [INFO] running `Command { std: "docker" "start" "-a" "66f47999b0644547153de44e0270f2137ac27b3e57589b86ccffb8f4f8a2bea0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.97 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling cc v1.2.32 [INFO] [stderr] Checking phf_shared v0.11.3 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling erasable v1.3.0 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking dtoa v1.0.10 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Checking dtoa-short v0.3.5 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Checking servo_arc v0.3.0 [INFO] [stderr] Checking never v0.1.0 [INFO] [stderr] Checking takecell v0.1.1 [INFO] [stderr] Checking clap_builder v4.5.44 [INFO] [stderr] Checking getopts v0.2.23 [INFO] [stderr] Checking macro-utils v0.1.3 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Checking ego-tree v0.6.3 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Checking nu-ansi-term v0.50.1 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking glob v0.3.3 [INFO] [stderr] Checking rc-box v1.3.0 [INFO] [stderr] Checking minifier v0.0.41 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking uuid v1.18.0 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling selectors v0.25.0 [INFO] [stderr] Compiling markup5ever v0.12.1 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling aquamarine v0.1.12 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [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 tracing-attributes v0.1.30 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling html5ever v0.27.0 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking cssparser v0.31.2 [INFO] [stderr] Compiling clap_derive v4.5.45 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling getset v0.1.6 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Checking flexi_logger v0.28.5 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking prost v0.13.5 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking clap v4.5.45 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking dptree v0.3.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tokio-util v0.6.10 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking string_cache v0.8.9 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking scraper v0.19.1 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking hyper-util v0.1.16 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking teloxide-core v0.9.1 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking hyper-timeout v0.5.2 [INFO] [stderr] Checking reqwest v0.12.23 [INFO] [stderr] Checking tonic v0.12.3 [INFO] [stderr] Checking openai_dive v0.4.9 [INFO] [stderr] Checking teloxide v0.12.2 [INFO] [stderr] Checking news2tg v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::traits::ai_helper::AIHelper` [INFO] [stdout] --> src/implementations/monitor_v2ex.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::traits::ai_helper::AIHelper; [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: `super::ai_helper::AIHelper` [INFO] [stdout] --> src/traits/news2tg.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::ai_helper::AIHelper; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::monitor::Monitor` [INFO] [stdout] --> src/traits/news2tg.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::monitor::Monitor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::notify::Notify` [INFO] [stdout] --> src/traits/news2tg.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use super::notify::Notify; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/implementations/monitor_hackernews.rs:472:9 [INFO] [stdout] | [INFO] [stdout] 472 | use super::*; [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: `crate::traits::ai_helper::AIHelper` [INFO] [stdout] --> src/implementations/monitor_v2ex.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::traits::ai_helper::AIHelper; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ai_helper::AIHelper` [INFO] [stdout] --> src/traits/news2tg.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::ai_helper::AIHelper; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::monitor::Monitor` [INFO] [stdout] --> src/traits/news2tg.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::monitor::Monitor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::notify::Notify` [INFO] [stdout] --> src/traits/news2tg.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use super::notify::Notify; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/implementations/monitor_hackernews.rs:182:26 [INFO] [stdout] | [INFO] [stdout] 182 | .text().map_err(|err| News2tgError::RuntimeError("提取hackernews帖子文本失败".to_string())).await.ok()?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/implementations/monitor_hackernews.rs:180:19 [INFO] [stdout] | [INFO] [stdout] 180 | .map_err(|err| News2tgError::RuntimeError("获取hackernews帖子内容请求发送失败".to_string())) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/implementations/monitor_hackernews.rs:182:26 [INFO] [stdout] | [INFO] [stdout] 182 | .text().map_err(|err| News2tgError::RuntimeError("提取hackernews帖子文本失败".to_string())).await.ok()?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/implementations/monitor_hackernews.rs:180:19 [INFO] [stdout] | [INFO] [stdout] 180 | .map_err(|err| News2tgError::RuntimeError("获取hackernews帖子内容请求发送失败".to_string())) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/implementations/monitor_hackernews.rs:476:13 [INFO] [stdout] | [INFO] [stdout] 476 | let config = Config::from_file("myconfig.toml"); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/implementations/monitor_v2ex.rs:316:13 [INFO] [stdout] | [INFO] [stdout] 316 | let mut monitor = MonitorV2EX::new(client, tg_client); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `AIError` and `UnsupportError` are never constructed [INFO] [stdout] --> src/common/models.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum News2tgError { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 10 | AIError(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | UnsupportError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `News2tgError` has a derived impl for the trait `Debug`, 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: multiple fields are never read [INFO] [stdout] --> src/common/models.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 56 | pub avatar_large: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 57 | pub name: String, [INFO] [stdout] 58 | pub avatar_normal: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 59 | pub title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 60 | pub url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 61 | pub topics: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 62 | pub footer: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 63 | pub header: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 64 | pub title_alternative: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 65 | pub avatar_mini: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 66 | pub stars: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 67 | pub aliases: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 68 | pub root: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 69 | pub id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 70 | pub parent_node_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/common/models.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Member { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 76 | pub id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 77 | pub username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 78 | pub url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 79 | pub website: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 80 | pub twitter: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 81 | pub psn: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 82 | pub github: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 83 | pub btc: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 84 | pub location: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 85 | pub tagline: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 86 | pub bio: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 87 | pub avatar_mini: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 88 | pub avatar_normal: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 89 | pub avatar_large: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 90 | pub created: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 91 | pub last_modified: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Member` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/common/models.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Topic { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 97 | pub node: Node, [INFO] [stdout] 98 | pub member: Member, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 99 | pub last_reply_by: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 100 | pub last_touched: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub created: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 104 | pub deleted: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 105 | pub content: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 106 | pub content_rendered: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 107 | pub last_modified: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 108 | pub replies: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 109 | pub id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Topic` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SharedItem` is never constructed [INFO] [stdout] --> src/common/models.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct SharedItem { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/common/models.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 118 | impl SharedItem { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 119 | pub fn new() -> SharedItem { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_content_to_file` is never used [INFO] [stdout] --> src/common/tools.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn write_content_to_file(section_title: &str, content: &str, append: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_content_from_file` is never used [INFO] [stdout] --> src/common/tools.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn read_content_from_file() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_topics_to_file` is never used [INFO] [stdout] --> src/common/tools.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn write_topics_to_file( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `translate` is never used [INFO] [stdout] --> src/traits/ai_helper.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait AIHelper: Send + Sync { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 13 | async fn translate(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `AIError` and `UnsupportError` are never constructed [INFO] [stdout] --> src/common/models.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum News2tgError { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 10 | AIError(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | UnsupportError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `News2tgError` has a derived impl for the trait `Debug`, 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: multiple fields are never read [INFO] [stdout] --> src/common/models.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 56 | pub avatar_large: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 57 | pub name: String, [INFO] [stdout] 58 | pub avatar_normal: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 59 | pub title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 60 | pub url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 61 | pub topics: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 62 | pub footer: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 63 | pub header: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 64 | pub title_alternative: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 65 | pub avatar_mini: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 66 | pub stars: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 67 | pub aliases: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 68 | pub root: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 69 | pub id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 70 | pub parent_node_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/common/models.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Member { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 76 | pub id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 77 | pub username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 78 | pub url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 79 | pub website: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 80 | pub twitter: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 81 | pub psn: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 82 | pub github: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 83 | pub btc: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 84 | pub location: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 85 | pub tagline: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 86 | pub bio: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 87 | pub avatar_mini: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 88 | pub avatar_normal: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 89 | pub avatar_large: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 90 | pub created: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 91 | pub last_modified: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Member` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/common/models.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Topic { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 97 | pub node: Node, [INFO] [stdout] 98 | pub member: Member, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 99 | pub last_reply_by: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 100 | pub last_touched: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub created: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 104 | pub deleted: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 105 | pub content: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 106 | pub content_rendered: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 107 | pub last_modified: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 108 | pub replies: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 109 | pub id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Topic` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SharedItem` is never constructed [INFO] [stdout] --> src/common/models.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct SharedItem { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/common/models.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 118 | impl SharedItem { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 119 | pub fn new() -> SharedItem { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_content_to_file` is never used [INFO] [stdout] --> src/common/tools.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn write_content_to_file(section_title: &str, content: &str, append: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_content_from_file` is never used [INFO] [stdout] --> src/common/tools.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn read_content_from_file() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_topics_to_file` is never used [INFO] [stdout] --> src/common/tools.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn write_topics_to_file( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `translate` is never used [INFO] [stdout] --> src/traits/ai_helper.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait AIHelper: Send + Sync { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 13 | async fn translate(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.64s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: proc-macro-error2 v2.0.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 7` [INFO] running `Command { std: "docker" "inspect" "66f47999b0644547153de44e0270f2137ac27b3e57589b86ccffb8f4f8a2bea0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66f47999b0644547153de44e0270f2137ac27b3e57589b86ccffb8f4f8a2bea0", kill_on_drop: false }` [INFO] [stdout] 66f47999b0644547153de44e0270f2137ac27b3e57589b86ccffb8f4f8a2bea0