[INFO] cloning repository https://github.com/CrazyMageRainy/rust-gui-cli-ollama-client
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CrazyMageRainy/rust-gui-cli-ollama-client" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCrazyMageRainy%2Frust-gui-cli-ollama-client", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCrazyMageRainy%2Frust-gui-cli-ollama-client'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b8984de314dc5858473ef8bd3a342ec45c82a1a6
[INFO] checking CrazyMageRainy/rust-gui-cli-ollama-client against master#3f6250a7bb79e600d9036bbc7c8f65af43933643 for pr-147859
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCrazyMageRainy%2Frust-gui-cli-ollama-client" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/CrazyMageRainy/rust-gui-cli-ollama-client
[INFO] finished tweaking git repo https://github.com/CrazyMageRainy/rust-gui-cli-ollama-client
[INFO] tweaked toml for git repo https://github.com/CrazyMageRainy/rust-gui-cli-ollama-client written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/CrazyMageRainy/rust-gui-cli-ollama-client on toolchain 3f6250a7bb79e600d9036bbc7c8f65af43933643
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3f6250a7bb79e600d9036bbc7c8f65af43933643" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/CrazyMageRainy/rust-gui-cli-ollama-client 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" "+3f6250a7bb79e600d9036bbc7c8f65af43933643" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ehttp v0.5.0
[INFO] [stderr]   Downloaded ecolor v0.33.0
[INFO] [stderr]   Downloaded egui_extras v0.33.0
[INFO] [stderr]   Downloaded emath v0.33.0
[INFO] [stderr]   Downloaded mime_guess2 v2.3.1
[INFO] [stderr]   Downloaded accesskit_unix v0.17.1
[INFO] [stderr]   Downloaded accesskit_macos v0.22.1
[INFO] [stderr]   Downloaded accesskit_consumer v0.30.1
[INFO] [stderr]   Downloaded egui-wgpu v0.33.0
[INFO] [stderr]   Downloaded accesskit_windows v0.29.1
[INFO] [stderr]   Downloaded egui-winit v0.33.0
[INFO] [stderr]   Downloaded egui_commonmark v0.22.0
[INFO] [stderr]   Downloaded eframe v0.33.0
[INFO] [stderr]   Downloaded epaint v0.33.0
[INFO] [stderr]   Downloaded egui_glow v0.33.0
[INFO] [stderr]   Downloaded pulldown-cmark v0.13.0
[INFO] [stderr]   Downloaded moxcms v0.7.7
[INFO] [stderr]   Downloaded accesskit_atspi_common v0.14.1
[INFO] [stderr]   Downloaded accesskit_winit v0.29.1
[INFO] [stderr]   Downloaded egui_commonmark_backend v0.22.0
[INFO] [stderr]   Downloaded egui v0.33.0
[INFO] [stderr]   Downloaded epaint_default_fonts v0.33.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+3f6250a7bb79e600d9036bbc7c8f65af43933643" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6677d03415879f2ee14b8a79a5731ddf7f6993e88b79b60750e545a44d2e201a
[INFO] running `Command { std: "docker" "start" "-a" "6677d03415879f2ee14b8a79a5731ddf7f6993e88b79b60750e545a44d2e201a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6677d03415879f2ee14b8a79a5731ddf7f6993e88b79b60750e545a44d2e201a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6677d03415879f2ee14b8a79a5731ddf7f6993e88b79b60750e545a44d2e201a", kill_on_drop: false }`
[INFO] [stdout] 6677d03415879f2ee14b8a79a5731ddf7f6993e88b79b60750e545a44d2e201a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+3f6250a7bb79e600d9036bbc7c8f65af43933643" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 645d33d73f7f19e8198d3adda5cc415427373a22614f78f8dccbe07b0aaf7b6d
[INFO] running `Command { std: "docker" "start" "-a" "645d33d73f7f19e8198d3adda5cc415427373a22614f78f8dccbe07b0aaf7b6d", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]     Checking bitflags v2.9.4
[INFO] [stderr]    Compiling find-msvc-tools v0.1.4
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]     Checking stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling indexmap v2.11.4
[INFO] [stderr]     Checking libloading v0.8.9
[INFO] [stderr]     Checking crc32fast v1.5.0
[INFO] [stderr]     Checking unicode-ident v1.0.19
[INFO] [stderr]     Checking event-listener v5.4.1
[INFO] [stderr]    Compiling quick-xml v0.37.5
[INFO] [stderr]     Checking rustls-pki-types v1.12.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking accesskit v0.21.1
[INFO] [stderr]    Compiling cc v1.2.41
[INFO] [stderr]     Checking flate2 v1.1.4
[INFO] [stderr]     Checking rustix v0.38.44
[INFO] [stderr]     Checking dlib v0.5.2
[INFO] [stderr]     Checking async-executor v1.13.3
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]     Checking event-listener-strategy v0.5.4
[INFO] [stderr]     Checking profiling v1.0.17
[INFO] [stderr]     Checking epaint_default_fonts v0.33.0
[INFO] [stderr]     Checking async-channel v2.5.0
[INFO] [stderr]     Checking wayland-sys v0.31.7
[INFO] [stderr]     Checking async-lock v3.4.1
[INFO] [stderr]     Checking async-broadcast v0.7.2
[INFO] [stderr]     Checking png v0.17.16
[INFO] [stderr]    Compiling phf_shared v0.11.3
[INFO] [stderr]     Checking blocking v1.6.2
[INFO] [stderr]     Checking syn v2.0.106
[INFO] [stderr]     Checking png v0.18.0
[INFO] [stderr]    Compiling rustls v0.23.32
[INFO] [stderr]    Compiling toml_edit v0.23.7
[INFO] [stderr]     Checking unicode-segmentation v1.12.0
[INFO] [stderr]    Compiling phf v0.11.3
[INFO] [stderr]     Checking webpki-roots v1.0.3
[INFO] [stderr]     Checking kurbo v0.11.3
[INFO] [stderr]    Compiling litrs v0.4.2
[INFO] [stderr]    Compiling glutin_glx_sys v0.6.1
[INFO] [stderr]     Checking pxfm v0.1.25
[INFO] [stderr]    Compiling wayland-scanner v0.31.7
[INFO] [stderr]    Compiling glutin_egl_sys v0.7.1
[INFO] [stderr]     Checking webpki-roots v0.26.11
[INFO] [stderr]    Compiling mime_guess2 v2.3.1
[INFO] [stderr]     Checking signal-hook-registry v1.4.6
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking getrandom v0.3.3
[INFO] [stderr]     Checking nix v0.30.1
[INFO] [stderr]    Compiling proc-macro-crate v3.4.0
[INFO] [stderr]     Checking ahash v0.8.12
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking mio v1.0.4
[INFO] [stderr]     Checking socket2 v0.6.1
[INFO] [stderr]     Checking memmap2 v0.9.8
[INFO] [stderr]    Compiling wayland-backend v0.3.11
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking x11-dl v2.21.0
[INFO] [stderr]    Compiling document-features v0.2.11
[INFO] [stderr]     Checking svgtypes v0.15.3
[INFO] [stderr]     Checking accesskit_consumer v0.30.1
[INFO] [stderr]     Checking xkbcommon-dl v0.4.2
[INFO] [stderr]     Checking simplecss v0.2.2
[INFO] [stderr]     Checking data-url v0.3.2
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]    Compiling pulldown-cmark v0.13.0
[INFO] [stderr]    Compiling ref-cast v1.0.25
[INFO] [stderr]     Checking anstream v0.6.21
[INFO] [stderr]     Checking regex-automata v0.4.13
[INFO] [stderr]     Checking polling v3.11.0
[INFO] [stderr]     Checking gethostname v1.0.2
[INFO] [stderr]     Checking moxcms v0.7.7
[INFO] [stderr]     Checking x11rb v0.13.2
[INFO] [stderr]     Checking async-io v2.6.0
[INFO] [stderr]     Checking async-signal v0.2.13
[INFO] [stderr]     Checking async-process v2.5.0
[INFO] [stderr]     Checking wayland-client v0.31.11
[INFO] [stderr]     Checking wayland-csd-frame v0.3.0
[INFO] [stderr]     Checking glutin v0.32.3
[INFO] [stderr]     Checking regex v1.12.2
[INFO] [stderr]     Checking env_filter v0.1.4
[INFO] [stderr]     Checking wayland-protocols v0.32.9
[INFO] [stderr]     Checking wayland-cursor v0.31.11
[INFO] [stderr]     Checking env_logger v0.11.8
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling serde_derive_internals v0.29.1
[INFO] [stderr]     Checking rustls-webpki v0.103.7
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling enumflags2_derive v0.7.12
[INFO] [stderr]    Compiling bytemuck_derive v1.10.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling serde_repr v0.1.20
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling enum-map-derive v0.17.0
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking tokio v1.47.1
[INFO] [stderr]    Compiling ref-cast-impl v1.0.25
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]    Compiling schemars_derive v1.0.4
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]     Checking enum-map v2.7.3
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking yoke v0.8.0
[INFO] [stderr]     Checking calloop v0.13.0
[INFO] [stderr]     Checking async-stream v0.3.6
[INFO] [stderr]     Checking bytemuck v1.24.0
[INFO] [stderr]     Checking zerovec v0.11.4
[INFO] [stderr]     Checking zerotrie v0.2.2
[INFO] [stderr]     Checking tiny-skia-path v0.11.4
[INFO] [stderr]     Checking emath v0.33.0
[INFO] [stderr]     Checking image v0.25.8
[INFO] [stderr]     Checking rgb v0.8.52
[INFO] [stderr]     Checking calloop-wayland-source v0.3.0
[INFO] [stderr]     Checking thiserror v2.0.17
[INFO] [stderr]     Checking ecolor v0.33.0
[INFO] [stderr]     Checking tiny-skia v0.11.4
[INFO] [stderr]     Checking usvg v0.45.1
[INFO] [stderr]     Checking tinystr v0.8.1
[INFO] [stderr]     Checking potential_utf v0.1.3
[INFO] [stderr]     Checking epaint v0.33.0
[INFO] [stderr]     Checking icu_collections v2.0.0
[INFO] [stderr]     Checking icu_locale_core v2.0.0
[INFO] [stderr]    Compiling zvariant_utils v3.2.1
[INFO] [stderr]    Compiling enumflags2 v0.7.12
[INFO] [stderr]    Compiling quick-xml v0.36.2
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking schemars v1.0.4
[INFO] [stderr]     Checking icu_provider v2.0.0
[INFO] [stderr]    Compiling zvariant_derive v5.7.0
[INFO] [stderr]     Checking wayland-protocols-wlr v0.3.9
[INFO] [stderr]     Checking wayland-protocols-plasma v0.3.9
[INFO] [stderr]     Checking egui v0.33.0
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]     Checking icu_properties v2.0.1
[INFO] [stderr]     Checking resvg v0.45.1
[INFO] [stderr]     Checking arboard v3.6.1
[INFO] [stderr]    Compiling zvariant v5.7.0
[INFO] [stderr]     Checking hyper v1.7.0
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking tower-http v0.6.6
[INFO] [stderr]     Checking smithay-client-toolkit v0.19.2
[INFO] [stderr]     Checking hyper-util v0.1.17
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.7
[INFO] [stderr]     Checking ureq v2.12.1
[INFO] [stderr]     Checking webbrowser v1.0.5
[INFO] [stderr]     Checking sctk-adwaita v0.10.1
[INFO] [stderr]     Checking smithay-clipboard v0.7.2
[INFO] [stderr]     Checking zbus_names v4.2.0
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking reqwest v0.12.24
[INFO] [stderr]     Checking ehttp v0.5.0
[INFO] [stderr]     Checking zbus_xml v5.0.2
[INFO] [stderr]     Checking egui_glow v0.33.0
[INFO] [stderr]     Checking egui_extras v0.33.0
[INFO] [stderr]     Checking winit v0.30.12
[INFO] [stderr]     Checking zbus-lockstep v0.5.1
[INFO] [stderr]     Checking egui_commonmark_backend v0.22.0
[INFO] [stderr]     Checking ollama-rs v0.3.2
[INFO] [stderr]     Checking egui_commonmark v0.22.0
[INFO] [stderr]    Compiling zbus_macros v5.11.0
[INFO] [stderr]    Compiling zbus-lockstep-macros v0.5.1
[INFO] [stderr]     Checking glutin-winit v0.5.0
[INFO] [stderr]     Checking zbus v5.11.0
[INFO] [stderr]     Checking atspi-common v0.9.0
[INFO] [stderr]     Checking atspi-proxies v0.9.0
[INFO] [stderr]     Checking accesskit_atspi_common v0.14.1
[INFO] [stderr]     Checking atspi-connection v0.9.0
[INFO] [stderr]     Checking atspi v0.25.0
[INFO] [stderr]     Checking accesskit_unix v0.17.1
[INFO] [stderr]     Checking accesskit_winit v0.29.1
[INFO] [stderr]     Checking egui-winit v0.33.0
[INFO] [stderr]     Checking eframe v0.33.0
[INFO] [stderr]     Checking rust-gui-cli-ollama-client v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/main.rs:50:65
[INFO] [stdout]    |
[INFO] [stdout] 44 |             ui.horizontal(|ui| {
[INFO] [stdout]    |                           ---- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 50 |                     (self.input, self.model_output)  = function.await.unwrap();
[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]   --> src/main.rs:50:65
[INFO] [stdout]    |
[INFO] [stdout] 44 |             ui.horizontal(|ui| {
[INFO] [stdout]    |                           ---- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 50 |                     (self.input, self.model_output)  = function.await.unwrap();
[INFO] [stdout]    |                                                                 ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:67:19
[INFO] [stdout]    |
[INFO] [stdout] 67 |         *output = res.response;
[INFO] [stdout]    |         -------   ^^^^^^^^^^^^ expected `str`, found `String`
[INFO] [stdout]    |         |
[INFO] [stdout]    |         expected due to the type of this binding
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]   --> src/main.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 67 |         *output = res.response;
[INFO] [stdout]    |         ^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout]    = note: the left-hand-side of an assignment must have a statically known size
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:66:26
[INFO] [stdout]    |
[INFO] [stdout] 66 |       if let Ok(res) = res {
[INFO] [stdout]    |  __________________________^
[INFO] [stdout] 67 | |         *output = res.response;
[INFO] [stdout] 68 | |         println!();
[INFO] [stdout] 69 | |     }
[INFO] [stdout]    | |_____^ expected `(String, String)`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note:  expected tuple `(String, String)`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:33:21
[INFO] [stdout]    |
[INFO] [stdout] 33 |             input:  Arc::new(Mutex::new("".to_owned())) ,
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `String`, found `Arc<Mutex<String>>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `String`
[INFO] [stdout]               found struct `Arc<tokio::sync::Mutex<String>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:34:28
[INFO] [stdout]    |
[INFO] [stdout] 34 |             model_output:  Arc::new(Mutex::new("".to_owned())) ,
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `String`, found `Arc<Mutex<String>>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `String`
[INFO] [stdout]               found struct `Arc<tokio::sync::Mutex<String>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: arguments to this function are incorrect
[INFO] [stdout]   --> src/main.rs:49:65
[INFO] [stdout]    |
[INFO] [stdout] 49 | ...async move {run_ollama(&mut self.input.clone(), &mut self.model_output.clone()).await;});
[INFO] [stdout]    |                ^^^^^^^^^^ -----------------------  ------------------------------ expected `String`, found `&mut String`
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           expected `String`, found `&mut String`
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/main.rs:57:11
[INFO] [stdout]    |
[INFO] [stdout] 57 |  async fn run_ollama(prompt: String, output:  String) -> (String, String){
[INFO] [stdout]    |           ^^^^^^^^^^ --------------  ---------------
[INFO] [stdout] help: consider removing the borrow
[INFO] [stdout]    |
[INFO] [stdout] 49 -                         let function = tokio::spawn(async move {run_ollama(&mut self.input.clone(), &mut self.model_output.clone()).await;});
[INFO] [stdout] 49 +                         let function = tokio::spawn(async move {run_ollama(self.input.clone(), &mut self.model_output.clone()).await;});
[INFO] [stdout]    |
[INFO] [stdout] help: consider removing the borrow
[INFO] [stdout]    |
[INFO] [stdout] 49 -                         let function = tokio::spawn(async move {run_ollama(&mut self.input.clone(), &mut self.model_output.clone()).await;});
[INFO] [stdout] 49 +                         let function = tokio::spawn(async move {run_ollama(&mut self.input.clone(), self.model_output.clone()).await;});
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:67:19
[INFO] [stdout]    |
[INFO] [stdout] 67 |         *output = res.response;
[INFO] [stdout]    |         -------   ^^^^^^^^^^^^ expected `str`, found `String`
[INFO] [stdout]    |         |
[INFO] [stdout]    |         expected due to the type of this binding
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]   --> src/main.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 67 |         *output = res.response;
[INFO] [stdout]    |         ^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout]    = note: the left-hand-side of an assignment must have a statically known size
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:66:26
[INFO] [stdout]    |
[INFO] [stdout] 66 |       if let Ok(res) = res {
[INFO] [stdout]    |  __________________________^
[INFO] [stdout] 67 | |         *output = res.response;
[INFO] [stdout] 68 | |         println!();
[INFO] [stdout] 69 | |     }
[INFO] [stdout]    | |_____^ expected `(String, String)`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note:  expected tuple `(String, String)`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0728.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:33:21
[INFO] [stdout]    |
[INFO] [stdout] 33 |             input:  Arc::new(Mutex::new("".to_owned())) ,
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `String`, found `Arc<Mutex<String>>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `String`
[INFO] [stdout]               found struct `Arc<tokio::sync::Mutex<String>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:34:28
[INFO] [stdout]    |
[INFO] [stdout] 34 |             model_output:  Arc::new(Mutex::new("".to_owned())) ,
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `String`, found `Arc<Mutex<String>>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `String`
[INFO] [stdout]               found struct `Arc<tokio::sync::Mutex<String>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-gui-cli-ollama-client` (bin "rust-gui-cli-ollama-client") due to 7 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: arguments to this function are incorrect
[INFO] [stdout]   --> src/main.rs:49:65
[INFO] [stdout]    |
[INFO] [stdout] 49 | ...async move {run_ollama(&mut self.input.clone(), &mut self.model_output.clone()).await;});
[INFO] [stdout]    |                ^^^^^^^^^^ -----------------------  ------------------------------ expected `String`, found `&mut String`
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           expected `String`, found `&mut String`
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/main.rs:57:11
[INFO] [stdout]    |
[INFO] [stdout] 57 |  async fn run_ollama(prompt: String, output:  String) -> (String, String){
[INFO] [stdout]    |           ^^^^^^^^^^ --------------  ---------------
[INFO] [stdout] help: consider removing the borrow
[INFO] [stdout]    |
[INFO] [stdout] 49 -                         let function = tokio::spawn(async move {run_ollama(&mut self.input.clone(), &mut self.model_output.clone()).await;});
[INFO] [stdout] 49 +                         let function = tokio::spawn(async move {run_ollama(self.input.clone(), &mut self.model_output.clone()).await;});
[INFO] [stdout]    |
[INFO] [stdout] help: consider removing the borrow
[INFO] [stdout]    |
[INFO] [stdout] 49 -                         let function = tokio::spawn(async move {run_ollama(&mut self.input.clone(), &mut self.model_output.clone()).await;});
[INFO] [stdout] 49 +                         let function = tokio::spawn(async move {run_ollama(&mut self.input.clone(), self.model_output.clone()).await;});
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0728.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-gui-cli-ollama-client` (bin "rust-gui-cli-ollama-client" test) due to 7 previous errors
[INFO] running `Command { std: "docker" "inspect" "645d33d73f7f19e8198d3adda5cc415427373a22614f78f8dccbe07b0aaf7b6d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "645d33d73f7f19e8198d3adda5cc415427373a22614f78f8dccbe07b0aaf7b6d", kill_on_drop: false }`
[INFO] [stdout] 645d33d73f7f19e8198d3adda5cc415427373a22614f78f8dccbe07b0aaf7b6d
