[INFO] fetching crate url-preview 0.6.0... [INFO] testing url-preview-0.6.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate url-preview 0.6.0 into /workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate url-preview 0.6.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 889a501d555a65ba0eed328df53dfa1ee9cd568d9c791da845b3a9d44ef3db03 [INFO] running `Command { std: "docker" "start" "-a" "889a501d555a65ba0eed328df53dfa1ee9cd568d9c791da845b3a9d44ef3db03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "889a501d555a65ba0eed328df53dfa1ee9cd568d9c791da845b3a9d44ef3db03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "889a501d555a65ba0eed328df53dfa1ee9cd568d9c791da845b3a9d44ef3db03", kill_on_drop: false }` [INFO] [stdout] 889a501d555a65ba0eed328df53dfa1ee9cd568d9c791da845b3a9d44ef3db03 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8611762d06fe80ff773c40141bb226df7d1fb71113964d2cd5e2996317089b2e [INFO] running `Command { std: "docker" "start" "-a" "8611762d06fe80ff773c40141bb226df7d1fb71113964d2cd5e2996317089b2e", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling getopts v0.2.23 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling native-tls v0.2.14 [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 string_cache_codegen v0.5.4 [INFO] [stderr] Compiling selectors v0.25.0 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling html5ever v0.26.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.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [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 zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling cssparser v0.31.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling yoke v0.8.0 [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 icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [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 tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [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 34.66s [INFO] running `Command { std: "docker" "inspect" "8611762d06fe80ff773c40141bb226df7d1fb71113964d2cd5e2996317089b2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8611762d06fe80ff773c40141bb226df7d1fb71113964d2cd5e2996317089b2e", kill_on_drop: false }` [INFO] [stdout] 8611762d06fe80ff773c40141bb226df7d1fb71113964d2cd5e2996317089b2e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 581445bf3e7ae6a333a7429610e32c31f6619c513fea9ce7e788e0484e50d7e6 [INFO] running `Command { std: "docker" "start" "-a" "581445bf3e7ae6a333a7429610e32c31f6619c513fea9ce7e788e0484e50d7e6", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling anstyle-query v1.1.3 [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 plotters-backend v0.3.7 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling clap_builder v4.5.41 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling clap v4.5.41 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling serde_json v1.0.141 [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 tinytemplate v1.2.1 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling scraper v0.17.1 [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 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] 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> examples/test_llm_with_browser.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | 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_llm_with_browser.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::sync::Arc; [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::env` [INFO] [stdout] --> examples/test_llm_with_browser.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `url_preview::LLMExtractor`, `url_preview::LLMExtractorConfig`, `url_preview::ContentFormat`, `url_preview::OpenAIProvider`, `url_preview::LLMProvider` [INFO] [stdout] --> examples/test_llm_with_claude.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, LLMProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^ no `LLMProvider` in the root [INFO] [stdout] | | [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: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 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] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> examples/test_llm_with_claude.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_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] [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::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[E0432]: unresolved imports `url_preview::LLMExtractor`, `url_preview::OpenAIProvider` [INFO] [stdout] --> examples/simple_claude_api_test.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | use url_preview::{LLMExtractor, OpenAIProvider, Fetcher, PreviewError}; [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] | [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] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> examples/simple_claude_api_test.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | 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/simple_claude_api_test.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | 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::AnthropicProvider`, `url_preview::LocalProvider`, `url_preview::MockProvider`, `url_preview::ApiKeyValidator`, `url_preview::LLMConfig` [INFO] [stdout] --> examples/comprehensive_llm_test.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | LLMExtractor, LLMExtractorConfig, ContentFormat, Fetcher, [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] 17 | OpenAIProvider, AnthropicProvider, LocalProvider, MockProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ no `MockProvider` in the root [INFO] [stdout] | | | | [INFO] [stdout] | | | no `LocalProvider` in the root [INFO] [stdout] | | no `AnthropicProvider` in the root [INFO] [stdout] | no `OpenAIProvider` in the root [INFO] [stdout] 18 | ApiKeyValidator, LLMConfig, PreviewError [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^ no `LLMConfig` in the root [INFO] [stdout] | | [INFO] [stdout] | no `ApiKeyValidator` 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: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:135:24 [INFO] [stdout] | [INFO] [stdout] 134 | #[cfg(feature = "llm")] [INFO] [stdout] | --------------- the item is gated behind the `llm` feature [INFO] [stdout] 135 | pub use llm_providers::LocalProvider; [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:137:22 [INFO] [stdout] | [INFO] [stdout] 136 | #[cfg(feature = "llm")] [INFO] [stdout] | --------------- the item is gated behind the `llm` feature [INFO] [stdout] 137 | pub use llm_config::{ApiKeyValidator, LLMConfig}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:137:39 [INFO] [stdout] | [INFO] [stdout] 136 | #[cfg(feature = "llm")] [INFO] [stdout] | --------------- the item is gated behind the `llm` feature [INFO] [stdout] 137 | pub use llm_config::{ApiKeyValidator, LLMConfig}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> examples/comprehensive_llm_test.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | 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[E0405]: cannot find trait `LLMProvider` in crate `url_preview` [INFO] [stdout] --> examples/comprehensive_llm_test.rs:180:36 [INFO] [stdout] | [INFO] [stdout] 180 | provider: Arc, [INFO] [stdout] | ^^^^^^^^^^^ not found in `url_preview` [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] warning: unused import: `PreviewError` [INFO] [stdout] --> examples/comprehensive_llm_test.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | ApiKeyValidator, LLMConfig, PreviewError [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [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] Some errors have detailed explanations: E0405, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `url-preview` (example "claude_text_response_handler") due to 4 previous errors [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] [stderr] warning: build failed, waiting for other jobs to finish... [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] [stderr] error: could not compile `url-preview` (example "test_llm_with_claude") due to 2 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `url-preview` (example "comprehensive_llm_test") due to 3 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] [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 "test_llm_with_browser") due to 1 previous error; 2 warnings emitted [INFO] [stderr] error: could not compile `url-preview` (example "simple_claude_api_test") due to 3 previous errors [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] 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] 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] 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_openai_extraction") due to 2 previous errors [INFO] [stderr] error: could not compile `url-preview` (example "claude_optimized_extraction") due to 3 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] [stderr] error: could not compile `url-preview` (example "claude_direct_test") due to 3 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] [stderr] error: could not compile `url-preview` (example "practical_extraction_demo") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "581445bf3e7ae6a333a7429610e32c31f6619c513fea9ce7e788e0484e50d7e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "581445bf3e7ae6a333a7429610e32c31f6619c513fea9ce7e788e0484e50d7e6", kill_on_drop: false }` [INFO] [stdout] 581445bf3e7ae6a333a7429610e32c31f6619c513fea9ce7e788e0484e50d7e6