[INFO] cloning repository https://github.com/anyrust/sfhtml [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anyrust/sfhtml" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanyrust%2Fsfhtml", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanyrust%2Fsfhtml'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 48c1ebd9b967ab4792954caba332b529683d108a [INFO] testing anyrust/sfhtml against master#562dee4820c458d823175268e41601d4c060588a for pr-154210 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanyrust%2Fsfhtml" "/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/anyrust/sfhtml [INFO] finished tweaking git repo https://github.com/anyrust/sfhtml [INFO] tweaked toml for git repo https://github.com/anyrust/sfhtml written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/anyrust/sfhtml on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/anyrust/sfhtml 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded chunked_transfer v1.5.0 [INFO] [stderr] Downloaded oxc-miette-derive v1.0.2 [INFO] [stderr] Downloaded owo-colors v4.3.0 [INFO] [stderr] Downloaded tiny_http v0.12.0 [INFO] [stderr] Downloaded oxc_diagnostics v0.56.5 [INFO] [stderr] Downloaded assert-unchecked v0.1.2 [INFO] [stderr] Downloaded oxc_allocator v0.56.5 [INFO] [stderr] Downloaded oxc_ast_macros v0.56.5 [INFO] [stderr] Downloaded oxc_estree v0.56.5 [INFO] [stderr] Downloaded oxc_data_structures v0.56.5 [INFO] [stderr] Downloaded oxc_ecmascript v0.56.5 [INFO] [stderr] Downloaded oxc_index v3.1.0 [INFO] [stderr] Downloaded unicode-id-start v1.4.0 [INFO] [stderr] Downloaded oxc-miette v1.0.2 [INFO] [stderr] Downloaded oxc_parser v0.56.5 [INFO] [stderr] Downloaded oxc_ast v0.56.5 [INFO] [stderr] Downloaded oxc_syntax v0.56.5 [INFO] [stderr] Downloaded oxc_span v0.56.5 [INFO] [stderr] Downloaded oxc_regular_expression v0.56.5 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a8ac9d021f5c6a120506826e20cbb8a63200126825bbcde689059b3962085c48 [INFO] running `Command { std: "docker" "start" "-a" "a8ac9d021f5c6a120506826e20cbb8a63200126825bbcde689059b3962085c48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8ac9d021f5c6a120506826e20cbb8a63200126825bbcde689059b3962085c48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8ac9d021f5c6a120506826e20cbb8a63200126825bbcde689059b3962085c48", kill_on_drop: false }` [INFO] [stdout] a8ac9d021f5c6a120506826e20cbb8a63200126825bbcde689059b3962085c48 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 20876a416ab1c6906d0f2560706096e5761b8a47e35459034d81636e30019aa5 [INFO] running `Command { std: "docker" "start" "-a" "20876a416ab1c6906d0f2560706096e5761b8a47e35459034d81636e30019aa5", kill_on_drop: false }` [INFO] [stderr] Compiling siphasher v1.0.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling owo-colors v4.3.0 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling unicode-width v0.2.2 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling smawk v0.3.2 [INFO] [stderr] Compiling oxc-miette-derive v1.0.2 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling simdutf8 v0.1.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling oxc-miette v1.0.2 [INFO] [stderr] Compiling oxc_allocator v0.56.5 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling oxc_ast_macros v0.56.5 [INFO] [stderr] Compiling zerocopy v0.8.42 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling oxc_estree v0.56.5 [INFO] [stderr] Compiling cow-utils v0.1.3 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling markup5ever v0.12.1 [INFO] [stderr] Compiling assert-unchecked v0.1.2 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling str_indices v0.4.4 [INFO] [stderr] Compiling unicode-id-start v1.4.0 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling ropey v1.6.1 [INFO] [stderr] Compiling oxc_span v0.56.5 [INFO] [stderr] Compiling oxc_diagnostics v0.56.5 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling oxc_index v3.1.0 [INFO] [stderr] Compiling nonmax v0.5.5 [INFO] [stderr] Compiling ryu-js v1.0.2 [INFO] [stderr] Compiling oxc_data_structures v0.56.5 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling anstyle-parse v1.0.0 [INFO] [stderr] Compiling oxc_syntax v0.56.5 [INFO] [stderr] Compiling oxc_regular_expression v0.56.5 [INFO] [stderr] Compiling html5ever v0.27.0 [INFO] [stderr] Compiling colorchoice v1.0.5 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling anstyle-query v1.1.5 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling anstream v1.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Compiling oxc_ast v0.56.5 [INFO] [stderr] Compiling clap_builder v4.6.0 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling inotify v0.10.2 [INFO] [stderr] Compiling clap_derive v4.6.0 [INFO] [stderr] Compiling notify-types v1.0.1 [INFO] [stderr] Compiling xml5ever v0.18.1 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling filetime v0.2.27 [INFO] [stderr] Compiling ascii v1.1.0 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Compiling data-encoding v2.10.0 [INFO] [stderr] Compiling chunked_transfer v1.5.0 [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Compiling tiny_http v0.12.0 [INFO] [stderr] Compiling notify v7.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling markup5ever_rcdom v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling clap v4.6.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling memmap2 v0.9.10 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling oxc_ecmascript v0.56.5 [INFO] [stderr] Compiling oxc_parser v0.56.5 [INFO] [stderr] Compiling sfhtml v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/browser.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::{Path, PathBuf}; [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: `std::collections::HashMap` [INFO] [stdout] --> src/live.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Digest` [INFO] [stdout] --> src/live.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use sha2::{Digest, Sha256}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/live.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | let mut hasher = Sha256::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hasher` [INFO] [stdout] --> src/live.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | let mut hasher = Sha256::new(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hasher` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `close_line` is never read [INFO] [stdout] --> src/header.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ScriptRegion { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub close_line: usize, // line of [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScriptRegion` 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: function `find_purpose_from_comment` is never used [INFO] [stdout] --> src/header.rs:491:4 [INFO] [stdout] | [INFO] [stdout] 491 | fn find_purpose_from_comment( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_purpose_comment` is never used [INFO] [stdout] --> src/js_scope.rs:206:8 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn extract_purpose_comment(lines: &[&str], decl_line_idx: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 25s [INFO] running `Command { std: "docker" "inspect" "20876a416ab1c6906d0f2560706096e5761b8a47e35459034d81636e30019aa5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20876a416ab1c6906d0f2560706096e5761b8a47e35459034d81636e30019aa5", kill_on_drop: false }` [INFO] [stdout] 20876a416ab1c6906d0f2560706096e5761b8a47e35459034d81636e30019aa5 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d33d9e7dcb9d6a188d6123b1b6d1fa6ff628446c50ad024224e3e38d2e4bb82 [INFO] running `Command { std: "docker" "start" "-a" "1d33d9e7dcb9d6a188d6123b1b6d1fa6ff628446c50ad024224e3e38d2e4bb82", kill_on_drop: false }` [INFO] [stderr] Compiling sfhtml v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/browser.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::{Path, PathBuf}; [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: `std::collections::HashMap` [INFO] [stdout] --> src/live.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Digest` [INFO] [stdout] --> src/live.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use sha2::{Digest, Sha256}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/live.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | let mut hasher = Sha256::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hasher` [INFO] [stdout] --> src/live.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | let mut hasher = Sha256::new(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hasher` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `close_line` is never read [INFO] [stdout] --> src/header.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ScriptRegion { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub close_line: usize, // line of [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScriptRegion` 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: function `find_purpose_from_comment` is never used [INFO] [stdout] --> src/header.rs:491:4 [INFO] [stdout] | [INFO] [stdout] 491 | fn find_purpose_from_comment( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_purpose_comment` is never used [INFO] [stdout] --> src/js_scope.rs:206:8 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn extract_purpose_comment(lines: &[&str], decl_line_idx: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/integration/scan_test.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let mut path = PathBuf::from(env!("CARGO_BIN_EXE_sfhtml")); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `missing_from_code` [INFO] [stdout] --> tests/integration/validate_test.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let missing_from_code = result["anchor_consistency"]["missing_from_code"].as_array().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_missing_from_code` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fixtures_dir` is never used [INFO] [stdout] --> tests/integration/page_test.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn fixtures_dir() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/browser.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::{Path, PathBuf}; [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: `std::collections::HashMap` [INFO] [stdout] --> src/live.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Digest` [INFO] [stdout] --> src/live.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use sha2::{Digest, Sha256}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/live.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | let mut hasher = Sha256::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hasher` [INFO] [stdout] --> src/live.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | let mut hasher = Sha256::new(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hasher` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `close_line` is never read [INFO] [stdout] --> src/header.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ScriptRegion { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub close_line: usize, // line of [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScriptRegion` 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: function `find_purpose_from_comment` is never used [INFO] [stdout] --> src/header.rs:491:4 [INFO] [stdout] | [INFO] [stdout] 491 | fn find_purpose_from_comment( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_purpose_comment` is never used [INFO] [stdout] --> src/js_scope.rs:206:8 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn extract_purpose_comment(lines: &[&str], decl_line_idx: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.95s [INFO] running `Command { std: "docker" "inspect" "1d33d9e7dcb9d6a188d6123b1b6d1fa6ff628446c50ad024224e3e38d2e4bb82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d33d9e7dcb9d6a188d6123b1b6d1fa6ff628446c50ad024224e3e38d2e4bb82", kill_on_drop: false }` [INFO] [stdout] 1d33d9e7dcb9d6a188d6123b1b6d1fa6ff628446c50ad024224e3e38d2e4bb82 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cf518ace577507add2bb23d5bc1080c2091aec1724c1b9003b9e2a890c95551d [INFO] running `Command { std: "docker" "start" "-a" "cf518ace577507add2bb23d5bc1080c2091aec1724c1b9003b9e2a890c95551d", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Path` [INFO] [stderr] --> src/browser.rs:5:17 [INFO] [stderr] | [INFO] [stderr] 5 | use std::path::{Path, PathBuf}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/live.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Digest` [INFO] [stderr] --> src/live.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | use sha2::{Digest, Sha256}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/live.rs:343:9 [INFO] [stderr] | [INFO] [stderr] 343 | let mut hasher = Sha256::new(); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `hasher` [INFO] [stderr] --> src/live.rs:343:9 [INFO] [stderr] | [INFO] [stderr] 343 | let mut hasher = Sha256::new(); [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hasher` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `close_line` is never read [INFO] [stderr] --> src/header.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct ScriptRegion { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 12 | pub close_line: usize, // line of [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ScriptRegion` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `find_purpose_from_comment` is never used [INFO] [stderr] --> src/header.rs:491:4 [INFO] [stderr] | [INFO] [stderr] 491 | fn find_purpose_from_comment( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `extract_purpose_comment` is never used [INFO] [stderr] --> src/js_scope.rs:206:8 [INFO] [stderr] | [INFO] [stderr] 206 | pub fn extract_purpose_comment(lines: &[&str], decl_line_idx: usize) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> tests/integration/scan_test.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 5 | let mut path = PathBuf::from(env!("CARGO_BIN_EXE_sfhtml")); [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `missing_from_code` [INFO] [stderr] --> tests/integration/validate_test.rs:63:9 [INFO] [stderr] | [INFO] [stderr] 63 | let missing_from_code = result["anchor_consistency"]["missing_from_code"].as_array().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_missing_from_code` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `fixtures_dir` is never used [INFO] [stderr] --> tests/integration/page_test.rs:8:4 [INFO] [stderr] | [INFO] [stderr] 8 | fn fixtures_dir() -> PathBuf { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `sfhtml` (bin "sfhtml" test) generated 8 warnings (run `cargo fix --bin "sfhtml" -p sfhtml --tests` to apply 4 suggestions) [INFO] [stderr] warning: `sfhtml` (bin "sfhtml") generated 8 warnings (8 duplicates) [INFO] [stderr] warning: `sfhtml` (test "tests") generated 3 warnings (run `cargo fix --test "tests" -p sfhtml` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/sfhtml-d87af8112d5ac655) [INFO] [stdout] [INFO] [stderr] Running tests/tests.rs (/opt/rustwide/target/debug/deps/tests-d8738f98374a3092) [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] [stdout] [INFO] [stdout] running 55 tests [INFO] [stdout] test integration::create_test::test_create_html_with_header ... ok [INFO] [stdout] test integration::create_test::test_create_force_overwrite ... ok [INFO] [stdout] test integration::create_test::test_create_nested_directory ... ok [INFO] [stdout] test integration::create_test::test_create_html_basic ... ok [INFO] [stdout] test integration::create_test::test_create_json_output ... ok [INFO] [stdout] test integration::diff_test::test_diff_identical_files ... ok [INFO] [stdout] test integration::apply_test::test_apply_dry_run ... ok [INFO] [stdout] test integration::apply_test::test_apply_context_mismatch ... ok [INFO] [stdout] test integration::diff_test::test_diff_two_files ... ok [INFO] [stdout] test integration::header_test::test_header_full_extract ... ok [INFO] [stdout] test integration::header_test::test_header_json_output ... ok [INFO] [stdout] test integration::header_test::test_header_section_extract ... ok [INFO] [stdout] test integration::header_test::test_header_no_header_file ... ok [INFO] [stdout] test integration::history_test::test_history_status_and_clean ... ok [INFO] [stdout] test integration::locate_test::test_anchor_list ... ok [INFO] [stdout] test integration::apply_test::test_apply_backup ... ok [INFO] [stdout] test integration::locate_test::test_locate_class_anchor ... ok [INFO] [stdout] test integration::create_test::test_create_refuses_overwrite_without_force ... ok [INFO] [stdout] test integration::apply_test::test_apply_simple_diff ... ok [INFO] [stdout] test integration::history_test::test_history_rollback ... ok [INFO] [stdout] test integration::locate_test::test_locate_const_anchor ... ok [INFO] [stdout] test integration::module_test::test_module_dep_types ... ok [INFO] [stdout] test integration::module_test::test_module_detects_missing ... ok [INFO] [stdout] test integration::module_test::test_module_header_preview ... ok [INFO] [stdout] test integration::locate_test::test_locate_function_anchor ... ok [INFO] [stdout] test integration::locate_test::test_locate_not_found ... ok [INFO] [stdout] test integration::module_test::test_module_finds_all_deps ... ok [INFO] [stdout] test integration::page_test::test_debug_help ... ok [INFO] [stdout] test integration::history_test::test_apply_validation_json_output ... ok [INFO] [stdout] test integration::module_test::test_module_text_output ... ok [INFO] [stdout] test integration::page_test::test_page_dom_no_session ... ok [INFO] [stdout] test integration::page_test::test_debug_list_empty ... ok [INFO] [stdout] test integration::page_test::test_debug_start_no_browser_graceful ... ok [INFO] [stdout] test integration::page_test::test_debug_list_json ... ok [INFO] [stdout] test integration::page_test::test_debug_stop_no_session ... ok [INFO] [stdout] test integration::page_test::test_page_click_no_session ... ok [INFO] [stdout] test integration::page_test::test_page_help ... ok [INFO] [stdout] test integration::page_test::test_page_screenshot_no_session ... ok [INFO] [stdout] test integration::save_as_test::test_save_as_basic_copy ... ok [INFO] [stdout] test integration::save_as_test::test_save_as_refuses_overwrite ... ok [INFO] [stdout] test integration::save_as_test::test_save_as_force_overwrite ... ok [INFO] [stdout] test integration::history_test::test_apply_saves_history ... ok [INFO] [stdout] test integration::save_as_test::test_save_as_inject_header ... ok [INFO] [stdout] test integration::page_test::test_page_eval_no_session ... ok [INFO] [stdout] test integration::search_test::test_search_title_high_weight ... ok [INFO] [stdout] test integration::validate_test::test_validate_malformed ... ok [INFO] [stdout] test integration::validate_test::test_validate_no_header ... ok [INFO] [stdout] test integration::search_test::test_search_no_results ... ok [INFO] [stdout] test integration::search_test::test_search_finds_survey ... ok [INFO] [stdout] test integration::validate_test::test_validate_survey_app ... ok [INFO] [stdout] test integration::validate_test::test_validate_text_output ... ok [INFO] [stdout] test integration::scan_test::test_scan_finds_header_files ... ok [INFO] [stdout] test integration::scan_test::test_scan_extracts_app_name ... ok [INFO] [stdout] test integration::scan_test::test_scan_fallback_for_no_header ... ok [INFO] [stdout] test integration::scan_test::test_scan_text_output ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 55 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.38s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cf518ace577507add2bb23d5bc1080c2091aec1724c1b9003b9e2a890c95551d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf518ace577507add2bb23d5bc1080c2091aec1724c1b9003b9e2a890c95551d", kill_on_drop: false }` [INFO] [stdout] cf518ace577507add2bb23d5bc1080c2091aec1724c1b9003b9e2a890c95551d