[INFO] fetching crate readability-text-cleanup 1.0.0... [INFO] testing readability-text-cleanup-1.0.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate readability-text-cleanup 1.0.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate readability-text-cleanup 1.0.0 [INFO] finished tweaking crates.io crate readability-text-cleanup 1.0.0 [INFO] tweaked toml for crates.io crate readability-text-cleanup 1.0.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate readability-text-cleanup 1.0.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 80 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition [INFO] [stderr] (in the `readability_text_cleanup` library target) [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded html2md v0.2.15 [INFO] [stderr] Downloaded mac v0.1.1 [INFO] [stderr] Downloaded xml5ever v0.18.1 [INFO] [stderr] Downloaded utf-8 v0.7.6 [INFO] [stderr] Downloaded html5ever v0.27.0 [INFO] [stderr] Downloaded string_cache_codegen v0.5.4 [INFO] [stderr] Downloaded string_cache v0.8.9 [INFO] [stderr] Downloaded tendril v0.4.3 [INFO] [stderr] Downloaded markup5ever_rcdom v0.3.0 [INFO] [stderr] Downloaded markup5ever v0.12.1 [INFO] [stderr] Downloaded futf v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9eba7e7246845048e564136fba71500c624a7a0753146a193506e5f8f8d6e418 [INFO] running `Command { std: "docker" "start" "-a" "9eba7e7246845048e564136fba71500c624a7a0753146a193506e5f8f8d6e418", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9eba7e7246845048e564136fba71500c624a7a0753146a193506e5f8f8d6e418", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9eba7e7246845048e564136fba71500c624a7a0753146a193506e5f8f8d6e418", kill_on_drop: false }` [INFO] [stdout] 9eba7e7246845048e564136fba71500c624a7a0753146a193506e5f8f8d6e418 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95540f70db69462138e81338221edbcaf974264111ac5a9b9f2f9493f6be9ce3 [INFO] running `Command { std: "docker" "start" "-a" "95540f70db69462138e81338221edbcaf974264111ac5a9b9f2f9493f6be9ce3", kill_on_drop: false }` [INFO] [stderr] warning: `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition [INFO] [stderr] (in the `readability_text_cleanup` library target) [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.104 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling wasm-bindgen v0.2.104 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling markup5ever v0.12.1 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling xml5ever v0.18.1 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.104 [INFO] [stderr] Compiling html5ever v0.27.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.104 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.104 [INFO] [stderr] Compiling markup5ever_rcdom v0.3.0 [INFO] [stderr] Compiling html2md v0.2.15 [INFO] [stderr] Compiling readability-text-cleanup v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Captures` [INFO] [stdout] --> src/katana.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use regex::{Captures, Regex}; [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: `lazy_static::lazy_static` [INFO] [stdout] --> src/katana.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.40s [INFO] running `Command { std: "docker" "inspect" "95540f70db69462138e81338221edbcaf974264111ac5a9b9f2f9493f6be9ce3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95540f70db69462138e81338221edbcaf974264111ac5a9b9f2f9493f6be9ce3", kill_on_drop: false }` [INFO] [stdout] 95540f70db69462138e81338221edbcaf974264111ac5a9b9f2f9493f6be9ce3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9d17087d25a41d3386327fc2d78314c270b47b9b958a65cb113e30dbebc3c78 [INFO] running `Command { std: "docker" "start" "-a" "e9d17087d25a41d3386327fc2d78314c270b47b9b958a65cb113e30dbebc3c78", kill_on_drop: false }` [INFO] [stderr] warning: `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition [INFO] [stderr] (in the `readability_text_cleanup` library target) [INFO] [stderr] Compiling readability-text-cleanup v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0658]: use of unstable library feature `test`: `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/katana.rs:204:7 [INFO] [stdout] | [INFO] [stdout] 204 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-09-24; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `test`: `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/katana.rs:209:7 [INFO] [stdout] | [INFO] [stdout] 209 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-09-24; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Captures` [INFO] [stdout] --> src/katana.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use regex::{Captures, Regex}; [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: `lazy_static::lazy_static` [INFO] [stdout] --> src/katana.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `test` [INFO] [stdout] --> src/katana.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | extern crate test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-09-24; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `test` [INFO] [stdout] --> src/katana.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | use self::test::Bencher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-09-24; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `test` [INFO] [stdout] --> src/katana.rs:205:32 [INFO] [stdout] | [INFO] [stdout] 205 | fn bench_cut_short(b: &mut Bencher) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-09-24; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `test` [INFO] [stdout] --> src/katana.rs:210:31 [INFO] [stdout] | [INFO] [stdout] 210 | fn bench_cut_long(b: &mut Bencher) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-09-24; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `&str` with `Vec` [INFO] [stdout] --> src/katana.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | assert_eq!(result, super::cut(&text)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `&str == Vec` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq>` is not implemented for `&str` [INFO] [stdout] = help: the following other types implement trait `PartialEq`: [INFO] [stdout] `&str` implements `PartialEq` [INFO] [stdout] `&str` implements `PartialEq` [INFO] [stdout] `&str` implements `PartialEq>` [INFO] [stdout] `&str` implements `PartialEq` [INFO] [stdout] `&str` implements `PartialEq` [INFO] [stdout] `str` implements `PartialEq` [INFO] [stdout] `str` implements `PartialEq` [INFO] [stdout] `str` implements `PartialEq>` [INFO] [stdout] and 7 others [INFO] [stdout] = note: required for `Vec<&str>` to implement `PartialEq>>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `test` [INFO] [stdout] --> src/katana.rs:207:11 [INFO] [stdout] | [INFO] [stdout] 207 | b.iter(|| super::cut(&short_text)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-09-24; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `test` [INFO] [stdout] --> src/katana.rs:214:11 [INFO] [stdout] | [INFO] [stdout] 214 | b.iter(|| super::cut(&long_text)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-09-24; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `readability-text-cleanup` (lib test) due to 9 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e9d17087d25a41d3386327fc2d78314c270b47b9b958a65cb113e30dbebc3c78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9d17087d25a41d3386327fc2d78314c270b47b9b958a65cb113e30dbebc3c78", kill_on_drop: false }` [INFO] [stdout] e9d17087d25a41d3386327fc2d78314c270b47b9b958a65cb113e30dbebc3c78