[INFO] fetching crate babichjacob-llama-cpp-2 0.1.85... [INFO] testing babichjacob-llama-cpp-2-0.1.85 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate babichjacob-llama-cpp-2 0.1.85 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate babichjacob-llama-cpp-2 0.1.85 [INFO] finished tweaking crates.io crate babichjacob-llama-cpp-2 0.1.85 [INFO] tweaked toml for crates.io crate babichjacob-llama-cpp-2 0.1.85 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate babichjacob-llama-cpp-2 0.1.85 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate babichjacob-llama-cpp-2 0.1.85 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded babichjacob-llama-cpp-sys-2 v0.1.85 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e2a2cf534f95046ba1568139809f4180c0e20c327a61ec8ef819539428fe1f13 [INFO] running `Command { std: "docker" "start" "-a" "e2a2cf534f95046ba1568139809f4180c0e20c327a61ec8ef819539428fe1f13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e2a2cf534f95046ba1568139809f4180c0e20c327a61ec8ef819539428fe1f13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2a2cf534f95046ba1568139809f4180c0e20c327a61ec8ef819539428fe1f13", kill_on_drop: false }` [INFO] [stdout] e2a2cf534f95046ba1568139809f4180c0e20c327a61ec8ef819539428fe1f13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66fd1a7020fbc1de48f58e657029f733f086af5be09cea98d12c9d455fa45c45 [INFO] running `Command { std: "docker" "start" "-a" "66fd1a7020fbc1de48f58e657029f733f086af5be09cea98d12c9d455fa45c45", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling prettyplease v0.2.20 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling bindgen v0.69.5 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling cc v1.2.2 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling cmake v0.1.52 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling enumflags2_derive v0.7.10 [INFO] [stderr] Compiling enumflags2 v0.7.10 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling babichjacob-llama-cpp-sys-2 v0.1.85 [INFO] [stderr] Compiling babichjacob-llama-cpp-2 v0.1.85 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/context/kv_cache.rs:220:30 [INFO] [stdout] | [INFO] [stdout] 220 | pub fn new_kv_cache_view(&self, n_max_seq: i32) -> KVCacheView { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 220 | pub fn new_kv_cache_view(&self, n_max_seq: i32) -> KVCacheView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/model.rs:495:9 [INFO] [stdout] | [INFO] [stdout] 495 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 498 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 498 | ) -> Result, LlamaContextLoadError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/model/params.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn kv_overrides(&self) -> KvOverrides { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 44 | pub fn kv_overrides(&self) -> KvOverrides<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/model/params/kv_overrides.rs:81:37 [INFO] [stdout] | [INFO] [stdout] 81 | pub(super) fn new(model_params: &LlamaModelParams) -> KvOverrides { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 81 | pub(super) fn new(model_params: &LlamaModelParams) -> KvOverrides<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 41s [INFO] running `Command { std: "docker" "inspect" "66fd1a7020fbc1de48f58e657029f733f086af5be09cea98d12c9d455fa45c45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66fd1a7020fbc1de48f58e657029f733f086af5be09cea98d12c9d455fa45c45", kill_on_drop: false }` [INFO] [stdout] 66fd1a7020fbc1de48f58e657029f733f086af5be09cea98d12c9d455fa45c45 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc38b621bdee858b03be4cc7f073e755c47cfe2cff32756f3d6c3e43c33da783 [INFO] running `Command { std: "docker" "start" "-a" "cc38b621bdee858b03be4cc7f073e755c47cfe2cff32756f3d6c3e43c33da783", kill_on_drop: false }` [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling bindgen v0.69.5 [INFO] [stderr] Compiling babichjacob-llama-cpp-sys-2 v0.1.85 [INFO] [stderr] Compiling babichjacob-llama-cpp-2 v0.1.85 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/context/kv_cache.rs:220:30 [INFO] [stdout] | [INFO] [stdout] 220 | pub fn new_kv_cache_view(&self, n_max_seq: i32) -> KVCacheView { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 220 | pub fn new_kv_cache_view(&self, n_max_seq: i32) -> KVCacheView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/model.rs:495:9 [INFO] [stdout] | [INFO] [stdout] 495 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 498 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 498 | ) -> Result, LlamaContextLoadError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/model/params.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn kv_overrides(&self) -> KvOverrides { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 44 | pub fn kv_overrides(&self) -> KvOverrides<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/model/params/kv_overrides.rs:81:37 [INFO] [stdout] | [INFO] [stdout] 81 | pub(super) fn new(model_params: &LlamaModelParams) -> KvOverrides { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 81 | pub(super) fn new(model_params: &LlamaModelParams) -> KvOverrides<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/context/kv_cache.rs:220:30 [INFO] [stdout] | [INFO] [stdout] 220 | pub fn new_kv_cache_view(&self, n_max_seq: i32) -> KVCacheView { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 220 | pub fn new_kv_cache_view(&self, n_max_seq: i32) -> KVCacheView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/model.rs:495:9 [INFO] [stdout] | [INFO] [stdout] 495 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 498 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 498 | ) -> Result, LlamaContextLoadError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/model/params.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn kv_overrides(&self) -> KvOverrides { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 44 | pub fn kv_overrides(&self) -> KvOverrides<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/model/params/kv_overrides.rs:81:37 [INFO] [stdout] | [INFO] [stdout] 81 | pub(super) fn new(model_params: &LlamaModelParams) -> KvOverrides { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 81 | pub(super) fn new(model_params: &LlamaModelParams) -> KvOverrides<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 39s [INFO] running `Command { std: "docker" "inspect" "cc38b621bdee858b03be4cc7f073e755c47cfe2cff32756f3d6c3e43c33da783", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc38b621bdee858b03be4cc7f073e755c47cfe2cff32756f3d6c3e43c33da783", kill_on_drop: false }` [INFO] [stdout] cc38b621bdee858b03be4cc7f073e755c47cfe2cff32756f3d6c3e43c33da783 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b0bb4a0bb2390456a2b9b18502824825ebee2990c5d95f42d13b78bd8924fadf [INFO] running `Command { std: "docker" "start" "-a" "b0bb4a0bb2390456a2b9b18502824825ebee2990c5d95f42d13b78bd8924fadf", kill_on_drop: false }` [INFO] [stderr] Compiling babichjacob-llama-cpp-sys-2 v0.1.85 [INFO] [stderr] Compiling babichjacob-llama-cpp-2 v0.1.85 (/opt/rustwide/workdir) [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/context/kv_cache.rs:220:30 [INFO] [stderr] | [INFO] [stderr] 220 | pub fn new_kv_cache_view(&self, n_max_seq: i32) -> KVCacheView { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 220 | pub fn new_kv_cache_view(&self, n_max_seq: i32) -> KVCacheView<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/model.rs:495:9 [INFO] [stderr] | [INFO] [stderr] 495 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 498 | ) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 498 | ) -> Result, LlamaContextLoadError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/model/params.rs:44:25 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn kv_overrides(&self) -> KvOverrides { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 44 | pub fn kv_overrides(&self) -> KvOverrides<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/model/params/kv_overrides.rs:81:37 [INFO] [stderr] | [INFO] [stderr] 81 | pub(super) fn new(model_params: &LlamaModelParams) -> KvOverrides { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 81 | pub(super) fn new(model_params: &LlamaModelParams) -> KvOverrides<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `babichjacob-llama-cpp-2` (lib test) generated 4 warnings (run `cargo fix --lib -p babichjacob-llama-cpp-2 --tests` to apply 4 suggestions) [INFO] [stderr] warning: `babichjacob-llama-cpp-2` (lib) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.65s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/babichjacob_llama_cpp_2-9f2b8b49a0fb4ee7) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test llama_backend::tests::check_invalid_numa ... ok [INFO] [stdout] test llama_backend::tests::numa_from_and_to ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests babichjacob_llama_cpp_2 [INFO] [stdout] [INFO] [stdout] running 54 tests [INFO] [stdout] test src/context/params.rs - context::params::LlamaContextParams::offload_kqv (line 260) ... FAILED [INFO] [stdout] test src/context/params.rs - context::params::LlamaContextParams::with_cb_eval (line 448) - compile ... FAILED [INFO] [stdout] test src/context/params.rs - context::params::LlamaContextParams::with_cb_eval_user_data (line 473) - compile ... FAILED [INFO] [stdout] test src/context/params.rs - context::params::LlamaContextParams (line 516) ... FAILED [INFO] [stdout] test src/context/params.rs - context::params::LlamaContextParams::flash_attention (line 230) ... FAILED [INFO] [stdout] test src/context/params.rs - context::params::LlamaContextParams::rope_scaling_type (line 290) ... FAILED [INFO] [stdout] test src/context/params.rs - context::params::LlamaContextParams::rope_freq_base (line 319) ... FAILED [INFO] [stdout] test src/context/params.rs - context::params::LlamaContextParams::n_ctx (line 140) ... FAILED [INFO] [stdout] test src/context/params.rs - context::params::LlamaContextParams::n_threads (line 361) ... FAILED [INFO] [stdout] test src/context/params.rs - context::params::LlamaContextParams::n_batch (line 169) ... FAILED [INFO] [stdout] test src/context/params.rs - context::params::LlamaContextParams::with_n_threads (line 387) ... FAILED [INFO] [stdout] test src/context/params.rs - context::params::LlamaContextParams (line 93) ... FAILED [INFO] [stdout] test src/context/params.rs - context::params::LlamaContextParams::rope_freq_scale (line 348) ... FAILED [INFO] [stdout] test src/context/params.rs - context::params::LlamaContextParams::embeddings (line 419) ... FAILED [INFO] [stdout] test src/context/params.rs - context::params::LlamaContextParams::n_threads_batch (line 374) ... FAILED [INFO] [stdout] test src/context/params.rs - context::params::LlamaContextParams::with_embeddings (line 432) ... FAILED [INFO] [stdout] test src/context/params.rs - context::params::LlamaContextParams::pooling_type (line 505) ... FAILED [INFO] [stdout] test src/context/params.rs - context::params::LlamaContextParams::with_flash_attention (line 214) ... FAILED [INFO] [stdout] test src/context/params.rs - context::params::LlamaContextParams::n_ubatch (line 200) ... FAILED [INFO] [stdout] test src/context/params.rs - context::params::LlamaContextParams::with_n_batch (line 152) ... FAILED [INFO] [stdout] test src/context/params.rs - context::params::LlamaContextParams::with_n_ctx (line 121) ... FAILED [INFO] [stdout] test src/context/params.rs - context::params::LlamaContextParams::with_pooling_type (line 489) ... FAILED [INFO] [stdout] test src/context/params.rs - context::params::LlamaContextParams::with_offload_kqv (line 244) ... FAILED [INFO] [stdout] test src/context/params.rs - context::params::LlamaContextParams::with_n_threads_batch (line 403) ... FAILED [INFO] [stdout] test src/context/params.rs - context::params::LlamaContextParams::with_rope_freq_scale (line 332) ... FAILED [INFO] [stdout] test src/lib.rs - mlock_supported (line 242) ... FAILED [INFO] [stdout] test src/lib.rs - llama_supports_mlock (line 324) ... FAILED [INFO] [stdout] test src/context/params.rs - context::params::LlamaContextParams::with_rope_scaling_type (line 274) ... FAILED [INFO] [stdout] test src/context/params.rs - context::params::LlamaContextParams::with_rope_freq_base (line 303) ... FAILED [INFO] [stdout] test src/llama_backend.rs - llama_backend::LlamaBackend::init (line 29) ... FAILED [INFO] [stdout] test src/context/params.rs - context::params::LlamaContextParams::with_n_ubatch (line 183) ... FAILED [INFO] [stdout] test src/llama_backend.rs - llama_backend::LlamaBackend::init_numa (line 52) ... FAILED [INFO] [stdout] test src/model/params.rs - model::params::LlamaModelParams::kv_overrides (line 36) ... FAILED [INFO] [stdout] test src/lib.rs - ggml_time_us (line 304) ... FAILED [INFO] [stdout] test src/llama_batch.rs - llama_batch::LlamaBatch::drop (line 186) ... FAILED [INFO] [stdout] test src/model/params.rs - model::params::LlamaModelParams::append_kv_override (line 52) ... FAILED [INFO] [stdout] test src/llama_backend.rs - llama_backend::LlamaBackend (line 142) ... FAILED [INFO] [stdout] test src/lib.rs - llama_time_us (line 207) ... FAILED [INFO] [stdout] test src/token.rs - token::LlamaToken::new (line 24) ... FAILED [INFO] [stdout] test src/model/params.rs - model::params::LlamaModelParams::with_n_gpu_layers (line 142) ... FAILED [INFO] [stdout] test src/token/data.rs - token::data::LlamaTokenData::id (line 29) ... FAILED [INFO] [stdout] test src/token/data.rs - token::data::LlamaTokenData::set_logit (line 81) ... FAILED [INFO] [stdout] test src/token/data.rs - token::data::LlamaTokenData::logit (line 42) ... FAILED [INFO] [stdout] test src/token/data.rs - token::data::LlamaTokenData::new (line 17) ... FAILED [INFO] [stdout] test src/lib.rs - max_devices (line 218) ... FAILED [INFO] [stdout] test src/token/data.rs - token::data::LlamaTokenData::set_p (line 94) ... FAILED [INFO] [stdout] test src/token/data.rs - token::data::LlamaTokenData::set_id (line 68) ... FAILED [INFO] [stdout] test src/lib.rs - mmap_supported (line 229) ... FAILED [INFO] [stdout] test src/token/data.rs - token::data::LlamaTokenData::p (line 55) ... FAILED [INFO] [stdout] test src/token/data_array.rs - token::data_array::LlamaTokenDataArray::from_iter (line 34) ... FAILED [INFO] [stdout] test src/token/data_array.rs - token::data_array::LlamaTokenDataArray::new (line 17) ... FAILED [INFO] [stdout] test src/timing.rs - timing::LlamaTimings::new (line 12) ... FAILED [INFO] [stdout] test src/model.rs - model::LlamaModel::str_to_token (line 193) - compile ... FAILED [INFO] [stdout] test src/model/params.rs - model::params::LlamaModelParams (line 180) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/context/params.rs - context::params::LlamaContextParams::offload_kqv (line 260) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/context/params.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 3 | use llama_cpp_2::context::params::LlamaContextParams; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [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/context/params.rs - context::params::LlamaContextParams::with_cb_eval (line 448) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/context/params.rs:457:5 [INFO] [stdout] | [INFO] [stdout] 11 | use llama_cpp_2::context::params::LlamaContextParams; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [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/context/params.rs - context::params::LlamaContextParams::with_cb_eval_user_data (line 473) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/context/params.rs:474:5 [INFO] [stdout] | [INFO] [stdout] 3 | use llama_cpp_2::context::params::LlamaContextParams; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [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/context/params.rs - context::params::LlamaContextParams (line 516) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/context/params.rs:518:5 [INFO] [stdout] | [INFO] [stdout] 4 | use llama_cpp_2::context::params::{LlamaContextParams, RopeScalingType}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [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/context/params.rs - context::params::LlamaContextParams::flash_attention (line 230) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/context/params.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 3 | use llama_cpp_2::context::params::LlamaContextParams; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [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/context/params.rs - context::params::LlamaContextParams::rope_scaling_type (line 290) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/context/params.rs:291:14 [INFO] [stdout] | [INFO] [stdout] 3 | let params = llama_cpp_2::context::params::LlamaContextParams::default(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use babichjacob_llama_cpp_2::context::params::LlamaContextParams; [INFO] [stdout] | [INFO] [stdout] help: if you import `LlamaContextParams`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - let params = llama_cpp_2::context::params::LlamaContextParams::default(); [INFO] [stdout] 3 + let params = LlamaContextParams::default(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/context/params.rs:292:40 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(params.rope_scaling_type(), llama_cpp_2::context::params::RopeScalingType::Unspecified); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use babichjacob_llama_cpp_2::context::params::RopeScalingType; [INFO] [stdout] | [INFO] [stdout] help: if you import `RopeScalingType`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 4 - assert_eq!(params.rope_scaling_type(), llama_cpp_2::context::params::RopeScalingType::Unspecified); [INFO] [stdout] 4 + assert_eq!(params.rope_scaling_type(), RopeScalingType::Unspecified); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/context/params.rs - context::params::LlamaContextParams::rope_freq_base (line 319) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/context/params.rs:320:14 [INFO] [stdout] | [INFO] [stdout] 3 | let params = llama_cpp_2::context::params::LlamaContextParams::default(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use babichjacob_llama_cpp_2::context::params::LlamaContextParams; [INFO] [stdout] | [INFO] [stdout] help: if you import `LlamaContextParams`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - let params = llama_cpp_2::context::params::LlamaContextParams::default(); [INFO] [stdout] 3 + let params = LlamaContextParams::default(); [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/context/params.rs - context::params::LlamaContextParams::n_ctx (line 140) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/context/params.rs:141:14 [INFO] [stdout] | [INFO] [stdout] 3 | let params = llama_cpp_2::context::params::LlamaContextParams::default(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use babichjacob_llama_cpp_2::context::params::LlamaContextParams; [INFO] [stdout] | [INFO] [stdout] help: if you import `LlamaContextParams`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - let params = llama_cpp_2::context::params::LlamaContextParams::default(); [INFO] [stdout] 3 + let params = LlamaContextParams::default(); [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/context/params.rs - context::params::LlamaContextParams::n_threads (line 361) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/context/params.rs:362:14 [INFO] [stdout] | [INFO] [stdout] 3 | let params = llama_cpp_2::context::params::LlamaContextParams::default(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use babichjacob_llama_cpp_2::context::params::LlamaContextParams; [INFO] [stdout] | [INFO] [stdout] help: if you import `LlamaContextParams`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - let params = llama_cpp_2::context::params::LlamaContextParams::default(); [INFO] [stdout] 3 + let params = LlamaContextParams::default(); [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/context/params.rs - context::params::LlamaContextParams::n_batch (line 169) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/context/params.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 3 | use llama_cpp_2::context::params::LlamaContextParams; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [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/context/params.rs - context::params::LlamaContextParams::with_n_threads (line 387) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/context/params.rs:388:5 [INFO] [stdout] | [INFO] [stdout] 3 | use llama_cpp_2::context::params::LlamaContextParams; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [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/context/params.rs - context::params::LlamaContextParams (line 93) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/context/params.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 4 | use llama_cpp_2::context::params::LlamaContextParams; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [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/context/params.rs - context::params::LlamaContextParams::rope_freq_scale (line 348) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/context/params.rs:349:14 [INFO] [stdout] | [INFO] [stdout] 3 | let params = llama_cpp_2::context::params::LlamaContextParams::default(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use babichjacob_llama_cpp_2::context::params::LlamaContextParams; [INFO] [stdout] | [INFO] [stdout] help: if you import `LlamaContextParams`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - let params = llama_cpp_2::context::params::LlamaContextParams::default(); [INFO] [stdout] 3 + let params = LlamaContextParams::default(); [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/context/params.rs - context::params::LlamaContextParams::embeddings (line 419) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/context/params.rs:420:14 [INFO] [stdout] | [INFO] [stdout] 3 | let params = llama_cpp_2::context::params::LlamaContextParams::default(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use babichjacob_llama_cpp_2::context::params::LlamaContextParams; [INFO] [stdout] | [INFO] [stdout] help: if you import `LlamaContextParams`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - let params = llama_cpp_2::context::params::LlamaContextParams::default(); [INFO] [stdout] 3 + let params = LlamaContextParams::default(); [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/context/params.rs - context::params::LlamaContextParams::n_threads_batch (line 374) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/context/params.rs:375:14 [INFO] [stdout] | [INFO] [stdout] 3 | let params = llama_cpp_2::context::params::LlamaContextParams::default(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use babichjacob_llama_cpp_2::context::params::LlamaContextParams; [INFO] [stdout] | [INFO] [stdout] help: if you import `LlamaContextParams`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - let params = llama_cpp_2::context::params::LlamaContextParams::default(); [INFO] [stdout] 3 + let params = LlamaContextParams::default(); [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/context/params.rs - context::params::LlamaContextParams::with_embeddings (line 432) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/context/params.rs:433:5 [INFO] [stdout] | [INFO] [stdout] 3 | use llama_cpp_2::context::params::LlamaContextParams; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [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/context/params.rs - context::params::LlamaContextParams::pooling_type (line 505) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/context/params.rs:506:14 [INFO] [stdout] | [INFO] [stdout] 3 | let params = llama_cpp_2::context::params::LlamaContextParams::default(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use babichjacob_llama_cpp_2::context::params::LlamaContextParams; [INFO] [stdout] | [INFO] [stdout] help: if you import `LlamaContextParams`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - let params = llama_cpp_2::context::params::LlamaContextParams::default(); [INFO] [stdout] 3 + let params = LlamaContextParams::default(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/context/params.rs:507:35 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(params.pooling_type(), llama_cpp_2::context::params::LlamaPoolingType::Unspecified); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use babichjacob_llama_cpp_2::context::params::LlamaPoolingType; [INFO] [stdout] | [INFO] [stdout] help: if you import `LlamaPoolingType`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 4 - assert_eq!(params.pooling_type(), llama_cpp_2::context::params::LlamaPoolingType::Unspecified); [INFO] [stdout] 4 + assert_eq!(params.pooling_type(), LlamaPoolingType::Unspecified); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/context/params.rs - context::params::LlamaContextParams::with_flash_attention (line 214) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/context/params.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 3 | use llama_cpp_2::context::params::LlamaContextParams; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [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/context/params.rs - context::params::LlamaContextParams::n_ubatch (line 200) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/context/params.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 3 | use llama_cpp_2::context::params::LlamaContextParams; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [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/context/params.rs - context::params::LlamaContextParams::with_n_batch (line 152) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/context/params.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 4 | use llama_cpp_2::context::params::LlamaContextParams; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [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/context/params.rs - context::params::LlamaContextParams::with_n_ctx (line 121) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/context/params.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 4 | use llama_cpp_2::context::params::LlamaContextParams; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [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/context/params.rs - context::params::LlamaContextParams::with_pooling_type (line 489) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/context/params.rs:490:5 [INFO] [stdout] | [INFO] [stdout] 3 | use llama_cpp_2::context::params::{LlamaContextParams, LlamaPoolingType}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [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/context/params.rs - context::params::LlamaContextParams::with_offload_kqv (line 244) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/context/params.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 3 | use llama_cpp_2::context::params::LlamaContextParams; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [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/context/params.rs - context::params::LlamaContextParams::with_n_threads_batch (line 403) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/context/params.rs:404:5 [INFO] [stdout] | [INFO] [stdout] 3 | use llama_cpp_2::context::params::LlamaContextParams; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [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/context/params.rs - context::params::LlamaContextParams::with_rope_freq_scale (line 332) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/context/params.rs:333:5 [INFO] [stdout] | [INFO] [stdout] 3 | use llama_cpp_2::context::params::LlamaContextParams; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [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/lib.rs - mlock_supported (line 242) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `llama_cpp_2` [INFO] [stdout] --> src/lib.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 3 | use llama_cpp_2::mlock_supported; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - llama_supports_mlock (line 324) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `llama_cpp_2` [INFO] [stdout] --> src/lib.rs:325:5 [INFO] [stdout] | [INFO] [stdout] 3 | use llama_cpp_2::llama_supports_mlock; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/context/params.rs - context::params::LlamaContextParams::with_rope_scaling_type (line 274) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/context/params.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 3 | use llama_cpp_2::context::params::{LlamaContextParams, RopeScalingType}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [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/context/params.rs - context::params::LlamaContextParams::with_rope_freq_base (line 303) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/context/params.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 3 | use llama_cpp_2::context::params::LlamaContextParams; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [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/llama_backend.rs - llama_backend::LlamaBackend::init (line 29) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/llama_backend.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 2 | use llama_cpp_2::llama_backend::LlamaBackend; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `llama_cpp_2` [INFO] [stdout] --> src/llama_backend.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 3 | use llama_cpp_2::LLamaCppError; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/context/params.rs - context::params::LlamaContextParams::with_n_ubatch (line 183) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/context/params.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 4 | use llama_cpp_2::context::params::LlamaContextParams; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [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/llama_backend.rs - llama_backend::LlamaBackend::init_numa (line 52) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/llama_backend.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 2 | use llama_cpp_2::llama_backend::LlamaBackend; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/llama_backend.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 4 | use llama_cpp_2::llama_backend::NumaStrategy; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/model/params.rs - model::params::LlamaModelParams::kv_overrides (line 36) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/model/params.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 3 | use llama_cpp_2::model::params::LlamaModelParams; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [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/lib.rs - ggml_time_us (line 304) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `llama_cpp_2` [INFO] [stdout] --> src/lib.rs:306:5 [INFO] [stdout] | [INFO] [stdout] 4 | use llama_cpp_2::ggml_time_us; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/llama_batch.rs - llama_batch::LlamaBatch::drop (line 186) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/llama_batch.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 2 | use llama_cpp_2::llama_batch::LlamaBatch; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [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/model/params.rs - model::params::LlamaModelParams::append_kv_override (line 52) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/model/params.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 5 | use llama_cpp_2::model::params::LlamaModelParams; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/model/params.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 6 | use llama_cpp_2::model::params::kv_overrides::ParamOverrideValue; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/llama_backend.rs - llama_backend::LlamaBackend (line 142) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/llama_backend.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 2 | use llama_cpp_2::llama_backend::LlamaBackend; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [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/lib.rs - llama_time_us (line 207) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `llama_cpp_2` [INFO] [stdout] --> src/lib.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 3 | use llama_cpp_2::llama_time_us; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/token.rs - token::LlamaToken::new (line 24) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/token.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 3 | use llama_cpp_2::token::LlamaToken; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [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/model/params.rs - model::params::LlamaModelParams::with_n_gpu_layers (line 142) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/model/params.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 3 | use llama_cpp_2::model::params::LlamaModelParams; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [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/token/data.rs - token::data::LlamaTokenData::id (line 29) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/token/data.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 3 | use llama_cpp_2::token::LlamaToken; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/token/data.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 4 | use llama_cpp_2::token::data::LlamaTokenData; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/token/data.rs - token::data::LlamaTokenData::set_logit (line 81) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/token/data.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 3 | use llama_cpp_2::token::LlamaToken; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/token/data.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 4 | use llama_cpp_2::token::data::LlamaTokenData; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/token/data.rs - token::data::LlamaTokenData::logit (line 42) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/token/data.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 3 | use llama_cpp_2::token::LlamaToken; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/token/data.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 4 | use llama_cpp_2::token::data::LlamaTokenData; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/token/data.rs - token::data::LlamaTokenData::new (line 17) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/token/data.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 3 | use llama_cpp_2::token::LlamaToken; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/token/data.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 4 | use llama_cpp_2::token::data::LlamaTokenData; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - max_devices (line 218) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `llama_cpp_2` [INFO] [stdout] --> src/lib.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 3 | use llama_cpp_2::max_devices; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/token/data.rs - token::data::LlamaTokenData::set_p (line 94) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/token/data.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 3 | use llama_cpp_2::token::LlamaToken; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/token/data.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 4 | use llama_cpp_2::token::data::LlamaTokenData; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/token/data.rs - token::data::LlamaTokenData::set_id (line 68) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/token/data.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 3 | use llama_cpp_2::token::LlamaToken; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/token/data.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 4 | use llama_cpp_2::token::data::LlamaTokenData; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - mmap_supported (line 229) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `llama_cpp_2` [INFO] [stdout] --> src/lib.rs:230:5 [INFO] [stdout] | [INFO] [stdout] 3 | use llama_cpp_2::mmap_supported; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/token/data.rs - token::data::LlamaTokenData::p (line 55) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/token/data.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 3 | use llama_cpp_2::token::LlamaToken; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/token/data.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 4 | use llama_cpp_2::token::data::LlamaTokenData; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/token/data_array.rs - token::data_array::LlamaTokenDataArray::from_iter (line 34) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/token/data_array.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 3 | use llama_cpp_2::token::data::LlamaTokenData; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/token/data_array.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 4 | use llama_cpp_2::token::data_array::LlamaTokenDataArray; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/token/data_array.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 5 | use llama_cpp_2::token::LlamaToken; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/token/data_array.rs - token::data_array::LlamaTokenDataArray::new (line 17) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/token/data_array.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 3 | use llama_cpp_2::token::data::LlamaTokenData; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/token/data_array.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 4 | use llama_cpp_2::token::data_array::LlamaTokenDataArray; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/token/data_array.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 5 | use llama_cpp_2::token::LlamaToken; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/timing.rs - timing::LlamaTimings::new (line 12) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/timing.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 3 | use llama_cpp_2::timing::LlamaTimings; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [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/model.rs - model::LlamaModel::str_to_token (line 193) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/model.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 2 | use llama_cpp_2::model::LlamaModel; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/model.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 6 | use llama_cpp_2::model::AddBos; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/model.rs:199:15 [INFO] [stdout] | [INFO] [stdout] 7 | let backend = llama_cpp_2::llama_backend::LlamaBackend::init()?; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use babichjacob_llama_cpp_2::llama_backend::LlamaBackend; [INFO] [stdout] | [INFO] [stdout] help: if you import `LlamaBackend`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 7 - let backend = llama_cpp_2::llama_backend::LlamaBackend::init()?; [INFO] [stdout] 7 + let backend = LlamaBackend::init()?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/model/params.rs - model::params::LlamaModelParams (line 180) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] --> src/model/params.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 3 | use llama_cpp_2::model::params::LlamaModelParams; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `llama_cpp_2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `llama_cpp_2`, use `cargo add llama_cpp_2` to add it to your `Cargo.toml` [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/context/params.rs - context::params::LlamaContextParams (line 516) [INFO] [stdout] src/context/params.rs - context::params::LlamaContextParams (line 93) [INFO] [stdout] src/context/params.rs - context::params::LlamaContextParams::embeddings (line 419) [INFO] [stdout] src/context/params.rs - context::params::LlamaContextParams::flash_attention (line 230) [INFO] [stdout] src/context/params.rs - context::params::LlamaContextParams::n_batch (line 169) [INFO] [stdout] src/context/params.rs - context::params::LlamaContextParams::n_ctx (line 140) [INFO] [stdout] src/context/params.rs - context::params::LlamaContextParams::n_threads (line 361) [INFO] [stdout] src/context/params.rs - context::params::LlamaContextParams::n_threads_batch (line 374) [INFO] [stdout] src/context/params.rs - context::params::LlamaContextParams::n_ubatch (line 200) [INFO] [stdout] src/context/params.rs - context::params::LlamaContextParams::offload_kqv (line 260) [INFO] [stdout] src/context/params.rs - context::params::LlamaContextParams::pooling_type (line 505) [INFO] [stdout] src/context/params.rs - context::params::LlamaContextParams::rope_freq_base (line 319) [INFO] [stdout] src/context/params.rs - context::params::LlamaContextParams::rope_freq_scale (line 348) [INFO] [stdout] src/context/params.rs - context::params::LlamaContextParams::rope_scaling_type (line 290) [INFO] [stdout] src/context/params.rs - context::params::LlamaContextParams::with_cb_eval (line 448) [INFO] [stdout] src/context/params.rs - context::params::LlamaContextParams::with_cb_eval_user_data (line 473) [INFO] [stdout] src/context/params.rs - context::params::LlamaContextParams::with_embeddings (line 432) [INFO] [stdout] src/context/params.rs - context::params::LlamaContextParams::with_flash_attention (line 214) [INFO] [stdout] src/context/params.rs - context::params::LlamaContextParams::with_n_batch (line 152) [INFO] [stdout] src/context/params.rs - context::params::LlamaContextParams::with_n_ctx (line 121) [INFO] [stdout] src/context/params.rs - context::params::LlamaContextParams::with_n_threads (line 387) [INFO] [stdout] src/context/params.rs - context::params::LlamaContextParams::with_n_threads_batch (line 403) [INFO] [stdout] src/context/params.rs - context::params::LlamaContextParams::with_n_ubatch (line 183) [INFO] [stdout] src/context/params.rs - context::params::LlamaContextParams::with_offload_kqv (line 244) [INFO] [stdout] src/context/params.rs - context::params::LlamaContextParams::with_pooling_type (line 489) [INFO] [stdout] src/context/params.rs - context::params::LlamaContextParams::with_rope_freq_base (line 303) [INFO] [stdout] src/context/params.rs - context::params::LlamaContextParams::with_rope_freq_scale (line 332) [INFO] [stdout] src/context/params.rs - context::params::LlamaContextParams::with_rope_scaling_type (line 274) [INFO] [stdout] src/lib.rs - ggml_time_us (line 304) [INFO] [stdout] src/lib.rs - llama_supports_mlock (line 324) [INFO] [stdout] src/lib.rs - llama_time_us (line 207) [INFO] [stdout] src/lib.rs - max_devices (line 218) [INFO] [stdout] src/lib.rs - mlock_supported (line 242) [INFO] [stdout] src/lib.rs - mmap_supported (line 229) [INFO] [stdout] src/llama_backend.rs - llama_backend::LlamaBackend (line 142) [INFO] [stdout] src/llama_backend.rs - llama_backend::LlamaBackend::init (line 29) [INFO] [stdout] src/llama_backend.rs - llama_backend::LlamaBackend::init_numa (line 52) [INFO] [stdout] src/llama_batch.rs - llama_batch::LlamaBatch::drop (line 186) [INFO] [stdout] src/model.rs - model::LlamaModel::str_to_token (line 193) [INFO] [stdout] src/model/params.rs - model::params::LlamaModelParams (line 180) [INFO] [stdout] src/model/params.rs - model::params::LlamaModelParams::append_kv_override (line 52) [INFO] [stdout] src/model/params.rs - model::params::LlamaModelParams::kv_overrides (line 36) [INFO] [stdout] src/model/params.rs - model::params::LlamaModelParams::with_n_gpu_layers (line 142) [INFO] [stdout] src/timing.rs - timing::LlamaTimings::new (line 12) [INFO] [stdout] src/token.rs - token::LlamaToken::new (line 24) [INFO] [stdout] src/token/data.rs - token::data::LlamaTokenData::id (line 29) [INFO] [stdout] src/token/data.rs - token::data::LlamaTokenData::logit (line 42) [INFO] [stdout] src/token/data.rs - token::data::LlamaTokenData::new (line 17) [INFO] [stdout] src/token/data.rs - token::data::LlamaTokenData::p (line 55) [INFO] [stdout] src/token/data.rs - token::data::LlamaTokenData::set_id (line 68) [INFO] [stdout] src/token/data.rs - token::data::LlamaTokenData::set_logit (line 81) [INFO] [stdout] src/token/data.rs - token::data::LlamaTokenData::set_p (line 94) [INFO] [stdout] src/token/data_array.rs - token::data_array::LlamaTokenDataArray::from_iter (line 34) [INFO] [stdout] src/token/data_array.rs - token::data_array::LlamaTokenDataArray::new (line 17) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 54 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.44s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "b0bb4a0bb2390456a2b9b18502824825ebee2990c5d95f42d13b78bd8924fadf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0bb4a0bb2390456a2b9b18502824825ebee2990c5d95f42d13b78bd8924fadf", kill_on_drop: false }` [INFO] [stdout] b0bb4a0bb2390456a2b9b18502824825ebee2990c5d95f42d13b78bd8924fadf