[INFO] cloning repository https://github.com/Alecoow/LocalLLM-Interface
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Alecoow/LocalLLM-Interface" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlecoow%2FLocalLLM-Interface", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlecoow%2FLocalLLM-Interface'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 65c1a878bba03dafafa9ae65724e38483daaebfd
[INFO] checking Alecoow/LocalLLM-Interface against try#863511eff87e66198b396935f3b5c8a543022f53 for pr-139493-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlecoow%2FLocalLLM-Interface" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Alecoow/LocalLLM-Interface
[INFO] finished tweaking git repo https://github.com/Alecoow/LocalLLM-Interface
[INFO] tweaked toml for git repo https://github.com/Alecoow/LocalLLM-Interface written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Alecoow/LocalLLM-Interface on toolchain 863511eff87e66198b396935f3b5c8a543022f53
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+863511eff87e66198b396935f3b5c8a543022f53" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Alecoow/LocalLLM-Interface 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" "+863511eff87e66198b396935f3b5c8a543022f53" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+863511eff87e66198b396935f3b5c8a543022f53" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6540c35a2a92300a6b1af865d825ed5731559baa0efe540d1d8fed2ad6013dfa
[INFO] running `Command { std: "docker" "start" "-a" "6540c35a2a92300a6b1af865d825ed5731559baa0efe540d1d8fed2ad6013dfa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6540c35a2a92300a6b1af865d825ed5731559baa0efe540d1d8fed2ad6013dfa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6540c35a2a92300a6b1af865d825ed5731559baa0efe540d1d8fed2ad6013dfa", kill_on_drop: false }`
[INFO] [stdout] 6540c35a2a92300a6b1af865d825ed5731559baa0efe540d1d8fed2ad6013dfa
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+863511eff87e66198b396935f3b5c8a543022f53" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 43fecfe23c74ed2e736be489b663f78f3d743a2ebfb26389a50ed8b02270ca19
[INFO] running `Command { std: "docker" "start" "-a" "43fecfe23c74ed2e736be489b663f78f3d743a2ebfb26389a50ed8b02270ca19", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.71
[INFO] [stderr]    Compiling libc v0.2.151
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling rustix v0.38.28
[INFO] [stderr]    Compiling prettyplease v0.2.15
[INFO] [stderr]    Compiling memchr v2.6.4
[INFO] [stderr]    Compiling linux-raw-sys v0.4.12
[INFO] [stderr]    Compiling bitflags v2.4.1
[INFO] [stderr]    Compiling regex-syntax v0.8.2
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling clang-sys v1.6.1
[INFO] [stderr]    Compiling libloading v0.7.4
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling bindgen v0.66.1
[INFO] [stderr]    Compiling home v0.5.9
[INFO] [stderr]    Compiling either v1.9.0
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling peeking_take_while v0.1.2
[INFO] [stderr]    Compiling shlex v1.2.0
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling syn v2.0.42
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]     Checking getrandom v0.2.11
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]     Checking option-ext v0.2.0
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking dirs-sys v0.4.1
[INFO] [stderr]     Checking dirs v5.0.1
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]    Compiling regex-automata v0.4.3
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]    Compiling regex v1.10.2
[INFO] [stderr]    Compiling llama_cpp_rs v0.3.0
[INFO] [stderr]     Checking LocalLLM v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::Read;
[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 imports: `Rng` and `thread_rng`
[INFO] [stdout]  --> src/main.rs:7:20
[INFO] [stdout]   |
[INFO] [stdout] 7 | use rand::{random, Rng, thread_rng};
[INFO] [stdout]   |                    ^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::Read;
[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 imports: `Rng` and `thread_rng`
[INFO] [stdout]  --> src/main.rs:7:20
[INFO] [stdout]   |
[INFO] [stdout] 7 | use rand::{random, Rng, thread_rng};
[INFO] [stdout]   |                    ^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:31:27
[INFO] [stdout]    |
[INFO] [stdout] 31 |         "1" => LLama::new(documents_path.join("mistral-7b-instruct-v0.1.Q5_K_S.gguf"), &model_options).unwrap(),
[INFO] [stdout]    |                ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `String`, found `PathBuf`
[INFO] [stdout]    |                |
[INFO] [stdout]    |                arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/llama_cpp_rs-0.3.0/src/lib.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 |     pub fn new(model: String, opts: &ModelOptions) -> Result<Self, Box<dyn Error>> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:32:27
[INFO] [stdout]    |
[INFO] [stdout] 32 |         "2" => LLama::new(documents_path.join("mixtral-8x7b-instruct-v0.1.Q4_K_M.gguf"), &model_options).unwrap(),
[INFO] [stdout]    |                ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `String`, found `PathBuf`
[INFO] [stdout]    |                |
[INFO] [stdout]    |                arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/llama_cpp_rs-0.3.0/src/lib.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 |     pub fn new(model: String, opts: &ModelOptions) -> Result<Self, Box<dyn Error>> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `0` on type `String`
[INFO] [stdout]   --> src/main.rs:60:86
[INFO] [stdout]    |
[INFO] [stdout] 60 |         history.push_str(&format!("<s>[INST] {} [/INST] {} </s>\n", buffer, response.0));
[INFO] [stdout]    |                                                                                      ^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:31:27
[INFO] [stdout]    |
[INFO] [stdout] 31 |         "1" => LLama::new(documents_path.join("mistral-7b-instruct-v0.1.Q5_K_S.gguf"), &model_options).unwrap(),
[INFO] [stdout]    |                ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `String`, found `PathBuf`
[INFO] [stdout]    |                |
[INFO] [stdout]    |                arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/llama_cpp_rs-0.3.0/src/lib.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 |     pub fn new(model: String, opts: &ModelOptions) -> Result<Self, Box<dyn Error>> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:32:27
[INFO] [stdout]    |
[INFO] [stdout] 32 |         "2" => LLama::new(documents_path.join("mixtral-8x7b-instruct-v0.1.Q4_K_M.gguf"), &model_options).unwrap(),
[INFO] [stdout]    |                ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `String`, found `PathBuf`
[INFO] [stdout]    |                |
[INFO] [stdout]    |                arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/llama_cpp_rs-0.3.0/src/lib.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 |     pub fn new(model: String, opts: &ModelOptions) -> Result<Self, Box<dyn Error>> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `0` on type `String`
[INFO] [stdout]   --> src/main.rs:60:86
[INFO] [stdout]    |
[INFO] [stdout] 60 |         history.push_str(&format!("<s>[INST] {} [/INST] {} </s>\n", buffer, response.0));
[INFO] [stdout]    |                                                                                      ^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `LocalLLM` (bin "LocalLLM" test) due to 3 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `LocalLLM` (bin "LocalLLM") due to 3 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "43fecfe23c74ed2e736be489b663f78f3d743a2ebfb26389a50ed8b02270ca19", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "43fecfe23c74ed2e736be489b663f78f3d743a2ebfb26389a50ed8b02270ca19", kill_on_drop: false }`
[INFO] [stdout] 43fecfe23c74ed2e736be489b663f78f3d743a2ebfb26389a50ed8b02270ca19
