[INFO] fetching crate ollama-rs-mangle-fork 0.1.1... [INFO] testing ollama-rs-mangle-fork-0.1.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate ollama-rs-mangle-fork 0.1.1 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate ollama-rs-mangle-fork 0.1.1 [INFO] finished tweaking crates.io crate ollama-rs-mangle-fork 0.1.1 [INFO] tweaked toml for crates.io crate ollama-rs-mangle-fork 0.1.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ollama-rs-mangle-fork 0.1.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ollama-rs-mangle-fork 0.1.1 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aaf2cec653ea312eddf0841fa8ec59f9b9a3da79d55abb9f33a9c502803de01c [INFO] running `Command { std: "docker" "start" "-a" "aaf2cec653ea312eddf0841fa8ec59f9b9a3da79d55abb9f33a9c502803de01c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aaf2cec653ea312eddf0841fa8ec59f9b9a3da79d55abb9f33a9c502803de01c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aaf2cec653ea312eddf0841fa8ec59f9b9a3da79d55abb9f33a9c502803de01c", kill_on_drop: false }` [INFO] [stdout] aaf2cec653ea312eddf0841fa8ec59f9b9a3da79d55abb9f33a9c502803de01c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8d57022ef5f9e4e475d16e046d97402b2746abb308428409094c9f12752fd68 [INFO] running `Command { std: "docker" "start" "-a" "d8d57022ef5f9e4e475d16e046d97402b2746abb308428409094c9f12752fd68", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling openssl v0.10.58 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling serde v1.0.190 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling mio v0.8.9 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling tokio v1.33.0 [INFO] [stderr] Compiling openssl-sys v0.9.94 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.190 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.22 [INFO] [stderr] Compiling ollama-rs-mangle-fork v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.91s [INFO] running `Command { std: "docker" "inspect" "d8d57022ef5f9e4e475d16e046d97402b2746abb308428409094c9f12752fd68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8d57022ef5f9e4e475d16e046d97402b2746abb308428409094c9f12752fd68", kill_on_drop: false }` [INFO] [stdout] d8d57022ef5f9e4e475d16e046d97402b2746abb308428409094c9f12752fd68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 69339ebb6ab05c78cef67959b553b920c2ab03e96c94fe84ee1fe7660dd93ae9 [INFO] running `Command { std: "docker" "start" "-a" "69339ebb6ab05c78cef67959b553b920c2ab03e96c94fe84ee1fe7660dd93ae9", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling tokio v1.33.0 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.22 [INFO] [stderr] Compiling ollama-rs-mangle-fork v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ollama_rs` [INFO] [stdout] --> examples/chatbot.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ollama_rs::{ [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `ollama_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ollama_rs`, use `cargo add ollama_rs` 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 `ollama_rs` [INFO] [stdout] --> tests/generation.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ollama_rs::{ [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `ollama_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ollama_rs`, use `cargo add ollama_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ollama_rs` [INFO] [stdout] --> tests/create_model.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ollama_rs::Ollama; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `ollama_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ollama_rs`, use `cargo add ollama_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_stream` [INFO] [stdout] --> tests/create_model.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio_stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_stream` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio_stream`, use `cargo add tokio_stream` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ollama_rs` [INFO] [stdout] --> tests/embeddings_generation.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ollama_rs::Ollama; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `ollama_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ollama_rs`, use `cargo add ollama_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ollama_rs` [INFO] [stdout] --> tests/delete_model.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ollama_rs::Ollama; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `ollama_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ollama_rs`, use `cargo add ollama_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ollama_rs` [INFO] [stdout] --> tests/generation.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ollama_rs::{ [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `ollama_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ollama_rs`, use `cargo add ollama_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_stream` [INFO] [stdout] --> tests/generation.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tokio_stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_stream` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio_stream`, use `cargo add tokio_stream` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ollama_rs` [INFO] [stdout] --> tests/push_model.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ollama_rs::Ollama; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `ollama_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ollama_rs`, use `cargo add ollama_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_stream` [INFO] [stdout] --> tests/push_model.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio_stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_stream` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio_stream`, use `cargo add tokio_stream` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ollama_rs` [INFO] [stdout] --> examples/chatbot.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ollama_rs::{ [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `ollama_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ollama_rs`, use `cargo add ollama_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_stream` [INFO] [stdout] --> examples/chatbot.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio_stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_stream` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio_stream`, use `cargo add tokio_stream` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/create_model.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | let mut res = ollama [INFO] [stdout] | ___________________^ [INFO] [stdout] 10 | | .create_model_stream("model".into(), "/tmp/Modelfile.example".into()) [INFO] [stdout] 11 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ollama_rs` [INFO] [stdout] --> tests/pull_model.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ollama_rs::Ollama; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `ollama_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ollama_rs`, use `cargo add ollama_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_stream` [INFO] [stdout] --> tests/pull_model.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio_stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_stream` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio_stream`, use `cargo add tokio_stream` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/create_model.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | let res = ollama [INFO] [stdout] | _______________^ [INFO] [stdout] 36 | | .create_model("model".into(), "/tmp/Modelfile.example".into()) [INFO] [stdout] 37 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/embeddings_generation.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | let res = ollama [INFO] [stdout] | _______________^ [INFO] [stdout] 10 | | .generate_embeddings("llama2:latest".to_string(), prompt, None) [INFO] [stdout] 11 | | .await [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] 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/pull_model.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | let mut res = ollama [INFO] [stdout] | ___________________^ [INFO] [stdout] 9 | | .pull_model_stream("llama2:latest".into(), false) [INFO] [stdout] 10 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/generation.rs:20:45 [INFO] [stdout] | [INFO] [stdout] 20 | let mut res: GenerationResponseStream = ollama [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 21 | | .generate_stream(GenerationRequest::new( [INFO] [stdout] 22 | | "llama2:latest".to_string(), [INFO] [stdout] 23 | | PROMPT.into(), [INFO] [stdout] 24 | | )) [INFO] [stdout] 25 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ollama-rs-mangle-fork` (test "embeddings_generation") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/push_model.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | let mut res = ollama [INFO] [stdout] | ___________________^ [INFO] [stdout] 10 | | .push_model_stream("test_model:latest".into(), false) [INFO] [stdout] 11 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ollama-rs-mangle-fork` (test "create_model") due to 4 previous errors [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/delete_model.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | ollama.delete_model("mario_copy".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/generation.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | let res = res.unwrap(); [INFO] [stdout] | ^^^ cannot infer type [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 E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/generation.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let _ = ollama [INFO] [stdout] | _____________^ [INFO] [stdout] 45 | | .generate(GenerationRequest::new( [INFO] [stdout] 46 | | "llama2:latest".to_string(), [INFO] [stdout] 47 | | PROMPT.into(), [INFO] [stdout] 48 | | )) [INFO] [stdout] 49 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [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 `ollama_rs` [INFO] [stdout] --> tests/list_local_models.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | let ollama = ollama_rs::Ollama::default(); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `ollama_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ollama_rs`, use `cargo add ollama_rs` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use ollama_rs_mangle_fork::Ollama; [INFO] [stdout] | [INFO] [stdout] help: if you import `Ollama`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - let ollama = ollama_rs::Ollama::default(); [INFO] [stdout] 3 + let ollama = Ollama::default(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [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] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ollama-rs-mangle-fork` (example "chatbot") due to 3 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ollama_rs` [INFO] [stdout] --> tests/copy_model.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | let ollama = ollama_rs::Ollama::default(); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `ollama_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ollama_rs`, use `cargo add ollama_rs` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use ollama_rs_mangle_fork::Ollama; [INFO] [stdout] | [INFO] [stdout] help: if you import `Ollama`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 4 - let ollama = ollama_rs::Ollama::default(); [INFO] [stdout] 4 + let ollama = Ollama::default(); [INFO] [stdout] | [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[E0433]: failed to resolve: use of unresolved module or unlinked crate `ollama_rs` [INFO] [stdout] --> tests/show_model_info.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | let ollama = ollama_rs::Ollama::default(); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `ollama_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ollama_rs`, use `cargo add ollama_rs` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use ollama_rs_mangle_fork::Ollama; [INFO] [stdout] | [INFO] [stdout] help: if you import `Ollama`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - let ollama = ollama_rs::Ollama::default(); [INFO] [stdout] 3 + let ollama = Ollama::default(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/list_local_models.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | let models = ollama.list_local_models().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ollama-rs-mangle-fork` (test "pull_model") due to 3 previous errors [INFO] [stderr] error: could not compile `ollama-rs-mangle-fork` (test "delete_model") due to 2 previous errors [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ollama-rs-mangle-fork` (test "generation") due to 6 previous errors [INFO] [stderr] error: could not compile `ollama-rs-mangle-fork` (test "push_model") due to 3 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/copy_model.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | / ollama [INFO] [stdout] 7 | | .copy_model("mario".into(), "mario_copy".into()) [INFO] [stdout] 8 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/show_model_info.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | let model_info = ollama [INFO] [stdout] | ______________________^ [INFO] [stdout] 6 | | .show_model_info("llama2:latest".to_string()) [INFO] [stdout] 7 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ollama-rs-mangle-fork` (test "list_local_models") due to 2 previous errors [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ollama-rs-mangle-fork` (test "copy_model") due to 2 previous errors [INFO] [stderr] error: could not compile `ollama-rs-mangle-fork` (test "show_model_info") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "69339ebb6ab05c78cef67959b553b920c2ab03e96c94fe84ee1fe7660dd93ae9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69339ebb6ab05c78cef67959b553b920c2ab03e96c94fe84ee1fe7660dd93ae9", kill_on_drop: false }` [INFO] [stdout] 69339ebb6ab05c78cef67959b553b920c2ab03e96c94fe84ee1fe7660dd93ae9