[INFO] cloning repository https://github.com/manticoresoftware/manticoresearch-text-embeddings [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/manticoresoftware/manticoresearch-text-embeddings" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanticoresoftware%2Fmanticoresearch-text-embeddings", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanticoresoftware%2Fmanticoresearch-text-embeddings'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4e8ef2f4e558b77fa7ce4c3211e8d20eb8c89f61 [INFO] checking manticoresoftware/manticoresearch-text-embeddings against try#51b1964e35e5e26f8cd938940f0da6f7b5cc54fc for pr-138176 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanticoresoftware%2Fmanticoresearch-text-embeddings" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/manticoresoftware/manticoresearch-text-embeddings on toolchain 51b1964e35e5e26f8cd938940f0da6f7b5cc54fc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+51b1964e35e5e26f8cd938940f0da6f7b5cc54fc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/manticoresoftware/manticoresearch-text-embeddings [INFO] finished tweaking git repo https://github.com/manticoresoftware/manticoresearch-text-embeddings [INFO] tweaked toml for git repo https://github.com/manticoresoftware/manticoresearch-text-embeddings written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/manticoresoftware/manticoresearch-text-embeddings 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" "+51b1964e35e5e26f8cd938940f0da6f7b5cc54fc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file `/workspace/builds/worker-2-tc2/source/examples/bench.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `bench` [INFO] [stderr] * `example` target `bench` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/huggingface/candle.git` [INFO] [stderr] Updating git submodule `https://github.com/NVIDIA/cutlass.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded monostate-impl v0.1.12 [INFO] [stderr] Downloaded hf-hub v0.3.2 [INFO] [stderr] Downloaded monostate v0.1.12 [INFO] [stderr] Downloaded pulp v0.18.10 [INFO] [stderr] Downloaded fancy-regex v0.13.0 [INFO] [stderr] Downloaded cbindgen v0.26.0 [INFO] [stderr] Downloaded zip v1.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+51b1964e35e5e26f8cd938940f0da6f7b5cc54fc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e7d692502cd59b9ed235819b468a2d02e4de14abdbe9dcdb4f76cc932e98cc4b [INFO] running `Command { std: "docker" "start" "-a" "e7d692502cd59b9ed235819b468a2d02e4de14abdbe9dcdb4f76cc932e98cc4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e7d692502cd59b9ed235819b468a2d02e4de14abdbe9dcdb4f76cc932e98cc4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7d692502cd59b9ed235819b468a2d02e4de14abdbe9dcdb4f76cc932e98cc4b", kill_on_drop: false }` [INFO] [stdout] e7d692502cd59b9ed235819b468a2d02e4de14abdbe9dcdb4f76cc932e98cc4b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+51b1964e35e5e26f8cd938940f0da6f7b5cc54fc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e2a395fbd4cc2032431633e9cf1217e132847e0d6d5011fcc6de886d2671dea [INFO] running `Command { std: "docker" "start" "-a" "4e2a395fbd4cc2032431633e9cf1217e132847e0d6d5011fcc6de886d2671dea", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/examples/bench.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `bench` [INFO] [stderr] * `example` target `bench` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling cc v1.0.96 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling serde v1.0.200 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking reborrow v0.5.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking raw-cpuid v10.7.0 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling seq-macro v0.3.5 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Checking rustls-pki-types v1.9.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling zip v1.1.3 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Checking unicode-width v0.1.12 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Compiling cbindgen v0.26.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Compiling esaxx-rs v0.1.10 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking indicatif v0.17.8 [INFO] [stderr] Checking webpki-roots v0.26.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.2.0 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking macro_rules_attribute v0.2.0 [INFO] [stderr] Checking unicode-normalization-alignments v0.1.12 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Checking rayon-cond v0.3.0 [INFO] [stderr] Checking rustls-webpki v0.102.3 [INFO] [stderr] Compiling serde_derive v1.0.200 [INFO] [stderr] Compiling bytemuck_derive v1.6.0 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling zerofrom-derive v0.1.3 [INFO] [stderr] Compiling yoke-derive v0.7.3 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling monostate-impl v0.1.12 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking onig v6.4.0 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking fancy-regex v0.13.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking bytemuck v1.15.0 [INFO] [stderr] Checking num-complex v0.4.5 [INFO] [stderr] Checking dyn-stack v0.10.0 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking pulp v0.18.10 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking zerofrom v0.1.3 [INFO] [stderr] Checking yoke v0.7.3 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Checking gemm-common v0.17.1 [INFO] [stderr] Checking gemm-f32 v0.17.1 [INFO] [stderr] Checking gemm-f64 v0.17.1 [INFO] [stderr] Checking gemm-c32 v0.17.1 [INFO] [stderr] Checking gemm-c64 v0.17.1 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Checking derive_builder v0.12.0 [INFO] [stderr] Checking gemm-f16 v0.17.1 [INFO] [stderr] Checking gemm v0.17.1 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking h2 v0.4.6 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_plain v1.0.2 [INFO] [stderr] Checking monostate v0.1.12 [INFO] [stderr] Checking spm_precompiled v0.1.4 [INFO] [stderr] Checking safetensors v0.4.3 [INFO] [stderr] Checking ureq v2.9.7 [INFO] [stderr] Checking tokenizers v0.15.2 [INFO] [stderr] Checking candle-core v0.5.1 (https://github.com/huggingface/candle.git?rev=59b18d974ec3cad6963b774aa245e23f8c80414f#59b18d97) [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking hyper-util v0.1.9 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.8 [INFO] [stderr] Checking candle-nn v0.5.1 (https://github.com/huggingface/candle.git?rev=59b18d974ec3cad6963b774aa245e23f8c80414f#59b18d97) [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking candle-transformers v0.5.1 (https://github.com/huggingface/candle.git?rev=59b18d974ec3cad6963b774aa245e23f8c80414f#59b18d97) [INFO] [stderr] Compiling manticoresearch-text-embeddings v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking hf-hub v0.3.2 [INFO] [stdout] error[E0583]: file not found for module `lib` [INFO] [stdout] --> examples/bench.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `lib`, create file "examples/lib.rs" or "examples/lib/mod.rs" [INFO] [stdout] = note: if there is a `mod lib` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `lib` [INFO] [stdout] --> examples/bench.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `lib`, create file "examples/lib.rs" or "examples/lib/mod.rs" [INFO] [stdout] = note: if there is a `mod lib` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `lib` [INFO] [stdout] --> examples/bench.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `lib`, create file "examples/lib.rs" or "examples/lib/mod.rs" [INFO] [stdout] = note: if there is a `mod lib` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> examples/bench.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> examples/bench.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> examples/bench.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ffi::CStr` [INFO] [stdout] --> src/ffi.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ffi::CStr, os::raw::c_char}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ffi::CStr` [INFO] [stdout] --> src/ffi.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ffi::CStr, os::raw::c_char}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0583`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0583`. [INFO] [stdout] [INFO] [stderr] error: could not compile `manticoresearch-text-embeddings` (bin "bench" test) due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `manticoresearch-text-embeddings` (example "bench") due to 1 previous error; 1 warning emitted [INFO] [stdout] For more information about this error, try `rustc --explain E0583`. [INFO] [stdout] [INFO] [stderr] error: could not compile `manticoresearch-text-embeddings` (bin "bench") due to 1 previous error; 1 warning emitted [INFO] [stdout] error[E0599]: no method named `predict` found for enum `Result` in the current scope [INFO] [stdout] --> src/model/local.rs:178:32 [INFO] [stdout] | [INFO] [stdout] 178 | let embedding = local_model.predict(sentence); [INFO] [stdout] | ^^^^^^^ method not found in `Result>` [INFO] [stdout] | [INFO] [stdout] note: the method `predict` exists on the type `local::LocalModel` [INFO] [stdout] --> src/model/mod.rs:9:2 [INFO] [stdout] | [INFO] [stdout] 9 | fn predict(&self, texts: &[&str]) -> Result>, Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `model::TextModel` defines an item `predict`, perhaps you need to implement it [INFO] [stdout] --> src/model/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait TextModel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `local::LocalModel` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 178 | let embedding = local_model.expect("REASON").predict(sentence); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_hidden_size` found for enum `Result` in the current scope [INFO] [stdout] --> src/model/local.rs:179:55 [INFO] [stdout] | [INFO] [stdout] 179 | check_embedding_properties(&embedding, local_model.get_hidden_size()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `Result>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_hidden_size` exists on the type `local::LocalModel` [INFO] [stdout] --> src/model/mod.rs:10:2 [INFO] [stdout] | [INFO] [stdout] 10 | fn get_hidden_size(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `model::TextModel` defines an item `get_hidden_size`, perhaps you need to implement it [INFO] [stdout] --> src/model/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait TextModel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `local::LocalModel` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 179 | check_embedding_properties(&embedding, local_model.expect("REASON").get_hidden_size()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `predict` found for enum `Result` in the current scope [INFO] [stdout] --> src/model/local.rs:190:32 [INFO] [stdout] | [INFO] [stdout] 190 | let embedding1 = local_model.predict(sentence); [INFO] [stdout] | ^^^^^^^ method not found in `Result>` [INFO] [stdout] | [INFO] [stdout] note: the method `predict` exists on the type `local::LocalModel` [INFO] [stdout] --> src/model/mod.rs:9:2 [INFO] [stdout] | [INFO] [stdout] 9 | fn predict(&self, texts: &[&str]) -> Result>, Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `model::TextModel` defines an item `predict`, perhaps you need to implement it [INFO] [stdout] --> src/model/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait TextModel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `local::LocalModel` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 190 | let embedding1 = local_model.expect("REASON").predict(sentence); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `predict` found for enum `Result` in the current scope [INFO] [stdout] --> src/model/local.rs:191:32 [INFO] [stdout] | [INFO] [stdout] 191 | let embedding2 = local_model.predict(sentence); [INFO] [stdout] | ^^^^^^^ method not found in `Result>` [INFO] [stdout] | [INFO] [stdout] note: the method `predict` exists on the type `local::LocalModel` [INFO] [stdout] --> src/model/mod.rs:9:2 [INFO] [stdout] | [INFO] [stdout] 9 | fn predict(&self, texts: &[&str]) -> Result>, Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `model::TextModel` defines an item `predict`, perhaps you need to implement it [INFO] [stdout] --> src/model/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait TextModel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `local::LocalModel` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 191 | let embedding2 = local_model.expect("REASON").predict(sentence); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_hidden_size` found for enum `Result` in the current scope [INFO] [stdout] --> src/model/local.rs:203:26 [INFO] [stdout] | [INFO] [stdout] 203 | assert_eq!(local_model.get_hidden_size(), 384); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `Result>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_hidden_size` exists on the type `local::LocalModel` [INFO] [stdout] --> src/model/mod.rs:10:2 [INFO] [stdout] | [INFO] [stdout] 10 | fn get_hidden_size(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `model::TextModel` defines an item `get_hidden_size`, perhaps you need to implement it [INFO] [stdout] --> src/model/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait TextModel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `local::LocalModel` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 203 | assert_eq!(local_model.expect("REASON").get_hidden_size(), 384); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_max_input_len` found for enum `Result` in the current scope [INFO] [stdout] --> src/model/local.rs:211:26 [INFO] [stdout] | [INFO] [stdout] 211 | assert_eq!(local_model.get_max_input_len(), 512); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `Result>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_max_input_len` exists on the type `local::LocalModel` [INFO] [stdout] --> src/model/mod.rs:11:2 [INFO] [stdout] | [INFO] [stdout] 11 | fn get_max_input_len(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `model::TextModel` defines an item `get_max_input_len`, perhaps you need to implement it [INFO] [stdout] --> src/model/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait TextModel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `local::LocalModel` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 211 | assert_eq!(local_model.expect("REASON").get_max_input_len(), 512); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `manticoresearch-text-embeddings` (lib test) due to 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "4e2a395fbd4cc2032431633e9cf1217e132847e0d6d5011fcc6de886d2671dea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e2a395fbd4cc2032431633e9cf1217e132847e0d6d5011fcc6de886d2671dea", kill_on_drop: false }` [INFO] [stdout] 4e2a395fbd4cc2032431633e9cf1217e132847e0d6d5011fcc6de886d2671dea