[INFO] cloning repository https://github.com/devindudeman/kto [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/devindudeman/kto" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevindudeman%2Fkto", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevindudeman%2Fkto'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 62d1a45007b8f16ab9360d44c9ef1fe63f39259a [INFO] checking devindudeman/kto/62d1a45007b8f16ab9360d44c9ef1fe63f39259a against master#cb40c25f6aebb637163d26bf76a680ed6e5d1eda for pr-156157 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevindudeman%2Fkto" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/devindudeman/kto [INFO] finished tweaking git repo https://github.com/devindudeman/kto [INFO] tweaked toml for git repo https://github.com/devindudeman/kto written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/devindudeman/kto on toolchain cb40c25f6aebb637163d26bf76a680ed6e5d1eda [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cb40c25f6aebb637163d26bf76a680ed6e5d1eda" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/devindudeman/kto 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" "+cb40c25f6aebb637163d26bf76a680ed6e5d1eda" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded refinery-macros v0.9.0 [INFO] [stderr] Downloaded refinery v0.9.0 [INFO] [stderr] Downloaded rquickjs v0.9.0 [INFO] [stderr] Downloaded newline-converter v0.3.0 [INFO] [stderr] Downloaded refinery-core v0.9.0 [INFO] [stderr] Downloaded inquire v0.7.5 [INFO] [stderr] Downloaded rquickjs-core v0.9.0 [INFO] [stderr] Downloaded rquickjs-sys v0.9.0 [INFO] [stderr] Downloaded readability-js v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cb40c25f6aebb637163d26bf76a680ed6e5d1eda" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f0150ea7deefb10970b7204876b4d9c9c870dbad4e44b09eb30d934ddc29629f [INFO] running `Command { std: "docker" "start" "-a" "f0150ea7deefb10970b7204876b4d9c9c870dbad4e44b09eb30d934ddc29629f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f0150ea7deefb10970b7204876b4d9c9c870dbad4e44b09eb30d934ddc29629f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0150ea7deefb10970b7204876b4d9c9c870dbad4e44b09eb30d934ddc29629f", kill_on_drop: false }` [INFO] [stdout] f0150ea7deefb10970b7204876b4d9c9c870dbad4e44b09eb30d934ddc29629f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cb40c25f6aebb637163d26bf76a680ed6e5d1eda" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86690551b300c8ca98945d015bde916b08200259274998d72f9bf5b4e9d8a3dc [INFO] running `Command { std: "docker" "start" "-a" "86690551b300c8ca98945d015bde916b08200259274998d72f9bf5b4e9d8a3dc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking rustls-pki-types v1.13.2 [INFO] [stderr] Compiling deranged v0.5.5 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling time-core v0.1.7 [INFO] [stderr] Checking dtoa v1.0.11 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Checking hashlink v0.10.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Checking dtoa-short v0.3.5 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Checking servo_arc v0.4.3 [INFO] [stderr] Compiling selectors v0.26.0 [INFO] [stderr] Checking getopts v0.2.24 [INFO] [stderr] Checking newline-converter v0.3.0 [INFO] [stderr] Checking quick-xml v0.37.5 [INFO] [stderr] Checking fuzzy-matcher v0.3.7 [INFO] [stderr] Checking webpki-roots v1.0.5 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Checking flate2 v1.1.8 [INFO] [stderr] Checking ego-tree v0.10.0 [INFO] [stderr] Checking similar v2.7.0 [INFO] [stderr] Compiling markup5ever v0.14.1 [INFO] [stderr] Checking ureq-proto v0.5.3 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling cc v1.2.52 [INFO] [stderr] Checking time v0.3.45 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking directories v5.0.1 [INFO] [stderr] Checking uuid v1.19.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking signal-hook v0.3.18 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling rquickjs-sys v0.9.0 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling libsqlite3-sys v0.32.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking signal-hook-mio v0.2.5 [INFO] [stderr] Checking crossterm v0.25.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ctrlc v3.5.1 [INFO] [stderr] Checking inquire v0.7.5 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling match_token v0.1.0 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking cssparser v0.34.0 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking thiserror v2.0.17 [INFO] [stderr] Checking rustls-webpki v0.103.8 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Checking clap v4.5.54 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Checking clap_complete v4.5.65 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking string_cache v0.8.9 [INFO] [stderr] Checking mediatype v0.19.20 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking html5ever v0.29.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking scraper v0.22.0 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking feed-rs v2.3.1 [INFO] [stderr] Compiling refinery-core v0.9.0 [INFO] [stderr] Checking ureq v3.1.4 [INFO] [stderr] Compiling refinery-macros v0.9.0 [INFO] [stderr] Checking rusqlite v0.34.0 [INFO] [stderr] Checking refinery v0.9.0 [INFO] [stderr] Checking rquickjs-core v0.9.0 [INFO] [stderr] Checking rquickjs v0.9.0 [INFO] [stderr] Checking readability-js v0.1.5 [INFO] [stderr] Checking kto v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> tests/platform_detection_test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [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: `platform_name` [INFO] [stdout] --> src/commands/platform_detect.rs:303:5 [INFO] [stdout] | [INFO] [stdout] 303 | platform_name: &str, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_platform_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `platform_name` [INFO] [stdout] --> src/commands/platform_detect.rs:303:5 [INFO] [stdout] | [INFO] [stdout] 303 | platform_name: &str, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_platform_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `page_facts`, `kb_strategies`, `validation`, and `summary` are never read [INFO] [stdout] --> src/commands/platform_detect.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct PlatformAnalysis { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub page_facts: PageFacts, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 26 | /// Recommended strategies from KB [INFO] [stdout] 27 | pub kb_strategies: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub validation: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 32 | /// Human-readable analysis summary [INFO] [stdout] 33 | pub summary: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlatformAnalysis` has derived impls for the traits `Clone` and `Debug`, but these are 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: methods `recommended_engine`, `recommended_extraction`, and `kb_context_for_ai` are never used [INFO] [stdout] --> src/commands/platform_detect.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl PlatformAnalysis { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn recommended_engine(&self) -> Engine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn recommended_extraction(&self) -> Extraction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn kb_context_for_ai(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `quick_platform_check` is never used [INFO] [stdout] --> src/commands/platform_detect.rs:251:8 [INFO] [stdout] | [INFO] [stdout] 251 | pub fn quick_platform_check(url: &str, html: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_platform_recommendations` is never used [INFO] [stdout] --> src/commands/platform_detect.rs:260:8 [INFO] [stdout] | [INFO] [stdout] 260 | pub fn get_platform_recommendations(url: &str, html: &str, intent: Intent) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_product_preview` is never used [INFO] [stdout] --> src/commands/platform_detect.rs:324:8 [INFO] [stdout] | [INFO] [stdout] 324 | pub fn format_product_preview( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `page_facts`, `kb_strategies`, `validation`, and `summary` are never read [INFO] [stdout] --> src/commands/platform_detect.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct PlatformAnalysis { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub page_facts: PageFacts, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 26 | /// Recommended strategies from KB [INFO] [stdout] 27 | pub kb_strategies: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub validation: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 32 | /// Human-readable analysis summary [INFO] [stdout] 33 | pub summary: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlatformAnalysis` has derived impls for the traits `Clone` and `Debug`, but these are 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: methods `recommended_engine`, `recommended_extraction`, and `kb_context_for_ai` are never used [INFO] [stdout] --> src/commands/platform_detect.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl PlatformAnalysis { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn recommended_engine(&self) -> Engine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn recommended_extraction(&self) -> Extraction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn kb_context_for_ai(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_product_preview` is never used [INFO] [stdout] --> src/commands/platform_detect.rs:324:8 [INFO] [stdout] | [INFO] [stdout] 324 | pub fn format_product_preview( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 16s [INFO] running `Command { std: "docker" "inspect" "86690551b300c8ca98945d015bde916b08200259274998d72f9bf5b4e9d8a3dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86690551b300c8ca98945d015bde916b08200259274998d72f9bf5b4e9d8a3dc", kill_on_drop: false }` [INFO] [stdout] 86690551b300c8ca98945d015bde916b08200259274998d72f9bf5b4e9d8a3dc