[INFO] fetching crate readability-js 0.1.5... [INFO] testing readability-js-0.1.5 against beta-2025-10-28 for beta-1.92-2 [INFO] extracting crate readability-js 0.1.5 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate readability-js 0.1.5 [INFO] finished tweaking crates.io crate readability-js 0.1.5 [INFO] tweaked toml for crates.io crate readability-js 0.1.5 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate readability-js 0.1.5 on toolchain beta-2025-10-28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate readability-js 0.1.5 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" "+beta-2025-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6a178df9baf878b31fc98532b9c635439ca6ae6da03ee0788752b8b4d8d7296f [INFO] running `Command { std: "docker" "start" "-a" "6a178df9baf878b31fc98532b9c635439ca6ae6da03ee0788752b8b4d8d7296f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a178df9baf878b31fc98532b9c635439ca6ae6da03ee0788752b8b4d8d7296f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a178df9baf878b31fc98532b9c635439ca6ae6da03ee0788752b8b4d8d7296f", kill_on_drop: false }` [INFO] [stdout] 6a178df9baf878b31fc98532b9c635439ca6ae6da03ee0788752b8b4d8d7296f [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b43cf940aac981942b622bee81ad803bf416f49470dbada18d8e5960b962dba7 [INFO] running `Command { std: "docker" "start" "-a" "b43cf940aac981942b622bee81ad803bf416f49470dbada18d8e5960b962dba7", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling cc v1.2.38 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling rquickjs-sys v0.9.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling rquickjs-core v0.9.0 [INFO] [stderr] Compiling rquickjs v0.9.0 [INFO] [stderr] Compiling readability-js v0.1.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.88s [INFO] running `Command { std: "docker" "inspect" "b43cf940aac981942b622bee81ad803bf416f49470dbada18d8e5960b962dba7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b43cf940aac981942b622bee81ad803bf416f49470dbada18d8e5960b962dba7", kill_on_drop: false }` [INFO] [stdout] b43cf940aac981942b622bee81ad803bf416f49470dbada18d8e5960b962dba7 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e3839765f507afab530b8a45b1dbf7bb1bc3f12a5df70671ea29f1c34f6ee8b [INFO] running `Command { std: "docker" "start" "-a" "1e3839765f507afab530b8a45b1dbf7bb1bc3f12a5df70671ea29f1c34f6ee8b", kill_on_drop: false }` [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling clap_builder v4.5.48 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling criterion-plot v0.6.0 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling readability-js v0.1.5 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling clap v4.5.48 [INFO] [stderr] Compiling criterion v0.7.0 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 15.95s [INFO] running `Command { std: "docker" "inspect" "1e3839765f507afab530b8a45b1dbf7bb1bc3f12a5df70671ea29f1c34f6ee8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e3839765f507afab530b8a45b1dbf7bb1bc3f12a5df70671ea29f1c34f6ee8b", kill_on_drop: false }` [INFO] [stdout] 1e3839765f507afab530b8a45b1dbf7bb1bc3f12a5df70671ea29f1c34f6ee8b [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 326d186ae74ee3c4a39cb1621b8196bc3f091096d95422d96ad7d5432a727e29 [INFO] running `Command { std: "docker" "start" "-a" "326d186ae74ee3c4a39cb1621b8196bc3f091096d95422d96ad7d5432a727e29", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/readability_js-a69c8343aa6d65eb) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test readability::tests::test_basic_extraction ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s [INFO] [stdout] [INFO] [stderr] Doc-tests readability_js [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test src/readability.rs - readability::ReadabilityError::InvalidOptions (line 555) ... FAILED [INFO] [stdout] test src/readability.rs - readability::Readability::parse_with_url (line 725) ... FAILED [INFO] [stdout] test src/readability.rs - readability::ReadabilityError::JsEvaluation (line 526) ... FAILED [INFO] [stdout] test src/lib.rs - (line 136) ... FAILED [INFO] [stdout] test src/lib.rs - (line 51) ... FAILED [INFO] [stdout] test src/lib.rs - (line 85) ... FAILED [INFO] [stdout] test src/lib.rs - (line 39) ... FAILED [INFO] [stdout] test src/readability.rs - readability::Readability::parse_with_options (line 754) ... FAILED [INFO] [stdout] test src/lib.rs - (line 172) ... FAILED [INFO] [stdout] test src/lib.rs - (line 153) ... FAILED [INFO] [stdout] test src/readability.rs - readability::ReadabilityError::ExtractionError (line 500) ... FAILED [INFO] [stdout] test src/readability.rs - readability::ReadabilityError::ReadabilityCheckFailed (line 482) ... FAILED [INFO] [stdout] test src/readability.rs - readability::Readability (line 590) ... FAILED [INFO] [stdout] test src/lib.rs - (line 69) ... FAILED [INFO] [stdout] test src/readability.rs - readability::ReadabilityOptions (line 226) ... ok [INFO] [stdout] test src/readability.rs - readability::Readability::parse (line 674) ... FAILED [INFO] [stdout] test src/lib.rs - (line 23) ... ok [INFO] [stdout] test src/readability.rs - readability::ReadabilityError::HtmlParseError (line 459) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/readability.rs - readability::ReadabilityError::InvalidOptions (line 555) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `html` in this scope [INFO] [stdout] --> src/readability.rs:560:37 [INFO] [stdout] | [INFO] [stdout] 8 | let result = reader.parse_with_url(&html, "javascript:alert('xss')"); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/readability.rs - readability::Readability::parse_with_url (line 725) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `html` in this scope [INFO] [stdout] --> src/readability.rs:730:37 [INFO] [stdout] | [INFO] [stdout] 8 | let article = reader.parse_with_url(html, "https://example.com/article")?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/readability.rs - readability::ReadabilityError::JsEvaluation (line 526) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `html` in this scope [INFO] [stdout] --> src/readability.rs:530:21 [INFO] [stdout] | [INFO] [stdout] 7 | match reader.parse(&html) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 136) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `html` in this scope [INFO] [stdout] --> src/lib.rs:146:42 [INFO] [stdout] | [INFO] [stdout] 13 | let article = reader.parse_with_options(&html, None, Some(options))?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 51) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `html` in this scope [INFO] [stdout] --> src/lib.rs:60:42 [INFO] [stdout] | [INFO] [stdout] 12 | let article = reader.parse_with_options(&html, Some("https://example.com"), Some(options))?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 85) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `html` in this scope [INFO] [stdout] --> src/lib.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 8 | match reader.parse(&html) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `html` in this scope [INFO] [stdout] --> src/lib.rs:95:50 [INFO] [stdout] | [INFO] [stdout] 13 | let article = reader.parse_with_options(&html, None, Some(options))?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 39) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `html` in this scope [INFO] [stdout] --> src/lib.rs:44:38 [INFO] [stdout] | [INFO] [stdout] 8 | let article = reader.parse_with_url(&html, "https://example.com/article")?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/readability.rs - readability::Readability::parse_with_options (line 754) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `html` in this scope [INFO] [stdout] --> src/readability.rs:762:41 [INFO] [stdout] | [INFO] [stdout] 11 | let article = reader.parse_with_options(html, Some("https://example.com"), Some(options))?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 172) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `html` in this scope [INFO] [stdout] --> src/lib.rs:181:42 [INFO] [stdout] | [INFO] [stdout] 12 | let article = reader.parse_with_options(&html, None, Some(options))?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 153) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `html` in this scope [INFO] [stdout] --> src/lib.rs:159:38 [INFO] [stdout] | [INFO] [stdout] 9 | let article = reader.parse_with_url(&html, "https://example.com/article")?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `html` in this scope [INFO] [stdout] --> src/lib.rs:165:42 [INFO] [stdout] | [INFO] [stdout] 15 | let article = reader.parse_with_options(&html, None, Some(options))?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/readability.rs - readability::ReadabilityError::ExtractionError (line 500) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `html` in this scope [INFO] [stdout] --> src/readability.rs:504:21 [INFO] [stdout] | [INFO] [stdout] 7 | match reader.parse(&html) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/readability.rs - readability::ReadabilityError::ReadabilityCheckFailed (line 482) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `html` in this scope [INFO] [stdout] --> src/readability.rs:487:42 [INFO] [stdout] | [INFO] [stdout] 8 | let article = reader.parse_with_options(&html, None, Some(options))?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/readability.rs - readability::Readability (line 590) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `html` in this scope [INFO] [stdout] --> src/readability.rs:598:30 [INFO] [stdout] | [INFO] [stdout] 11 | let article = reader.extract(html, Some("https://example.com"), None)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `html` in this scope [INFO] [stdout] --> src/readability.rs:603:30 [INFO] [stdout] | [INFO] [stdout] 16 | let article = reader.extract(html, Some("https://example.com"), Some(options))?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0624]: method `extract` is private [INFO] [stdout] --> src/readability.rs:598:22 [INFO] [stdout] | [INFO] [stdout] 11 | let article = reader.extract(html, Some("https://example.com"), None)?; [INFO] [stdout] | ^^^^^^^ private method [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/readability.rs:781:5 [INFO] [stdout] | [INFO] [stdout] 781 | / fn extract( [INFO] [stdout] 782 | | &self, [INFO] [stdout] 783 | | html: &str, [INFO] [stdout] 784 | | base_url: Option<&str>, [INFO] [stdout] 785 | | options: Option, [INFO] [stdout] 786 | | ) -> Result
{ [INFO] [stdout] | |________________________- private method defined here [INFO] [stdout] [INFO] [stdout] error[E0624]: method `extract` is private [INFO] [stdout] --> src/readability.rs:603:22 [INFO] [stdout] | [INFO] [stdout] 16 | let article = reader.extract(html, Some("https://example.com"), Some(options))?; [INFO] [stdout] | ^^^^^^^ private method [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/readability.rs:781:5 [INFO] [stdout] | [INFO] [stdout] 781 | / fn extract( [INFO] [stdout] 782 | | &self, [INFO] [stdout] 783 | | html: &str, [INFO] [stdout] 784 | | base_url: Option<&str>, [INFO] [stdout] 785 | | options: Option, [INFO] [stdout] 786 | | ) -> Result
{ [INFO] [stdout] | |________________________- private method defined here [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0624. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 69) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `documents` in this scope [INFO] [stdout] --> src/lib.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 8 | for html in documents { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 8 | for html in documents { [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 8 | / for html in documents { [INFO] [stdout] 9 | | let article = reader.parse(&html)?; [INFO] [stdout] 10 | | process_article(article); [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by a bound in `None` [INFO] [stdout] --> /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/option.rs:603:5 [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 8 | for html in documents { [INFO] [stdout] | ^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by an implicit `Sized` bound in `Option` [INFO] [stdout] --> /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/option.rs:599:1 [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `process_article` in this scope [INFO] [stdout] --> src/lib.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 10 | process_article(article); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/readability.rs - readability::Readability::parse (line 674) stdout ---- [INFO] [stdout] Test executable failed (exit status: 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] [INFO] [stdout] thread 'main' (192) panicked at src/readability.rs:23:1: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "" [INFO] [stdout] right: "Breaking News" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x58358b94c482 - std::backtrace_rs::backtrace::libunwind::trace::h16acf28769fcd909 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x58358b94c482 - std::backtrace_rs::backtrace::trace_unsynchronized::hb5541aa5d4f92513 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x58358b94c482 - std::sys::backtrace::_print_fmt::h8ac8268cb667a306 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x58358b94c482 - ::fmt::h47627beda0767f4c [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x58358b95ca3f - core::fmt::rt::Argument::fmt::h686a01ad57c1c92a [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x58358b95ca3f - core::fmt::write::h8a63064c67176fd8 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x58358b92a183 - std::io::default_write_fmt::hc257f38f86d39af6 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x58358b92a183 - std::io::Write::write_fmt::h5e9b646cef91150b [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x58358b92fae2 - std::sys::backtrace::BacktraceLock::print::h4634d27c0afbaebb [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x58358b9314fc - std::panicking::default_hook::{{closure}}::h23e0299d4738b766 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x58358b931356 - std::panicking::default_hook::hfeec6294e8751b62 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x58358b931b85 - std::panicking::panic_with_hook::hd57cd463d793ed79 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x58358b93196a - std::panicking::panic_handler::{{closure}}::hddd6216c3fddee3b [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:707:13 [INFO] [stdout] 13: 0x58358b92fc19 - std::sys::backtrace::__rust_end_short_backtrace::h5e7a56f283378525 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x58358b91ee1d - __rustc[256c90bb7e548b45]::rust_begin_unwind [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x58358b9645a0 - core::panicking::panic_fmt::hf19c198748ef6a95 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panicking.rs:80:14 [INFO] [stdout] 16: 0x58358b964353 - core::panicking::assert_failed_inner::h709867d03648810d [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panicking.rs:444:17 [INFO] [stdout] 17: 0x58358b7c868e - core::panicking::assert_failed::hdbcb4ff38d8104ac [INFO] [stdout] 18: 0x58358b7c950d - rust_out::main::_doctest_main_src_readability_rs_674_0::h9ac25bae0a7766ed [INFO] [stdout] 19: 0x58358b7c91c1 - rust_out::main::he986860d8b7bc94f [INFO] [stdout] 20: 0x58358b7c7573 - core::ops::function::FnOnce::call_once::hd0f888ea33950d2d [INFO] [stdout] 21: 0x58358b7c74d6 - std::sys::backtrace::__rust_begin_short_backtrace::h70a8cfcb1f800bff [INFO] [stdout] 22: 0x58358b7c74b9 - std::rt::lang_start::{{closure}}::h03ca8d00642774ee [INFO] [stdout] 23: 0x58358b92b530 - core::ops::function::impls:: for &F>::call_once::hdf957eac011d0136 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 24: 0x58358b92b530 - std::panicking::catch_unwind::do_call::h9ff550f7799115e1 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:590:40 [INFO] [stdout] 25: 0x58358b92b530 - std::panicking::catch_unwind::ha7ce46787bb12905 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:553:19 [INFO] [stdout] 26: 0x58358b92b530 - std::panic::catch_unwind::h625b36596def7d39 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panic.rs:359:14 [INFO] [stdout] 27: 0x58358b92b530 - std::rt::lang_start_internal::{{closure}}::h4cbc9430de699e2c [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/rt.rs:175:24 [INFO] [stdout] 28: 0x58358b92b530 - std::panicking::catch_unwind::do_call::h5af2f11409a22e3e [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x58358b92b530 - std::panicking::catch_unwind::hf64cf7b0d8070f52 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x58358b92b530 - std::panic::catch_unwind::h480b74763390cdcf [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x58358b92b530 - std::rt::lang_start_internal::h4b3d04f698aef094 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/rt.rs:171:5 [INFO] [stdout] 32: 0x58358b7c74a1 - std::rt::lang_start::h457230af78cce7e7 [INFO] [stdout] 33: 0x58358b7c95e5 - main [INFO] [stdout] 34: 0x745d6d09f1ca - [INFO] [stdout] 35: 0x745d6d09f28b - __libc_start_main [INFO] [stdout] 36: 0x58358b7c73b5 - _start [INFO] [stdout] 37: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 136) [INFO] [stdout] src/lib.rs - (line 153) [INFO] [stdout] src/lib.rs - (line 172) [INFO] [stdout] src/lib.rs - (line 39) [INFO] [stdout] src/lib.rs - (line 51) [INFO] [stdout] src/lib.rs - (line 69) [INFO] [stdout] src/lib.rs - (line 85) [INFO] [stdout] src/readability.rs - readability::Readability (line 590) [INFO] [stdout] src/readability.rs - readability::Readability::parse (line 674) [INFO] [stdout] src/readability.rs - readability::Readability::parse_with_options (line 754) [INFO] [stdout] src/readability.rs - readability::Readability::parse_with_url (line 725) [INFO] [stdout] src/readability.rs - readability::ReadabilityError::ExtractionError (line 500) [INFO] [stdout] src/readability.rs - readability::ReadabilityError::InvalidOptions (line 555) [INFO] [stdout] src/readability.rs - readability::ReadabilityError::JsEvaluation (line 526) [INFO] [stdout] src/readability.rs - readability::ReadabilityError::ReadabilityCheckFailed (line 482) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 15 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.05s [INFO] [stdout] [INFO] [stdout] all doctests ran in 1.38s; merged doctests compilation took 0.33s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "326d186ae74ee3c4a39cb1621b8196bc3f091096d95422d96ad7d5432a727e29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "326d186ae74ee3c4a39cb1621b8196bc3f091096d95422d96ad7d5432a727e29", kill_on_drop: false }` [INFO] [stdout] 326d186ae74ee3c4a39cb1621b8196bc3f091096d95422d96ad7d5432a727e29