[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] building kaitosawada/browser against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaitosawada%2Fbrowser" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-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-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kaitosawada/browser on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded compact_str v0.7.1 [INFO] [stderr] Downloaded stability v0.2.1 [INFO] [stderr] Downloaded entities v1.0.1 [INFO] [stderr] Downloaded fancy-regex v0.11.0 [INFO] [stderr] Downloaded xdg v2.5.2 [INFO] [stderr] Downloaded deunicode v1.6.2 [INFO] [stderr] Downloaded comrak v0.21.0 [INFO] [stderr] Downloaded ratatui v0.26.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4aa3fe5c2a03c3ffd3fd33c9489e13996ecd36238423d1616f884653a8eef36f [INFO] running `Command { std: "docker" "start" "-a" "4aa3fe5c2a03c3ffd3fd33c9489e13996ecd36238423d1616f884653a8eef36f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4aa3fe5c2a03c3ffd3fd33c9489e13996ecd36238423d1616f884653a8eef36f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4aa3fe5c2a03c3ffd3fd33c9489e13996ecd36238423d1616f884653a8eef36f", kill_on_drop: false }` [INFO] [stdout] 4aa3fe5c2a03c3ffd3fd33c9489e13996ecd36238423d1616f884653a8eef36f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b28c591c3ea4123b3794caef8981c8d843efde93b613529030827872e589084 [INFO] running `Command { std: "docker" "start" "-a" "1b28c591c3ea4123b3794caef8981c8d843efde93b613529030827872e589084", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling cc v1.2.26 [INFO] [stderr] Compiling getrandom v0.2.16 [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 mio v1.0.4 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling deunicode v1.6.2 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling compact_str v0.7.1 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling terminal_size v0.4.2 [INFO] [stderr] Compiling slug v0.1.6 [INFO] [stderr] Compiling entities v1.0.1 [INFO] [stderr] Compiling clap_builder v4.5.39 [INFO] [stderr] Compiling xdg v2.5.2 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling onig_sys v69.9.1 [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 string_cache_codegen v0.5.4 [INFO] [stderr] Compiling selectors v0.25.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling derive_builder v0.12.0 [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 displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [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 cssparser-macros v0.6.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling strum_macros v0.26.4 [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 thiserror v1.0.69 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling clap v4.5.39 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling ratatui v0.26.3 [INFO] [stderr] Compiling onig v6.5.1 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.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 idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [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 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 04s [INFO] running `Command { std: "docker" "inspect" "1b28c591c3ea4123b3794caef8981c8d843efde93b613529030827872e589084", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b28c591c3ea4123b3794caef8981c8d843efde93b613529030827872e589084", kill_on_drop: false }` [INFO] [stdout] 1b28c591c3ea4123b3794caef8981c8d843efde93b613529030827872e589084 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0153fcaa26d734812d346f727a977dd4fa6f779cc1bf44a090f466bbe4525f7 [INFO] running `Command { std: "docker" "start" "-a" "c0153fcaa26d734812d346f727a977dd4fa6f779cc1bf44a090f466bbe4525f7", kill_on_drop: false }` [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] [stderr] Compiling tui-browser v0.1.0 (/opt/rustwide/workdir) [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 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 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.97s [INFO] running `Command { std: "docker" "inspect" "c0153fcaa26d734812d346f727a977dd4fa6f779cc1bf44a090f466bbe4525f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0153fcaa26d734812d346f727a977dd4fa6f779cc1bf44a090f466bbe4525f7", kill_on_drop: false }` [INFO] [stdout] c0153fcaa26d734812d346f727a977dd4fa6f779cc1bf44a090f466bbe4525f7