[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] 3825017191bd5ad7e1f1cb27a5f101fcee4eb024 [INFO] testing cheedonghu/news2tg/3825017191bd5ad7e1f1cb27a5f101fcee4eb024 against beta-2024-09-05 for beta-1.82-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcheedonghu%2Fnews2tg" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cheedonghu/news2tg on toolchain beta-2024-09-05 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-09-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4-tc2/source/Cargo.toml [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" "+beta-2024-09-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-09-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 741d2f20d6065d983b4d3ba856d43c352ad752b3509501032bbff05f87aac24f [INFO] running `Command { std: "docker" "start" "-a" "741d2f20d6065d983b4d3ba856d43c352ad752b3509501032bbff05f87aac24f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "741d2f20d6065d983b4d3ba856d43c352ad752b3509501032bbff05f87aac24f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "741d2f20d6065d983b4d3ba856d43c352ad752b3509501032bbff05f87aac24f", kill_on_drop: false }` [INFO] [stdout] 741d2f20d6065d983b4d3ba856d43c352ad752b3509501032bbff05f87aac24f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-09-05" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8c27dc395993195ec5832bd2897b15c275f289abd2cd536b9a58051dd88528a [INFO] running `Command { std: "docker" "start" "-a" "d8c27dc395993195ec5832bd2897b15c275f289abd2cd536b9a58051dd88528a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling syn v2.0.63 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling prettyplease v0.2.20 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling erasable v1.2.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling dtoa v1.0.9 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling dtoa-short v0.3.4 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling selectors v0.25.0 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling anstyle-query v1.0.3 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling servo_arc v0.3.0 [INFO] [stderr] Compiling rc-box v1.2.0 [INFO] [stderr] Compiling uuid v1.8.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling unicode-width v0.1.12 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling zerocopy v0.7.34 [INFO] [stderr] Compiling takecell v0.1.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling never v0.1.0 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling ego-tree v0.6.2 [INFO] [stderr] Compiling strum v0.26.2 [INFO] [stderr] Compiling macro-utils v0.1.3 [INFO] [stderr] Compiling nu-ansi-term v0.50.1 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling minifier v0.0.41 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling prost-derive v0.13.1 [INFO] [stderr] Compiling phf_macros v0.10.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling thiserror-impl v1.0.60 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling cssparser v0.31.2 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling aquamarine v0.1.12 [INFO] [stderr] Compiling strum_macros v0.26.2 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling prost v0.13.1 [INFO] [stderr] Compiling flexi_logger v0.28.5 [INFO] [stderr] Compiling prost-types v0.13.1 [INFO] [stderr] Compiling prost-build v0.13.1 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling dptree v0.3.0 [INFO] [stderr] Compiling tonic-build v0.12.1 [INFO] [stderr] Compiling news2tg v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling tokio-util v0.6.10 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling scraper v0.19.0 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stderr] Compiling hyper-util v0.1.4 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling hyper-timeout v0.5.1 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling tonic v0.12.1 [INFO] [stderr] Compiling reqwest v0.12.4 [INFO] [stderr] Compiling teloxide-core v0.9.1 [INFO] [stderr] Compiling openai_dive v0.4.8 [INFO] [stderr] Compiling teloxide v0.12.2 [INFO] [stdout] warning: unused imports: `error`, `info`, and `warn` [INFO] [stdout] --> src/bin/client.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use log::{info, warn,error}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cleanup`, `Criterion`, `Duplicate`, `FileSpec`, `LevelFilter`, `LogSpecification`, `Logger`, `Naming`, `WriteMode`, and `detailed_format` [INFO] [stdout] --> src/bin/client.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use flexi_logger::{LogSpecification,LevelFilter, Duplicate, FileSpec, Logger, WriteMode, Criterion, Naming, Cleanup, detailed_format}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flexi_logger::LoggerHandle` [INFO] [stdout] --> src/bin/client.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use flexi_logger::LoggerHandle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap` and `env` [INFO] [stdout] --> src/bin/client.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{collections::HashMap, env}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::DateTime` [INFO] [stdout] --> src/tools.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::DateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/tools.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `css` and `js` [INFO] [stdout] --> src/tools.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use minifier::{css, js}; [INFO] [stdout] | ^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Html` and `Selector` [INFO] [stdout] --> src/tools.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use scraper::{Html, Selector}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/tools.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::{HashSet,HashMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::runtime::Runtime` [INFO] [stdout] --> src/tgclient.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::runtime::Runtime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> src/llm.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `openai_dive::v1::endpoints::chat::Chat` [INFO] [stdout] --> src/llm.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use openai_dive::v1::endpoints::chat::Chat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `openai_dive::v1::models::Gpt4Engine` [INFO] [stdout] --> src/llm.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use openai_dive::v1::models::Gpt4Engine; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::StreamExt` [INFO] [stdout] --> src/llm.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use futures::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::TryFutureExt` [INFO] [stdout] --> src/hackernews.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::TryFutureExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/hackernews.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use log::{info, error}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/hackernews.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::tgclient::{self, TgClient}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `toml::Value::Integer` [INFO] [stdout] --> src/hackernews.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use toml::Value::Integer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NaiveDateTime` and `NaiveDate` [INFO] [stdout] --> src/hackernews.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | use chrono::prelude::{NaiveDate,NaiveDateTime}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Duration as ChronoDuration` [INFO] [stdout] --> src/hackernews.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use chrono::Duration as ChronoDuration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/hackernews.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tonic::Status` [INFO] [stdout] --> src/hackernews.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use tonic::Status; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Datelike`, `Duration`, `TimeZone`, and `Timelike` [INFO] [stdout] --> src/hackernews.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | use chrono::{Datelike, Duration, Local, TimeZone, Timelike}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::MyError` [INFO] [stdout] --> src/hackernews.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::models::MyError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `news2tg::myservice::ServiceRequest` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use news2tg::myservice::ServiceRequest; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/tgclient.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | let result=self.bot.send_message(self.chat_id, message) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/tgclient.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let result=self.bot.send_message(self.chat_id, text) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_content_from_file` is never used [INFO] [stdout] --> src/tools.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn read_content_from_file() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_topics_to_file` is never used [INFO] [stdout] --> src/tools.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn write_topics_to_file(section_title: &str, topics: &[Topic], pushed_urls: &HashMap) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/models.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 25 | pub avatar_large: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 26 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 27 | pub avatar_normal: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 28 | pub title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 29 | pub url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 30 | pub topics: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 31 | pub footer: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 32 | pub header: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 33 | pub title_alternative: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | pub avatar_mini: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 35 | pub stars: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 36 | pub aliases: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 37 | pub root: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 38 | pub id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 39 | 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/models.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Member { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 45 | pub id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 46 | pub username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 47 | pub url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 48 | pub website: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 49 | pub twitter: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 50 | pub psn: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 51 | pub github: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 52 | pub btc: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 53 | pub location: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 54 | pub tagline: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 55 | pub bio: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 56 | pub avatar_mini: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 57 | pub avatar_normal: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 58 | pub avatar_large: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 59 | pub created: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 60 | 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/models.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct Topic { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 66 | pub node: Node, [INFO] [stdout] | ^^^^ [INFO] [stdout] 67 | pub member: Member, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 68 | pub last_reply_by: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 69 | pub last_touched: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub created: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 73 | pub deleted: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 74 | pub content: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 75 | pub content_rendered: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 76 | pub last_modified: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 77 | pub replies: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 78 | 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: method `client` is never used [INFO] [stdout] --> src/v2ex_client.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 19 | impl $struct_name { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | client: Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_getters` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send_telegram_message_html` is never used [INFO] [stdout] --> src/tgclient.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl TgClient { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub async fn send_telegram_message_html(&self, text: &str) -> Result<(), teloxide::RequestError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_hacker_news_new_info` and `get_hacker_news_best_info` are never used [INFO] [stdout] --> src/hackernews.rs:123:14 [INFO] [stdout] | [INFO] [stdout] 33 | impl HackerNews{ [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 123 | async fn get_hacker_news_new_info(&self) -> Result,Box>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | async fn get_hacker_news_best_info(&self) -> Result,Box>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.32s [INFO] running `Command { std: "docker" "inspect" "d8c27dc395993195ec5832bd2897b15c275f289abd2cd536b9a58051dd88528a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8c27dc395993195ec5832bd2897b15c275f289abd2cd536b9a58051dd88528a", kill_on_drop: false }` [INFO] [stdout] d8c27dc395993195ec5832bd2897b15c275f289abd2cd536b9a58051dd88528a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-09-05" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22ad095d577ee42ce3cb92b7b7f5db6a9a1df5ec19ea6a659b7dfee208738ad2 [INFO] running `Command { std: "docker" "start" "-a" "22ad095d577ee42ce3cb92b7b7f5db6a9a1df5ec19ea6a659b7dfee208738ad2", kill_on_drop: false }` [INFO] [stderr] Compiling news2tg v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `error`, `info`, and `warn` [INFO] [stdout] --> src/bin/client.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use log::{info, warn,error}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cleanup`, `Criterion`, `Duplicate`, `FileSpec`, `LevelFilter`, `LogSpecification`, `Logger`, `Naming`, `WriteMode`, and `detailed_format` [INFO] [stdout] --> src/bin/client.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use flexi_logger::{LogSpecification,LevelFilter, Duplicate, FileSpec, Logger, WriteMode, Criterion, Naming, Cleanup, detailed_format}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flexi_logger::LoggerHandle` [INFO] [stdout] --> src/bin/client.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use flexi_logger::LoggerHandle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap` and `env` [INFO] [stdout] --> src/bin/client.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{collections::HashMap, env}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::DateTime` [INFO] [stdout] --> src/tools.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::DateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/tools.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `css` and `js` [INFO] [stdout] --> src/tools.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use minifier::{css, js}; [INFO] [stdout] | ^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Html` and `Selector` [INFO] [stdout] --> src/tools.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use scraper::{Html, Selector}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/tools.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::{HashSet,HashMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::runtime::Runtime` [INFO] [stdout] --> src/tgclient.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::runtime::Runtime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> src/llm.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `openai_dive::v1::endpoints::chat::Chat` [INFO] [stdout] --> src/llm.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use openai_dive::v1::endpoints::chat::Chat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `openai_dive::v1::models::Gpt4Engine` [INFO] [stdout] --> src/llm.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use openai_dive::v1::models::Gpt4Engine; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::StreamExt` [INFO] [stdout] --> src/llm.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use futures::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::TryFutureExt` [INFO] [stdout] --> src/hackernews.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::TryFutureExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/hackernews.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use log::{info, error}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/hackernews.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::tgclient::{self, TgClient}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `toml::Value::Integer` [INFO] [stdout] --> src/hackernews.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use toml::Value::Integer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NaiveDateTime` and `NaiveDate` [INFO] [stdout] --> src/hackernews.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | use chrono::prelude::{NaiveDate,NaiveDateTime}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Duration as ChronoDuration` [INFO] [stdout] --> src/hackernews.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use chrono::Duration as ChronoDuration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/hackernews.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tonic::Status` [INFO] [stdout] --> src/hackernews.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use tonic::Status; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Datelike`, `Duration`, `TimeZone`, and `Timelike` [INFO] [stdout] --> src/hackernews.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | use chrono::{Datelike, Duration, Local, TimeZone, Timelike}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::MyError` [INFO] [stdout] --> src/hackernews.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::models::MyError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `news2tg::myservice::ServiceRequest` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use news2tg::myservice::ServiceRequest; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/tgclient.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | let result=self.bot.send_message(self.chat_id, message) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/tgclient.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let result=self.bot.send_message(self.chat_id, text) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_content_from_file` is never used [INFO] [stdout] --> src/tools.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn read_content_from_file() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_topics_to_file` is never used [INFO] [stdout] --> src/tools.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn write_topics_to_file(section_title: &str, topics: &[Topic], pushed_urls: &HashMap) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/models.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 25 | pub avatar_large: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 26 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 27 | pub avatar_normal: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 28 | pub title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 29 | pub url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 30 | pub topics: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 31 | pub footer: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 32 | pub header: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 33 | pub title_alternative: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | pub avatar_mini: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 35 | pub stars: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 36 | pub aliases: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 37 | pub root: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 38 | pub id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 39 | 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/models.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Member { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 45 | pub id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 46 | pub username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 47 | pub url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 48 | pub website: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 49 | pub twitter: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 50 | pub psn: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 51 | pub github: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 52 | pub btc: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 53 | pub location: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 54 | pub tagline: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 55 | pub bio: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 56 | pub avatar_mini: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 57 | pub avatar_normal: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 58 | pub avatar_large: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 59 | pub created: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 60 | 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/models.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct Topic { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 66 | pub node: Node, [INFO] [stdout] | ^^^^ [INFO] [stdout] 67 | pub member: Member, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 68 | pub last_reply_by: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 69 | pub last_touched: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub created: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 73 | pub deleted: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 74 | pub content: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 75 | pub content_rendered: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 76 | pub last_modified: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 77 | pub replies: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 78 | 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: method `client` is never used [INFO] [stdout] --> src/v2ex_client.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 19 | impl $struct_name { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | client: Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_getters` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send_telegram_message_html` is never used [INFO] [stdout] --> src/tgclient.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl TgClient { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub async fn send_telegram_message_html(&self, text: &str) -> Result<(), teloxide::RequestError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_hacker_news_new_info` and `get_hacker_news_best_info` are never used [INFO] [stdout] --> src/hackernews.rs:123:14 [INFO] [stdout] | [INFO] [stdout] 33 | impl HackerNews{ [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 123 | async fn get_hacker_news_new_info(&self) -> Result,Box>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | async fn get_hacker_news_best_info(&self) -> Result,Box>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error`, `info`, and `warn` [INFO] [stdout] --> src/bin/client.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use log::{info, warn,error}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cleanup`, `Criterion`, `Duplicate`, `FileSpec`, `LevelFilter`, `LogSpecification`, `Logger`, `Naming`, `WriteMode`, and `detailed_format` [INFO] [stdout] --> src/bin/client.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use flexi_logger::{LogSpecification,LevelFilter, Duplicate, FileSpec, Logger, WriteMode, Criterion, Naming, Cleanup, detailed_format}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flexi_logger::LoggerHandle` [INFO] [stdout] --> src/bin/client.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use flexi_logger::LoggerHandle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap` and `env` [INFO] [stdout] --> src/bin/client.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{collections::HashMap, env}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::DateTime` [INFO] [stdout] --> src/tools.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::DateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/tools.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `css` and `js` [INFO] [stdout] --> src/tools.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use minifier::{css, js}; [INFO] [stdout] | ^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Html` and `Selector` [INFO] [stdout] --> src/tools.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use scraper::{Html, Selector}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/tools.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::{HashSet,HashMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Result` [INFO] [stdout] --> src/tools.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | use std::io::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tools::*` [INFO] [stdout] --> src/tools.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | use crate::tools::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> src/llm.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `openai_dive::v1::endpoints::chat::Chat` [INFO] [stdout] --> src/llm.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use openai_dive::v1::endpoints::chat::Chat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `openai_dive::v1::models::Gpt4Engine` [INFO] [stdout] --> src/llm.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use openai_dive::v1::models::Gpt4Engine; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::StreamExt` [INFO] [stdout] --> src/llm.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use futures::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/llm.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::TryFutureExt` [INFO] [stdout] --> src/hackernews.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::TryFutureExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/hackernews.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use log::{info, error}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/hackernews.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::tgclient::{self, TgClient}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `toml::Value::Integer` [INFO] [stdout] --> src/hackernews.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use toml::Value::Integer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NaiveDateTime` and `NaiveDate` [INFO] [stdout] --> src/hackernews.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | use chrono::prelude::{NaiveDate,NaiveDateTime}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Duration as ChronoDuration` [INFO] [stdout] --> src/hackernews.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use chrono::Duration as ChronoDuration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/hackernews.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tonic::Status` [INFO] [stdout] --> src/hackernews.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use tonic::Status; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Datelike`, `Duration`, `TimeZone`, and `Timelike` [INFO] [stdout] --> src/hackernews.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | use chrono::{Datelike, Duration, Local, TimeZone, Timelike}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::MyError` [INFO] [stdout] --> src/hackernews.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::models::MyError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::*` [INFO] [stdout] --> src/hackernews.rs:255:9 [INFO] [stdout] | [INFO] [stdout] 255 | use crate::models::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tgclient::*` [INFO] [stdout] --> src/hackernews.rs:256:9 [INFO] [stdout] | [INFO] [stdout] 256 | use crate::tgclient::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tools` [INFO] [stdout] --> src/hackernews.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | use crate::tools; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::v2ex_client::*` [INFO] [stdout] --> src/hackernews.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | use crate::v2ex_client::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `news2tg::myservice::ServiceRequest` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use news2tg::myservice::ServiceRequest; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/tgclient.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | let result=self.bot.send_message(self.chat_id, message) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/tgclient.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let result=self.bot.send_message(self.chat_id, text) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `title` [INFO] [stdout] --> src/tgclient.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | let title=String::from("测试title"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_title` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_topics_to_file` is never used [INFO] [stdout] --> src/tools.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn write_topics_to_file(section_title: &str, topics: &[Topic], pushed_urls: &HashMap) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/models.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 25 | pub avatar_large: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 26 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 27 | pub avatar_normal: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 28 | pub title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 29 | pub url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 30 | pub topics: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 31 | pub footer: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 32 | pub header: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 33 | pub title_alternative: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | pub avatar_mini: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 35 | pub stars: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 36 | pub aliases: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 37 | pub root: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 38 | pub id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 39 | 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/models.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Member { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 45 | pub id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 46 | pub username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 47 | pub url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 48 | pub website: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 49 | pub twitter: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 50 | pub psn: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 51 | pub github: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 52 | pub btc: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 53 | pub location: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 54 | pub tagline: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 55 | pub bio: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 56 | pub avatar_mini: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 57 | pub avatar_normal: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 58 | pub avatar_large: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 59 | pub created: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 60 | 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/models.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct Topic { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 66 | pub node: Node, [INFO] [stdout] | ^^^^ [INFO] [stdout] 67 | pub member: Member, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 68 | pub last_reply_by: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 69 | pub last_touched: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub created: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 73 | pub deleted: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 74 | pub content: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 75 | pub content_rendered: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 76 | pub last_modified: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 77 | pub replies: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 78 | 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: method `client` is never used [INFO] [stdout] --> src/v2ex_client.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 19 | impl $struct_name { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | client: Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_getters` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send_telegram_message_html` is never used [INFO] [stdout] --> src/tgclient.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl TgClient { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub async fn send_telegram_message_html(&self, text: &str) -> Result<(), teloxide::RequestError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_hacker_news_new_info` and `get_hacker_news_best_info` are never used [INFO] [stdout] --> src/hackernews.rs:123:14 [INFO] [stdout] | [INFO] [stdout] 33 | impl HackerNews{ [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 123 | async fn get_hacker_news_new_info(&self) -> Result,Box>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | async fn get_hacker_news_best_info(&self) -> Result,Box>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 13.55s [INFO] running `Command { std: "docker" "inspect" "22ad095d577ee42ce3cb92b7b7f5db6a9a1df5ec19ea6a659b7dfee208738ad2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22ad095d577ee42ce3cb92b7b7f5db6a9a1df5ec19ea6a659b7dfee208738ad2", kill_on_drop: false }` [INFO] [stdout] 22ad095d577ee42ce3cb92b7b7f5db6a9a1df5ec19ea6a659b7dfee208738ad2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-09-05" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5eb13ca7b18372eec20df7a017fc36279ea462fea63f774060a9d5cd11715c86 [INFO] running `Command { std: "docker" "start" "-a" "5eb13ca7b18372eec20df7a017fc36279ea462fea63f774060a9d5cd11715c86", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `error`, `info`, and `warn` [INFO] [stderr] --> src/bin/client.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | use log::{info, warn,error}; [INFO] [stderr] | ^^^^ ^^^^ ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Cleanup`, `Criterion`, `Duplicate`, `FileSpec`, `LevelFilter`, `LogSpecification`, `Logger`, `Naming`, `WriteMode`, and `detailed_format` [INFO] [stderr] --> src/bin/client.rs:6:20 [INFO] [stderr] | [INFO] [stderr] 6 | use flexi_logger::{LogSpecification,LevelFilter, Duplicate, FileSpec, Logger, WriteMode, Criterion, Naming, Cleanup, detailed_format}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `flexi_logger::LoggerHandle` [INFO] [stderr] --> src/bin/client.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use flexi_logger::LoggerHandle; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `collections::HashMap` and `env` [INFO] [stderr] --> src/bin/client.rs:8:11 [INFO] [stderr] | [INFO] [stderr] 8 | use std::{collections::HashMap, env}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `chrono::DateTime` [INFO] [stderr] --> src/tools.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use chrono::DateTime; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `regex::Regex` [INFO] [stderr] --> src/tools.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use regex::Regex; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `css` and `js` [INFO] [stderr] --> src/tools.rs:5:16 [INFO] [stderr] | [INFO] [stderr] 5 | use minifier::{css, js}; [INFO] [stderr] | ^^^ ^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Html` and `Selector` [INFO] [stderr] --> src/tools.rs:6:15 [INFO] [stderr] | [INFO] [stderr] 6 | use scraper::{Html, Selector}; [INFO] [stderr] | ^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `HashSet` [INFO] [stderr] --> src/tools.rs:7:24 [INFO] [stderr] | [INFO] [stderr] 7 | use std::collections::{HashSet,HashMap}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::Result` [INFO] [stderr] --> src/tools.rs:249:9 [INFO] [stderr] | [INFO] [stderr] 249 | use std::io::Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::tools::*` [INFO] [stderr] --> src/tools.rs:251:9 [INFO] [stderr] | [INFO] [stderr] 251 | use crate::tools::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `log::info` [INFO] [stderr] --> src/llm.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use log::info; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `openai_dive::v1::endpoints::chat::Chat` [INFO] [stderr] --> src/llm.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use openai_dive::v1::endpoints::chat::Chat; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `openai_dive::v1::models::Gpt4Engine` [INFO] [stderr] --> src/llm.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use openai_dive::v1::models::Gpt4Engine; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures::StreamExt` [INFO] [stderr] --> src/llm.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use futures::StreamExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::*` [INFO] [stderr] --> src/llm.rs:88:9 [INFO] [stderr] | [INFO] [stderr] 88 | use super::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures::TryFutureExt` [INFO] [stderr] --> src/hackernews.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use futures::TryFutureExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `info` [INFO] [stderr] --> src/hackernews.rs:4:11 [INFO] [stderr] | [INFO] [stderr] 4 | use log::{info, error}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/hackernews.rs:7:23 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::tgclient::{self, TgClient}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `toml::Value::Integer` [INFO] [stderr] --> src/hackernews.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use toml::Value::Integer; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `NaiveDateTime` and `NaiveDate` [INFO] [stderr] --> src/hackernews.rs:12:23 [INFO] [stderr] | [INFO] [stderr] 12 | use chrono::prelude::{NaiveDate,NaiveDateTime}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `chrono::Duration as ChronoDuration` [INFO] [stderr] --> src/hackernews.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use chrono::Duration as ChronoDuration; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::cmp::Ordering` [INFO] [stderr] --> src/hackernews.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use std::cmp::Ordering; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tonic::Status` [INFO] [stderr] --> src/hackernews.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | use tonic::Status; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Datelike`, `Duration`, `TimeZone`, and `Timelike` [INFO] [stderr] --> src/hackernews.rs:19:14 [INFO] [stderr] | [INFO] [stderr] 19 | use chrono::{Datelike, Duration, Local, TimeZone, Timelike}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::models::MyError` [INFO] [stderr] --> src/hackernews.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | use crate::models::MyError; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::models::*` [INFO] [stderr] --> src/hackernews.rs:255:9 [INFO] [stderr] | [INFO] [stderr] 255 | use crate::models::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::tgclient::*` [INFO] [stderr] --> src/hackernews.rs:256:9 [INFO] [stderr] | [INFO] [stderr] 256 | use crate::tgclient::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::tools` [INFO] [stderr] --> src/hackernews.rs:257:9 [INFO] [stderr] | [INFO] [stderr] 257 | use crate::tools; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::v2ex_client::*` [INFO] [stderr] --> src/hackernews.rs:258:9 [INFO] [stderr] | [INFO] [stderr] 258 | use crate::v2ex_client::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `news2tg::myservice::ServiceRequest` [INFO] [stderr] --> src/main.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | use news2tg::myservice::ServiceRequest; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `result` [INFO] [stderr] --> src/tgclient.rs:39:17 [INFO] [stderr] | [INFO] [stderr] 39 | let result=self.bot.send_message(self.chat_id, message) [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `result` [INFO] [stderr] --> src/tgclient.rs:24:13 [INFO] [stderr] | [INFO] [stderr] 24 | let result=self.bot.send_message(self.chat_id, text) [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `title` [INFO] [stderr] --> src/tgclient.rs:81:17 [INFO] [stderr] | [INFO] [stderr] 81 | let title=String::from("测试title"); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_title` [INFO] [stderr] [INFO] [stderr] warning: function `write_topics_to_file` is never used [INFO] [stderr] --> src/tools.rs:61:8 [INFO] [stderr] | [INFO] [stderr] 61 | pub fn write_topics_to_file(section_title: &str, topics: &[Topic], pushed_urls: &HashMap) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/models.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 24 | pub struct Node { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] 25 | pub avatar_large: Option, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 26 | pub name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 27 | pub avatar_normal: Option, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 28 | pub title: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 29 | pub url: String, [INFO] [stderr] | ^^^ [INFO] [stderr] 30 | pub topics: u64, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 31 | pub footer: Option, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 32 | pub header: Option, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 33 | pub title_alternative: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 34 | pub avatar_mini: Option, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 35 | pub stars: u64, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 36 | pub aliases: Vec, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 37 | pub root: bool, [INFO] [stderr] | ^^^^ [INFO] [stderr] 38 | pub id: u64, [INFO] [stderr] | ^^ [INFO] [stderr] 39 | pub parent_node_name: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/models.rs:45:9 [INFO] [stderr] | [INFO] [stderr] 44 | pub struct Member { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 45 | pub id: u64, [INFO] [stderr] | ^^ [INFO] [stderr] 46 | pub username: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 47 | pub url: String, [INFO] [stderr] | ^^^ [INFO] [stderr] 48 | pub website: Option, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 49 | pub twitter: Option, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 50 | pub psn: Option, [INFO] [stderr] | ^^^ [INFO] [stderr] 51 | pub github: Option, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 52 | pub btc: Option, [INFO] [stderr] | ^^^ [INFO] [stderr] 53 | pub location: Option, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 54 | pub tagline: Option, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 55 | pub bio: Option, [INFO] [stderr] | ^^^ [INFO] [stderr] 56 | pub avatar_mini: Option, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 57 | pub avatar_normal: Option, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 58 | pub avatar_large: Option, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 59 | pub created: u64, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 60 | pub last_modified: u64, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Member` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/models.rs:66:9 [INFO] [stderr] | [INFO] [stderr] 65 | pub struct Topic { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] 66 | pub node: Node, [INFO] [stderr] | ^^^^ [INFO] [stderr] 67 | pub member: Member, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 68 | pub last_reply_by: Option, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 69 | pub last_touched: u64, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 72 | pub created: u64, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 73 | pub deleted: u64, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 74 | pub content: Option, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 75 | pub content_rendered: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 76 | pub last_modified: u64, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 77 | pub replies: u64, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 78 | pub id: u64, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `Topic` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `client` is never used [INFO] [stderr] --> src/v2ex_client.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 19 | impl $struct_name { [INFO] [stderr] | ----------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 32 | client: Client, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `create_getters` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: method `send_telegram_message_html` is never used [INFO] [stderr] --> src/tgclient.rs:49:18 [INFO] [stderr] | [INFO] [stderr] 13 | impl TgClient { [INFO] [stderr] | ------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 49 | pub async fn send_telegram_message_html(&self, text: &str) -> Result<(), teloxide::RequestError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `get_hacker_news_new_info` and `get_hacker_news_best_info` are never used [INFO] [stderr] --> src/hackernews.rs:123:14 [INFO] [stderr] | [INFO] [stderr] 33 | impl HackerNews{ [INFO] [stderr] | --------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 123 | async fn get_hacker_news_new_info(&self) -> Result,Box>{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 135 | async fn get_hacker_news_best_info(&self) -> Result,Box>{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::runtime::Runtime` [INFO] [stderr] --> src/tgclient.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use tokio::runtime::Runtime; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `read_content_from_file` is never used [INFO] [stderr] --> src/tools.rs:53:8 [INFO] [stderr] | [INFO] [stderr] 53 | pub fn read_content_from_file() -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `write_topics_to_file` is never used [INFO] [stderr] --> src/tools.rs:61:8 [INFO] [stderr] | [INFO] [stderr] 61 | pub fn write_topics_to_file(section_title: &str, topics: &[Topic], pushed_urls: &HashMap) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `news2tg` (bin "client" test) generated 4 warnings (run `cargo fix --bin "client" --tests` to apply 4 suggestions) [INFO] [stderr] warning: `news2tg` (bin "news2tg" test) generated 37 warnings (run `cargo fix --bin "news2tg" --tests` to apply 27 suggestions) [INFO] [stderr] warning: `news2tg` (bin "news2tg") generated 31 warnings (28 duplicates) (run `cargo fix --bin "news2tg"` to apply 1 suggestion) [INFO] [stderr] warning: `news2tg` (bin "client") generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.58s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/news2tg-fffab96cd9c0d789) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/client.rs (/opt/rustwide/target/debug/deps/client-29192fe3f2fb47cd) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/news2tg-d28a1f05cc54450a) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test tgclient::tests::test_escape ... FAILED [INFO] [stdout] test hackernews::tests::test_all ... FAILED [INFO] [stdout] test tgclient::tests::test_send_telegram_message ... FAILED [INFO] [stdout] test llm::tests::test_llm ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tgclient::tests::test_escape stdout ---- [INFO] [stdout] thread 'tgclient::tests::test_escape' panicked at src/config.rs:52:51: [INFO] [stdout] Failed to read config file: Os { code: 2, kind: NotFound, message: "No such file or directory" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5e1526da4faa - std::backtrace_rs::backtrace::libunwind::trace::h9ce576133d3ff57c [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x5e1526da4faa - std::backtrace_rs::backtrace::trace_unsynchronized::h77316b33bca73147 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5e1526da4faa - std::sys::backtrace::_print_fmt::haa182cb1ad45bc9f [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5e1526da4faa - ::fmt::ha95eeb186e57c055 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5e1526dcfdbb - core::fmt::rt::Argument::fmt::h71240792b23d8aa6 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x5e1526dcfdbb - core::fmt::write::h1c4d59c42453601a [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/fmt/mod.rs:1178:21 [INFO] [stdout] 6: 0x5e1526da1633 - std::io::Write::write_fmt::h08b6f2062a09bc68 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/io/mod.rs:1823:15 [INFO] [stdout] 7: 0x5e1526da67b2 - std::sys::backtrace::BacktraceLock::print::hb66718c44668eb56 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x5e1526da67b2 - std::panicking::default_hook::{{closure}}::h1a6c150385aaf90f [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:266:22 [INFO] [stdout] 9: 0x5e1526da62f3 - std::panicking::default_hook::h5e8a75844aa4ea98 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:290:9 [INFO] [stdout] 10: 0x5e15264b10e9 - as core::ops::function::Fn>::call::h6ee94b0b846f4546 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/alloc/src/boxed.rs:2245:9 [INFO] [stdout] 11: 0x5e15264b10e9 - test::test_main::{{closure}}::hccc1c379f17b5ca1 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/test/src/lib.rs:132:21 [INFO] [stdout] 12: 0x5e1526da7072 - as core::ops::function::Fn>::call::h8b15e23d52a5df89 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/alloc/src/boxed.rs:2245:9 [INFO] [stdout] 13: 0x5e1526da7072 - std::panicking::rust_panic_with_hook::hea686c8750159a85 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:805:13 [INFO] [stdout] 14: 0x5e1526da6d27 - std::panicking::begin_panic_handler::{{closure}}::hfd69333fda29d50a [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:671:13 [INFO] [stdout] 15: 0x5e1526da5489 - std::sys::backtrace::__rust_end_short_backtrace::hb7c23c01c3c70e35 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/sys/backtrace.rs:170:18 [INFO] [stdout] 16: 0x5e1526da69b4 - rust_begin_unwind [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:662:5 [INFO] [stdout] 17: 0x5e152618b443 - core::panicking::panic_fmt::h43de95d595ebabc0 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/panicking.rs:74:14 [INFO] [stdout] 18: 0x5e152618b9f6 - core::result::unwrap_failed::hb08d23940033af31 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/result.rs:1677:5 [INFO] [stdout] 19: 0x5e152626eb44 - core::result::Result::expect::h5963b13404feefcf [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/result.rs:1059:23 [INFO] [stdout] 20: 0x5e152646aafb - news2tg::config::Config::from_file::h2c20cc8605c41e3c [INFO] [stdout] at /opt/rustwide/workdir/src/config.rs:52:26 [INFO] [stdout] 21: 0x5e1526447aaa - news2tg::tgclient::tests::test_escape::h964a567b68999fd0 [INFO] [stdout] at /opt/rustwide/workdir/src/tgclient.rs:97:22 [INFO] [stdout] 22: 0x5e1526447a67 - news2tg::tgclient::tests::test_escape::{{closure}}::he657342db26c3db5 [INFO] [stdout] at /opt/rustwide/workdir/src/tgclient.rs:96:25 [INFO] [stdout] 23: 0x5e15263160c6 - core::ops::function::FnOnce::call_once::h0820891a893faf67 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5e15264b5a5b - core::ops::function::FnOnce::call_once::h9b5e01539a2850c9 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5e15264b5a5b - test::__rust_begin_short_backtrace::hfa35fd69df7e11a6 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/test/src/lib.rs:620:18 [INFO] [stdout] 26: 0x5e15264b52d8 - test::run_test_in_process::{{closure}}::he6acc04e3f33efba [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/test/src/lib.rs:643:60 [INFO] [stdout] 27: 0x5e15264b52d8 - as core::ops::function::FnOnce<()>>::call_once::h9ed0882d7a8705d4 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x5e15264b52d8 - std::panicking::try::do_call::hb4e1060b1206bf1d [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:554:40 [INFO] [stdout] 29: 0x5e15264b52d8 - std::panicking::try::he7301d205c111379 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:518:19 [INFO] [stdout] 30: 0x5e15264b52d8 - std::panic::catch_unwind::h6c993e01d18171db [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panic.rs:345:14 [INFO] [stdout] 31: 0x5e15264b52d8 - test::run_test_in_process::h39faa778a589c8b3 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/test/src/lib.rs:643:27 [INFO] [stdout] 32: 0x5e15264b52d8 - test::run_test::{{closure}}::h59e32a442f6c7a1c [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/test/src/lib.rs:564:43 [INFO] [stdout] 33: 0x5e152647a6a4 - test::run_test::{{closure}}::h6615d2e57f7516c2 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/test/src/lib.rs:594:41 [INFO] [stdout] 34: 0x5e152647a6a4 - std::sys::backtrace::__rust_begin_short_backtrace::h761da13b6d71bc61 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/sys/backtrace.rs:154:18 [INFO] [stdout] 35: 0x5e152647dd52 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::haa82f2052ad87664 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/thread/mod.rs:522:17 [INFO] [stdout] 36: 0x5e152647dd52 - as core::ops::function::FnOnce<()>>::call_once::h709672ecbcc3758b [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x5e152647dd52 - std::panicking::try::do_call::hb005a67f6fd9e082 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:554:40 [INFO] [stdout] 38: 0x5e152647dd52 - std::panicking::try::hec02b24e35e6ab47 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:518:19 [INFO] [stdout] 39: 0x5e152647dd52 - std::panic::catch_unwind::h13617efa0948dabc [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panic.rs:345:14 [INFO] [stdout] 40: 0x5e152647dd52 - std::thread::Builder::spawn_unchecked_::{{closure}}::hb4a56c6b32a8e045 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/thread/mod.rs:521:30 [INFO] [stdout] 41: 0x5e152647dd52 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h26d01bfaffaa945b [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5e1526dab8bb - as core::ops::function::FnOnce>::call_once::hbe8e1ebf83e6794e [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/alloc/src/boxed.rs:2231:9 [INFO] [stdout] 43: 0x5e1526dab8bb - as core::ops::function::FnOnce>::call_once::h7d6ff770e6bfeff7 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/alloc/src/boxed.rs:2231:9 [INFO] [stdout] 44: 0x5e1526dab8bb - std::sys::pal::unix::thread::Thread::new::thread_start::h68792b09799a7d87 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/sys/pal/unix/thread.rs:105:17 [INFO] [stdout] 45: 0x713661266ac3 - [INFO] [stdout] 46: 0x7136612f7a04 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- hackernews::tests::test_all stdout ---- [INFO] [stdout] thread 'hackernews::tests::test_all' panicked at src/config.rs:52:51: [INFO] [stdout] Failed to read config file: Os { code: 2, kind: NotFound, message: "No such file or directory" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5e1526da4faa - std::backtrace_rs::backtrace::libunwind::trace::h9ce576133d3ff57c [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x5e1526da4faa - std::backtrace_rs::backtrace::trace_unsynchronized::h77316b33bca73147 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5e1526da4faa - std::sys::backtrace::_print_fmt::haa182cb1ad45bc9f [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5e1526da4faa - ::fmt::ha95eeb186e57c055 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5e1526dcfdbb - core::fmt::rt::Argument::fmt::h71240792b23d8aa6 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x5e1526dcfdbb - core::fmt::write::h1c4d59c42453601a [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/fmt/mod.rs:1178:21 [INFO] [stdout] 6: 0x5e1526da1633 - std::io::Write::write_fmt::h08b6f2062a09bc68 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/io/mod.rs:1823:15 [INFO] [stdout] 7: 0x5e1526da67b2 - std::sys::backtrace::BacktraceLock::print::hb66718c44668eb56 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x5e1526da67b2 - std::panicking::default_hook::{{closure}}::h1a6c150385aaf90f [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:266:22 [INFO] [stdout] 9: 0x5e1526da62f3 - std::panicking::default_hook::h5e8a75844aa4ea98 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:290:9 [INFO] [stdout] 10: 0x5e15264b10e9 - as core::ops::function::Fn>::call::h6ee94b0b846f4546 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/alloc/src/boxed.rs:2245:9 [INFO] [stdout] 11: 0x5e15264b10e9 - test::test_main::{{closure}}::hccc1c379f17b5ca1 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/test/src/lib.rs:132:21 [INFO] [stdout] 12: 0x5e1526da7072 - as core::ops::function::Fn>::call::h8b15e23d52a5df89 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/alloc/src/boxed.rs:2245:9 [INFO] [stdout] 13: 0x5e1526da7072 - std::panicking::rust_panic_with_hook::hea686c8750159a85 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:805:13 [INFO] [stdout] 14: 0x5e1526da6d27 - std::panicking::begin_panic_handler::{{closure}}::hfd69333fda29d50a [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:671:13 [INFO] [stdout] 15: 0x5e1526da5489 - std::sys::backtrace::__rust_end_short_backtrace::hb7c23c01c3c70e35 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/sys/backtrace.rs:170:18 [INFO] [stdout] 16: 0x5e1526da69b4 - rust_begin_unwind [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:662:5 [INFO] [stdout] 17: 0x5e152618b443 - core::panicking::panic_fmt::h43de95d595ebabc0 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/panicking.rs:74:14 [INFO] [stdout] 18: 0x5e152618b9f6 - core::result::unwrap_failed::hb08d23940033af31 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/result.rs:1677:5 [INFO] [stdout] 19: 0x5e152626eb44 - core::result::Result::expect::h5963b13404feefcf [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/result.rs:1059:23 [INFO] [stdout] 20: 0x5e152646aafb - news2tg::config::Config::from_file::h2c20cc8605c41e3c [INFO] [stdout] at /opt/rustwide/workdir/src/config.rs:52:26 [INFO] [stdout] 21: 0x5e152635d22a - news2tg::hackernews::tests::test_all::{{closure}}::h7966ef1bcf8e8db7 [INFO] [stdout] at /opt/rustwide/workdir/src/hackernews.rs:271:22 [INFO] [stdout] 22: 0x5e15263c4a2f - as core::future::future::Future>::poll::h9d9cc745f5b17f2a [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/future/future.rs:123:9 [INFO] [stdout] 23: 0x5e15263c48cb - as core::future::future::Future>::poll::h2ae310e5802f2ccd [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/future/future.rs:123:9 [INFO] [stdout] 24: 0x5e15262d096e - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::h133508e4c9107b01 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:659:57 [INFO] [stdout] 25: 0x5e15262d02e5 - tokio::runtime::coop::with_budget::h0bb61eeb32fa3119 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/coop.rs:107:5 [INFO] [stdout] 26: 0x5e15262d02e5 - tokio::runtime::coop::budget::h300991d9f2165707 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/coop.rs:73:5 [INFO] [stdout] 27: 0x5e15262d02e5 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::h2a8f50b989aa546a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:659:25 [INFO] [stdout] 28: 0x5e15262ca73d - tokio::runtime::scheduler::current_thread::Context::enter::h20bb849a3cb71ea3 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:404:19 [INFO] [stdout] 29: 0x5e15262ce86e - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::h4a12999fee13ba16 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:658:36 [INFO] [stdout] 30: 0x5e15262cdacb - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::h691cf437f1409461 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:737:68 [INFO] [stdout] 31: 0x5e15262a6dca - tokio::runtime::context::scoped::Scoped::set::h13aecdddbe320757 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/context/scoped.rs:40:9 [INFO] [stdout] 32: 0x5e15263ed4ba - tokio::runtime::context::set_scheduler::{{closure}}::h3a7d77a7cbb8bbb4 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/context.rs:176:26 [INFO] [stdout] 33: 0x5e15263bf22a - std::thread::local::LocalKey::try_with::h029fc9319ea5263c [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/thread/local.rs:283:12 [INFO] [stdout] 34: 0x5e15263becec - std::thread::local::LocalKey::with::h49c111e087ff0164 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/thread/local.rs:260:9 [INFO] [stdout] 35: 0x5e15263ed461 - tokio::runtime::context::set_scheduler::hc249ffeb1f68ecce [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/context.rs:176:9 [INFO] [stdout] 36: 0x5e15262cd7fe - tokio::runtime::scheduler::current_thread::CoreGuard::enter::heecb630a1f4cd314 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:737:27 [INFO] [stdout] 37: 0x5e15262cdc91 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::he8b262983271d3ad [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:646:19 [INFO] [stdout] 38: 0x5e15262c9aa0 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::hec08729b21d9a5c6 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:175:28 [INFO] [stdout] 39: 0x5e1526467002 - tokio::runtime::context::runtime::enter_runtime::hbc9a232f8d3f64e1 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/context/runtime.rs:65:16 [INFO] [stdout] 40: 0x5e15262c91b7 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::hdcaa788f449d9e6a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:167:9 [INFO] [stdout] 41: 0x5e152637a7af - tokio::runtime::runtime::Runtime::block_on::hc7343c86e9fe9421 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/runtime.rs:349:47 [INFO] [stdout] 42: 0x5e152635d072 - news2tg::hackernews::tests::test_all::h3c6f6cfe294f2748 [INFO] [stdout] at /opt/rustwide/workdir/src/hackernews.rs:297:9 [INFO] [stdout] 43: 0x5e152635cf07 - news2tg::hackernews::tests::test_all::{{closure}}::h72b9ffd6108064b5 [INFO] [stdout] at /opt/rustwide/workdir/src/hackernews.rs:270:28 [INFO] [stdout] 44: 0x5e1526316df6 - core::ops::function::FnOnce::call_once::h3e9e6b51c4fd1c71 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 45: 0x5e15264b5a5b - core::ops::function::FnOnce::call_once::h9b5e01539a2850c9 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 46: 0x5e15264b5a5b - test::__rust_begin_short_backtrace::hfa35fd69df7e11a6 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/test/src/lib.rs:620:18 [INFO] [stdout] 47: 0x5e15264b52d8 - test::run_test_in_process::{{closure}}::he6acc04e3f33efba [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/test/src/lib.rs:643:60 [INFO] [stdout] 48: 0x5e15264b52d8 - as core::ops::function::FnOnce<()>>::call_once::h9ed0882d7a8705d4 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 49: 0x5e15264b52d8 - std::panicking::try::do_call::hb4e1060b1206bf1d [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:554:40 [INFO] [stdout] 50: 0x5e15264b52d8 - std::panicking::try::he7301d205c111379 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:518:19 [INFO] [stdout] 51: 0x5e15264b52d8 - std::panic::catch_unwind::h6c993e01d18171db [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panic.rs:345:14 [INFO] [stdout] 52: 0x5e15264b52d8 - test::run_test_in_process::h39faa778a589c8b3 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/test/src/lib.rs:643:27 [INFO] [stdout] 53: 0x5e15264b52d8 - test::run_test::{{closure}}::h59e32a442f6c7a1c [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/test/src/lib.rs:564:43 [INFO] [stdout] 54: 0x5e152647a6a4 - test::run_test::{{closure}}::h6615d2e57f7516c2 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/test/src/lib.rs:594:41 [INFO] [stdout] 55: 0x5e152647a6a4 - std::sys::backtrace::__rust_begin_short_backtrace::h761da13b6d71bc61 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/sys/backtrace.rs:154:18 [INFO] [stdout] 56: 0x5e152647dd52 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::haa82f2052ad87664 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/thread/mod.rs:522:17 [INFO] [stdout] 57: 0x5e152647dd52 - as core::ops::function::FnOnce<()>>::call_once::h709672ecbcc3758b [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 58: 0x5e152647dd52 - std::panicking::try::do_call::hb005a67f6fd9e082 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:554:40 [INFO] [stdout] 59: 0x5e152647dd52 - std::panicking::try::hec02b24e35e6ab47 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:518:19 [INFO] [stdout] 60: 0x5e152647dd52 - std::panic::catch_unwind::h13617efa0948dabc [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panic.rs:345:14 [INFO] [stdout] 61: 0x5e152647dd52 - std::thread::Builder::spawn_unchecked_::{{closure}}::hb4a56c6b32a8e045 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/thread/mod.rs:521:30 [INFO] [stdout] 62: 0x5e152647dd52 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h26d01bfaffaa945b [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 63: 0x5e1526dab8bb - as core::ops::function::FnOnce>::call_once::hbe8e1ebf83e6794e [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/alloc/src/boxed.rs:2231:9 [INFO] [stdout] 64: 0x5e1526dab8bb - as core::ops::function::FnOnce>::call_once::h7d6ff770e6bfeff7 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/alloc/src/boxed.rs:2231:9 [INFO] [stdout] 65: 0x5e1526dab8bb - std::sys::pal::unix::thread::Thread::new::thread_start::h68792b09799a7d87 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/sys/pal/unix/thread.rs:105:17 [INFO] [stdout] 66: 0x713661266ac3 - [INFO] [stdout] 67: 0x7136612f7a04 - clone [INFO] [stdout] 68: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tgclient::tests::test_send_telegram_message stdout ---- [INFO] [stdout] thread 'tgclient::tests::test_send_telegram_message' panicked at src/tgclient.rs:75:69: [INFO] [stdout] Invalid chat ID: ParseIntError { kind: InvalidDigit } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5e1526da4faa - std::backtrace_rs::backtrace::libunwind::trace::h9ce576133d3ff57c [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x5e1526da4faa - std::backtrace_rs::backtrace::trace_unsynchronized::h77316b33bca73147 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5e1526da4faa - std::sys::backtrace::_print_fmt::haa182cb1ad45bc9f [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5e1526da4faa - ::fmt::ha95eeb186e57c055 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5e1526dcfdbb - core::fmt::rt::Argument::fmt::h71240792b23d8aa6 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x5e1526dcfdbb - core::fmt::write::h1c4d59c42453601a [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/fmt/mod.rs:1178:21 [INFO] [stdout] 6: 0x5e1526da1633 - std::io::Write::write_fmt::h08b6f2062a09bc68 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/io/mod.rs:1823:15 [INFO] [stdout] 7: 0x5e1526da67b2 - std::sys::backtrace::BacktraceLock::print::hb66718c44668eb56 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x5e1526da67b2 - std::panicking::default_hook::{{closure}}::h1a6c150385aaf90f [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:266:22 [INFO] [stdout] 9: 0x5e1526da62f3 - std::panicking::default_hook::h5e8a75844aa4ea98 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:290:9 [INFO] [stdout] 10: 0x5e15264b10e9 - as core::ops::function::Fn>::call::h6ee94b0b846f4546 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/alloc/src/boxed.rs:2245:9 [INFO] [stdout] 11: 0x5e15264b10e9 - test::test_main::{{closure}}::hccc1c379f17b5ca1 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/test/src/lib.rs:132:21 [INFO] [stdout] 12: 0x5e1526da7072 - as core::ops::function::Fn>::call::h8b15e23d52a5df89 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/alloc/src/boxed.rs:2245:9 [INFO] [stdout] 13: 0x5e1526da7072 - std::panicking::rust_panic_with_hook::hea686c8750159a85 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:805:13 [INFO] [stdout] 14: 0x5e1526da6d27 - std::panicking::begin_panic_handler::{{closure}}::hfd69333fda29d50a [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:671:13 [INFO] [stdout] 15: 0x5e1526da5489 - std::sys::backtrace::__rust_end_short_backtrace::hb7c23c01c3c70e35 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/sys/backtrace.rs:170:18 [INFO] [stdout] 16: 0x5e1526da69b4 - rust_begin_unwind [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:662:5 [INFO] [stdout] 17: 0x5e152618b443 - core::panicking::panic_fmt::h43de95d595ebabc0 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/panicking.rs:74:14 [INFO] [stdout] 18: 0x5e152618b9f6 - core::result::unwrap_failed::hb08d23940033af31 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/result.rs:1677:5 [INFO] [stdout] 19: 0x5e152626eec2 - core::result::Result::expect::he29034e914631f79 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/result.rs:1059:23 [INFO] [stdout] 20: 0x5e15264473a4 - news2tg::tgclient::tests::test_send_telegram_message::heb629e8fb184f61d [INFO] [stdout] at /opt/rustwide/workdir/src/tgclient.rs:75:30 [INFO] [stdout] 21: 0x5e15264472a7 - news2tg::tgclient::tests::test_send_telegram_message::{{closure}}::ha9acb77b1d9fc833 [INFO] [stdout] at /opt/rustwide/workdir/src/tgclient.rs:72:40 [INFO] [stdout] 22: 0x5e15263188b6 - core::ops::function::FnOnce::call_once::ha1c964697969d0fc [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x5e15264b5a5b - core::ops::function::FnOnce::call_once::h9b5e01539a2850c9 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5e15264b5a5b - test::__rust_begin_short_backtrace::hfa35fd69df7e11a6 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/test/src/lib.rs:620:18 [INFO] [stdout] 25: 0x5e15264b52d8 - test::run_test_in_process::{{closure}}::he6acc04e3f33efba [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/test/src/lib.rs:643:60 [INFO] [stdout] 26: 0x5e15264b52d8 - as core::ops::function::FnOnce<()>>::call_once::h9ed0882d7a8705d4 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x5e15264b52d8 - std::panicking::try::do_call::hb4e1060b1206bf1d [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:554:40 [INFO] [stdout] 28: 0x5e15264b52d8 - std::panicking::try::he7301d205c111379 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:518:19 [INFO] [stdout] 29: 0x5e15264b52d8 - std::panic::catch_unwind::h6c993e01d18171db [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panic.rs:345:14 [INFO] [stdout] 30: 0x5e15264b52d8 - test::run_test_in_process::h39faa778a589c8b3 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/test/src/lib.rs:643:27 [INFO] [stdout] 31: 0x5e15264b52d8 - test::run_test::{{closure}}::h59e32a442f6c7a1c [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/test/src/lib.rs:564:43 [INFO] [stdout] 32: 0x5e152647a6a4 - test::run_test::{{closure}}::h6615d2e57f7516c2 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/test/src/lib.rs:594:41 [INFO] [stdout] 33: 0x5e152647a6a4 - std::sys::backtrace::__rust_begin_short_backtrace::h761da13b6d71bc61 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/sys/backtrace.rs:154:18 [INFO] [stdout] 34: 0x5e152647dd52 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::haa82f2052ad87664 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/thread/mod.rs:522:17 [INFO] [stdout] 35: 0x5e152647dd52 - as core::ops::function::FnOnce<()>>::call_once::h709672ecbcc3758b [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x5e152647dd52 - std::panicking::try::do_call::hb005a67f6fd9e082 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:554:40 [INFO] [stdout] 37: 0x5e152647dd52 - std::panicking::try::hec02b24e35e6ab47 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:518:19 [INFO] [stdout] 38: 0x5e152647dd52 - std::panic::catch_unwind::h13617efa0948dabc [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panic.rs:345:14 [INFO] [stdout] 39: 0x5e152647dd52 - std::thread::Builder::spawn_unchecked_::{{closure}}::hb4a56c6b32a8e045 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/thread/mod.rs:521:30 [INFO] [stdout] 40: 0x5e152647dd52 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h26d01bfaffaa945b [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x5e1526dab8bb - as core::ops::function::FnOnce>::call_once::hbe8e1ebf83e6794e [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/alloc/src/boxed.rs:2231:9 [INFO] [stdout] 42: 0x5e1526dab8bb - as core::ops::function::FnOnce>::call_once::h7d6ff770e6bfeff7 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/alloc/src/boxed.rs:2231:9 [INFO] [stdout] 43: 0x5e1526dab8bb - std::sys::pal::unix::thread::Thread::new::thread_start::h68792b09799a7d87 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/sys/pal/unix/thread.rs:105:17 [INFO] [stdout] 44: 0x713661266ac3 - [INFO] [stdout] 45: 0x7136612f7a04 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- llm::tests::test_llm stdout ---- [INFO] [stdout] thread 'llm::tests::test_llm' panicked at src/llm.rs:116:56: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5e1526da4faa - std::backtrace_rs::backtrace::libunwind::trace::h9ce576133d3ff57c [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x5e1526da4faa - std::backtrace_rs::backtrace::trace_unsynchronized::h77316b33bca73147 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5e1526da4faa - std::sys::backtrace::_print_fmt::haa182cb1ad45bc9f [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5e1526da4faa - ::fmt::ha95eeb186e57c055 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5e1526dcfdbb - core::fmt::rt::Argument::fmt::h71240792b23d8aa6 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x5e1526dcfdbb - core::fmt::write::h1c4d59c42453601a [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/fmt/mod.rs:1178:21 [INFO] [stdout] 6: 0x5e1526da1633 - std::io::Write::write_fmt::h08b6f2062a09bc68 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/io/mod.rs:1823:15 [INFO] [stdout] 7: 0x5e1526da67b2 - std::sys::backtrace::BacktraceLock::print::hb66718c44668eb56 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x5e1526da67b2 - std::panicking::default_hook::{{closure}}::h1a6c150385aaf90f [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:266:22 [INFO] [stdout] 9: 0x5e1526da62f3 - std::panicking::default_hook::h5e8a75844aa4ea98 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:290:9 [INFO] [stdout] 10: 0x5e15264b10e9 - as core::ops::function::Fn>::call::h6ee94b0b846f4546 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/alloc/src/boxed.rs:2245:9 [INFO] [stdout] 11: 0x5e15264b10e9 - test::test_main::{{closure}}::hccc1c379f17b5ca1 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/test/src/lib.rs:132:21 [INFO] [stdout] 12: 0x5e1526da7072 - as core::ops::function::Fn>::call::h8b15e23d52a5df89 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/alloc/src/boxed.rs:2245:9 [INFO] [stdout] 13: 0x5e1526da7072 - std::panicking::rust_panic_with_hook::hea686c8750159a85 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:805:13 [INFO] [stdout] 14: 0x5e1526da6d27 - std::panicking::begin_panic_handler::{{closure}}::hfd69333fda29d50a [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:671:13 [INFO] [stdout] 15: 0x5e1526da5489 - std::sys::backtrace::__rust_end_short_backtrace::hb7c23c01c3c70e35 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/sys/backtrace.rs:170:18 [INFO] [stdout] 16: 0x5e1526da69b4 - rust_begin_unwind [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:662:5 [INFO] [stdout] 17: 0x5e152618b443 - core::panicking::panic_fmt::h43de95d595ebabc0 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/panicking.rs:74:14 [INFO] [stdout] 18: 0x5e152618b9f6 - core::result::unwrap_failed::hb08d23940033af31 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/result.rs:1677:5 [INFO] [stdout] 19: 0x5e15263ab7bf - core::result::Result::unwrap::h44c78e6bc1ecdd2b [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/result.rs:1102:23 [INFO] [stdout] 20: 0x5e15263ab7bf - news2tg::llm::tests::test_llm::{{closure}}::h23b9a848a459b06c [INFO] [stdout] at /opt/rustwide/workdir/src/llm.rs:116:28 [INFO] [stdout] 21: 0x5e15262c8e3f - tokio::runtime::park::CachedParkThread::block_on::{{closure}}::h7eafce63e232b0f0 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/park.rs:281:63 [INFO] [stdout] 22: 0x5e15262c82d6 - tokio::runtime::coop::with_budget::hb0cdabb7ca3c65da [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/coop.rs:107:5 [INFO] [stdout] 23: 0x5e15262c82d6 - tokio::runtime::coop::budget::h79253f32890555dd [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/coop.rs:73:5 [INFO] [stdout] 24: 0x5e15262c82d6 - tokio::runtime::park::CachedParkThread::block_on::hcf0bf3fccb594d4e [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/park.rs:281:31 [INFO] [stdout] 25: 0x5e1526306df5 - tokio::runtime::context::blocking::BlockingRegionGuard::block_on::h5b8a99c601b952f6 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/context/blocking.rs:66:9 [INFO] [stdout] 26: 0x5e152643b468 - tokio::runtime::scheduler::multi_thread::MultiThread::block_on::{{closure}}::h34a07f198c6b5016 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/multi_thread/mod.rs:87:13 [INFO] [stdout] 27: 0x5e15264673db - tokio::runtime::context::runtime::enter_runtime::hcb9c4cc0639b39bb [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/context/runtime.rs:65:16 [INFO] [stdout] 28: 0x5e152643b423 - tokio::runtime::scheduler::multi_thread::MultiThread::block_on::hda838629d3d08dd7 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/multi_thread/mod.rs:86:9 [INFO] [stdout] 29: 0x5e152637a25a - tokio::runtime::runtime::Runtime::block_on::h20637e64302ec21c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/runtime.rs:351:45 [INFO] [stdout] 30: 0x5e15263ab582 - news2tg::llm::tests::test_llm::hbe2d7a707db344fb [INFO] [stdout] at /opt/rustwide/workdir/src/llm.rs:110:9 [INFO] [stdout] 31: 0x5e15263ab3a7 - news2tg::llm::tests::test_llm::{{closure}}::hf498c712da73a64d [INFO] [stdout] at /opt/rustwide/workdir/src/llm.rs:100:22 [INFO] [stdout] 32: 0x5e1526319f26 - core::ops::function::FnOnce::call_once::hf0e80cd8a828b5da [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 33: 0x5e15264b5a5b - core::ops::function::FnOnce::call_once::h9b5e01539a2850c9 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 34: 0x5e15264b5a5b - test::__rust_begin_short_backtrace::hfa35fd69df7e11a6 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/test/src/lib.rs:620:18 [INFO] [stdout] 35: 0x5e15264b52d8 - test::run_test_in_process::{{closure}}::he6acc04e3f33efba [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/test/src/lib.rs:643:60 [INFO] [stdout] 36: 0x5e15264b52d8 - as core::ops::function::FnOnce<()>>::call_once::h9ed0882d7a8705d4 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x5e15264b52d8 - std::panicking::try::do_call::hb4e1060b1206bf1d [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:554:40 [INFO] [stdout] 38: 0x5e15264b52d8 - std::panicking::try::he7301d205c111379 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:518:19 [INFO] [stdout] 39: 0x5e15264b52d8 - std::panic::catch_unwind::h6c993e01d18171db [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panic.rs:345:14 [INFO] [stdout] 40: 0x5e15264b52d8 - test::run_test_in_process::h39faa778a589c8b3 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/test/src/lib.rs:643:27 [INFO] [stdout] 41: 0x5e15264b52d8 - test::run_test::{{closure}}::h59e32a442f6c7a1c [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/test/src/lib.rs:564:43 [INFO] [stdout] 42: 0x5e152647a6a4 - test::run_test::{{closure}}::h6615d2e57f7516c2 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/test/src/lib.rs:594:41 [INFO] [stdout] 43: 0x5e152647a6a4 - std::sys::backtrace::__rust_begin_short_backtrace::h761da13b6d71bc61 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/sys/backtrace.rs:154:18 [INFO] [stdout] 44: 0x5e152647dd52 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::haa82f2052ad87664 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/thread/mod.rs:522:17 [INFO] [stdout] 45: 0x5e152647dd52 - as core::ops::function::FnOnce<()>>::call_once::h709672ecbcc3758b [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 46: 0x5e152647dd52 - std::panicking::try::do_call::hb005a67f6fd9e082 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:554:40 [INFO] [stdout] 47: 0x5e152647dd52 - std::panicking::try::hec02b24e35e6ab47 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:518:19 [INFO] [stdout] 48: 0x5e152647dd52 - std::panic::catch_unwind::h13617efa0948dabc [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panic.rs:345:14 [INFO] [stdout] 49: 0x5e152647dd52 - std::thread::Builder::spawn_unchecked_::{{closure}}::hb4a56c6b32a8e045 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/thread/mod.rs:521:30 [INFO] [stdout] 50: 0x5e152647dd52 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h26d01bfaffaa945b [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 51: 0x5e1526dab8bb - as core::ops::function::FnOnce>::call_once::hbe8e1ebf83e6794e [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/alloc/src/boxed.rs:2231:9 [INFO] [stdout] 52: 0x5e1526dab8bb - as core::ops::function::FnOnce>::call_once::h7d6ff770e6bfeff7 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/alloc/src/boxed.rs:2231:9 [INFO] [stdout] 53: 0x5e1526dab8bb - std::sys::pal::unix::thread::Thread::new::thread_start::h68792b09799a7d87 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/sys/pal/unix/thread.rs:105:17 [INFO] [stdout] 54: 0x713661266ac3 - [INFO] [stdout] 55: 0x7136612f7a04 - clone [INFO] [stdout] 56: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] hackernews::tests::test_all [INFO] [stdout] llm::tests::test_llm [INFO] [stdout] tgclient::tests::test_escape [INFO] [stdout] tgclient::tests::test_send_telegram_message [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin news2tg` [INFO] running `Command { std: "docker" "inspect" "5eb13ca7b18372eec20df7a017fc36279ea462fea63f774060a9d5cd11715c86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5eb13ca7b18372eec20df7a017fc36279ea462fea63f774060a9d5cd11715c86", kill_on_drop: false }` [INFO] [stdout] 5eb13ca7b18372eec20df7a017fc36279ea462fea63f774060a9d5cd11715c86