[INFO] cloning repository https://github.com/binh-vu/rsoup [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/binh-vu/rsoup" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbinh-vu%2Frsoup", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbinh-vu%2Frsoup'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 405061a5159ced5a43232c5bb642a8b8d4860817 [INFO] checking binh-vu/rsoup against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbinh-vu%2Frsoup" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/binh-vu/rsoup on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/binh-vu/rsoup [INFO] finished tweaking git repo https://github.com/binh-vu/rsoup [INFO] tweaked toml for git repo https://github.com/binh-vu/rsoup written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/binh-vu/rsoup 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unindent v0.1.9 [INFO] [stderr] Downloaded phf_macros v0.11.0 [INFO] [stderr] Downloaded phf_shared v0.11.0 [INFO] [stderr] Downloaded phf v0.11.0 [INFO] [stderr] Downloaded cortex-m v0.7.5 [INFO] [stderr] Downloaded indoc v1.0.6 [INFO] [stderr] Downloaded phf_generator v0.11.0 [INFO] [stderr] Downloaded atomic-polyfill v0.1.9 [INFO] [stderr] Downloaded postcard v1.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a7e97d87238f062e7b7f1fd4fd27e98ac7584d13a3be5c85b4ac89b1f3608db [INFO] running `Command { std: "docker" "start" "-a" "1a7e97d87238f062e7b7f1fd4fd27e98ac7584d13a3be5c85b4ac89b1f3608db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a7e97d87238f062e7b7f1fd4fd27e98ac7584d13a3be5c85b4ac89b1f3608db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a7e97d87238f062e7b7f1fd4fd27e98ac7584d13a3be5c85b4ac89b1f3608db", kill_on_drop: false }` [INFO] [stdout] 1a7e97d87238f062e7b7f1fd4fd27e98ac7584d13a3be5c85b4ac89b1f3608db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58f03f5bbb754982408167d6ddc99b84ba671403e3eb0c8594fef416eca1b8dd [INFO] running `Command { std: "docker" "start" "-a" "58f03f5bbb754982408167d6ddc99b84ba671403e3eb0c8594fef416eca1b8dd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.63 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling serde_derive v1.0.143 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling serde v1.0.143 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling target-lexicon v0.12.4 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling semver v1.0.13 [INFO] [stderr] Checking new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Checking parking_lot_core v0.9.3 [INFO] [stderr] Compiling phf_shared v0.11.0 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Compiling pyo3-build-config v0.16.5 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling syn v2.0.22 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Compiling serde_json v1.0.83 [INFO] [stderr] Checking either v1.7.0 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking gimli v0.26.2 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking dtoa-short v0.3.3 [INFO] [stderr] Checking tendril v0.4.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.2 [INFO] [stderr] Compiling phf_generator v0.11.0 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Compiling selectors v0.25.0 [INFO] [stderr] Compiling heapless v0.7.16 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Checking object v0.29.0 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Compiling pyo3-ffi v0.16.5 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling anyhow v1.0.59 [INFO] [stderr] Checking plotters-backend v0.3.4 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking plotters-svg v0.3.2 [INFO] [stderr] Compiling pyo3 v0.16.5 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking servo_arc v0.3.0 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking spin v0.9.4 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Compiling pyo3-macros-backend v0.16.5 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking plotters v0.3.2 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking ego-tree v0.6.2 [INFO] [stderr] Checking cobs v0.2.3 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking unindent v0.1.9 [INFO] [stderr] Compiling indoc v1.0.6 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking atoi v2.0.0 [INFO] [stderr] Compiling phf_macros v0.11.0 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling pyo3-macros v0.16.5 [INFO] [stderr] Checking phf v0.11.0 [INFO] [stderr] Checking cssparser v0.31.2 [INFO] [stderr] Checking thiserror v1.0.32 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking string_cache v0.8.4 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking postcard v1.0.1 [INFO] [stderr] Checking indexmap v1.9.1 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking scraper v0.17.1 [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stderr] Checking rsoup v2.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Node` [INFO] [stdout] --> src/extractors/elementrefview.rs:10:57 [INFO] [stdout] | [INFO] [stdout] 10 | use scraper::{node::Attrs, CaseSensitivity, ElementRef, Node, Selector}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Node` [INFO] [stdout] --> src/extractors/elementrefview.rs:10:57 [INFO] [stdout] | [INFO] [stdout] 10 | use scraper::{node::Attrs, CaseSensitivity, ElementRef, Node, Selector}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/extractors/text/get_rich_text.rs:217:25 [INFO] [stdout] | [INFO] [stdout] 217 | let mut text_el = element.get_node_mut(stack_ptrs.pop().unwrap().1); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/extractors/text/get_rich_text.rs:217:25 [INFO] [stdout] | [INFO] [stdout] 217 | let mut text_el = element.get_node_mut(stack_ptrs.pop().unwrap().1); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> benches/get_text.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BenchmarkId` [INFO] [stdout] --> benches/get_text.rs:2:50 [INFO] [stdout] | [INFO] [stdout] 2 | use criterion::{criterion_group, criterion_main, BenchmarkId, Criterion}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ego_tree::NodeRef` [INFO] [stdout] --> benches/get_text.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ego_tree::NodeRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rsoup::models::rich_text::RichText` [INFO] [stdout] --> benches/get_text.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rsoup::models::rich_text::RichText; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> benches/context_recursive_extractor_benchmark.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Node` [INFO] [stdout] --> benches/get_text.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | use scraper::{ElementRef, Html, Node, Selector}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> benches/get_text.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | fn get_doc(filename: &str) -> Html { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> benches/context_recursive_extractor_benchmark.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | fn get_doc(filename: &str) -> Html { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extractor` [INFO] [stdout] --> benches/get_text.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let extractor = ContextExtractor::default(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extractor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_doc` is never used [INFO] [stdout] --> benches/get_text.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn get_doc(filename: &str) -> Html { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_doc` is never used [INFO] [stdout] --> benches/context_recursive_extractor_benchmark.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn get_doc(filename: &str) -> Html { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.66s [INFO] running `Command { std: "docker" "inspect" "58f03f5bbb754982408167d6ddc99b84ba671403e3eb0c8594fef416eca1b8dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58f03f5bbb754982408167d6ddc99b84ba671403e3eb0c8594fef416eca1b8dd", kill_on_drop: false }` [INFO] [stdout] 58f03f5bbb754982408167d6ddc99b84ba671403e3eb0c8594fef416eca1b8dd