[INFO] fetching crate url-preview 0.6.0... [INFO] building url-preview-0.6.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate url-preview 0.6.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate url-preview 0.6.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate url-preview 0.6.0 [INFO] tweaked toml for crates.io crate url-preview 0.6.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate url-preview 0.6.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate url-preview 0.6.0 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-openai v0.23.4 [INFO] [stderr] Downloaded ego-tree v0.6.3 [INFO] [stderr] Downloaded cc-sdk v0.1.5 [INFO] [stderr] Downloaded jsonrpc-stdio-server v18.0.0 [INFO] [stderr] Downloaded scraper v0.17.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0eefe548912ee1727c1013f6ec9698e9dd2f9308e6f453ded7424979538895fc [INFO] running `Command { std: "docker" "start" "-a" "0eefe548912ee1727c1013f6ec9698e9dd2f9308e6f453ded7424979538895fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0eefe548912ee1727c1013f6ec9698e9dd2f9308e6f453ded7424979538895fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0eefe548912ee1727c1013f6ec9698e9dd2f9308e6f453ded7424979538895fc", kill_on_drop: false }` [INFO] [stdout] 0eefe548912ee1727c1013f6ec9698e9dd2f9308e6f453ded7424979538895fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab7dde8f4aad43d864c60062e96fb1c84c4be8b0d43f8b2a3811ba7cc9ca162a [INFO] running `Command { std: "docker" "start" "-a" "ab7dde8f4aad43d864c60062e96fb1c84c4be8b0d43f8b2a3811ba7cc9ca162a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling dtoa v1.0.10 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling dtoa-short v0.3.5 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling getopts v0.2.23 [INFO] [stderr] Compiling ego-tree v0.6.3 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling selectors v0.25.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling html5ever v0.26.0 [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.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling cssparser v0.31.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling scraper v0.17.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling url-preview v0.6.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.11s [INFO] running `Command { std: "docker" "inspect" "ab7dde8f4aad43d864c60062e96fb1c84c4be8b0d43f8b2a3811ba7cc9ca162a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab7dde8f4aad43d864c60062e96fb1c84c4be8b0d43f8b2a3811ba7cc9ca162a", kill_on_drop: false }` [INFO] [stdout] ab7dde8f4aad43d864c60062e96fb1c84c4be8b0d43f8b2a3811ba7cc9ca162a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 899b6fd671eb4890e0eac8a2b67ce33f025e160bc7b810cfb0fdad6fbfd72e4d [INFO] running `Command { std: "docker" "start" "-a" "899b6fd671eb4890e0eac8a2b67ce33f025e160bc7b810cfb0fdad6fbfd72e4d", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling clap_builder v4.5.41 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling clap v4.5.41 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling scraper v0.17.1 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling url-preview v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0560]: struct `PreviewServiceConfig` has no field named `timeout` [INFO] [stdout] --> examples/test_v06_features.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | timeout: Duration::from_secs(30), [INFO] [stdout] | ^^^^^^^ `PreviewServiceConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `cache_strategy`, `default_fetcher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> examples/test_v06_features.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | let service = PreviewService::new(config)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ------ unexpected argument of type `PreviewServiceConfig` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/preview_service.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 20 - let service = PreviewService::new(config)?; [INFO] [stdout] 20 + let service = PreviewService::new()?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> examples/test_v06_features.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | let service = PreviewService::new(config)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `PreviewService` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `PreviewService` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `PreviewServiceConfig` has no field named `timeout` [INFO] [stdout] --> examples/test_browser_with_playwright.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | timeout: Duration::from_secs(30), [INFO] [stdout] | ^^^^^^^ `PreviewServiceConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `cache_strategy`, `default_fetcher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> examples/test_browser_with_playwright.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | let service = PreviewService::new(config)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ------ unexpected argument of type `PreviewServiceConfig` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/preview_service.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 17 - let service = PreviewService::new(config)?; [INFO] [stdout] 17 + let service = PreviewService::new()?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> examples/test_browser_with_playwright.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | let service = PreviewService::new(config)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `PreviewService` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `PreviewService` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0560. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0560. [INFO] [stdout] [INFO] [stderr] error: could not compile `url-preview` (example "test_v06_features") due to 3 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved imports `url_preview::BrowserUsagePolicy`, `url_preview::ContentFormat`, `url_preview::LLMExtractor`, `url_preview::LLMExtractorConfig`, `url_preview::McpConfig`, `url_preview::MockProvider` [INFO] [stdout] --> examples/interactive_test.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | BrowserUsagePolicy, ContentFormat, Fetcher, LLMExtractor, LLMExtractorConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ no `LLMExtractorConfig` in the root [INFO] [stdout] | | | | [INFO] [stdout] | | | no `LLMExtractor` in the root [INFO] [stdout] | | | help: a similar name exists in the module: `extractor` [INFO] [stdout] | | no `ContentFormat` in the root [INFO] [stdout] | no `BrowserUsagePolicy` in the root [INFO] [stdout] 11 | McpConfig, MockProvider, PreviewService, PreviewServiceConfig, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ no `MockProvider` in the root [INFO] [stdout] | | [INFO] [stdout] | no `McpConfig` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:118:58 [INFO] [stdout] | [INFO] [stdout] 117 | #[cfg(feature = "browser")] [INFO] [stdout] | ------------------- the item is gated behind the `browser` feature [INFO] [stdout] 118 | pub use mcp_client::{McpClient, McpConfig, McpTransport, BrowserUsagePolicy}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:123:59 [INFO] [stdout] | [INFO] [stdout] 122 | #[cfg(feature = "llm")] [INFO] [stdout] | --------------- the item is gated behind the `llm` feature [INFO] [stdout] 123 | pub use llm_extractor::{LLMExtractor, LLMExtractorConfig, ContentFormat, ProcessedContent, ExtractionResult, LLMProvider, TokenUsage}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:123:25 [INFO] [stdout] | [INFO] [stdout] 122 | #[cfg(feature = "llm")] [INFO] [stdout] | --------------- the item is gated behind the `llm` feature [INFO] [stdout] 123 | pub use llm_extractor::{LLMExtractor, LLMExtractorConfig, ContentFormat, ProcessedContent, ExtractionResult, LLMProvider, TokenUsage}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:123:39 [INFO] [stdout] | [INFO] [stdout] 122 | #[cfg(feature = "llm")] [INFO] [stdout] | --------------- the item is gated behind the `llm` feature [INFO] [stdout] 123 | pub use llm_extractor::{LLMExtractor, LLMExtractorConfig, ContentFormat, ProcessedContent, ExtractionResult, LLMProvider, TokenUsage}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:118:33 [INFO] [stdout] | [INFO] [stdout] 117 | #[cfg(feature = "browser")] [INFO] [stdout] | ------------------- the item is gated behind the `browser` feature [INFO] [stdout] 118 | pub use mcp_client::{McpClient, McpConfig, McpTransport, BrowserUsagePolicy}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:125:24 [INFO] [stdout] | [INFO] [stdout] 124 | #[cfg(feature = "llm")] [INFO] [stdout] | --------------- the item is gated behind the `llm` feature [INFO] [stdout] 125 | pub use llm_providers::MockProvider; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `schemars` [INFO] [stdout] --> examples/interactive_test.rs:16:41 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Serialize, Deserialize, schemars::JsonSchema)] [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Fetcher` and `PreviewServiceConfig` [INFO] [stdout] --> examples/interactive_test.rs:10:40 [INFO] [stdout] | [INFO] [stdout] 10 | BrowserUsagePolicy, ContentFormat, Fetcher, LLMExtractor, LLMExtractorConfig, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | McpConfig, MockProvider, PreviewService, PreviewServiceConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> examples/interactive_test.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `url-preview` (example "test_browser_with_playwright") due to 3 previous errors [INFO] [stdout] error[E0432]: unresolved imports `url_preview::LLMExtractor`, `url_preview::LLMExtractorConfig`, `url_preview::ClaudeCodeProvider`, `url_preview::LLMProvider`, `url_preview::ContentFormat` [INFO] [stdout] --> examples/test_claude_code_integration.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | LLMExtractor, LLMExtractorConfig, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ no `LLMExtractorConfig` in the root [INFO] [stdout] | | [INFO] [stdout] | no `LLMExtractor` in the root [INFO] [stdout] | help: a similar name exists in the module: `extractor` [INFO] [stdout] 14 | ClaudeCodeProvider, LLMProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ no `LLMProvider` in the root [INFO] [stdout] | | [INFO] [stdout] | no `ClaudeCodeProvider` in the root [INFO] [stdout] 15 | PreviewError, ContentFormat, [INFO] [stdout] | ^^^^^^^^^^^^^ no `ContentFormat` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:123:25 [INFO] [stdout] | [INFO] [stdout] 122 | #[cfg(feature = "llm")] [INFO] [stdout] | --------------- the item is gated behind the `llm` feature [INFO] [stdout] 123 | pub use llm_extractor::{LLMExtractor, LLMExtractorConfig, ContentFormat, ProcessedContent, ExtractionResult, LLMProvider, TokenUsage}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:123:39 [INFO] [stdout] | [INFO] [stdout] 122 | #[cfg(feature = "llm")] [INFO] [stdout] | --------------- the item is gated behind the `llm` feature [INFO] [stdout] 123 | pub use llm_extractor::{LLMExtractor, LLMExtractorConfig, ContentFormat, ProcessedContent, ExtractionResult, LLMProvider, TokenUsage}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:133:37 [INFO] [stdout] | [INFO] [stdout] 132 | #[cfg(all(feature = "llm", feature = "cc-sdk"))] [INFO] [stdout] | --------------- the item is gated behind the `llm` feature [INFO] [stdout] 133 | pub use llm_providers::claude_code::ClaudeCodeProvider; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:123:110 [INFO] [stdout] | [INFO] [stdout] 122 | #[cfg(feature = "llm")] [INFO] [stdout] | --------------- the item is gated behind the `llm` feature [INFO] [stdout] 123 | pub use llm_extractor::{LLMExtractor, LLMExtractorConfig, ContentFormat, ProcessedContent, ExtractionResult, LLMProvider, TokenUsage}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:123:59 [INFO] [stdout] | [INFO] [stdout] 122 | #[cfg(feature = "llm")] [INFO] [stdout] | --------------- the item is gated behind the `llm` feature [INFO] [stdout] 123 | pub use llm_extractor::{LLMExtractor, LLMExtractorConfig, ContentFormat, ProcessedContent, ExtractionResult, LLMProvider, TokenUsage}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `url_preview::LLMExtractor`, `url_preview::OpenAIProvider`, `url_preview::ContentFormat`, `url_preview::LLMExtractorConfig` [INFO] [stdout] --> examples/test_openai_extraction.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | LLMExtractor, OpenAIProvider, Fetcher, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ no `OpenAIProvider` in the root [INFO] [stdout] | | [INFO] [stdout] | no `LLMExtractor` in the root [INFO] [stdout] | help: a similar name exists in the module: `extractor` [INFO] [stdout] 8 | PreviewError, ContentFormat, LLMExtractorConfig [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ no `LLMExtractorConfig` in the root [INFO] [stdout] | | [INFO] [stdout] | no `ContentFormat` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:123:25 [INFO] [stdout] | [INFO] [stdout] 122 | #[cfg(feature = "llm")] [INFO] [stdout] | --------------- the item is gated behind the `llm` feature [INFO] [stdout] 123 | pub use llm_extractor::{LLMExtractor, LLMExtractorConfig, ContentFormat, ProcessedContent, ExtractionResult, LLMProvider, TokenUsage}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:127:32 [INFO] [stdout] | [INFO] [stdout] 126 | #[cfg(feature = "llm")] [INFO] [stdout] | --------------- the item is gated behind the `llm` feature [INFO] [stdout] 127 | pub use llm_providers::openai::OpenAIProvider; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:123:59 [INFO] [stdout] | [INFO] [stdout] 122 | #[cfg(feature = "llm")] [INFO] [stdout] | --------------- the item is gated behind the `llm` feature [INFO] [stdout] 123 | pub use llm_extractor::{LLMExtractor, LLMExtractorConfig, ContentFormat, ProcessedContent, ExtractionResult, LLMProvider, TokenUsage}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:123:39 [INFO] [stdout] | [INFO] [stdout] 122 | #[cfg(feature = "llm")] [INFO] [stdout] | --------------- the item is gated behind the `llm` feature [INFO] [stdout] 123 | pub use llm_extractor::{LLMExtractor, LLMExtractorConfig, ContentFormat, ProcessedContent, ExtractionResult, LLMProvider, TokenUsage}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> examples/test_openai_extraction.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use schemars::JsonSchema; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemars` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `schemars`, use `cargo add schemars` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FetchResult`, `Fetcher`, and `PreviewService` [INFO] [stdout] --> examples/test_claude_code_integration.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | PreviewService, Fetcher, FetchResult, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `url_preview::LLMExtractor`, `url_preview::LLMProvider`, `url_preview::LLMExtractorConfig`, `url_preview::ExtractionResult`, `url_preview::ContentFormat`, `url_preview::TokenUsage` [INFO] [stdout] --> examples/custom_claude_provider.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | LLMExtractor, LLMProvider, LLMExtractorConfig, ExtractionResult, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ no `ExtractionResult` in the root [INFO] [stdout] | | | | [INFO] [stdout] | | | no `LLMExtractorConfig` in the root [INFO] [stdout] | | no `LLMProvider` in the root [INFO] [stdout] | no `LLMExtractor` in the root [INFO] [stdout] | help: a similar name exists in the module: `extractor` [INFO] [stdout] 8 | Fetcher, PreviewError, ContentFormat, TokenUsage [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^ no `TokenUsage` in the root [INFO] [stdout] | | [INFO] [stdout] | no `ContentFormat` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:123:25 [INFO] [stdout] | [INFO] [stdout] 122 | #[cfg(feature = "llm")] [INFO] [stdout] | --------------- the item is gated behind the `llm` feature [INFO] [stdout] 123 | pub use llm_extractor::{LLMExtractor, LLMExtractorConfig, ContentFormat, ProcessedContent, ExtractionResult, LLMProvider, TokenUsage}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:123:110 [INFO] [stdout] | [INFO] [stdout] 122 | #[cfg(feature = "llm")] [INFO] [stdout] | --------------- the item is gated behind the `llm` feature [INFO] [stdout] 123 | pub use llm_extractor::{LLMExtractor, LLMExtractorConfig, ContentFormat, ProcessedContent, ExtractionResult, LLMProvider, TokenUsage}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:123:39 [INFO] [stdout] | [INFO] [stdout] 122 | #[cfg(feature = "llm")] [INFO] [stdout] | --------------- the item is gated behind the `llm` feature [INFO] [stdout] 123 | pub use llm_extractor::{LLMExtractor, LLMExtractorConfig, ContentFormat, ProcessedContent, ExtractionResult, LLMProvider, TokenUsage}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:123:92 [INFO] [stdout] | [INFO] [stdout] 122 | #[cfg(feature = "llm")] [INFO] [stdout] | --------------- the item is gated behind the `llm` feature [INFO] [stdout] 123 | pub use llm_extractor::{LLMExtractor, LLMExtractorConfig, ContentFormat, ProcessedContent, ExtractionResult, LLMProvider, TokenUsage}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:123:59 [INFO] [stdout] | [INFO] [stdout] 122 | #[cfg(feature = "llm")] [INFO] [stdout] | --------------- the item is gated behind the `llm` feature [INFO] [stdout] 123 | pub use llm_extractor::{LLMExtractor, LLMExtractorConfig, ContentFormat, ProcessedContent, ExtractionResult, LLMProvider, TokenUsage}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:123:123 [INFO] [stdout] | [INFO] [stdout] 122 | #[cfg(feature = "llm")] [INFO] [stdout] | --------------- the item is gated behind the `llm` feature [INFO] [stdout] 123 | pub use llm_extractor::{LLMExtractor, LLMExtractorConfig, ContentFormat, ProcessedContent, ExtractionResult, LLMProvider, TokenUsage}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> examples/custom_claude_provider.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use schemars::JsonSchema; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemars` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `schemars`, use `cargo add schemars` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `url_preview::LLMExtractor`, `url_preview::LLMExtractorConfig`, `url_preview::OpenAIProvider`, `url_preview::ContentFormat` [INFO] [stdout] --> examples/practical_extraction_demo.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | LLMExtractor, LLMExtractorConfig, OpenAIProvider, Fetcher, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ no `OpenAIProvider` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `LLMExtractorConfig` in the root [INFO] [stdout] | no `LLMExtractor` in the root [INFO] [stdout] | help: a similar name exists in the module: `extractor` [INFO] [stdout] 11 | PreviewError, ContentFormat [INFO] [stdout] | ^^^^^^^^^^^^^ no `ContentFormat` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:123:25 [INFO] [stdout] | [INFO] [stdout] 122 | #[cfg(feature = "llm")] [INFO] [stdout] | --------------- the item is gated behind the `llm` feature [INFO] [stdout] 123 | pub use llm_extractor::{LLMExtractor, LLMExtractorConfig, ContentFormat, ProcessedContent, ExtractionResult, LLMProvider, TokenUsage}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:123:39 [INFO] [stdout] | [INFO] [stdout] 122 | #[cfg(feature = "llm")] [INFO] [stdout] | --------------- the item is gated behind the `llm` feature [INFO] [stdout] 123 | pub use llm_extractor::{LLMExtractor, LLMExtractorConfig, ContentFormat, ProcessedContent, ExtractionResult, LLMProvider, TokenUsage}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:127:32 [INFO] [stdout] | [INFO] [stdout] 126 | #[cfg(feature = "llm")] [INFO] [stdout] | --------------- the item is gated behind the `llm` feature [INFO] [stdout] 127 | pub use llm_providers::openai::OpenAIProvider; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:123:59 [INFO] [stdout] | [INFO] [stdout] 122 | #[cfg(feature = "llm")] [INFO] [stdout] | --------------- the item is gated behind the `llm` feature [INFO] [stdout] 123 | pub use llm_extractor::{LLMExtractor, LLMExtractorConfig, ContentFormat, ProcessedContent, ExtractionResult, LLMProvider, TokenUsage}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> examples/practical_extraction_demo.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use schemars::JsonSchema; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemars` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `schemars`, use `cargo add schemars` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_openai` [INFO] [stdout] --> examples/practical_extraction_demo.rs:190:18 [INFO] [stdout] | [INFO] [stdout] 190 | let config = async_openai::config::OpenAIConfig::new() [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `async_openai` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_openai`, use `cargo add async_openai` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `url-preview` (example "custom_claude_provider") due to 2 previous errors [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Arc<_, _>` [INFO] [stdout] --> examples/test_claude_code_integration.rs:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | let extractor = Arc::clone(&extractor); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | let result = extractor.extract::(&url).await; [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `extractor` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 271 | let extractor: Arc = Arc::clone(&extractor); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `url-preview` (example "interactive_test") due to 2 previous errors; 2 warnings emitted [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `url-preview` (example "test_openai_extraction") due to 2 previous errors [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `url-preview` (example "test_claude_code_integration") due to 2 previous errors; 1 warning emitted [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `url-preview` (example "practical_extraction_demo") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "899b6fd671eb4890e0eac8a2b67ce33f025e160bc7b810cfb0fdad6fbfd72e4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "899b6fd671eb4890e0eac8a2b67ce33f025e160bc7b810cfb0fdad6fbfd72e4d", kill_on_drop: false }` [INFO] [stdout] 899b6fd671eb4890e0eac8a2b67ce33f025e160bc7b810cfb0fdad6fbfd72e4d