[INFO] fetching crate readability-js 0.1.5... [INFO] testing readability-js-0.1.5 against 1.91.0 for beta-1.92-2 [INFO] extracting crate readability-js 0.1.5 into /workspace/builds/worker-6-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate readability-js 0.1.5 on toolchain 1.91.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "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" "+1.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rquickjs v0.9.0 [INFO] [stderr] Downloaded rquickjs-core v0.9.0 [INFO] [stderr] Downloaded rquickjs-sys v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bdf7ad4d7aad750ac48f4647157313f51d16a7425c03e7dac8b7452b5d8ec9fd [INFO] running `Command { std: "docker" "start" "-a" "bdf7ad4d7aad750ac48f4647157313f51d16a7425c03e7dac8b7452b5d8ec9fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bdf7ad4d7aad750ac48f4647157313f51d16a7425c03e7dac8b7452b5d8ec9fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdf7ad4d7aad750ac48f4647157313f51d16a7425c03e7dac8b7452b5d8ec9fd", kill_on_drop: false }` [INFO] [stdout] bdf7ad4d7aad750ac48f4647157313f51d16a7425c03e7dac8b7452b5d8ec9fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=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" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 11b9291cb8f48b7db75afba4cdc454b6c121ca5dad47a50e11bd55023ffd037a [INFO] running `Command { std: "docker" "start" "-a" "11b9291cb8f48b7db75afba4cdc454b6c121ca5dad47a50e11bd55023ffd037a", 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 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-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling thiserror v2.0.16 [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 27.80s [INFO] running `Command { std: "docker" "inspect" "11b9291cb8f48b7db75afba4cdc454b6c121ca5dad47a50e11bd55023ffd037a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11b9291cb8f48b7db75afba4cdc454b6c121ca5dad47a50e11bd55023ffd037a", kill_on_drop: false }` [INFO] [stdout] 11b9291cb8f48b7db75afba4cdc454b6c121ca5dad47a50e11bd55023ffd037a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=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" "+1.91.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 05d25bf9f080a3bd7fbc6da4b2fcb1cfd8fcb0acdee08937712d0f6a56e1c8e3 [INFO] running `Command { std: "docker" "start" "-a" "05d25bf9f080a3bd7fbc6da4b2fcb1cfd8fcb0acdee08937712d0f6a56e1c8e3", kill_on_drop: false }` [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling clap_builder v4.5.48 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling criterion-plot v0.6.0 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling clap v4.5.48 [INFO] [stderr] Compiling readability-js v0.1.5 (/opt/rustwide/workdir) [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling criterion v0.7.0 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 13.74s [INFO] running `Command { std: "docker" "inspect" "05d25bf9f080a3bd7fbc6da4b2fcb1cfd8fcb0acdee08937712d0f6a56e1c8e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05d25bf9f080a3bd7fbc6da4b2fcb1cfd8fcb0acdee08937712d0f6a56e1c8e3", kill_on_drop: false }` [INFO] [stdout] 05d25bf9f080a3bd7fbc6da4b2fcb1cfd8fcb0acdee08937712d0f6a56e1c8e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=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" "+1.91.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0f15f762b07729d5cbc1b98d6e49bc24e9058614b51e6169d26e325e785815e0 [INFO] running `Command { std: "docker" "start" "-a" "0f15f762b07729d5cbc1b98d6e49bc24e9058614b51e6169d26e325e785815e0", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/readability_js-411091e6b20f3a9f) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test readability::tests::test_basic_extraction ... ok [INFO] [stderr] Doc-tests readability_js [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.29s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test src/readability.rs - readability::Readability::parse_with_url (line 725) ... FAILED [INFO] [stdout] test src/readability.rs - readability::Readability::parse_with_options (line 754) ... FAILED [INFO] [stdout] test src/readability.rs - readability::ReadabilityError::ExtractionError (line 500) ... FAILED [INFO] [stdout] test src/lib.rs - (line 51) ... FAILED [INFO] [stdout] test src/readability.rs - readability::ReadabilityError::InvalidOptions (line 555) ... FAILED [INFO] [stdout] test src/lib.rs - (line 39) ... FAILED [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 (line 590) ... FAILED [INFO] [stdout] test src/readability.rs - readability::ReadabilityError::ReadabilityCheckFailed (line 482) ... FAILED [INFO] [stdout] test src/lib.rs - (line 172) ... FAILED [INFO] [stdout] test src/lib.rs - (line 136) ... 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::ReadabilityError::HtmlParseError (line 459) ... ok [INFO] [stdout] test src/lib.rs - (line 23) ... ok [INFO] [stdout] test src/readability.rs - readability::Readability::parse (line 674) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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::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/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/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/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/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/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 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::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/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/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/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 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 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/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/option.rs:598: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/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/option.rs:594: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' (213) 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: 0x5d1ded83f732 - std::backtrace_rs::backtrace::libunwind::trace::h62f3c6bea0fedab3 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d1ded83f732 - std::backtrace_rs::backtrace::trace_unsynchronized::hc41aaca6c0af0bde [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d1ded83f732 - std::sys::backtrace::_print_fmt::h33ac2b97007106cc [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d1ded83f732 - ::fmt::h4e0a3aeea0f9c085 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d1ded84fe6f - core::fmt::rt::Argument::fmt::h1edd6a3e00b22f10 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d1ded84fe6f - core::fmt::write::hecf68a131630c74d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5d1ded81d121 - std::io::default_write_fmt::haf8355dc2afbec95 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d1ded81d121 - std::io::Write::write_fmt::h93c9a261259c931a [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d1ded822aa2 - std::sys::backtrace::BacktraceLock::print::h75160192768e5621 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d1ded8244ec - std::panicking::default_hook::{{closure}}::h14d82797cfb1ddcb [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d1ded824346 - std::panicking::default_hook::h63f9bf8161c5d325 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x5d1ded824c25 - std::panicking::panic_with_hook::h3173740e06bd0752 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x5d1ded824a0a - std::panicking::panic_handler::{{closure}}::hbac492c61eb56a87 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 13: 0x5d1ded822bd9 - std::sys::backtrace::__rust_end_short_backtrace::haa3eac3df9535320 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x5d1ded811c4d - __rustc[de0091b922c53d7e]::rust_begin_unwind [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x5d1ded857a10 - core::panicking::panic_fmt::h5138da2ef87be35b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 16: 0x5d1ded8577c3 - core::panicking::assert_failed_inner::h1c85740028aaa416 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:439:17 [INFO] [stdout] 17: 0x5d1ded6b7e7e - core::panicking::assert_failed::h7dd5c9fc21f59acd [INFO] [stdout] 18: 0x5d1ded6b8dcd - rust_out::main::_doctest_main_src_readability_rs_674_0::h57ca9f8be20527ed [INFO] [stdout] 19: 0x5d1ded6b8a81 - rust_out::main::hcbdc0960c876f2af [INFO] [stdout] 20: 0x5d1ded6b6d93 - core::ops::function::FnOnce::call_once::hfb4119cacd246208 [INFO] [stdout] 21: 0x5d1ded6b6cb6 - std::sys::backtrace::__rust_begin_short_backtrace::h410c329a888fe2f7 [INFO] [stdout] 22: 0x5d1ded6b6c99 - std::rt::lang_start::{{closure}}::h39fc2126d871a896 [INFO] [stdout] 23: 0x5d1ded81e510 - core::ops::function::impls:: for &F>::call_once::hc7ed5622678f5124 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 24: 0x5d1ded81e510 - std::panicking::catch_unwind::do_call::hc59414a11cf2a25a [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 25: 0x5d1ded81e510 - std::panicking::catch_unwind::hff67b45e0819a036 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 26: 0x5d1ded81e510 - std::panic::catch_unwind::hec0fb0db85f7fd60 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 27: 0x5d1ded81e510 - std::rt::lang_start_internal::{{closure}}::h74bea026352620a3 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/rt.rs:175:24 [INFO] [stdout] 28: 0x5d1ded81e510 - std::panicking::catch_unwind::do_call::h931ef1bf7bdfcae2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5d1ded81e510 - std::panicking::catch_unwind::h3816830c825cbe04 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5d1ded81e510 - std::panic::catch_unwind::h408406c8f02ebb9d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5d1ded81e510 - std::rt::lang_start_internal::hce2b8b328837374b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/rt.rs:171:5 [INFO] [stdout] 32: 0x5d1ded6b6c81 - std::rt::lang_start::h866de1957bb2b812 [INFO] [stdout] 33: 0x5d1ded6b8ea5 - main [INFO] [stdout] 34: 0x7614e7f7f1ca - [INFO] [stdout] 35: 0x7614e7f7f28b - __libc_start_main [INFO] [stdout] 36: 0x5d1ded6b6b95 - _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.59s; merged doctests compilation took 0.25s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "0f15f762b07729d5cbc1b98d6e49bc24e9058614b51e6169d26e325e785815e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f15f762b07729d5cbc1b98d6e49bc24e9058614b51e6169d26e325e785815e0", kill_on_drop: false }` [INFO] [stdout] 0f15f762b07729d5cbc1b98d6e49bc24e9058614b51e6169d26e325e785815e0