[INFO] fetching crate sfhtml 0.4.0... [INFO] testing sfhtml-0.4.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate sfhtml 0.4.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate sfhtml 0.4.0 [INFO] finished tweaking crates.io crate sfhtml 0.4.0 [INFO] tweaked toml for crates.io crate sfhtml 0.4.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sfhtml 0.4.0 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 crates.io crate sfhtml 0.4.0 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 tiny_http v0.12.0 [INFO] [stderr] Downloaded oxc_ast_macros v0.56.5 [INFO] [stderr] Downloaded oxc-miette-derive v1.0.2 [INFO] [stderr] Downloaded markup5ever_rcdom v0.3.0 [INFO] [stderr] Downloaded xml5ever v0.18.1 [INFO] [stderr] Downloaded oxc_regular_expression v0.56.5 [INFO] [stderr] Downloaded ropey v1.6.1 [INFO] [stderr] Downloaded oxc_parser v0.56.5 [INFO] [stderr] Downloaded oxc-miette v1.0.2 [INFO] [stderr] Downloaded oxc_ecmascript v0.56.5 [INFO] [stderr] Downloaded oxc_index v3.1.0 [INFO] [stderr] Downloaded oxc_syntax v0.56.5 [INFO] [stderr] Downloaded oxc_ast v0.56.5 [INFO] [stderr] Downloaded str_indices v0.4.4 [INFO] [stderr] Downloaded oxc_data_structures v0.56.5 [INFO] [stderr] Downloaded oxc_diagnostics v0.56.5 [INFO] [stderr] Downloaded oxc_allocator v0.56.5 [INFO] [stderr] Downloaded oxc_estree v0.56.5 [INFO] [stderr] Downloaded oxc_span v0.56.5 [INFO] [stderr] Downloaded chunked_transfer v1.5.0 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 29338888c4429366fdc814283a9769453d6c0474a952cff40abb1ad3357f4db5 [INFO] running `Command { std: "docker" "start" "-a" "29338888c4429366fdc814283a9769453d6c0474a952cff40abb1ad3357f4db5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "29338888c4429366fdc814283a9769453d6c0474a952cff40abb1ad3357f4db5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29338888c4429366fdc814283a9769453d6c0474a952cff40abb1ad3357f4db5", kill_on_drop: false }` [INFO] [stdout] 29338888c4429366fdc814283a9769453d6c0474a952cff40abb1ad3357f4db5 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d4d30c2f451c6e124342ef7ce34899087f3b244bf66bc2104d4c1e9964fe2e4 [INFO] running `Command { std: "docker" "start" "-a" "8d4d30c2f451c6e124342ef7ce34899087f3b244bf66bc2104d4c1e9964fe2e4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Compiling siphasher v1.0.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling owo-colors v4.3.0 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling smawk v0.3.2 [INFO] [stderr] Compiling unicode-width v0.2.2 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling castaway v0.2.4 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling simdutf8 v0.1.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling zerocopy v0.8.42 [INFO] [stderr] Compiling oxc_estree v0.56.5 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling cow-utils v0.1.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling str_indices v0.4.4 [INFO] [stderr] Compiling unicode-id-start v1.4.0 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling assert-unchecked v0.1.2 [INFO] [stderr] Compiling ropey v1.6.1 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling ryu-js v1.0.2 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling nonmax v0.5.5 [INFO] [stderr] Compiling oxc_index v3.1.0 [INFO] [stderr] Compiling anstyle-parse v1.0.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling colorchoice v1.0.5 [INFO] [stderr] Compiling anstyle v1.0.14 [INFO] [stderr] Compiling anstyle-query v1.1.5 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling anstream v1.0.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling oxc_data_structures v0.56.5 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling clap_lex v1.1.0 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling oxc_allocator v0.56.5 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling inotify v0.10.2 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling notify-types v1.0.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling filetime v0.2.27 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling data-encoding v2.10.0 [INFO] [stderr] Compiling clap_builder v4.6.0 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling chunked_transfer v1.5.0 [INFO] [stderr] Compiling ascii v1.1.0 [INFO] [stderr] Compiling notify v7.0.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling tiny_http v0.12.0 [INFO] [stderr] Compiling markup5ever v0.12.1 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling memmap2 v0.9.10 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling tempfile v3.27.0 [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 phf_macros v0.11.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling oxc-miette-derive v1.0.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling oxc_ast_macros v0.56.5 [INFO] [stderr] Compiling html5ever v0.27.0 [INFO] [stderr] Compiling clap_derive v4.6.0 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling oxc-miette v1.0.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling clap v4.6.0 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling oxc_span v0.56.5 [INFO] [stderr] Compiling oxc_diagnostics v0.56.5 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling oxc_syntax v0.56.5 [INFO] [stderr] Compiling oxc_regular_expression v0.56.5 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling oxc_ast v0.56.5 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling xml5ever v0.18.1 [INFO] [stderr] Compiling markup5ever_rcdom v0.3.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [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 33.61s [INFO] running `Command { std: "docker" "inspect" "8d4d30c2f451c6e124342ef7ce34899087f3b244bf66bc2104d4c1e9964fe2e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d4d30c2f451c6e124342ef7ce34899087f3b244bf66bc2104d4c1e9964fe2e4", kill_on_drop: false }` [INFO] [stdout] 8d4d30c2f451c6e124342ef7ce34899087f3b244bf66bc2104d4c1e9964fe2e4 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9aada6b723249c3146011220961880a4b3fa14690e0c30afaf601ffbd185aee5 [INFO] running `Command { std: "docker" "start" "-a" "9aada6b723249c3146011220961880a4b3fa14690e0c30afaf601ffbd185aee5", 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.45s [INFO] running `Command { std: "docker" "inspect" "9aada6b723249c3146011220961880a4b3fa14690e0c30afaf601ffbd185aee5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9aada6b723249c3146011220961880a4b3fa14690e0c30afaf601ffbd185aee5", kill_on_drop: false }` [INFO] [stdout] 9aada6b723249c3146011220961880a4b3fa14690e0c30afaf601ffbd185aee5 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f22d4dd36acc2ba7e9f24e52b5a841594d36733df7efaf1c152e50d76d84f626 [INFO] running `Command { std: "docker" "start" "-a" "f22d4dd36acc2ba7e9f24e52b5a841594d36733df7efaf1c152e50d76d84f626", 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: `sfhtml` (bin "sfhtml" test) generated 8 warnings (run `cargo fix --bin "sfhtml" -p sfhtml --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/sfhtml-d87af8112d5ac655) [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" "f22d4dd36acc2ba7e9f24e52b5a841594d36733df7efaf1c152e50d76d84f626", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f22d4dd36acc2ba7e9f24e52b5a841594d36733df7efaf1c152e50d76d84f626", kill_on_drop: false }` [INFO] [stdout] f22d4dd36acc2ba7e9f24e52b5a841594d36733df7efaf1c152e50d76d84f626