[INFO] fetching crate url-preview 0.6.0... [INFO] checking url-preview-0.6.0 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate url-preview 0.6.0 into /workspace/builds/worker-7-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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate url-preview 0.6.0 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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 async-convert v1.0.0 [INFO] [stderr] Downloaded async-openai v0.23.4 [INFO] [stderr] Downloaded jsonrpc-stdio-server v18.0.0 [INFO] [stderr] Downloaded cc-sdk v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad7b87510c71f66d2554a618dd004125f92328db30781244bd501ddf6c79a092 [INFO] running `Command { std: "docker" "start" "-a" "ad7b87510c71f66d2554a618dd004125f92328db30781244bd501ddf6c79a092", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad7b87510c71f66d2554a618dd004125f92328db30781244bd501ddf6c79a092", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad7b87510c71f66d2554a618dd004125f92328db30781244bd501ddf6c79a092", kill_on_drop: false }` [INFO] [stdout] ad7b87510c71f66d2554a618dd004125f92328db30781244bd501ddf6c79a092 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 68611312d1097402a32f34d400865e15dd60fd3d6403b057b6759a24f795ecd7 [INFO] running `Command { std: "docker" "start" "-a" "68611312d1097402a32f34d400865e15dd60fd3d6403b057b6759a24f795ecd7", kill_on_drop: false }` [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Checking phf_shared v0.11.3 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Checking servo_arc v0.3.0 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Checking getopts v0.2.23 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Checking ego-tree v0.6.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking clap v4.5.41 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking tokio v1.46.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking indicatif v0.17.11 [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 phf_macros v0.11.3 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking cssparser v0.31.2 [INFO] [stderr] Checking string_cache v0.8.9 [INFO] [stderr] Checking serde_json v1.0.141 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking scraper v0.17.1 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking url-preview v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> examples/test_browser_llm_combined.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | 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 import: `std::sync::Arc` [INFO] [stdout] --> examples/test_browser_llm_combined.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> examples/test_browser_llm_combined.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> examples/test_mcp_debug.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `url_preview::LLMExtractor`, `url_preview::ClaudeCodeProvider` [INFO] [stdout] --> examples/simple_claude_code_example.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use url_preview::{LLMExtractor, ClaudeCodeProvider, PreviewError}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ no `ClaudeCodeProvider` 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] | [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: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] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `url_preview::LLMExtractor`, `url_preview::LLMExtractorConfig`, `url_preview::OpenAIProvider`, `url_preview::ContentFormat` [INFO] [stdout] --> examples/claude_optimized_extraction.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | 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] 12 | 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/claude_optimized_extraction.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | 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/claude_optimized_extraction.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | 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] error[E0432]: unresolved imports `url_preview::LLMExtractor`, `url_preview::LLMExtractorConfig`, `url_preview::ContentFormat`, `url_preview::LLMProvider` [INFO] [stdout] --> examples/claude_via_openrouter.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | Fetcher, LLMExtractor, LLMExtractorConfig, ContentFormat, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ no `ContentFormat` 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] 13 | LLMProvider, PreviewError, [INFO] [stdout] | ^^^^^^^^^^^ no `LLMProvider` 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: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: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] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> examples/claude_via_openrouter.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | 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/test_json_extraction.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | LLMExtractor, LLMExtractorConfig, OpenAIProvider, [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] 8 | 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/test_json_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] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_openai` [INFO] [stdout] --> examples/test_json_extraction.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | 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] 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] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [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 "test_browser_llm_combined") due to 1 previous error; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] error[E0432]: unresolved imports `url_preview::LLMExtractor`, `url_preview::LLMExtractorConfig`, `url_preview::LLMProvider`, `url_preview::ContentFormat` [INFO] [stdout] --> examples/test_claude_code_mock.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | LLMExtractor, LLMExtractorConfig, LLMProvider, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ no `LLMProvider` 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] 10 | PreviewError, ContentFormat, Fetcher, [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: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 import `schemars` [INFO] [stdout] --> examples/test_claude_code_mock.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | 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] [stderr] error: could not compile `url-preview` (example "claude_via_openrouter") due to 2 previous errors [INFO] [stderr] error: could not compile `url-preview` (example "test_v06_features") due to 3 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: constant `MOCK_HTML` is never used [INFO] [stdout] --> benches/single_preview_benchmark.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const MOCK_HTML: &str = r#" [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_test_preview` is never used [INFO] [stdout] --> benches/single_preview_benchmark.rs:104:4 [INFO] [stdout] | [INFO] [stdout] 104 | fn generate_test_preview() -> Preview { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [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/claude_direct_test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | 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] 7 | 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/claude_direct_test.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | 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] 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[E0432]: unresolved imports `url_preview::LLMExtractor`, `url_preview::LLMExtractorConfig`, `url_preview::OpenAIProvider`, `url_preview::ContentFormat`, `url_preview::LLMProvider`, `url_preview::ExtractionResult` [INFO] [stdout] --> examples/claude_text_response_handler.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | 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] 10 | PreviewError, ContentFormat, LLMProvider, ExtractionResult [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ no `ExtractionResult` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `LLMProvider` in the root [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] 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: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] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> examples/claude_text_response_handler.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | 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] [stderr] error: could not compile `url-preview` (example "test_claude_code_mock") due to 2 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_openai` [INFO] [stdout] --> examples/claude_text_response_handler.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | 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] [stderr] error: could not compile `url-preview` (example "simple_claude_code_example") due to 1 previous error [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_openai` [INFO] [stdout] --> examples/claude_text_response_handler.rs:85:18 [INFO] [stdout] | [INFO] [stdout] 85 | 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] error[E0432]: unresolved imports `url_preview::LLMExtractor`, `url_preview::LLMExtractorConfig`, `url_preview::ContentFormat`, `url_preview::OpenAIProvider`, `url_preview::MockProvider`, `url_preview::LLMProvider` [INFO] [stdout] --> examples/test_llm_extraction.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | Fetcher, LLMExtractor, LLMExtractorConfig, ContentFormat, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ no `ContentFormat` 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] 10 | OpenAIProvider, MockProvider, LLMProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^ no `LLMProvider` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `MockProvider` in the root [INFO] [stdout] | no `OpenAIProvider` 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: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: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: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] 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] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> examples/test_llm_extraction.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | 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/claude_direct_test.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 28 | 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] error[E0432]: unresolved imports `url_preview::LLMExtractor`, `url_preview::AnthropicProvider`, `url_preview::ContentFormat`, `url_preview::LLMExtractorConfig` [INFO] [stdout] --> examples/test_anthropic_direct.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | LLMExtractor, AnthropicProvider, Fetcher, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ no `AnthropicProvider` 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:129:35 [INFO] [stdout] | [INFO] [stdout] 128 | #[cfg(feature = "llm")] [INFO] [stdout] | --------------- the item is gated behind the `llm` feature [INFO] [stdout] 129 | pub use llm_providers::anthropic::AnthropicProvider; [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_anthropic_direct.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] 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 "test_json_extraction") due to 3 previous errors [INFO] [stdout] error[E0432]: unresolved imports `url_preview::LLMExtractor`, `url_preview::LLMExtractorConfig`, `url_preview::OpenAIProvider`, `url_preview::ContentFormat` [INFO] [stdout] --> examples/claude_api_working.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | 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] 9 | 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] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [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[E0432]: unresolved import `schemars` [INFO] [stdout] --> examples/claude_api_working.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | 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] 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 "claude_optimized_extraction") due to 3 previous errors [INFO] [stderr] error: could not compile `url-preview` (example "claude_direct_test") due to 3 previous errors [INFO] [stderr] error: could not compile `url-preview` (example "test_llm_extraction") due to 2 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_openai` [INFO] [stdout] --> examples/claude_api_working.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | 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] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_openai` [INFO] [stdout] --> examples/claude_api_working.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | 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] [stderr] error: could not compile `url-preview` (example "claude_text_response_handler") due to 4 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [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 "test_anthropic_direct") due to 2 previous errors [INFO] [stderr] error: could not compile `url-preview` (example "claude_api_working") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "68611312d1097402a32f34d400865e15dd60fd3d6403b057b6759a24f795ecd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68611312d1097402a32f34d400865e15dd60fd3d6403b057b6759a24f795ecd7", kill_on_drop: false }` [INFO] [stdout] 68611312d1097402a32f34d400865e15dd60fd3d6403b057b6759a24f795ecd7