[INFO] cloning repository https://github.com/taoqf/node-html-parser-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/taoqf/node-html-parser-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaoqf%2Fnode-html-parser-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaoqf%2Fnode-html-parser-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 23789f9e8c8ac0228b83b93caa0cc385ea1c4c3f [INFO] checking taoqf/node-html-parser-rs against try#0bdee9e879c87b7211d316e9152109cfd46c576b for pr-150097 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaoqf%2Fnode-html-parser-rs" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/taoqf/node-html-parser-rs [INFO] finished tweaking git repo https://github.com/taoqf/node-html-parser-rs [INFO] tweaked toml for git repo https://github.com/taoqf/node-html-parser-rs written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/taoqf/node-html-parser-rs on toolchain 0bdee9e879c87b7211d316e9152109cfd46c576b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/taoqf/node-html-parser-rs 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" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking taoqf/node-html-parser-rs against try#0bdee9e879c87b7211d316e9152109cfd46c576b for pr-150097 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaoqf%2Fnode-html-parser-rs" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/taoqf/node-html-parser-rs [INFO] finished tweaking git repo https://github.com/taoqf/node-html-parser-rs [INFO] tweaked toml for git repo https://github.com/taoqf/node-html-parser-rs written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/taoqf/node-html-parser-rs on toolchain 0bdee9e879c87b7211d316e9152109cfd46c576b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/taoqf/node-html-parser-rs 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" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.54 [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9b48f6453be64a1cec45e1b36e2efe15ca1ca39eb2f0c06bcb02974a925de952 [INFO] running `Command { std: "docker" "start" "-a" "9b48f6453be64a1cec45e1b36e2efe15ca1ca39eb2f0c06bcb02974a925de952", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b48f6453be64a1cec45e1b36e2efe15ca1ca39eb2f0c06bcb02974a925de952", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b48f6453be64a1cec45e1b36e2efe15ca1ca39eb2f0c06bcb02974a925de952", kill_on_drop: false }` [INFO] [stdout] 9b48f6453be64a1cec45e1b36e2efe15ca1ca39eb2f0c06bcb02974a925de952 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6a9879027bd6bf63bcc97ece24f021e9f62304170de2507aeb4b803ce561240 [INFO] running `Command { std: "docker" "start" "-a" "e6a9879027bd6bf63bcc97ece24f021e9f62304170de2507aeb4b803ce561240", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.104 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.104 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.104 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.54 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.104 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.104 [INFO] [stderr] Checking js-sys v0.3.81 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking node-html-parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/dom/element/text_ops.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rayon::prelude::*; // 预留:未来可将同级 Element 子树收集并行化 [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: `is_root` [INFO] [stdout] --> src/dom/element/text_ops.rs:150:54 [INFO] [stdout] | [INFO] [stdout] 150 | fn collect_structured_text(&self, buf: &mut String, is_root: bool) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_root` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `build_raw_cache` is never used [INFO] [stdout] --> src/dom/element/attributes.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 5 | impl HTMLElement { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 314 | fn build_raw_cache(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sync_class_attr` is never used [INFO] [stdout] --> src/dom/element/class_list.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 3 | impl HTMLElement { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | fn sync_class_attr(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `collect_structured_text` is never used [INFO] [stdout] --> src/dom/element/text_ops.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 8 | impl HTMLElement { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 150 | fn collect_structured_text(&self, buf: &mut String, is_root: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking wasm-bindgen-futures v0.4.54 [INFO] [stderr] Checking wasm-bindgen-test v0.3.54 [INFO] [stdout] warning: unused imports: `Options` and `parse_with_options` [INFO] [stdout] --> tests/issues/issue_214.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use node_html_parser::{parse, parse_with_options, Options}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/replace_with.rs:23:6 [INFO] [stdout] | [INFO] [stdout] 23 | let mut root = parse("
"); [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: variable does not need to be mutable [INFO] [stdout] --> tests/block_text_elements.rs:28:6 [INFO] [stdout] | [INFO] [stdout] 28 | let mut opts = Options::default(); [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: variable does not need to be mutable [INFO] [stdout] --> tests/issues/issue_41.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | let mut div_clone = div.clone_node(); [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: `a_old` [INFO] [stdout] --> tests/issues/issue_41.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | let a_old = div.query_selector("a").unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_a_old` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_a` [INFO] [stdout] --> tests/issues/issue_41.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | let new_a = root2.query_selector("a").unwrap().clone_node(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_new_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `div_clone` [INFO] [stdout] --> tests/issues/issue_41.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | let mut div_clone = div.clone_node(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_div_clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/dom/element/text_ops.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rayon::prelude::*; // 预留:未来可将同级 Element 子树收集并行化 [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: `is_root` [INFO] [stdout] --> src/dom/element/text_ops.rs:150:54 [INFO] [stdout] | [INFO] [stdout] 150 | fn collect_structured_text(&self, buf: &mut String, is_root: bool) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_root` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `build_raw_cache` is never used [INFO] [stdout] --> src/dom/element/attributes.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 5 | impl HTMLElement { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 314 | fn build_raw_cache(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sync_class_attr` is never used [INFO] [stdout] --> src/dom/element/class_list.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 3 | impl HTMLElement { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | fn sync_class_attr(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `collect_structured_text` is never used [INFO] [stdout] --> src/dom/element/text_ops.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 8 | impl HTMLElement { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 150 | fn collect_structured_text(&self, buf: &mut String, is_root: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.00s [INFO] running `Command { std: "docker" "inspect" "e6a9879027bd6bf63bcc97ece24f021e9f62304170de2507aeb4b803ce561240", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6a9879027bd6bf63bcc97ece24f021e9f62304170de2507aeb4b803ce561240", kill_on_drop: false }` [INFO] [stdout] e6a9879027bd6bf63bcc97ece24f021e9f62304170de2507aeb4b803ce561240