[INFO] cloning repository https://github.com/kaitosawada/browser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kaitosawada/browser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaitosawada%2Fbrowser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaitosawada%2Fbrowser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5674f11c1db185c2a97b2978bc10781dec52fc40 [INFO] testing kaitosawada/browser against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaitosawada%2Fbrowser" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kaitosawada/browser [INFO] finished tweaking git repo https://github.com/kaitosawada/browser [INFO] tweaked toml for git repo https://github.com/kaitosawada/browser written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kaitosawada/browser on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kaitosawada/browser 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded stability v0.2.1 [INFO] [stderr] Downloaded scraper v0.18.1 [INFO] [stderr] Downloaded entities v1.0.1 [INFO] [stderr] Downloaded clap v4.5.39 [INFO] [stderr] Downloaded deunicode v1.6.2 [INFO] [stderr] Downloaded plist v1.7.1 [INFO] [stderr] Downloaded comrak v0.21.0 [INFO] [stderr] Downloaded clap_builder v4.5.39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a3bdc0b2ecb3a85c5e1f3c651f35e5a2a920be2d51a16b8ea1e05375465c1c7c [INFO] running `Command { std: "docker" "start" "-a" "a3bdc0b2ecb3a85c5e1f3c651f35e5a2a920be2d51a16b8ea1e05375465c1c7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a3bdc0b2ecb3a85c5e1f3c651f35e5a2a920be2d51a16b8ea1e05375465c1c7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3bdc0b2ecb3a85c5e1f3c651f35e5a2a920be2d51a16b8ea1e05375465c1c7c", kill_on_drop: false }` [INFO] [stdout] a3bdc0b2ecb3a85c5e1f3c651f35e5a2a920be2d51a16b8ea1e05375465c1c7c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ea235f7c0892a5f2e7233f167ecfbf85d21147b798221202d46945137e78b75 [INFO] running `Command { std: "docker" "start" "-a" "8ea235f7c0892a5f2e7233f167ecfbf85d21147b798221202d46945137e78b75", kill_on_drop: false }` [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling cc v1.2.26 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling dtoa v1.0.10 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling dtoa-short v0.3.5 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling servo_arc v0.3.0 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling deunicode v1.6.2 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling compact_str v0.7.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling slug v0.1.6 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling entities v1.0.1 [INFO] [stderr] Compiling ego-tree v0.6.3 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling onig_sys v69.9.1 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling terminal_size v0.4.2 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling clap_builder v4.5.39 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling selectors v0.25.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling onig v6.5.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling stability v0.2.1 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling cssparser v0.31.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling clap v4.5.39 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling ratatui v0.26.3 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling derive_builder v0.12.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling syntect v5.2.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling scraper v0.18.1 [INFO] [stderr] Compiling comrak v0.21.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling tui-browser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::nav_extractor::NavigationExtractor` [INFO] [stdout] --> src/browser.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::nav_extractor::NavigationExtractor; [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: `url` [INFO] [stdout] --> src/browser.rs:300:35 [INFO] [stdout] | [INFO] [stdout] 300 | async fn fetch_content_static(url: &str, _use_llm: bool) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url_end` [INFO] [stdout] --> src/ui.rs:375:33 [INFO] [stdout] | [INFO] [stdout] 375 | if let Some(url_end) = text[actual_url_start..].find(')') { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_url_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `fetch_content_static` is never used [INFO] [stdout] --> src/browser.rs:300:14 [INFO] [stdout] | [INFO] [stdout] 88 | impl Browser { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 300 | async fn fetch_content_static(url: &str, _use_llm: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `html_to_markdown` is never used [INFO] [stdout] --> src/browser.rs:330:4 [INFO] [stdout] | [INFO] [stdout] 330 | fn html_to_markdown(html: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui.rs:293:31 [INFO] [stdout] | [INFO] [stdout] 293 | fn format_markdown_line(line: &str) -> Line { [INFO] [stdout] | ^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 293 | fn format_markdown_line(line: &str) -> Line<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui.rs:366:32 [INFO] [stdout] | [INFO] [stdout] 366 | fn parse_inline_markdown(text: &str) -> Span { [INFO] [stdout] | ^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 366 | fn parse_inline_markdown(text: &str) -> Span<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui.rs:415:34 [INFO] [stdout] | [INFO] [stdout] 415 | fn format_markdown_text(content: &str) -> Text { [INFO] [stdout] | ^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 415 | fn format_markdown_text(content: &str) -> Text<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::nav_extractor::NavigationExtractor` [INFO] [stdout] --> src/browser.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::nav_extractor::NavigationExtractor; [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: `url` [INFO] [stdout] --> src/browser.rs:300:35 [INFO] [stdout] | [INFO] [stdout] 300 | async fn fetch_content_static(url: &str, _use_llm: bool) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url_end` [INFO] [stdout] --> src/ui.rs:375:33 [INFO] [stdout] | [INFO] [stdout] 375 | if let Some(url_end) = text[actual_url_start..].find(')') { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_url_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_navigation` is never used [INFO] [stdout] --> src/browser.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl ContentState { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn get_navigation(&self) -> Option<&Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `language`, `set_language`, `llm_error`, and `fetch_content_static` are never used [INFO] [stdout] --> src/browser.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 88 | impl Browser { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn language(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn set_language(&mut self, language: String) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn llm_error(&self) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | async fn fetch_content_static(url: &str, _use_llm: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `html_to_markdown` is never used [INFO] [stdout] --> src/browser.rs:330:4 [INFO] [stdout] | [INFO] [stdout] 330 | fn html_to_markdown(html: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_navigation` and `with_content_links` are never used [INFO] [stdout] --> src/content.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl PageContent { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn with_navigation(mut self, navigation: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn with_content_links(mut self, content_links: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `format_content` are never used [INFO] [stdout] --> src/llm.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl LLMProcessor { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 63 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub async fn format_content(&self, raw_content: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui.rs:293:31 [INFO] [stdout] | [INFO] [stdout] 293 | fn format_markdown_line(line: &str) -> Line { [INFO] [stdout] | ^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 293 | fn format_markdown_line(line: &str) -> Line<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui.rs:366:32 [INFO] [stdout] | [INFO] [stdout] 366 | fn parse_inline_markdown(text: &str) -> Span { [INFO] [stdout] | ^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 366 | fn parse_inline_markdown(text: &str) -> Span<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui.rs:415:34 [INFO] [stdout] | [INFO] [stdout] 415 | fn format_markdown_text(content: &str) -> Text { [INFO] [stdout] | ^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 415 | fn format_markdown_text(content: &str) -> Text<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 02s [INFO] running `Command { std: "docker" "inspect" "8ea235f7c0892a5f2e7233f167ecfbf85d21147b798221202d46945137e78b75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ea235f7c0892a5f2e7233f167ecfbf85d21147b798221202d46945137e78b75", kill_on_drop: false }` [INFO] [stdout] 8ea235f7c0892a5f2e7233f167ecfbf85d21147b798221202d46945137e78b75 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 437affcc846592ea1f61f5f132a5d5961981c272b83b3bbc039afb83e92b3c58 [INFO] running `Command { std: "docker" "start" "-a" "437affcc846592ea1f61f5f132a5d5961981c272b83b3bbc039afb83e92b3c58", kill_on_drop: false }` [INFO] [stderr] Compiling tui-browser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::nav_extractor::NavigationExtractor` [INFO] [stdout] --> src/browser.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::nav_extractor::NavigationExtractor; [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: `url` [INFO] [stdout] --> src/browser.rs:300:35 [INFO] [stdout] | [INFO] [stdout] 300 | async fn fetch_content_static(url: &str, _use_llm: bool) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url_end` [INFO] [stdout] --> src/ui.rs:375:33 [INFO] [stdout] | [INFO] [stdout] 375 | if let Some(url_end) = text[actual_url_start..].find(')') { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_url_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `fetch_content_static` is never used [INFO] [stdout] --> src/browser.rs:300:14 [INFO] [stdout] | [INFO] [stdout] 88 | impl Browser { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 300 | async fn fetch_content_static(url: &str, _use_llm: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `html_to_markdown` is never used [INFO] [stdout] --> src/browser.rs:330:4 [INFO] [stdout] | [INFO] [stdout] 330 | fn html_to_markdown(html: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui.rs:293:31 [INFO] [stdout] | [INFO] [stdout] 293 | fn format_markdown_line(line: &str) -> Line { [INFO] [stdout] | ^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 293 | fn format_markdown_line(line: &str) -> Line<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui.rs:366:32 [INFO] [stdout] | [INFO] [stdout] 366 | fn parse_inline_markdown(text: &str) -> Span { [INFO] [stdout] | ^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 366 | fn parse_inline_markdown(text: &str) -> Span<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui.rs:415:34 [INFO] [stdout] | [INFO] [stdout] 415 | fn format_markdown_text(content: &str) -> Text { [INFO] [stdout] | ^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 415 | fn format_markdown_text(content: &str) -> Text<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::nav_extractor::NavigationExtractor` [INFO] [stdout] --> src/browser.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::nav_extractor::NavigationExtractor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::nav_extractor::NavigationExtractor` [INFO] [stdout] --> src/browser.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::nav_extractor::NavigationExtractor; [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: `url` [INFO] [stdout] --> src/browser.rs:300:35 [INFO] [stdout] | [INFO] [stdout] 300 | async fn fetch_content_static(url: &str, _use_llm: bool) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/browser.rs:300:35 [INFO] [stdout] | [INFO] [stdout] 300 | async fn fetch_content_static(url: &str, _use_llm: bool) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url_end` [INFO] [stdout] --> src/ui.rs:375:33 [INFO] [stdout] | [INFO] [stdout] 375 | if let Some(url_end) = text[actual_url_start..].find(')') { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_url_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `fetch_content_static` is never used [INFO] [stdout] --> src/browser.rs:300:14 [INFO] [stdout] | [INFO] [stdout] 88 | impl Browser { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 300 | async fn fetch_content_static(url: &str, _use_llm: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `html_to_markdown` is never used [INFO] [stdout] --> src/browser.rs:330:4 [INFO] [stdout] | [INFO] [stdout] 330 | fn html_to_markdown(html: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui.rs:293:31 [INFO] [stdout] | [INFO] [stdout] 293 | fn format_markdown_line(line: &str) -> Line { [INFO] [stdout] | ^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 293 | fn format_markdown_line(line: &str) -> Line<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui.rs:366:32 [INFO] [stdout] | [INFO] [stdout] 366 | fn parse_inline_markdown(text: &str) -> Span { [INFO] [stdout] | ^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 366 | fn parse_inline_markdown(text: &str) -> Span<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui.rs:415:34 [INFO] [stdout] | [INFO] [stdout] 415 | fn format_markdown_text(content: &str) -> Text { [INFO] [stdout] | ^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 415 | fn format_markdown_text(content: &str) -> Text<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url_end` [INFO] [stdout] --> src/ui.rs:375:33 [INFO] [stdout] | [INFO] [stdout] 375 | if let Some(url_end) = text[actual_url_start..].find(')') { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_url_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_navigation` is never used [INFO] [stdout] --> src/browser.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl ContentState { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn get_navigation(&self) -> Option<&Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `language`, `set_language`, `llm_error`, and `fetch_content_static` are never used [INFO] [stdout] --> src/browser.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 88 | impl Browser { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn language(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn set_language(&mut self, language: String) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn llm_error(&self) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | async fn fetch_content_static(url: &str, _use_llm: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `html_to_markdown` is never used [INFO] [stdout] --> src/browser.rs:330:4 [INFO] [stdout] | [INFO] [stdout] 330 | fn html_to_markdown(html: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_navigation` and `with_content_links` are never used [INFO] [stdout] --> src/content.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl PageContent { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn with_navigation(mut self, navigation: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn with_content_links(mut self, content_links: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `format_content` are never used [INFO] [stdout] --> src/llm.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl LLMProcessor { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 63 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub async fn format_content(&self, raw_content: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui.rs:293:31 [INFO] [stdout] | [INFO] [stdout] 293 | fn format_markdown_line(line: &str) -> Line { [INFO] [stdout] | ^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 293 | fn format_markdown_line(line: &str) -> Line<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui.rs:366:32 [INFO] [stdout] | [INFO] [stdout] 366 | fn parse_inline_markdown(text: &str) -> Span { [INFO] [stdout] | ^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 366 | fn parse_inline_markdown(text: &str) -> Span<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui.rs:415:34 [INFO] [stdout] | [INFO] [stdout] 415 | fn format_markdown_text(content: &str) -> Text { [INFO] [stdout] | ^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 415 | fn format_markdown_text(content: &str) -> Text<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.59s [INFO] running `Command { std: "docker" "inspect" "437affcc846592ea1f61f5f132a5d5961981c272b83b3bbc039afb83e92b3c58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "437affcc846592ea1f61f5f132a5d5961981c272b83b3bbc039afb83e92b3c58", kill_on_drop: false }` [INFO] [stdout] 437affcc846592ea1f61f5f132a5d5961981c272b83b3bbc039afb83e92b3c58 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4c35e0c399e837c66b6d6abbbdaeca031675a34c948bfe19be3a266f8c5359d4 [INFO] running `Command { std: "docker" "start" "-a" "4c35e0c399e837c66b6d6abbbdaeca031675a34c948bfe19be3a266f8c5359d4", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::nav_extractor::NavigationExtractor` [INFO] [stderr] --> src/browser.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::nav_extractor::NavigationExtractor; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `url` [INFO] [stderr] --> src/browser.rs:300:35 [INFO] [stderr] | [INFO] [stderr] 300 | async fn fetch_content_static(url: &str, _use_llm: bool) -> Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `url_end` [INFO] [stderr] --> src/ui.rs:375:33 [INFO] [stderr] | [INFO] [stderr] 375 | if let Some(url_end) = text[actual_url_start..].find(')') { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_url_end` [INFO] [stderr] [INFO] [stderr] warning: associated function `fetch_content_static` is never used [INFO] [stderr] --> src/browser.rs:300:14 [INFO] [stderr] | [INFO] [stderr] 88 | impl Browser { [INFO] [stderr] | ------------ associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 300 | async fn fetch_content_static(url: &str, _use_llm: bool) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `html_to_markdown` is never used [INFO] [stderr] --> src/browser.rs:330:4 [INFO] [stderr] | [INFO] [stderr] 330 | fn html_to_markdown(html: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/ui.rs:293:31 [INFO] [stderr] | [INFO] [stderr] 293 | fn format_markdown_line(line: &str) -> Line { [INFO] [stderr] | ^^^^ ^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 293 | fn format_markdown_line(line: &str) -> Line<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/ui.rs:366:32 [INFO] [stderr] | [INFO] [stderr] 366 | fn parse_inline_markdown(text: &str) -> Span { [INFO] [stderr] | ^^^^ ^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 366 | fn parse_inline_markdown(text: &str) -> Span<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/ui.rs:415:34 [INFO] [stderr] | [INFO] [stderr] 415 | fn format_markdown_text(content: &str) -> Text { [INFO] [stderr] | ^^^^ ^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 415 | fn format_markdown_text(content: &str) -> Text<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `tui-browser` (lib) generated 8 warnings (run `cargo fix --lib -p tui-browser` to apply 4 suggestions) [INFO] [stderr] warning: `tui-browser` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] warning: method `get_navigation` is never used [INFO] [stderr] --> src/browser.rs:69:12 [INFO] [stderr] | [INFO] [stderr] 36 | impl ContentState { [INFO] [stderr] | ----------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 69 | pub fn get_navigation(&self) -> Option<&Vec> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated items `language`, `set_language`, `llm_error`, and `fetch_content_static` are never used [INFO] [stderr] --> src/browser.rs:137:12 [INFO] [stderr] | [INFO] [stderr] 88 | impl Browser { [INFO] [stderr] | ------------ associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 137 | pub fn language(&self) -> &str { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 141 | pub fn set_language(&mut self, language: String) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 155 | pub fn llm_error(&self) -> Option<&String> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 300 | async fn fetch_content_static(url: &str, _use_llm: bool) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `with_navigation` and `with_content_links` are never used [INFO] [stderr] --> src/content.rs:68:12 [INFO] [stderr] | [INFO] [stderr] 49 | impl PageContent { [INFO] [stderr] | ---------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 68 | pub fn with_navigation(mut self, navigation: Vec) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 73 | pub fn with_content_links(mut self, content_links: Vec) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `format_content` are never used [INFO] [stderr] --> src/llm.rs:63:12 [INFO] [stderr] | [INFO] [stderr] 62 | impl LLMProcessor { [INFO] [stderr] | ----------------- associated items in this implementation [INFO] [stderr] 63 | pub fn new() -> Result { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 244 | pub async fn format_content(&self, raw_content: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `tui-browser` (bin "tui-browser" test) generated 11 warnings (7 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tui_browser-e815782771ae0ddf) [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/debug_translation.rs (/opt/rustwide/target/debug/deps/debug_translation-f6e1f06ded4bcc03) [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/tui_browser-990a54eb78a005f4) [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] Doc-tests tui_browser [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4c35e0c399e837c66b6d6abbbdaeca031675a34c948bfe19be3a266f8c5359d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c35e0c399e837c66b6d6abbbdaeca031675a34c948bfe19be3a266f8c5359d4", kill_on_drop: false }` [INFO] [stdout] 4c35e0c399e837c66b6d6abbbdaeca031675a34c948bfe19be3a266f8c5359d4