[INFO] fetching crate readability-text-cleanup 1.0.0... [INFO] checking readability-text-cleanup-1.0.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate readability-text-cleanup 1.0.0 into /workspace/builds/worker-6-tc2/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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate readability-text-cleanup 1.0.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 88 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3241e9217e21f409b16cd40aa17812676f66b6f64f9951b9d589d8d866e4e8ae [INFO] running `Command { std: "docker" "start" "-a" "3241e9217e21f409b16cd40aa17812676f66b6f64f9951b9d589d8d866e4e8ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3241e9217e21f409b16cd40aa17812676f66b6f64f9951b9d589d8d866e4e8ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3241e9217e21f409b16cd40aa17812676f66b6f64f9951b9d589d8d866e4e8ae", kill_on_drop: false }` [INFO] [stdout] 3241e9217e21f409b16cd40aa17812676f66b6f64f9951b9d589d8d866e4e8ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 045c829af46925397a27da955bcbac8c7a8c2d8a97659585d95c601ba5f1f83c [INFO] running `Command { std: "docker" "start" "-a" "045c829af46925397a27da955bcbac8c7a8c2d8a97659585d95c601ba5f1f83c", 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.18 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling markup5ever v0.12.1 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking string_cache v0.8.9 [INFO] [stderr] Checking xml5ever v0.18.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling html5ever v0.27.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Checking markup5ever_rcdom v0.3.0 [INFO] [stderr] Checking html2md v0.2.15 [INFO] [stderr] Checking 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)]` 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`: `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-08-13; 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-08-13; 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)]` 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-08-13; 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-08-13; 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-08-13; 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-08-13; 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 5 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-08-13; 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-08-13; 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" "045c829af46925397a27da955bcbac8c7a8c2d8a97659585d95c601ba5f1f83c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "045c829af46925397a27da955bcbac8c7a8c2d8a97659585d95c601ba5f1f83c", kill_on_drop: false }` [INFO] [stdout] 045c829af46925397a27da955bcbac8c7a8c2d8a97659585d95c601ba5f1f83c