[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#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnicktretyakov%2Firis-ml-enhanced" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-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-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nicktretyakov/iris-ml-enhanced on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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 safetensors v0.3.3 [INFO] [stderr] Downloaded torch-sys v0.13.0 [INFO] [stderr] Downloaded tch v0.13.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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d363a2fe5caea9a5a396fbe61a23be6ef9e1ed07e9c6f0f9011ff7d20b81fb3 [INFO] running `Command { std: "docker" "start" "-a" "6d363a2fe5caea9a5a396fbe61a23be6ef9e1ed07e9c6f0f9011ff7d20b81fb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d363a2fe5caea9a5a396fbe61a23be6ef9e1ed07e9c6f0f9011ff7d20b81fb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d363a2fe5caea9a5a396fbe61a23be6ef9e1ed07e9c6f0f9011ff7d20b81fb3", kill_on_drop: false }` [INFO] [stdout] 6d363a2fe5caea9a5a396fbe61a23be6ef9e1ed07e9c6f0f9011ff7d20b81fb3 [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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d5b1ed3ee99a50429da6d8dab1b244ea8abca5c9076f33bcaf2336f43fd3486e [INFO] running `Command { std: "docker" "start" "-a" "d5b1ed3ee99a50429da6d8dab1b244ea8abca5c9076f33bcaf2336f43fd3486e", kill_on_drop: false }` [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 matrixmultiply v0.3.10 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling iris-ml-enhanced v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling rayon v1.10.0 [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 num-complex v0.4.6 [INFO] [stderr] Compiling num-integer v0.1.46 [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 tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [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 serde v1.0.219 [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] [stderr] Compiling serde_json v1.0.140 [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 30.10s [INFO] running `Command { std: "docker" "inspect" "d5b1ed3ee99a50429da6d8dab1b244ea8abca5c9076f33bcaf2336f43fd3486e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5b1ed3ee99a50429da6d8dab1b244ea8abca5c9076f33bcaf2336f43fd3486e", kill_on_drop: false }` [INFO] [stdout] d5b1ed3ee99a50429da6d8dab1b244ea8abca5c9076f33bcaf2336f43fd3486e [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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 438d2b810c90a5286b7e7e178b60de3283dbce1901d72fa26a1db8af11917a57 [INFO] running `Command { std: "docker" "start" "-a" "438d2b810c90a5286b7e7e178b60de3283dbce1901d72fa26a1db8af11917a57", kill_on_drop: false }` [INFO] [stderr] Compiling iris-ml-enhanced v0.1.0 (/opt/rustwide/workdir) [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] [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[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] 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[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] 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[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] 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] [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] 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] [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] --> 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[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] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] 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] [stderr] error: could not compile `iris-ml-enhanced` (example "llama_integration") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `iris-ml-enhanced` (example "streaming_tokens") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[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] [stderr] error: could not compile `iris-ml-enhanced` (test "message_bus_performance_tests") due to 3 previous errors [INFO] [stderr] error: could not compile `iris-ml-enhanced` (example "custom_message_types") due to 1 previous error [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: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `iris-ml-enhanced` (example "web_integration") due to 7 previous errors [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] 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[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[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[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: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an 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` (test "llama_framework_compatibility_tests") due to 5 previous errors [INFO] [stderr] error: could not compile `iris-ml-enhanced` (test "message_bus_stress_tests") due to 1 previous error; 1 warning emitted [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] 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] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0728. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `iris-ml-enhanced` (test "llama_integration_tests") due to 10 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "438d2b810c90a5286b7e7e178b60de3283dbce1901d72fa26a1db8af11917a57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "438d2b810c90a5286b7e7e178b60de3283dbce1901d72fa26a1db8af11917a57", kill_on_drop: false }` [INFO] [stdout] 438d2b810c90a5286b7e7e178b60de3283dbce1901d72fa26a1db8af11917a57