[INFO] cloning repository https://github.com/nicktretyakov/iris-ml-enhanced [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nicktretyakov/iris-ml-enhanced" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnicktretyakov%2Firis-ml-enhanced", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnicktretyakov%2Firis-ml-enhanced'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ca1f22f2c6cb4e8dc0b31b3616bdc0af51ee78d7 [INFO] building nicktretyakov/iris-ml-enhanced against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnicktretyakov%2Firis-ml-enhanced" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nicktretyakov/iris-ml-enhanced [INFO] finished tweaking git repo https://github.com/nicktretyakov/iris-ml-enhanced [INFO] tweaked toml for git repo https://github.com/nicktretyakov/iris-ml-enhanced written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nicktretyakov/iris-ml-enhanced 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 git repo https://github.com/nicktretyakov/iris-ml-enhanced 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded anyhow v1.0.48 [INFO] [stderr] Downloaded ndarray-rand v0.14.0 [INFO] [stderr] Downloaded safetensors v0.3.3 [INFO] [stderr] Downloaded crossbeam v0.8.4 [INFO] [stderr] Downloaded csv-core v0.1.12 [INFO] [stderr] Downloaded cc v1.2.27 [INFO] [stderr] Downloaded bumpalo v3.18.1 [INFO] [stderr] Downloaded torch-sys v0.13.0 [INFO] [stderr] Downloaded ndarray v0.15.6 [INFO] [stderr] Downloaded syn v2.0.103 [INFO] [stderr] Downloaded csv v1.3.1 [INFO] [stderr] Downloaded tch v0.13.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 955881b810ca60fcdfe1a939c9a55d4e9742d054ee1fcfe7bb3c734df4746ddf [INFO] running `Command { std: "docker" "start" "-a" "955881b810ca60fcdfe1a939c9a55d4e9742d054ee1fcfe7bb3c734df4746ddf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "955881b810ca60fcdfe1a939c9a55d4e9742d054ee1fcfe7bb3c734df4746ddf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "955881b810ca60fcdfe1a939c9a55d4e9742d054ee1fcfe7bb3c734df4746ddf", kill_on_drop: false }` [INFO] [stdout] 955881b810ca60fcdfe1a939c9a55d4e9742d054ee1fcfe7bb3c734df4746ddf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] ff559d3a870d85436a8de8c79f43bd79e7b662494d00d0f41365d1aea35484cf [INFO] running `Command { std: "docker" "start" "-a" "ff559d3a870d85436a8de8c79f43bd79e7b662494d00d0f41365d1aea35484cf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling iris-ml-enhanced v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling ndarray-rand v0.14.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stdout] warning: enum `LlamaError` is never used [INFO] [stdout] --> src/llama_integration.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum LlamaError { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LlamaStreamToken` is never constructed [INFO] [stdout] --> src/llama_integration.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct LlamaStreamToken { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `generate_stream` and `cancel_request` are never used [INFO] [stdout] --> src/llama_integration.rs:101:18 [INFO] [stdout] | [INFO] [stdout] 55 | impl LlamaModel { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | pub async fn generate_stream( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub async fn cancel_request( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Iris` is never constructed [INFO] [stdout] --> src/load_data.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Iris { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unsubscribe` is never used [INFO] [stdout] --> src/message_bus.rs:64:18 [INFO] [stdout] | [INFO] [stdout] 56 | impl Subscription { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | pub async fn unsubscribe(self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.28s [INFO] running `Command { std: "docker" "inspect" "ff559d3a870d85436a8de8c79f43bd79e7b662494d00d0f41365d1aea35484cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff559d3a870d85436a8de8c79f43bd79e7b662494d00d0f41365d1aea35484cf", kill_on_drop: false }` [INFO] [stdout] ff559d3a870d85436a8de8c79f43bd79e7b662494d00d0f41365d1aea35484cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 5f4fd592a0a3fc618e3ad6c67e0210958e15787a861324c8d04639f89dac36da [INFO] running `Command { std: "docker" "start" "-a" "5f4fd592a0a3fc618e3ad6c67e0210958e15787a861324c8d04639f89dac36da", kill_on_drop: false }` [INFO] [stdout] warning: enum `LlamaError` is never used [INFO] [stdout] --> src/llama_integration.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum LlamaError { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling iris-ml-enhanced v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `LlamaStreamToken` is never constructed [INFO] [stdout] --> src/llama_integration.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct LlamaStreamToken { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `generate_stream` and `cancel_request` are never used [INFO] [stdout] --> src/llama_integration.rs:101:18 [INFO] [stdout] | [INFO] [stdout] 55 | impl LlamaModel { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | pub async fn generate_stream( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub async fn cancel_request( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Iris` is never constructed [INFO] [stdout] --> src/load_data.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Iris { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unsubscribe` is never used [INFO] [stdout] --> src/message_bus.rs:64:18 [INFO] [stdout] | [INFO] [stdout] 56 | impl Subscription { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | pub async fn unsubscribe(self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mockall` [INFO] [stdout] --> tests/llama_integration_tests.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use mockall::predicate::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `mockall` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mockall`, use `cargo add mockall` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `criterion` [INFO] [stdout] --> tests/message_bus_performance_tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use criterion::{criterion_group, criterion_main, Criterion, BenchmarkId}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `criterion` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `criterion`, use `cargo add criterion` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `llama_messagebus` [INFO] [stdout] --> tests/message_bus_performance_tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use llama_messagebus::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_messagebus` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_messagebus`, use `cargo add llama_messagebus` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `llama_messagebus` [INFO] [stdout] --> examples/streaming_tokens.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use llama_messagebus::{GlobalBus, LlamaMessageHandler, LlamaStreamToken}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_messagebus` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_messagebus`, use `cargo add llama_messagebus` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `llama_messagebus` [INFO] [stdout] --> tests/llama_integration_tests.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use llama_messagebus::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_messagebus` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_messagebus`, use `cargo add llama_messagebus` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `llama_rust_framework` [INFO] [stdout] --> tests/llama_integration_tests.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use llama_rust_framework::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_rust_framework` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_rust_framework`, use `cargo add llama_rust_framework` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mockall` [INFO] [stdout] --> tests/llama_integration_tests.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use mockall::mock; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `mockall` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mockall`, use `cargo add mockall` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `llama_messagebus` [INFO] [stdout] --> examples/custom_message_types.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use llama_messagebus::GlobalBus; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_messagebus` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_messagebus`, use `cargo add llama_messagebus` 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] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `iris-ml-enhanced` (example "streaming_tokens") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: Model path not set [INFO] [stdout] --> tests/llama_framework_compatibility_tests.rs:25:36 [INFO] [stdout] | [INFO] [stdout] 25 | let model_path = PathBuf::from(env!("LLAMA_MODEL_PATH", "Model path not set")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Model path not set [INFO] [stdout] --> tests/llama_framework_compatibility_tests.rs:82:36 [INFO] [stdout] | [INFO] [stdout] 82 | let model_path = PathBuf::from(env!("LLAMA_MODEL_PATH", "Model path not set")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `llama_messagebus` [INFO] [stdout] --> examples/llama_integration.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use llama_messagebus::{GlobalBus, LlamaMessageHandler, LlamaInferenceResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_messagebus` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_messagebus`, use `cargo add llama_messagebus` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `llama_rust_framework` [INFO] [stdout] --> examples/llama_integration.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use llama_rust_framework::{LlamaModel, ModelConfig, TokenizerConfig, InferenceParams}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_rust_framework` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_rust_framework`, use `cargo add llama_rust_framework` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `iris-ml-enhanced` (example "custom_message_types") due to 1 previous error [INFO] [stdout] error[E0432]: unresolved import `llama_messagebus` [INFO] [stdout] --> tests/llama_framework_compatibility_tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use llama_messagebus::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_messagebus` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_messagebus`, use `cargo add llama_messagebus` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `llama_rust_framework` [INFO] [stdout] --> tests/llama_framework_compatibility_tests.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use llama_rust_framework::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_rust_framework` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_rust_framework`, use `cargo add llama_rust_framework` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `llama_messagebus` [INFO] [stdout] --> examples/web_integration.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use llama_messagebus::{GlobalBus, LlamaMessageHandler, LlamaStreamToken}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_messagebus` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_messagebus`, use `cargo add llama_messagebus` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `llama_messagebus` [INFO] [stdout] --> tests/message_bus_stress_tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use llama_messagebus::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_messagebus` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_messagebus`, use `cargo add llama_messagebus` 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 `warp` [INFO] [stdout] --> examples/web_integration.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use warp::{Filter, ws::{WebSocket, Message}}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `warp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `warp`, use `cargo add warp` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `warp` [INFO] [stdout] --> examples/web_integration.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use warp::{Filter, ws::{WebSocket, Message}}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `warp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `warp`, use `cargo add warp` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::timeout` [INFO] [stdout] --> tests/message_bus_stress_tests.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio::time::timeout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `iris-ml-enhanced` (example "llama_integration") due to 2 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/message_bus_stress_tests.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 19 | handler.initialize().await.expect("Failed to initialize handler"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `criterion` [INFO] [stdout] --> tests/message_bus_performance_tests.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | group.throughput(criterion::Throughput::Elements(1)); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `criterion` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `criterion`, use `cargo add criterion` 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] error[E0282]: type annotations needed [INFO] [stdout] --> tests/message_bus_stress_tests.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | ).await.expect("Failed to send request"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/message_bus_performance_tests.rs:19:74 [INFO] [stdout] | [INFO] [stdout] 19 | group.bench_with_input(BenchmarkId::from_parameter(size), size, |b, &size| { [INFO] [stdout] | ^ [INFO] [stdout] 20 | b.iter(|| { [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 19 | group.bench_with_input(BenchmarkId::from_parameter(size), size, |b: /* Type */, &size| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `warp` [INFO] [stdout] --> examples/web_integration.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | .map(move |ws: warp::ws::Ws| { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `warp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `warp`, use `cargo add warp` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/web_integration.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | if ws_tx.send(message).await.is_err() { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/web_integration.rs:57:42 [INFO] [stdout] | [INFO] [stdout] 57 | if ws_tx.send(message).await.is_err() { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/web_integration.rs:64:36 [INFO] [stdout] | [INFO] [stdout] 64 | while let Some(result) = ws_rx.next().await { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/web_integration.rs:67:39 [INFO] [stdout] | [INFO] [stdout] 67 | if let Ok(text) = msg.to_str() { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/web_integration.rs:72:71 [INFO] [stdout] | [INFO] [stdout] 72 | ... clients.lock().unwrap().insert(request_id.to_string(), [INFO] [stdout] | ^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/web_integration.rs:77:48 [INFO] [stdout] | [INFO] [stdout] 77 | ... let _ = sender.send(Message::text(format!("Error: {}", e))); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/web_integration.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 19 | handler.initialize().await.expect("Failed to initialize handler"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/web_integration.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | let _ = sender.send(Message::text(token.text)); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `warp` [INFO] [stdout] --> examples/web_integration.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | let ws_route = warp::path("chat") [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `warp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `warp`, use `cargo add warp` 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 `warp` [INFO] [stdout] --> examples/web_integration.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | .and(warp::ws()) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `warp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `warp`, use `cargo add warp` 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 `warp` [INFO] [stdout] --> examples/web_integration.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | warp::serve(ws_route).run(([127, 0, 0, 1], 3030)).await; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `warp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `warp`, use `cargo add warp` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/message_bus_performance_tests.rs:61:55 [INFO] [stdout] | [INFO] [stdout] 61 | group.bench_function("request_response_latency", |b| { [INFO] [stdout] | ^ [INFO] [stdout] 62 | b.iter(|| { [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 61 | group.bench_function("request_response_latency", |b: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/message_bus_performance_tests.rs:73:25 [INFO] [stdout] | [INFO] [stdout] 73 | ).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockLlamaModel` in this scope [INFO] [stdout] --> tests/llama_integration_tests.rs:39:27 [INFO] [stdout] | [INFO] [stdout] 39 | fn create_mock_model() -> MockLlamaModel { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockLlamaModel` in this scope [INFO] [stdout] --> tests/llama_integration_tests.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | model: MockLlamaModel, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/message_bus_stress_tests.rs:78:32 [INFO] [stdout] | [INFO] [stdout] 78 | handler.initialize().await.expect("Failed to initialize handler"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::timeout` [INFO] [stdout] --> tests/llama_integration_tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::time::timeout; [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: `async_trait::async_trait` [INFO] [stdout] --> tests/llama_integration_tests.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/message_bus_stress_tests.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | ).await.expect("Failed to send request"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> tests/llama_integration_tests.rs:148:63 [INFO] [stdout] | [INFO] [stdout] 142 | .returning(|prompt, _, mut callback| { [INFO] [stdout] | ------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 148 | tokio::time::sleep(Duration::from_millis(10)).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/message_bus_stress_tests.rs:112:47 [INFO] [stdout] | [INFO] [stdout] 112 | handler.cancel_request(*id).await.ok(); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> tests/llama_integration_tests.rs:255:57 [INFO] [stdout] | [INFO] [stdout] 254 | .returning(|_, _| { [INFO] [stdout] | ------ this is not `async` [INFO] [stdout] 255 | tokio::time::sleep(Duration::from_secs(10)).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockLlamaModel` [INFO] [stdout] --> tests/llama_integration_tests.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | let mut model = MockLlamaModel::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `MockLlamaModel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/llama_integration_tests.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | .returning(|prompt, _| { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 45 | if prompt.contains("error") { [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 44 | .returning(|prompt: /* Type */, _| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/message_bus_stress_tests.rs:145:32 [INFO] [stdout] | [INFO] [stdout] 145 | handler.initialize().await.expect("Failed to initialize handler"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/message_bus_stress_tests.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | ).await.expect("Failed to send error request"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/message_bus_stress_tests.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | ).await.expect("Failed to send normal request"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `iris-ml-enhanced` (example "web_integration") due to 15 previous errors [INFO] [stderr] error: could not compile `iris-ml-enhanced` (test "message_bus_performance_tests") due to 6 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/llama_integration_tests.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | ).await.expect("Failed to send request"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/llama_integration_tests.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | ).await.expect("Failed to send request"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/llama_integration_tests.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | ).await.expect("Failed to send streaming request"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/llama_framework_compatibility_tests.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let result = handler.initialize().await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 45 | assert!(result.is_ok(), "Failed to initialize handler: {:?}", result.err()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 44 | let result: /* Type */ = handler.initialize().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/llama_framework_compatibility_tests.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | ).await.expect("Failed to send request"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/llama_framework_compatibility_tests.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | ).await.expect("Timed out waiting for response") [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/llama_framework_compatibility_tests.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | let result = handler.initialize().await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 102 | assert!(result.is_ok(), "Failed to initialize handler: {:?}", result.err()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 101 | let result: /* Type */ = handler.initialize().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/llama_framework_compatibility_tests.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | ).await.expect("Failed to send streaming request"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/llama_integration_tests.rs:187:72 [INFO] [stdout] | [INFO] [stdout] 187 | fixture.handler.request_inference("Request 1", 100, 0.7).await.unwrap(), [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/llama_integration_tests.rs:188:72 [INFO] [stdout] | [INFO] [stdout] 188 | fixture.handler.request_inference("Request 2", 100, 0.7).await.unwrap(), [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/llama_integration_tests.rs:189:72 [INFO] [stdout] | [INFO] [stdout] 189 | fixture.handler.request_inference("Request 3", 100, 0.7).await.unwrap(), [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `iris-ml-enhanced` (test "message_bus_stress_tests") due to 9 previous errors; 1 warning emitted [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/llama_integration_tests.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | ).await.expect("Failed to send request"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/llama_integration_tests.rs:217:54 [INFO] [stdout] | [INFO] [stdout] 217 | fixture.handler.cancel_request(request_id).await.expect("Failed to cancel request"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockLlamaModel` [INFO] [stdout] --> tests/llama_integration_tests.rs:233:21 [INFO] [stdout] | [INFO] [stdout] 233 | let mut model = MockLlamaModel::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `MockLlamaModel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/llama_integration_tests.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 241 | let result = handler.initialize().await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | assert!(result.is_err()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 241 | let result: /* Type */ = handler.initialize().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/llama_integration_tests.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | ).await.expect("Failed to send request"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/llama_integration_tests.rs:297:13 [INFO] [stdout] | [INFO] [stdout] 297 | ).await.expect("Failed to send request"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/llama_integration_tests.rs:318:13 [INFO] [stdout] | [INFO] [stdout] 318 | ).await.expect("Failed to send request"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/llama_integration_tests.rs:330:9 [INFO] [stdout] | [INFO] [stdout] 330 | let result = fixture.handler.request_inference( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 337 | assert!(result.is_err()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 330 | let result: /* Type */ = fixture.handler.request_inference( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0432, E0433, E0728. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `iris-ml-enhanced` (test "llama_integration_tests") due to 24 previous errors; 2 warnings emitted [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_messagebus` [INFO] [stdout] --> tests/llama_framework_compatibility_tests.rs:108:39 [INFO] [stdout] | [INFO] [stdout] 108 | GlobalBus::subscribe(move |token: llama_messagebus::LlamaStreamToken| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_messagebus` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_messagebus`, use `cargo add llama_messagebus` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `iris-ml-enhanced` (test "llama_framework_compatibility_tests") due to 10 previous errors [INFO] [stdout] warning: enum `LlamaError` is never used [INFO] [stdout] --> src/llama_integration.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum LlamaError { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LlamaStreamToken` is never constructed [INFO] [stdout] --> src/llama_integration.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct LlamaStreamToken { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `generate_stream` and `cancel_request` are never used [INFO] [stdout] --> src/llama_integration.rs:101:18 [INFO] [stdout] | [INFO] [stdout] 55 | impl LlamaModel { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | pub async fn generate_stream( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub async fn cancel_request( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Iris` is never constructed [INFO] [stdout] --> src/load_data.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Iris { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unsubscribe` is never used [INFO] [stdout] --> src/message_bus.rs:64:18 [INFO] [stdout] | [INFO] [stdout] 56 | impl Subscription { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | pub async fn unsubscribe(self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5f4fd592a0a3fc618e3ad6c67e0210958e15787a861324c8d04639f89dac36da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f4fd592a0a3fc618e3ad6c67e0210958e15787a861324c8d04639f89dac36da", kill_on_drop: false }` [INFO] [stdout] 5f4fd592a0a3fc618e3ad6c67e0210958e15787a861324c8d04639f89dac36da