[INFO] cloning repository https://github.com/0124212/memogram-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0124212/memogram-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0124212%2Fmemogram-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0124212%2Fmemogram-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1e5597bd3c6f3677bd8c05c9493b433b7f2e58c6 [INFO] checking 0124212/memogram-rs against 895980e0290783bb09b1ccf1b11f14eb09b10430 for pr-160186 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0124212%2Fmemogram-rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/0124212/memogram-rs [INFO] finished tweaking git repo https://github.com/0124212/memogram-rs [INFO] tweaked toml for git repo https://github.com/0124212/memogram-rs written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/0124212/memogram-rs on toolchain 895980e0290783bb09b1ccf1b11f14eb09b10430 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/0124212/memogram-rs 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" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 5cacdf27419f20a092c7f2103ae7221a85bdde0caf2d43d70dbac8701f04a77a [INFO] running `Command { std: "docker" "start" "5cacdf27419f20a092c7f2103ae7221a85bdde0caf2d43d70dbac8701f04a77a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5cacdf27419f20a092c7f2103ae7221a85bdde0caf2d43d70dbac8701f04a77a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5cacdf27419f20a092c7f2103ae7221a85bdde0caf2d43d70dbac8701f04a77a" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5cacdf27419f20a092c7f2103ae7221a85bdde0caf2d43d70dbac8701f04a77a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5cacdf27419f20a092c7f2103ae7221a85bdde0caf2d43d70dbac8701f04a77a" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.107 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling quote v1.0.47 [INFO] [stderr] Compiling libc v0.2.189 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Checking smallvec v1.15.2 [INFO] [stderr] Checking pin-project-lite v0.2.17 [INFO] [stderr] Compiling find-msvc-tools v0.1.11 [INFO] [stderr] Compiling shlex v2.0.1 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Checking futures-core v0.3.34 [INFO] [stderr] Checking memchr v2.8.3 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking bytes v1.12.1 [INFO] [stderr] Compiling cc v1.4.4 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Checking futures-sink v0.3.34 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Checking futures-channel v0.3.34 [INFO] [stderr] Checking itoa v1.0.18 [INFO] [stderr] Checking futures-io v0.3.34 [INFO] [stderr] Checking litemap v0.8.3 [INFO] [stderr] Compiling serde_core v1.0.229 [INFO] [stderr] Checking writeable v0.6.4 [INFO] [stderr] Checking futures-task v0.3.34 [INFO] [stderr] Checking slab v0.4.12 [INFO] [stderr] Checking once_cell v1.21.4 [INFO] [stderr] Compiling icu_properties_data v2.3.0 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Compiling autocfg v1.5.1 [INFO] [stderr] Compiling icu_normalizer_data v2.3.0 [INFO] [stderr] Checking http v1.5.0 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking zeroize v1.9.0 [INFO] [stderr] Compiling object v0.39.1 [INFO] [stderr] Compiling syn v2.0.119 [INFO] [stderr] Compiling syn v3.0.4 [INFO] [stderr] Checking rustls-pki-types v1.15.1 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking socket2 v0.6.5 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking mio v1.2.2 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking http-body v1.1.0 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling serde v1.0.229 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling rustls v0.23.43 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling zmij v1.0.23 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling unicase v2.9.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling erasable v1.3.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling getrandom v0.4.3 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking ipnet v2.12.1 [INFO] [stderr] Compiling serde_json v1.0.151 [INFO] [stderr] Compiling zerocopy v0.8.56 [INFO] [stderr] Checking log v0.4.34 [INFO] [stderr] Compiling stacker v0.1.25 [INFO] [stderr] Checking webpki-roots v1.0.9 [INFO] [stderr] Checking aho-corasick v1.1.5 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking ryu v1.0.23 [INFO] [stderr] Checking bitflags v2.13.1 [INFO] [stderr] Checking regex-syntax v0.8.11 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling thiserror v2.0.20 [INFO] [stderr] Checking http-body-util v0.1.5 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Checking iana-time-zone v0.1.65 [INFO] [stderr] Compiling either v1.18.0 [INFO] [stderr] Checking bytemuck v1.25.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking rgb v0.8.53 [INFO] [stderr] Checking regex-automata v0.4.18 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking rustls-webpki v0.103.15 [INFO] [stderr] Compiling darling_core v0.23.0 [INFO] [stderr] Compiling zerovec-derive v0.11.6 [INFO] [stderr] Compiling displaydoc v0.2.7 [INFO] [stderr] Compiling tokio-macros v2.7.2 [INFO] [stderr] Compiling futures-macro v0.3.34 [INFO] [stderr] Compiling serde_derive v1.0.229 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Checking tokio v1.53.1 [INFO] [stderr] Checking futures-util v0.3.34 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Checking zerofrom v0.1.8 [INFO] [stderr] Compiling ar_archive_writer v0.5.3 [INFO] [stderr] Checking yoke v0.8.3 [INFO] [stderr] Checking zerovec v0.11.8 [INFO] [stderr] Checking tinystr v0.8.4 [INFO] [stderr] Checking potential_utf v0.1.6 [INFO] [stderr] Checking zerotrie v0.2.5 [INFO] [stderr] Checking icu_collections v2.3.0 [INFO] [stderr] Checking icu_locale_core v2.3.0 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Compiling psm v0.1.32 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Compiling serde_with_macros v3.22.0 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling pin-project-internal v1.1.13 [INFO] [stderr] Checking icu_provider v2.3.1 [INFO] [stderr] Checking icu_properties v2.3.0 [INFO] [stderr] Checking icu_normalizer v2.3.0 [INFO] [stderr] Compiling thiserror-impl v2.0.20 [INFO] [stderr] Checking futures-executor v0.3.34 [INFO] [stderr] Checking pin-project v1.1.13 [INFO] [stderr] Checking serde_with v3.22.0 [INFO] [stderr] Checking futures v0.3.34 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling include_dir v0.7.4 [INFO] [stderr] Checking chrono v0.4.45 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Checking uuid v1.26.0 [INFO] [stderr] Checking idna_adapter v1.2.2 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking rc-box v1.3.0 [INFO] [stderr] Compiling anyhow v1.0.104 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking colored v3.1.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking takecell v0.1.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Compiling teloxide-macros v0.10.0 [INFO] [stderr] Checking dptree v0.5.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling aquamarine v0.6.0 [INFO] [stderr] Checking hyper v1.11.1 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking tokio-util v0.7.19 [INFO] [stderr] Checking tokio-stream v0.1.19 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.10 [INFO] [stderr] Checking nu-ansi-term v0.50.3 [INFO] [stderr] Checking rand v0.9.5 [INFO] [stderr] Checking tower-http v0.6.11 [INFO] [stderr] Checking regex v1.13.1 [INFO] [stderr] Checking tracing-subscriber v0.3.23 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking hyper-rustls v0.27.9 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Checking teloxide-core v0.13.0 [INFO] [stderr] Checking teloxide v0.17.0 [INFO] [stderr] Checking memogram-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/main.rs:3357:36 [INFO] [stdout] | [INFO] [stdout] 3357 | let vocab_pct = if words > 0 { (complex_words as f64 / words as f64 * 100.0) } else { 0.0 }; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 3357 - let vocab_pct = if words > 0 { (complex_words as f64 / words as f64 * 100.0) } else { 0.0 }; [INFO] [stdout] 3357 + let vocab_pct = if words > 0 { complex_words as f64 / words as f64 * 100.0 } else { 0.0 }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/main.rs:3357:36 [INFO] [stdout] | [INFO] [stdout] 3357 | let vocab_pct = if words > 0 { (complex_words as f64 / words as f64 * 100.0) } else { 0.0 }; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 3357 - let vocab_pct = if words > 0 { (complex_words as f64 / words as f64 * 100.0) } else { 0.0 }; [INFO] [stdout] 3357 + let vocab_pct = if words > 0 { complex_words as f64 / words as f64 * 100.0 } else { 0.0 }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:577:9 [INFO] [stdout] | [INFO] [stdout] 577 | let mut req = match method { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:577:9 [INFO] [stdout] | [INFO] [stdout] 577 | let mut req = match method { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/main.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(BotCommands, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the derive macro `BotCommands` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::prelude` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `examples` [INFO] [stdout] --> src/main.rs:960:37 [INFO] [stdout] | [INFO] [stdout] 960 | if let Some((_, country, power, examples)) = ppp_match { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_examples` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/main.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(BotCommands, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the derive macro `BotCommands` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/main.rs:3785:14 [INFO] [stdout] | [INFO] [stdout] 3785 | for (t, (path, desc)) in &topic_map { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:1472:9 [INFO] [stdout] | [INFO] [stdout] 1472 | let name = resp["name"].as_str().unwrap_or("?"); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/main.rs:5488:36 [INFO] [stdout] | [INFO] [stdout] 5488 | async fn fetch_therapy(args: &str, app: &App) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arxiv_id` [INFO] [stdout] --> src/main.rs:3244:17 [INFO] [stdout] | [INFO] [stdout] 3244 | let arxiv_id = id.split("/abs/").last().unwrap_or(id); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arxiv_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `date` [INFO] [stdout] --> src/main.rs:5933:9 [INFO] [stdout] | [INFO] [stdout] 5933 | let date = Local::now().format("%Y-%m-%d").to_string(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_date` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url_regex` [INFO] [stdout] --> src/main.rs:5651:9 [INFO] [stdout] | [INFO] [stdout] 5651 | let url_regex = regex::Regex::new(r"https?://[^\s\)]+").unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_url_regex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hours` [INFO] [stdout] --> src/main.rs:3427:13 [INFO] [stdout] | [INFO] [stdout] 3427 | let hours = diff.num_hours(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hours` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/main.rs:3582:34 [INFO] [stdout] | [INFO] [stdout] 3582 | for (_, end, m) in &matches { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scenario` [INFO] [stdout] --> src/main.rs:5105:9 [INFO] [stdout] | [INFO] [stdout] 5105 | let scenario = if args.trim().is_empty() { "A 45-year-old patient refuses a life-saving blood transfusion on religious grounds... [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scenario` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `firecrawl_key` is never read [INFO] [stdout] --> src/main.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 99 | struct App { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 111 | firecrawl_key: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `App` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vikunja_complete_task` is never used [INFO] [stdout] --> src/main.rs:628:10 [INFO] [stdout] | [INFO] [stdout] 628 | async fn vikunja_complete_task(vikunja_url: &str, token: &str, task_id: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/main.rs:713:8 [INFO] [stdout] | [INFO] [stdout] 710 | impl Md { [INFO] [stdout] | ------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 713 | fn h1(mut self, text: &str) -> Self { self.lines.push(format!("# {}", text)); self } [INFO] [stdout] | ^^ [INFO] [stdout] 714 | fn h2(mut self, text: &str) -> Self { self.lines.push(format!("## {}", text)); self } [INFO] [stdout] 715 | fn h3(mut self, text: &str) -> Self { self.lines.push(format!("### {}", text)); self } [INFO] [stdout] | ^^ [INFO] [stdout] 716 | fn h4(mut self, text: &str) -> Self { self.lines.push(format!("#### {}", text)); self } [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 723 | fn pi_num(mut self, key: &str, val: T) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 728 | fn bullet(mut self, text: &str) -> Self { self.lines.push(format!("- {}", text)); self } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 729 | fn bullet_bold(mut self, key: &str, val: &str) -> Self { self.lines.push(format!("- **{}**: {}", key, val)); self } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 730 | fn numbered(mut self, n: usize, text: &str) -> Self { self.lines.push(format!("{}. {}", n, text)); self } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 733 | fn hr(mut self) -> Self { self.lines.push(String::new()); self.lines.push("---".into()); self.lines.push(String::new()); self } [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 741 | fn quote(mut self, text: &str) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 767 | fn table_md(mut self, headers: &[&str], rows: &[Vec]) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 778 | fn push_fmt(mut self, s: String) -> Self { self.lines.push(s); self } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 781 | fn build_trunc(self, max: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_tags` is never used [INFO] [stdout] --> src/main.rs:1238:10 [INFO] [stdout] | [INFO] [stdout] 1238 | async fn fetch_tags(memos_url: &str, token: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_recent` is never used [INFO] [stdout] --> src/main.rs:1262:10 [INFO] [stdout] | [INFO] [stdout] 1262 | async fn fetch_recent(memos_url: &str, token: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_nutrition` is never used [INFO] [stdout] --> src/main.rs:2282:10 [INFO] [stdout] | [INFO] [stdout] 2282 | async fn fetch_nutrition(query: &str, api_key: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_income` is never used [INFO] [stdout] --> src/main.rs:3120:4 [INFO] [stdout] | [INFO] [stdout] 3120 | fn create_income(args: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_transcribe` is never used [INFO] [stdout] --> src/main.rs:3297:4 [INFO] [stdout] | [INFO] [stdout] 3297 | fn create_transcribe(text: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_timestamp` is never used [INFO] [stdout] --> src/main.rs:3396:4 [INFO] [stdout] | [INFO] [stdout] 3396 | fn create_timestamp(args: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_ports` is never used [INFO] [stdout] --> src/main.rs:3472:4 [INFO] [stdout] | [INFO] [stdout] 3472 | fn create_ports() -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_json` is never used [INFO] [stdout] --> src/main.rs:3511:4 [INFO] [stdout] | [INFO] [stdout] 3511 | fn create_json(text: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_regex` is never used [INFO] [stdout] --> src/main.rs:3547:4 [INFO] [stdout] | [INFO] [stdout] 3547 | fn create_regex(args: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_weekly` is never used [INFO] [stdout] --> src/main.rs:4358:10 [INFO] [stdout] | [INFO] [stdout] 4358 | async fn fetch_weekly(memos_url: &str, token: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_retro` is never used [INFO] [stdout] --> src/main.rs:4414:4 [INFO] [stdout] | [INFO] [stdout] 4414 | fn create_retro(args: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_lab` is never used [INFO] [stdout] --> src/main.rs:4842:4 [INFO] [stdout] | [INFO] [stdout] 4842 | fn create_lab(args: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_prereqs` is never used [INFO] [stdout] --> src/main.rs:4873:4 [INFO] [stdout] | [INFO] [stdout] 4873 | fn create_prereqs(args: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_clinical` is never used [INFO] [stdout] --> src/main.rs:5049:4 [INFO] [stdout] | [INFO] [stdout] 5049 | fn create_clinical(args: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_shadow` is never used [INFO] [stdout] --> src/main.rs:5077:4 [INFO] [stdout] | [INFO] [stdout] 5077 | fn create_shadow(args: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_ethics` is never used [INFO] [stdout] --> src/main.rs:5102:4 [INFO] [stdout] | [INFO] [stdout] 5102 | fn create_ethics(args: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vikunja_priority` is never used [INFO] [stdout] --> src/main.rs:5990:10 [INFO] [stdout] | [INFO] [stdout] 5990 | async fn vikunja_priority(args: &str, app: &App) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::prelude` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `examples` [INFO] [stdout] --> src/main.rs:960:37 [INFO] [stdout] | [INFO] [stdout] 960 | if let Some((_, country, power, examples)) = ppp_match { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_examples` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/main.rs:3785:14 [INFO] [stdout] | [INFO] [stdout] 3785 | for (t, (path, desc)) in &topic_map { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:1472:9 [INFO] [stdout] | [INFO] [stdout] 1472 | let name = resp["name"].as_str().unwrap_or("?"); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/main.rs:5488:36 [INFO] [stdout] | [INFO] [stdout] 5488 | async fn fetch_therapy(args: &str, app: &App) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arxiv_id` [INFO] [stdout] --> src/main.rs:3244:17 [INFO] [stdout] | [INFO] [stdout] 3244 | let arxiv_id = id.split("/abs/").last().unwrap_or(id); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arxiv_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `date` [INFO] [stdout] --> src/main.rs:5933:9 [INFO] [stdout] | [INFO] [stdout] 5933 | let date = Local::now().format("%Y-%m-%d").to_string(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_date` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url_regex` [INFO] [stdout] --> src/main.rs:5651:9 [INFO] [stdout] | [INFO] [stdout] 5651 | let url_regex = regex::Regex::new(r"https?://[^\s\)]+").unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_url_regex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hours` [INFO] [stdout] --> src/main.rs:3427:13 [INFO] [stdout] | [INFO] [stdout] 3427 | let hours = diff.num_hours(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hours` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/main.rs:3582:34 [INFO] [stdout] | [INFO] [stdout] 3582 | for (_, end, m) in &matches { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scenario` [INFO] [stdout] --> src/main.rs:5105:9 [INFO] [stdout] | [INFO] [stdout] 5105 | let scenario = if args.trim().is_empty() { "A 45-year-old patient refuses a life-saving blood transfusion on religious grounds... [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scenario` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `firecrawl_key` is never read [INFO] [stdout] --> src/main.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 99 | struct App { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 111 | firecrawl_key: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `App` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vikunja_complete_task` is never used [INFO] [stdout] --> src/main.rs:628:10 [INFO] [stdout] | [INFO] [stdout] 628 | async fn vikunja_complete_task(vikunja_url: &str, token: &str, task_id: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/main.rs:713:8 [INFO] [stdout] | [INFO] [stdout] 710 | impl Md { [INFO] [stdout] | ------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 713 | fn h1(mut self, text: &str) -> Self { self.lines.push(format!("# {}", text)); self } [INFO] [stdout] | ^^ [INFO] [stdout] 714 | fn h2(mut self, text: &str) -> Self { self.lines.push(format!("## {}", text)); self } [INFO] [stdout] 715 | fn h3(mut self, text: &str) -> Self { self.lines.push(format!("### {}", text)); self } [INFO] [stdout] | ^^ [INFO] [stdout] 716 | fn h4(mut self, text: &str) -> Self { self.lines.push(format!("#### {}", text)); self } [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 723 | fn pi_num(mut self, key: &str, val: T) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 728 | fn bullet(mut self, text: &str) -> Self { self.lines.push(format!("- {}", text)); self } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 729 | fn bullet_bold(mut self, key: &str, val: &str) -> Self { self.lines.push(format!("- **{}**: {}", key, val)); self } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 730 | fn numbered(mut self, n: usize, text: &str) -> Self { self.lines.push(format!("{}. {}", n, text)); self } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 733 | fn hr(mut self) -> Self { self.lines.push(String::new()); self.lines.push("---".into()); self.lines.push(String::new()); self } [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 741 | fn quote(mut self, text: &str) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 767 | fn table_md(mut self, headers: &[&str], rows: &[Vec]) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 778 | fn push_fmt(mut self, s: String) -> Self { self.lines.push(s); self } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 781 | fn build_trunc(self, max: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_tags` is never used [INFO] [stdout] --> src/main.rs:1238:10 [INFO] [stdout] | [INFO] [stdout] 1238 | async fn fetch_tags(memos_url: &str, token: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_recent` is never used [INFO] [stdout] --> src/main.rs:1262:10 [INFO] [stdout] | [INFO] [stdout] 1262 | async fn fetch_recent(memos_url: &str, token: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_nutrition` is never used [INFO] [stdout] --> src/main.rs:2282:10 [INFO] [stdout] | [INFO] [stdout] 2282 | async fn fetch_nutrition(query: &str, api_key: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_income` is never used [INFO] [stdout] --> src/main.rs:3120:4 [INFO] [stdout] | [INFO] [stdout] 3120 | fn create_income(args: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_transcribe` is never used [INFO] [stdout] --> src/main.rs:3297:4 [INFO] [stdout] | [INFO] [stdout] 3297 | fn create_transcribe(text: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_timestamp` is never used [INFO] [stdout] --> src/main.rs:3396:4 [INFO] [stdout] | [INFO] [stdout] 3396 | fn create_timestamp(args: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_ports` is never used [INFO] [stdout] --> src/main.rs:3472:4 [INFO] [stdout] | [INFO] [stdout] 3472 | fn create_ports() -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_json` is never used [INFO] [stdout] --> src/main.rs:3511:4 [INFO] [stdout] | [INFO] [stdout] 3511 | fn create_json(text: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_regex` is never used [INFO] [stdout] --> src/main.rs:3547:4 [INFO] [stdout] | [INFO] [stdout] 3547 | fn create_regex(args: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_weekly` is never used [INFO] [stdout] --> src/main.rs:4358:10 [INFO] [stdout] | [INFO] [stdout] 4358 | async fn fetch_weekly(memos_url: &str, token: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_retro` is never used [INFO] [stdout] --> src/main.rs:4414:4 [INFO] [stdout] | [INFO] [stdout] 4414 | fn create_retro(args: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_lab` is never used [INFO] [stdout] --> src/main.rs:4842:4 [INFO] [stdout] | [INFO] [stdout] 4842 | fn create_lab(args: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_prereqs` is never used [INFO] [stdout] --> src/main.rs:4873:4 [INFO] [stdout] | [INFO] [stdout] 4873 | fn create_prereqs(args: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_clinical` is never used [INFO] [stdout] --> src/main.rs:5049:4 [INFO] [stdout] | [INFO] [stdout] 5049 | fn create_clinical(args: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_shadow` is never used [INFO] [stdout] --> src/main.rs:5077:4 [INFO] [stdout] | [INFO] [stdout] 5077 | fn create_shadow(args: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_ethics` is never used [INFO] [stdout] --> src/main.rs:5102:4 [INFO] [stdout] | [INFO] [stdout] 5102 | fn create_ethics(args: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vikunja_priority` is never used [INFO] [stdout] --> src/main.rs:5990:10 [INFO] [stdout] | [INFO] [stdout] 5990 | async fn vikunja_priority(args: &str, app: &App) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 37s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: proc-macro-error2 v2.0.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "5cacdf27419f20a092c7f2103ae7221a85bdde0caf2d43d70dbac8701f04a77a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cacdf27419f20a092c7f2103ae7221a85bdde0caf2d43d70dbac8701f04a77a", kill_on_drop: false }` [INFO] [stdout] 5cacdf27419f20a092c7f2103ae7221a85bdde0caf2d43d70dbac8701f04a77a