[INFO] fetching crate rig-core 0.13.0... [INFO] checking rig-core-0.13.0 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate rig-core 0.13.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate rig-core 0.13.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rig-core 0.13.0 [INFO] tweaked toml for crates.io crate rig-core 0.13.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rig-core 0.13.0 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rig-core 0.13.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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] feef1ad26807ffb944f80d3cf07fa9f5f6a034f42b21994f0c5525ec6a7756f2 [INFO] running `Command { std: "docker" "start" "-a" "feef1ad26807ffb944f80d3cf07fa9f5f6a034f42b21994f0c5525ec6a7756f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "feef1ad26807ffb944f80d3cf07fa9f5f6a034f42b21994f0c5525ec6a7756f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "feef1ad26807ffb944f80d3cf07fa9f5f6a034f42b21994f0c5525ec6a7756f2", kill_on_drop: false }` [INFO] [stdout] feef1ad26807ffb944f80d3cf07fa9f5f6a034f42b21994f0c5525ec6a7756f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca4ad2e5ba177ff61283b3ffe82a3fe5eb5826d2f54d29bec497757b1d371391 [INFO] running `Command { std: "docker" "start" "-a" "ca4ad2e5ba177ff61283b3ffe82a3fe5eb5826d2f54d29bec497757b1d371391", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Checking litemap v0.7.5 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Checking indexmap v2.8.0 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking rustls-pki-types v1.11.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Checking brotli-decompressor v4.0.2 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking miniz_oxide v0.8.5 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Checking bstr v1.11.3 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Checking actix-service v2.0.3 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking bytestring v1.4.0 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling rustix v1.0.3 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking flate2 v1.1.0 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking predicates-core v1.0.9 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Checking brotli v7.0.0 [INFO] [stderr] Checking impl-more v0.1.9 [INFO] [stderr] Checking dyn-clone v1.0.19 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking termtree v0.5.1 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Checking predicates v3.1.3 [INFO] [stderr] Checking predicates-tree v1.0.12 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking as-any v0.3.2 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Checking glob v0.3.2 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking ordered-float v4.6.0 [INFO] [stderr] Checking rand v0.9.0 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking globset v0.4.16 [INFO] [stderr] Checking tempfile v3.19.1 [INFO] [stderr] Checking ignore v0.4.23 [INFO] [stderr] Checking eventsource-stream v0.2.3 [INFO] [stderr] Checking globwalk v0.9.1 [INFO] [stderr] Checking assert_fs v1.1.2 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking actix-router v0.5.3 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking tokio-util v0.7.14 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking actix-server v2.5.1 [INFO] [stderr] Checking h2 v0.4.8 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Compiling mcp-core v0.1.50 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking actix-http v3.10.0 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.15 [INFO] [stderr] Compiling mcp-core-macros v0.1.30 [INFO] [stderr] Checking actix-web v4.10.2 [INFO] [stderr] Checking reqwest-eventsource v0.6.0 [INFO] [stderr] Checking rig-core v0.13.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::image_generation` [INFO] [stdout] --> src/client/mod.rs:173:16 [INFO] [stdout] | [INFO] [stdout] 173 | use crate::image_generation::ImageGenerationRequest; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `client::image_generation` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | pub mod image_generation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `image` feature [INFO] [stdout] --> src/lib.rs:93:7 [INFO] [stdout] | [INFO] [stdout] 93 | #[cfg(feature = "image")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STABLE_DIFFUSION_3` in module `huggingface` [INFO] [stdout] --> src/client/mod.rs:261:59 [INFO] [stdout] | [INFO] [stdout] 261 | image_generation_model: Some(huggingface::STABLE_DIFFUSION_3), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `huggingface` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/providers/huggingface/mod.rs:28:44 [INFO] [stdout] | [INFO] [stdout] 28 | pub use image_generation::{FLUX_1, KOLORS, STABLE_DIFFUSION_3}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `image` feature [INFO] [stdout] --> src/providers/huggingface/mod.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg(feature = "image")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DALL_E_2` in module `openai` [INFO] [stdout] --> src/client/mod.rs:271:54 [INFO] [stdout] | [INFO] [stdout] 271 | image_generation_model: Some(openai::DALL_E_2), [INFO] [stdout] | ^^^^^^^^ not found in `openai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TTS_1` in module `openai` [INFO] [stdout] --> src/client/mod.rs:272:55 [INFO] [stdout] | [INFO] [stdout] 272 | audio_generation_model: Some((openai::TTS_1, "onyx")), [INFO] [stdout] | ^^^^^ not found in `openai` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/providers/openai/mod.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | pub use audio_generation::{TTS_1, TTS_1_HD}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `audio` feature [INFO] [stdout] --> src/providers/openai/mod.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | #[cfg(feature = "audio")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SD1_5` in module `hyperbolic` [INFO] [stdout] --> src/client/mod.rs:334:58 [INFO] [stdout] | [INFO] [stdout] 334 | image_generation_model: Some(hyperbolic::SD1_5), [INFO] [stdout] | ^^^^^ not found in `hyperbolic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_audio_generation` found for struct `Box` in the current scope [INFO] [stdout] --> src/client/mod.rs:627:35 [INFO] [stdout] | [INFO] [stdout] 627 | let Some(client) = client.as_audio_generation() else { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ method not found in `Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_image_generation` found for struct `Box` in the current scope [INFO] [stdout] --> src/client/mod.rs:777:35 [INFO] [stdout] | [INFO] [stdout] 777 | let Some(client) = client.as_image_generation() else { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ method not found in `Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/agent/completion.rs:192:15 [INFO] [stdout] | [INFO] [stdout] 192 | fn prompt(&self, prompt: impl Into + Send) -> PromptRequest { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 192 | fn prompt(&self, prompt: impl Into + Send) -> PromptRequest<'_, M> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/agent/completion.rs:199:15 [INFO] [stdout] | [INFO] [stdout] 199 | fn prompt(&self, prompt: impl Into + Send) -> PromptRequest { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 199 | fn prompt(&self, prompt: impl Into + Send) -> PromptRequest<'_, M> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/completion/request.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 261 | request: CompletionRequest, [INFO] [stdout] 262 | ) -> BoxFuture, CompletionError>>; [INFO] [stdout] | ------------------------------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 262 | ) -> BoxFuture<'_, Result, CompletionError>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/completion/request.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 277 | request: CompletionRequest, [INFO] [stdout] 278 | ) -> BoxFuture, CompletionError>> { [INFO] [stdout] | ---------------------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 278 | ) -> BoxFuture<'_, Result, CompletionError>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/completion/request.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 290 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 291 | request: CompletionRequest, [INFO] [stdout] 292 | ) -> BoxFuture, CompletionError>> { [INFO] [stdout] | ------------------------------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 292 | ) -> BoxFuture<'_, Result, CompletionError>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/embeddings/embedding.rs:87:20 [INFO] [stdout] | [INFO] [stdout] 87 | fn embed_texts(&self, texts: Vec) -> BoxFuture, EmbeddingError>> { [INFO] [stdout] | ^^^^^ ------------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 87 | fn embed_texts(&self, texts: Vec) -> BoxFuture<'_, Result, EmbeddingError>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/loaders/file.rs:175:18 [INFO] [stdout] | [INFO] [stdout] 175 | pattern: &str, [INFO] [stdout] | ^^^^ this lifetime flows to the output [INFO] [stdout] 176 | ) -> Result>, FileLoaderError> { [INFO] [stdout] | -------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 176 | ) -> Result>, FileLoaderError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/loaders/file.rs:196:20 [INFO] [stdout] | [INFO] [stdout] 196 | directory: &str, [INFO] [stdout] | ^^^^ this lifetime flows to the output [INFO] [stdout] 197 | ) -> Result>, FileLoaderError> { [INFO] [stdout] | -------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 197 | ) -> Result>, FileLoaderError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/one_or_many.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 129 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/vector_store/in_memory_store.rs:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | fn vector_search(&self, prompt_embedding: &Embedding, n: usize) -> EmbeddingRanking { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 70 | fn vector_search(&self, prompt_embedding: &Embedding, n: usize) -> EmbeddingRanking<'_, D> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rig::image_generation` [INFO] [stdout] --> examples/huggingface_image_generation.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use rig::image_generation::ImageGenerationModel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ could not find `image_generation` in `rig` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | pub mod image_generation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `image` feature [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:93:7 [INFO] [stdout] | [INFO] [stdout] 93 | #[cfg(feature = "image")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STABLE_DIFFUSION_3` in module `huggingface` [INFO] [stdout] --> examples/huggingface_image_generation.rs:25:65 [INFO] [stdout] | [INFO] [stdout] 25 | let dalle = huggingface.image_generation_model(huggingface::STABLE_DIFFUSION_3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `huggingface` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/providers/huggingface/mod.rs:28:44 [INFO] [stdout] | [INFO] [stdout] 28 | pub use image_generation::{FLUX_1, KOLORS, STABLE_DIFFUSION_3}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `image` feature [INFO] [stdout] --> /opt/rustwide/workdir/src/providers/huggingface/mod.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg(feature = "image")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `image_generation_model` found for struct `rig::providers::huggingface::Client` in the current scope [INFO] [stdout] --> examples/huggingface_image_generation.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | let dalle = huggingface.image_generation_model(huggingface::STABLE_DIFFUSION_3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ method not found in `rig::providers::huggingface::Client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rig-core` (example "huggingface_image_generation") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `rig::image_generation` [INFO] [stdout] --> examples/openai_image_generation.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use rig::image_generation::ImageGenerationModel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ could not find `image_generation` in `rig` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | pub mod image_generation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `image` feature [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:93:7 [INFO] [stdout] | [INFO] [stdout] 93 | #[cfg(feature = "image")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DALL_E_2` in module `openai` [INFO] [stdout] --> examples/openai_image_generation.rs:25:55 [INFO] [stdout] | [INFO] [stdout] 25 | let dalle = openai.image_generation_model(openai::DALL_E_2); [INFO] [stdout] | ^^^^^^^^ not found in `openai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `image_generation_model` found for struct `rig::providers::openai::Client` in the current scope [INFO] [stdout] --> examples/openai_image_generation.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | let dalle = openai.image_generation_model(openai::DALL_E_2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ method not found in `rig::providers::openai::Client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_image_generation` found for struct `Box` in the current scope [INFO] [stdout] --> src/client/mod.rs:720:24 [INFO] [stdout] | [INFO] [stdout] 720 | client.as_image_generation(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ method not found in `Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rig-core` (example "openai_image_generation") due to 3 previous errors [INFO] [stdout] error[E0599]: no method named `as_audio_generation` found for struct `Box` in the current scope [INFO] [stdout] --> src/client/mod.rs:728:24 [INFO] [stdout] | [INFO] [stdout] 728 | client.as_audio_generation(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ method not found in `Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rig-core` (lib test) due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "ca4ad2e5ba177ff61283b3ffe82a3fe5eb5826d2f54d29bec497757b1d371391", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca4ad2e5ba177ff61283b3ffe82a3fe5eb5826d2f54d29bec497757b1d371391", kill_on_drop: false }` [INFO] [stdout] ca4ad2e5ba177ff61283b3ffe82a3fe5eb5826d2f54d29bec497757b1d371391