[INFO] cloning repository https://github.com/GhostWalker562/rust_local_llm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GhostWalker562/rust_local_llm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGhostWalker562%2Frust_local_llm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGhostWalker562%2Frust_local_llm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] de93258a5917edb18a3da60c004e27f0506dcd94 [INFO] testing GhostWalker562/rust_local_llm against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGhostWalker562%2Frust_local_llm" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/GhostWalker562/rust_local_llm [INFO] finished tweaking git repo https://github.com/GhostWalker562/rust_local_llm [INFO] tweaked toml for git repo https://github.com/GhostWalker562/rust_local_llm written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/GhostWalker562/rust_local_llm 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/GhostWalker562/rust_local_llm 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 os_pipe v1.1.5 [INFO] [stderr] Downloaded cmd_lib v1.9.4 [INFO] [stderr] Downloaded cmd_lib_macros v1.9.4 [INFO] [stderr] Downloaded faccess v0.2.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 12f54880c24df87f295b108a55ebd18a9cc3630a3f303bd75d35fd81178eaa4b [INFO] running `Command { std: "docker" "start" "-a" "12f54880c24df87f295b108a55ebd18a9cc3630a3f303bd75d35fd81178eaa4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "12f54880c24df87f295b108a55ebd18a9cc3630a3f303bd75d35fd81178eaa4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12f54880c24df87f295b108a55ebd18a9cc3630a3f303bd75d35fd81178eaa4b", kill_on_drop: false }` [INFO] [stdout] 12f54880c24df87f295b108a55ebd18a9cc3630a3f303bd75d35fd81178eaa4b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 282b431b609c2d3170701f63b6a7689c990495d7e4668e9d731d77739e92d067 [INFO] running `Command { std: "docker" "start" "-a" "282b431b609c2d3170701f63b6a7689c990495d7e4668e9d731d77739e92d067", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling bytemuck v1.16.0 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Compiling ogg v0.8.0 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling symphonia-core v0.5.4 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling faccess v0.2.4 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling os_pipe v1.1.5 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling claxon v0.4.3 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.64 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling alsa v0.9.0 [INFO] [stderr] Compiling symphonia-metadata v0.5.4 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling symphonia v0.5.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling cmd_lib_macros v1.9.4 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling cmd_lib v1.9.4 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling rodio v0.18.1 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stderr] Compiling hyper-util v0.1.3 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.4 [INFO] [stderr] Compiling rust_local_llm v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.52s [INFO] running `Command { std: "docker" "inspect" "282b431b609c2d3170701f63b6a7689c990495d7e4668e9d731d77739e92d067", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "282b431b609c2d3170701f63b6a7689c990495d7e4668e9d731d77739e92d067", kill_on_drop: false }` [INFO] [stdout] 282b431b609c2d3170701f63b6a7689c990495d7e4668e9d731d77739e92d067 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] f8fb507156736cd2d356ebb004646d24dbf9793e651dbb333e2f6ec3e8449dad [INFO] running `Command { std: "docker" "start" "-a" "f8fb507156736cd2d356ebb004646d24dbf9793e651dbb333e2f6ec3e8449dad", kill_on_drop: false }` [INFO] [stderr] Compiling rust_local_llm v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.33s [INFO] running `Command { std: "docker" "inspect" "f8fb507156736cd2d356ebb004646d24dbf9793e651dbb333e2f6ec3e8449dad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8fb507156736cd2d356ebb004646d24dbf9793e651dbb333e2f6ec3e8449dad", kill_on_drop: false }` [INFO] [stdout] f8fb507156736cd2d356ebb004646d24dbf9793e651dbb333e2f6ec3e8449dad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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", kill_on_drop: false }` [INFO] [stdout] d630e420231fa84d7e36985788bf7fb88a8d71e7173acc95cdd2de11d38c77b9 [INFO] running `Command { std: "docker" "start" "-a" "d630e420231fa84d7e36985788bf7fb88a8d71e7173acc95cdd2de11d38c77b9", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_local_llm-8e7a835b9210e826) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_local_llm-81c5c8657750088a) [INFO] [stderr] Doc-tests rust_local_llm [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test src/speech/mod.rs - speech::Speech::new (line 21) ... FAILED [INFO] [stdout] test src/whisper/mod.rs - whisper::Whisper::listen_and_transcribe (line 112) ... FAILED [INFO] [stdout] test src/ollama/mod.rs - ollama::Ollama::new (line 19) ... FAILED [INFO] [stdout] test src/speech/mod.rs - speech::Speech::play (line 43) ... FAILED [INFO] [stdout] test src/whisper/mod.rs - whisper::Whisper::listen (line 52) ... FAILED [INFO] [stdout] test src/whisper/mod.rs - whisper::Whisper::get_default_input_device (line 140) ... FAILED [INFO] [stdout] test src/whisper/mod.rs - whisper::Whisper::new (line 19) ... FAILED [INFO] [stdout] test src/ollama/mod.rs - ollama::Ollama::generate (line 40) ... FAILED [INFO] [stdout] test src/whisper/mod.rs - whisper::Whisper::transcribe (line 76) ... FAILED [INFO] [stdout] test src/speech/mod.rs - speech::Speech::speak (line 69) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/speech/mod.rs - speech::Speech::new (line 21) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Speech` [INFO] [stdout] --> src/speech/mod.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 3 | let speech = Speech::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Speech` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rust_local_llm::speech::Speech; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/whisper/mod.rs - whisper::Whisper::listen_and_transcribe (line 112) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Whisper` [INFO] [stdout] --> src/whisper/mod.rs:113:15 [INFO] [stdout] | [INFO] [stdout] 3 | let whisper = Whisper::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Whisper` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rust_local_llm::whisper::Whisper; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WhisperListenBody` in this scope [INFO] [stdout] --> src/whisper/mod.rs:114:19 [INFO] [stdout] | [INFO] [stdout] 4 | let listen_body = WhisperListenBody { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rust_local_llm::whisper::transcription::WhisperListenBody; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WhisperTranscriptionResponse` in this scope [INFO] [stdout] --> src/whisper/mod.rs:118:27 [INFO] [stdout] | [INFO] [stdout] 8 | let user_response: Result = whisper.listen_and_transcribe(listen_body).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rust_local_llm::whisper::transcription::WhisperTranscriptionResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WhisperError` in this scope [INFO] [stdout] --> src/whisper/mod.rs:118:57 [INFO] [stdout] | [INFO] [stdout] 8 | let user_response: Result = whisper.listen_and_transcribe(listen_body).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rust_local_llm::whisper::errors::WhisperError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ollama/mod.rs - ollama::Ollama::new (line 19) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ollama` [INFO] [stdout] --> src/ollama/mod.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 3 | let ollama = Ollama::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Ollama` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rust_local_llm::ollama::Ollama; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `OllamaGenerationBody` in this scope [INFO] [stdout] --> src/ollama/mod.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 4 | let generation_body = OllamaGenerationBody { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rust_local_llm::ollama::generation::OllamaGenerationBody; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/ollama/mod.rs:26:49 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_ollama_mod_rs_19_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 9 | let response = ollama.generate(generation_body).await.unwrap(); [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/speech/mod.rs - speech::Speech::play (line 43) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Speech` [INFO] [stdout] --> src/speech/mod.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 3 | let speech = Speech::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Speech` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rust_local_llm::speech::Speech; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/whisper/mod.rs - whisper::Whisper::listen (line 52) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Whisper` [INFO] [stdout] --> src/whisper/mod.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 3 | let whisper = Whisper::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Whisper` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rust_local_llm::whisper::Whisper; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/whisper/mod.rs - whisper::Whisper::get_default_input_device (line 140) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Whisper` [INFO] [stdout] --> src/whisper/mod.rs:141:15 [INFO] [stdout] | [INFO] [stdout] 3 | let whisper = Whisper::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Whisper` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rust_local_llm::whisper::Whisper; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/whisper/mod.rs - whisper::Whisper::new (line 19) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Whisper` [INFO] [stdout] --> src/whisper/mod.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 3 | let whisper = Whisper::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Whisper` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rust_local_llm::whisper::Whisper; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WhisperListenBody` in this scope [INFO] [stdout] --> src/whisper/mod.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 4 | let listen_body = WhisperListenBody { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rust_local_llm::whisper::transcription::WhisperListenBody; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ollama/mod.rs - ollama::Ollama::generate (line 40) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ollama` [INFO] [stdout] --> src/ollama/mod.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 3 | let ollama = Ollama::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Ollama` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rust_local_llm::ollama::Ollama; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `OllamaGenerationBody` in this scope [INFO] [stdout] --> src/ollama/mod.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 4 | let generation_body = OllamaGenerationBody { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rust_local_llm::ollama::generation::OllamaGenerationBody; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/ollama/mod.rs:47:49 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_ollama_mod_rs_40_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 9 | let response = ollama.generate(generation_body).await.unwrap(); [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/whisper/mod.rs - whisper::Whisper::transcribe (line 76) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Whisper` [INFO] [stdout] --> src/whisper/mod.rs:77:15 [INFO] [stdout] | [INFO] [stdout] 3 | let whisper = Whisper::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Whisper` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rust_local_llm::whisper::Whisper; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WhisperTranscriptionResponse` in this scope [INFO] [stdout] --> src/whisper/mod.rs:78:36 [INFO] [stdout] | [INFO] [stdout] 4 | let transcription_response: Result = whisper.transcribe("temp.mp3", "small").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rust_local_llm::whisper::transcription::WhisperTranscriptionResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WhisperError` in this scope [INFO] [stdout] --> src/whisper/mod.rs:78:66 [INFO] [stdout] | [INFO] [stdout] 4 | let transcription_response: Result = whisper.transcribe("temp.mp3", "small").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rust_local_llm::whisper::errors::WhisperError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/speech/mod.rs - speech::Speech::speak (line 69) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Speech` [INFO] [stdout] --> src/speech/mod.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 3 | let speech = Speech::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Speech` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rust_local_llm::speech::Speech; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/ollama/mod.rs - ollama::Ollama::generate (line 40) [INFO] [stdout] src/ollama/mod.rs - ollama::Ollama::new (line 19) [INFO] [stdout] src/speech/mod.rs - speech::Speech::new (line 21) [INFO] [stdout] src/speech/mod.rs - speech::Speech::play (line 43) [INFO] [stdout] src/speech/mod.rs - speech::Speech::speak (line 69) [INFO] [stdout] src/whisper/mod.rs - whisper::Whisper::get_default_input_device (line 140) [INFO] [stdout] src/whisper/mod.rs - whisper::Whisper::listen (line 52) [INFO] [stdout] src/whisper/mod.rs - whisper::Whisper::listen_and_transcribe (line 112) [INFO] [stdout] src/whisper/mod.rs - whisper::Whisper::new (line 19) [INFO] [stdout] src/whisper/mod.rs - whisper::Whisper::transcribe (line 76) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 10 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.45s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "d630e420231fa84d7e36985788bf7fb88a8d71e7173acc95cdd2de11d38c77b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d630e420231fa84d7e36985788bf7fb88a8d71e7173acc95cdd2de11d38c77b9", kill_on_drop: false }` [INFO] [stdout] d630e420231fa84d7e36985788bf7fb88a8d71e7173acc95cdd2de11d38c77b9