[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#ff647322379c48947c196639599067665ff9eb88 for pr-151539-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcheedonghu%2Fnews2tg" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-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-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/cheedonghu/news2tg on toolchain ff647322379c48947c196639599067665ff9eb88
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff647322379c48947c196639599067665ff9eb88" "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" "+ff647322379c48947c196639599067665ff9eb88" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded teloxide v0.12.2
[INFO] [stderr]   Downloaded takecell v0.1.1
[INFO] [stderr]   Downloaded tokio-util v0.6.10
[INFO] [stderr]   Downloaded serde_with_macros v1.5.2
[INFO] [stderr]   Downloaded rc-box v1.3.0
[INFO] [stderr]   Downloaded never v0.1.0
[INFO] [stderr]   Downloaded erasable v1.3.0
[INFO] [stderr]   Downloaded proc-macro2 v1.0.97
[INFO] [stderr]   Downloaded uuid v1.18.0
[INFO] [stderr]   Downloaded io-uring v0.7.9
[INFO] [stderr]   Downloaded servo_arc v0.3.0
[INFO] [stderr]   Downloaded dptree v0.3.0
[INFO] [stderr]   Downloaded phf_codegen v0.10.0
[INFO] [stderr]   Downloaded cc v1.2.32
[INFO] [stderr]   Downloaded scraper v0.19.1
[INFO] [stderr]   Downloaded dtoa v1.0.10
[INFO] [stderr]   Downloaded string_cache_codegen v0.5.4
[INFO] [stderr]   Downloaded ego-tree v0.6.3
[INFO] [stderr]   Downloaded cssparser v0.31.2
[INFO] [stderr]   Downloaded getopts v0.2.23
[INFO] [stderr]   Downloaded serde_json v1.0.142
[INFO] [stderr]   Downloaded selectors v0.25.0
[INFO] [stderr]   Downloaded html5ever v0.27.0
[INFO] [stderr]   Downloaded markup5ever v0.12.1
[INFO] [stderr]   Downloaded getset v0.1.6
[INFO] [stderr]   Downloaded teloxide-core v0.9.1
[INFO] [stderr]   Downloaded openai_dive v0.4.9
[INFO] [stderr]   Downloaded clap_derive v4.5.45
[INFO] [stderr]   Downloaded minifier v0.0.41
[INFO] [stderr]   Downloaded macro-utils v0.1.3
[INFO] [stderr]   Downloaded clap v4.5.45
[INFO] [stderr]   Downloaded aquamarine v0.1.12
[INFO] [stderr]   Downloaded clap_builder v4.5.44
[INFO] [stderr]   Downloaded flexi_logger v0.28.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f4f2a7319a163b4bbc73597987842103b8296da6c9b1fb66a18f57028f424291
[INFO] running `Command { std: "docker" "start" "f4f2a7319a163b4bbc73597987842103b8296da6c9b1fb66a18f57028f424291", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f4f2a7319a163b4bbc73597987842103b8296da6c9b1fb66a18f57028f424291" "/opt/rustwide/cargo-home/bin/cargo" "+ff647322379c48947c196639599067665ff9eb88" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f4f2a7319a163b4bbc73597987842103b8296da6c9b1fb66a18f57028f424291", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f4f2a7319a163b4bbc73597987842103b8296da6c9b1fb66a18f57028f424291" "/opt/rustwide/cargo-home/bin/cargo" "+ff647322379c48947c196639599067665ff9eb88" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.97
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]     Checking cfg-if v1.0.1
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]     Checking bytes v1.10.1
[INFO] [stderr]    Compiling zerocopy v0.8.26
[INFO] [stderr]     Checking memchr v2.7.5
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]     Checking tracing-core v0.1.34
[INFO] [stderr]    Compiling cc v1.2.32
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]     Checking log v0.4.27
[INFO] [stderr]     Checking hashbrown v0.15.5
[INFO] [stderr]     Checking bitflags v2.9.1
[INFO] [stderr]     Checking litemap v0.8.0
[INFO] [stderr]     Checking writeable v0.6.1
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]     Checking http v1.3.1
[INFO] [stderr]     Checking ipnet v2.11.0
[INFO] [stderr]     Checking phf_shared v0.11.3
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling serde_json v1.0.142
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]     Checking new_debug_unreachable v1.0.6
[INFO] [stderr]    Compiling phf_shared v0.10.0
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]    Compiling erasable v1.3.0
[INFO] [stderr]     Checking precomputed-hash v0.1.1
[INFO] [stderr]     Checking mac v0.1.1
[INFO] [stderr]     Checking indexmap v2.10.0
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]    Compiling anyhow v1.0.99
[INFO] [stderr]     Checking futf v0.1.5
[INFO] [stderr]     Checking dtoa v1.0.10
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking iana-time-zone v0.1.63
[INFO] [stderr]     Checking anstyle-parse v0.2.7
[INFO] [stderr]     Checking dtoa-short v0.3.5
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]     Checking chrono v0.4.41
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking tendril v0.4.3
[INFO] [stderr]     Checking signal-hook-registry v1.4.6
[INFO] [stderr]     Checking socket2 v0.6.0
[INFO] [stderr]     Checking mio v1.0.4
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking parking_lot v0.12.4
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling itertools v0.14.0
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]     Checking colorchoice v1.0.4
[INFO] [stderr]     Checking anstyle v1.0.11
[INFO] [stderr]     Checking iri-string v0.7.8
[INFO] [stderr]     Checking anstyle-query v1.1.4
[INFO] [stderr]     Checking fxhash v0.2.1
[INFO] [stderr]     Checking rustls-pki-types v1.12.0
[INFO] [stderr]     Checking uuid v1.18.0
[INFO] [stderr]     Checking anstream v0.6.20
[INFO] [stderr]     Checking phf v0.10.1
[INFO] [stderr]     Checking rc-box v1.3.0
[INFO] [stderr]    Compiling proc-macro-error-attr2 v2.0.0
[INFO] [stderr]    Compiling itertools v0.9.0
[INFO] [stderr]     Checking servo_arc v0.3.0
[INFO] [stderr]     Checking take_mut v0.2.2
[INFO] [stderr]     Checking unicode-width v0.2.1
[INFO] [stderr]     Checking clap_lex v0.7.5
[INFO] [stderr]     Checking strsim v0.11.1
[INFO] [stderr]     Checking takecell v0.1.1
[INFO] [stderr]     Checking never v0.1.0
[INFO] [stderr]     Checking getopts v0.2.23
[INFO] [stderr]     Checking ego-tree v0.6.3
[INFO] [stderr]     Checking macro-utils v0.1.3
[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]    Compiling openssl-sys v0.9.109
[INFO] [stderr]     Checking minifier v0.0.41
[INFO] [stderr]     Checking clap_builder v4.5.44
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling phf_generator v0.11.3
[INFO] [stderr]    Compiling phf_generator v0.10.0
[INFO] [stderr]    Compiling string_cache_codegen v0.5.4
[INFO] [stderr]    Compiling phf_codegen v0.11.3
[INFO] [stderr]    Compiling phf_codegen v0.10.0
[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 proc-macro-error v1.0.4
[INFO] [stderr]    Compiling aquamarine v0.1.12
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling proc-macro-error2 v2.0.1
[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 derive_more v0.99.20
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling cssparser-macros v0.6.1
[INFO] [stderr]    Compiling html5ever v0.27.0
[INFO] [stderr]     Checking tokio v1.47.1
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]     Checking phf v0.11.3
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking cssparser v0.31.2
[INFO] [stderr]    Compiling prost-derive v0.13.5
[INFO] [stderr]     Checking pin-project v1.1.10
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]    Compiling clap_derive v4.5.45
[INFO] [stderr]    Compiling getset v0.1.6
[INFO] [stderr]     Checking async-stream v0.3.6
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking flexi_logger v0.28.5
[INFO] [stderr]    Compiling darling_macro v0.13.4
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.8.0
[INFO] [stderr]    Compiling darling v0.13.4
[INFO] [stderr]    Compiling serde_with_macros v1.5.2
[INFO] [stderr]     Checking zerovec v0.11.4
[INFO] [stderr]     Checking zerotrie v0.2.2
[INFO] [stderr]     Checking prost v0.13.5
[INFO] [stderr]     Checking clap v4.5.45
[INFO] [stderr]     Checking tinystr v0.8.1
[INFO] [stderr]     Checking potential_utf v0.1.2
[INFO] [stderr]     Checking icu_locale_core v2.0.0
[INFO] [stderr]     Checking icu_collections v2.0.0
[INFO] [stderr]     Checking icu_provider v2.0.0
[INFO] [stderr]     Checking icu_properties v2.0.1
[INFO] [stderr]     Checking icu_normalizer 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 idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.0.3
[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 url v2.5.4
[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 tower-http v0.6.6
[INFO] [stderr]     Checking h2 v0.4.12
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking axum v0.7.9
[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: 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<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 57 |     pub name: String,
[INFO] [stdout] 58 |     pub avatar_normal: Option<String>,
[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<String>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 63 |     pub header: Option<String>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 64 |     pub title_alternative: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 65 |     pub avatar_mini: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 66 |     pub stars: u64,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 67 |     pub aliases: Vec<String>,
[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<String>,
[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<String>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 80 |     pub twitter: Option<String>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 81 |     pub psn: Option<String>,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 82 |     pub github: Option<String>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 83 |     pub btc: Option<String>,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 84 |     pub location: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 85 |     pub tagline: Option<String>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 86 |     pub bio: Option<String>,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 87 |     pub avatar_mini: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 88 |     pub avatar_normal: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 89 |     pub avatar_large: Option<String>,
[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<String>,
[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<String>,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout] 106 |     pub content_rendered: Option<String>,
[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<String> {
[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<Self::Output, News2tgError>;
[INFO] [stdout]    |              ^^^^^^^^^
[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<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 57 |     pub name: String,
[INFO] [stdout] 58 |     pub avatar_normal: Option<String>,
[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<String>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 63 |     pub header: Option<String>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 64 |     pub title_alternative: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 65 |     pub avatar_mini: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 66 |     pub stars: u64,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 67 |     pub aliases: Vec<String>,
[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<String>,
[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<String>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 80 |     pub twitter: Option<String>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 81 |     pub psn: Option<String>,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 82 |     pub github: Option<String>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 83 |     pub btc: Option<String>,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 84 |     pub location: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 85 |     pub tagline: Option<String>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 86 |     pub bio: Option<String>,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 87 |     pub avatar_mini: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 88 |     pub avatar_normal: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 89 |     pub avatar_large: Option<String>,
[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<String>,
[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<String>,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout] 106 |     pub content_rendered: Option<String>,
[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<String> {
[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<Self::Output, News2tgError>;
[INFO] [stdout]    |              ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 20s
[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 1`
[INFO] running `Command { std: "docker" "inspect" "f4f2a7319a163b4bbc73597987842103b8296da6c9b1fb66a18f57028f424291", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f4f2a7319a163b4bbc73597987842103b8296da6c9b1fb66a18f57028f424291", kill_on_drop: false }`
[INFO] [stdout] f4f2a7319a163b4bbc73597987842103b8296da6c9b1fb66a18f57028f424291
