[INFO] fetching crate readability-js 0.1.5... [INFO] testing readability-js-0.1.5 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate readability-js 0.1.5 into /workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate readability-js 0.1.5 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 832fc48d5c534ab82be9c5a7467894286813d8360377d30cd8a7b9acee69f2f8 [INFO] running `Command { std: "docker" "start" "-a" "832fc48d5c534ab82be9c5a7467894286813d8360377d30cd8a7b9acee69f2f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "832fc48d5c534ab82be9c5a7467894286813d8360377d30cd8a7b9acee69f2f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "832fc48d5c534ab82be9c5a7467894286813d8360377d30cd8a7b9acee69f2f8", kill_on_drop: false }` [INFO] [stdout] 832fc48d5c534ab82be9c5a7467894286813d8360377d30cd8a7b9acee69f2f8 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d0655dd200e15db28b3ca0f0bb970d01e4825b1dd19ea7c9a95c469c802d831 [INFO] running `Command { std: "docker" "start" "-a" "9d0655dd200e15db28b3ca0f0bb970d01e4825b1dd19ea7c9a95c469c802d831", kill_on_drop: false }` [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling cc v1.2.38 [INFO] [stderr] Compiling syn v2.0.106 [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 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 28.89s [INFO] running `Command { std: "docker" "inspect" "9d0655dd200e15db28b3ca0f0bb970d01e4825b1dd19ea7c9a95c469c802d831", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d0655dd200e15db28b3ca0f0bb970d01e4825b1dd19ea7c9a95c469c802d831", kill_on_drop: false }` [INFO] [stdout] 9d0655dd200e15db28b3ca0f0bb970d01e4825b1dd19ea7c9a95c469c802d831 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 53e565673c0987af3f4c80ae6458cf92591ccdcab0f097dca14b753fd016f271 [INFO] running `Command { std: "docker" "start" "-a" "53e565673c0987af3f4c80ae6458cf92591ccdcab0f097dca14b753fd016f271", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling clap_builder v4.5.48 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion-plot v0.6.0 [INFO] [stderr] Compiling readability-js v0.1.5 (/opt/rustwide/workdir) [INFO] [stderr] Compiling clap v4.5.48 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling criterion v0.7.0 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 19.58s [INFO] running `Command { std: "docker" "inspect" "53e565673c0987af3f4c80ae6458cf92591ccdcab0f097dca14b753fd016f271", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53e565673c0987af3f4c80ae6458cf92591ccdcab0f097dca14b753fd016f271", kill_on_drop: false }` [INFO] [stdout] 53e565673c0987af3f4c80ae6458cf92591ccdcab0f097dca14b753fd016f271 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0abb1e8e790cc9dcc63e370375a01e34c1ce5324963df9fecea049c995129219 [INFO] running `Command { std: "docker" "start" "-a" "0abb1e8e790cc9dcc63e370375a01e34c1ce5324963df9fecea049c995129219", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/readability_js-da27c65d7b647787) [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.23s [INFO] [stdout] [INFO] [stderr] Doc-tests readability_js [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test src/lib.rs - (line 85) ... FAILED [INFO] [stdout] test src/lib.rs - (line 153) ... FAILED [INFO] [stdout] test src/readability.rs - readability::ReadabilityError::JsEvaluation (line 526) ... FAILED [INFO] [stdout] test src/readability.rs - readability::Readability::parse_with_url (line 725) ... FAILED [INFO] [stdout] test src/lib.rs - (line 69) ... FAILED [INFO] [stdout] test src/lib.rs - (line 136) ... FAILED [INFO] [stdout] test src/lib.rs - (line 172) ... FAILED [INFO] [stdout] test src/readability.rs - readability::Readability (line 590) ... FAILED [INFO] [stdout] test src/lib.rs - (line 39) ... FAILED [INFO] [stdout] test src/readability.rs - readability::ReadabilityError::ExtractionError (line 500) ... FAILED [INFO] [stdout] test src/readability.rs - readability::ReadabilityError::InvalidOptions (line 555) ... FAILED [INFO] [stdout] test src/lib.rs - (line 51) ... FAILED [INFO] [stdout] test src/readability.rs - readability::Readability::parse_with_options (line 754) ... FAILED [INFO] [stdout] test src/readability.rs - readability::ReadabilityOptions (line 226) ... ok [INFO] [stdout] test src/readability.rs - readability::ReadabilityError::ReadabilityCheckFailed (line 482) ... FAILED [INFO] [stdout] test src/readability.rs - readability::ReadabilityError::HtmlParseError (line 459) ... ok [INFO] [stdout] test src/readability.rs - readability::Readability::parse (line 674) ... FAILED [INFO] [stdout] test src/lib.rs - (line 23) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 85) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `html` in this scope [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] --> src/lib.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | 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] 95 | 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 153) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `html` in this scope [INFO] [stdout] --> src/lib.rs:159:38 [INFO] [stdout] | [INFO] [stdout] 159 | 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] 165 | 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::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] 530 | 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::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] 730 | 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/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] 74 | 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] 74 | 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] 74 | / for html in documents { [INFO] [stdout] 75 | | let article = reader.parse(&html)?; [INFO] [stdout] 76 | | process_article(article); [INFO] [stdout] 77 | | } [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/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/option.rs:599:0 [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] 74 | 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/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/option.rs:599:0 [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] 76 | 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/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] 146 | 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 172) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `html` in this scope [INFO] [stdout] --> src/lib.rs:181:42 [INFO] [stdout] | [INFO] [stdout] 181 | 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] 598 | 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] 603 | 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] 598 | 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] 603 | 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 39) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `html` in this scope [INFO] [stdout] --> src/lib.rs:44:38 [INFO] [stdout] | [INFO] [stdout] 44 | 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::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] 504 | 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::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] 560 | 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/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] 60 | 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/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] 762 | 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/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] 487 | 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::parse (line 674) stdout ---- [INFO] [stdout] Test executable failed (exit status: 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] [INFO] [stdout] thread 'main' (214) 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: 0x559e9de007b2 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x559e9de007b2 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x559e9de007b2 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x559e9de007b2 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x559e9de10bef - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x559e9de10bef - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x559e9ddde873 - std::io::default_write_fmt::hb29d13affe7e9cd0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x559e9ddde873 - std::io::Write::write_fmt::hec441b8c6eca32b9 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x559e9dde3f92 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x559e9dde59ac - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x559e9dde5806 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x559e9dde6035 - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x559e9dde5e1a - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 13: 0x559e9dde40c9 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x559e9ddd32cd - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x559e9de18710 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 16: 0x559e9de184c3 - core::panicking::assert_failed_inner::hbdde3a71af798a31 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:444:17 [INFO] [stdout] 17: 0x559e9dc7dd3e - core::panicking::assert_failed::he718d0a391fa24f9 [INFO] [stdout] 18: 0x559e9dc7ebbd - rust_out::main::_doctest_main_src_readability_rs_674_0::hc3cbe0c9a020fcaf [INFO] [stdout] 19: 0x559e9dc7e871 - rust_out::main::h583ff58340d718d9 [INFO] [stdout] 20: 0x559e9dc7cc23 - core::ops::function::FnOnce::call_once::h14c180921ac1da5e [INFO] [stdout] 21: 0x559e9dc7cb86 - std::sys::backtrace::__rust_begin_short_backtrace::h6b98eb9b1ad88857 [INFO] [stdout] 22: 0x559e9dc7cb69 - std::rt::lang_start::{{closure}}::h2fc95fa84f0c83a2 [INFO] [stdout] 23: 0x559e9dddfa20 - core::ops::function::impls:: for &F>::call_once::h9095abc9db71b07e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 24: 0x559e9dddfa20 - std::panicking::catch_unwind::do_call::h6cf5dc461761418c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 25: 0x559e9dddfa20 - std::panicking::catch_unwind::h60074fd2327f40bd [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 26: 0x559e9dddfa20 - std::panic::catch_unwind::heb14fa8e39d051cf [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 27: 0x559e9dddfa20 - std::rt::lang_start_internal::{{closure}}::hfb550bec36306a19 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/rt.rs:175:24 [INFO] [stdout] 28: 0x559e9dddfa20 - std::panicking::catch_unwind::do_call::hc805f36f35b6d647 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x559e9dddfa20 - std::panicking::catch_unwind::hb8d32f0195463ad2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x559e9dddfa20 - std::panic::catch_unwind::hcebe3b1d5adfc5a2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x559e9dddfa20 - std::rt::lang_start_internal::h27f55ed238aa26df [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/rt.rs:171:5 [INFO] [stdout] 32: 0x559e9dc7cb51 - std::rt::lang_start::h762c340aaede70f7 [INFO] [stdout] 33: 0x559e9dc7ec95 - main [INFO] [stdout] 34: 0x717df6dfa1ca - [INFO] [stdout] 35: 0x717df6dfa28b - __libc_start_main [INFO] [stdout] 36: 0x559e9dc7ca65 - _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.33s [INFO] [stdout] [INFO] [stdout] all doctests ran in 1.53s; merged doctests compilation took 0.19s [INFO] running `Command { std: "docker" "inspect" "0abb1e8e790cc9dcc63e370375a01e34c1ce5324963df9fecea049c995129219", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0abb1e8e790cc9dcc63e370375a01e34c1ce5324963df9fecea049c995129219", kill_on_drop: false }` [INFO] [stdout] 0abb1e8e790cc9dcc63e370375a01e34c1ce5324963df9fecea049c995129219