[INFO] fetching crate url-preview 0.6.0... [INFO] building url-preview-0.6.0 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate url-preview 0.6.0 into /workspace/builds/worker-2-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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate url-preview 0.6.0 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ego-tree v0.6.3 [INFO] [stderr] Downloaded eventsource-stream v0.2.3 [INFO] [stderr] Downloaded lru-slab v0.1.2 [INFO] [stderr] Downloaded jsonrpc-core v18.0.0 [INFO] [stderr] Downloaded jsonrpc-stdio-server v18.0.0 [INFO] [stderr] Downloaded servo_arc v0.3.0 [INFO] [stderr] Downloaded derive_builder v0.20.2 [INFO] [stderr] Downloaded reqwest-eventsource v0.6.0 [INFO] [stderr] Downloaded derive_builder_core v0.20.2 [INFO] [stderr] Downloaded async-openai v0.23.4 [INFO] [stderr] Downloaded backoff v0.4.0 [INFO] [stderr] Downloaded cssparser v0.31.2 [INFO] [stderr] Downloaded derive_builder_macro v0.20.2 [INFO] [stderr] Downloaded quinn-proto v0.11.12 [INFO] [stderr] Downloaded async-convert v1.0.0 [INFO] [stderr] Downloaded mime_guess v2.0.5 [INFO] [stderr] Downloaded tinyvec v1.9.0 [INFO] [stderr] Downloaded libredox v0.1.6 [INFO] [stderr] Downloaded criterion v0.5.1 [INFO] [stderr] Downloaded colored v2.2.0 [INFO] [stderr] Downloaded quinn-udp v0.5.13 [INFO] [stderr] Downloaded quinn v0.11.8 [INFO] [stderr] Downloaded secrecy v0.8.0 [INFO] [stderr] Downloaded which v6.0.3 [INFO] [stderr] Downloaded winsafe v0.0.19 [INFO] [stderr] Downloaded scraper v0.17.1 [INFO] [stderr] Downloaded futures-timer v3.0.3 [INFO] [stderr] Downloaded cc-sdk v0.1.5 [INFO] [stderr] Downloaded getopts v0.2.23 [INFO] [stderr] Downloaded selectors v0.25.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 64583c0310c27367755ad0553efdafece780aaf903d8ebc1b3d7c577b5f5ad23 [INFO] running `Command { std: "docker" "start" "-a" "64583c0310c27367755ad0553efdafece780aaf903d8ebc1b3d7c577b5f5ad23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64583c0310c27367755ad0553efdafece780aaf903d8ebc1b3d7c577b5f5ad23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64583c0310c27367755ad0553efdafece780aaf903d8ebc1b3d7c577b5f5ad23", kill_on_drop: false }` [INFO] [stdout] 64583c0310c27367755ad0553efdafece780aaf903d8ebc1b3d7c577b5f5ad23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 10054c2d7899900a96cc95e661f43831b3b13f4736a355289c36b98cf5666c17 [INFO] running `Command { std: "docker" "start" "-a" "10054c2d7899900a96cc95e661f43831b3b13f4736a355289c36b98cf5666c17", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling dtoa v1.0.10 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling dtoa-short v0.3.5 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling servo_arc v0.3.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling ego-tree v0.6.3 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling getopts v0.2.23 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [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 phf_generator v0.11.3 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling selectors v0.25.0 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling cssparser v0.31.2 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling scraper v0.17.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling url-preview v0.6.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.26s [INFO] running `Command { std: "docker" "inspect" "10054c2d7899900a96cc95e661f43831b3b13f4736a355289c36b98cf5666c17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10054c2d7899900a96cc95e661f43831b3b13f4736a355289c36b98cf5666c17", kill_on_drop: false }` [INFO] [stdout] 10054c2d7899900a96cc95e661f43831b3b13f4736a355289c36b98cf5666c17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db47d3e52784f97532907141415a4036a9521beade141ffce0d33fd140505b58 [INFO] running `Command { std: "docker" "start" "-a" "db47d3e52784f97532907141415a4036a9521beade141ffce0d33fd140505b58", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling walkdir v2.5.0 [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 colored v2.2.0 [INFO] [stderr] Compiling clap_builder v4.5.41 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling clap v4.5.41 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling scraper v0.17.1 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling url-preview v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> examples/test_mcp_complete.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | 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::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[E0560]: struct `PreviewServiceConfig` has no field named `timeout` [INFO] [stdout] --> examples/test_browser_with_playwright.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | timeout: Duration::from_secs(30), [INFO] [stdout] | ^^^^^^^ `PreviewServiceConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `cache_strategy`, `default_fetcher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> examples/test_browser_with_playwright.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | let service = PreviewService::new(config)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ------ unexpected argument of type `PreviewServiceConfig` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/preview_service.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 17 - let service = PreviewService::new(config)?; [INFO] [stdout] 17 + let service = PreviewService::new()?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> examples/test_browser_with_playwright.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | let service = PreviewService::new(config)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `PreviewService` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `PreviewService` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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[E0282]: type annotations needed [INFO] [stdout] --> examples/test_browser_with_playwright.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let service = PreviewService::new(config)?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | match service.generate_preview(url).await { [INFO] [stdout] | ---------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `service` an explicit type [INFO] [stdout] | [INFO] [stdout] 17 | let service: /* Type */ = PreviewService::new(config)?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> examples/test_v06_features.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | let service = PreviewService::new(config)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `PreviewService` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `PreviewService` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/test_v06_features.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let service = PreviewService::new(config)?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | match service.generate_preview("https://example.com").await { [INFO] [stdout] | ---------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `service` an explicit type [INFO] [stdout] | [INFO] [stdout] 20 | let service: /* Type */ = PreviewService::new(config)?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0282, 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::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[E0282]: type annotations needed [INFO] [stdout] --> examples/test_v06_features.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let results = service.generate_previews_batch(&urls).await; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 55 | [INFO] [stdout] 56 | for (i, result) in results.iter().enumerate() { [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `results` an explicit type [INFO] [stdout] | [INFO] [stdout] 54 | let results: /* Type */ = service.generate_previews_batch(&urls).await; [INFO] [stdout] | ++++++++++++ [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[E0432]: unresolved imports `url_preview::LLMExtractor`, `url_preview::LLMProvider`, `url_preview::LLMExtractorConfig`, `url_preview::ExtractionResult`, `url_preview::ContentFormat`, `url_preview::TokenUsage` [INFO] [stdout] --> examples/custom_claude_provider.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | LLMExtractor, LLMProvider, LLMExtractorConfig, ExtractionResult, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ no `ExtractionResult` in the root [INFO] [stdout] | | | | [INFO] [stdout] | | | no `LLMExtractorConfig` in the root [INFO] [stdout] | | no `LLMProvider` in the root [INFO] [stdout] | no `LLMExtractor` in the root [INFO] [stdout] | help: a similar name exists in the module: `extractor` [INFO] [stdout] 8 | Fetcher, PreviewError, ContentFormat, TokenUsage [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^ no `TokenUsage` in the root [INFO] [stdout] | | [INFO] [stdout] | no `ContentFormat` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:123:25 [INFO] [stdout] | [INFO] [stdout] 122 | #[cfg(feature = "llm")] [INFO] [stdout] | --------------- the item is gated behind the `llm` feature [INFO] [stdout] 123 | pub use llm_extractor::{LLMExtractor, LLMExtractorConfig, ContentFormat, ProcessedContent, ExtractionResult, LLMProvider, TokenUsage}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:123:110 [INFO] [stdout] | [INFO] [stdout] 122 | #[cfg(feature = "llm")] [INFO] [stdout] | --------------- the item is gated behind the `llm` feature [INFO] [stdout] 123 | pub use llm_extractor::{LLMExtractor, LLMExtractorConfig, ContentFormat, ProcessedContent, ExtractionResult, LLMProvider, TokenUsage}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:123:39 [INFO] [stdout] | [INFO] [stdout] 122 | #[cfg(feature = "llm")] [INFO] [stdout] | --------------- the item is gated behind the `llm` feature [INFO] [stdout] 123 | pub use llm_extractor::{LLMExtractor, LLMExtractorConfig, ContentFormat, ProcessedContent, ExtractionResult, LLMProvider, TokenUsage}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:123:92 [INFO] [stdout] | [INFO] [stdout] 122 | #[cfg(feature = "llm")] [INFO] [stdout] | --------------- the item is gated behind the `llm` feature [INFO] [stdout] 123 | pub use llm_extractor::{LLMExtractor, LLMExtractorConfig, ContentFormat, ProcessedContent, ExtractionResult, LLMProvider, TokenUsage}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:123:59 [INFO] [stdout] | [INFO] [stdout] 122 | #[cfg(feature = "llm")] [INFO] [stdout] | --------------- the item is gated behind the `llm` feature [INFO] [stdout] 123 | pub use llm_extractor::{LLMExtractor, LLMExtractorConfig, ContentFormat, ProcessedContent, ExtractionResult, LLMProvider, TokenUsage}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:123:123 [INFO] [stdout] | [INFO] [stdout] 122 | #[cfg(feature = "llm")] [INFO] [stdout] | --------------- the item is gated behind the `llm` feature [INFO] [stdout] 123 | pub use llm_extractor::{LLMExtractor, LLMExtractorConfig, ContentFormat, ProcessedContent, ExtractionResult, LLMProvider, TokenUsage}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> examples/custom_claude_provider.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use schemars::JsonSchema; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemars` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `schemars`, use `cargo add schemars` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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)]` (part of `#[warn(unused)]`) 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] [stderr] error: could not compile `url-preview` (example "test_browser_with_playwright") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] For more information about this error, try `rustc --explain E0432`. [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] [stderr] error: could not compile `url-preview` (example "custom_claude_provider") due to 2 previous errors [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0282, E0560. [INFO] [stdout] [INFO] [stderr] error: could not compile `url-preview` (example "claude_direct_test") due to 3 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `url-preview` (example "test_v06_features") due to 5 previous errors [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] 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] 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] running `Command { std: "docker" "inspect" "db47d3e52784f97532907141415a4036a9521beade141ffce0d33fd140505b58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db47d3e52784f97532907141415a4036a9521beade141ffce0d33fd140505b58", kill_on_drop: false }` [INFO] [stdout] db47d3e52784f97532907141415a4036a9521beade141ffce0d33fd140505b58