[INFO] fetching crate vectorizer-sdk 2.2.0... [INFO] checking vectorizer-sdk-2.2.0 against master#bbe853615821442ef11d6cd42a30a73432b38d89 for pr-154205 [INFO] extracting crate vectorizer-sdk 2.2.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate vectorizer-sdk 2.2.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate vectorizer-sdk 2.2.0 [INFO] tweaked toml for crates.io crate vectorizer-sdk 2.2.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate vectorizer-sdk 2.2.0 on toolchain bbe853615821442ef11d6cd42a30a73432b38d89 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bbe853615821442ef11d6cd42a30a73432b38d89" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate vectorizer-sdk 2.2.0 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" "+bbe853615821442ef11d6cd42a30a73432b38d89" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.104 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.104 [INFO] [stderr] Downloaded wasi v0.14.7+wasi-0.2.4 [INFO] [stderr] Downloaded js-sys v0.3.81 [INFO] [stderr] Downloaded potential_utf v0.1.3 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.104 [INFO] [stderr] Downloaded unicode-ident v1.0.19 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.54 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.104 [INFO] [stderr] Downloaded bitflags v2.9.4 [INFO] [stderr] Downloaded unicase v2.8.1 [INFO] [stderr] Downloaded wasm-bindgen v0.2.104 [INFO] [stderr] Downloaded rustls-webpki v0.103.7 [INFO] [stderr] Downloaded umicp-core v0.1.3 [INFO] [stderr] Downloaded io-uring v0.7.10 [INFO] [stderr] Downloaded cc v1.2.41 [INFO] [stderr] Downloaded reqwest v0.12.23 [INFO] [stderr] Downloaded webpki-roots v1.0.3 [INFO] [stderr] Downloaded ndarray v0.16.1 [INFO] [stderr] Downloaded rustls v0.23.32 [INFO] [stderr] Downloaded web-sys v0.3.81 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+bbe853615821442ef11d6cd42a30a73432b38d89" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] baa63dd59ea43a6bc7314c499a89844b992914e728eafda017b9ebcf470760fc [INFO] running `Command { std: "docker" "start" "-a" "baa63dd59ea43a6bc7314c499a89844b992914e728eafda017b9ebcf470760fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "baa63dd59ea43a6bc7314c499a89844b992914e728eafda017b9ebcf470760fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "baa63dd59ea43a6bc7314c499a89844b992914e728eafda017b9ebcf470760fc", kill_on_drop: false }` [INFO] [stdout] baa63dd59ea43a6bc7314c499a89844b992914e728eafda017b9ebcf470760fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+bbe853615821442ef11d6cd42a30a73432b38d89" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61e824dde05e69d31dd08553fd19f93260c6cf3874c26f9fabfc856dca88fe2e [INFO] running `Command { std: "docker" "start" "-a" "61e824dde05e69d31dd08553fd19f93260c6cf3874c26f9fabfc856dca88fe2e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Compiling rustls v0.23.32 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Checking object v0.37.3 [INFO] [stderr] Checking bitflags v2.9.4 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Checking rustc-demangle v0.1.26 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling cc v1.2.41 [INFO] [stderr] Checking webpki-roots v1.0.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking backtrace v0.3.76 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking rustls-webpki v0.103.7 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking hyper-util v0.1.17 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking reqwest v0.12.23 [INFO] [stderr] Checking vectorizer-sdk v2.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: cannot find module or crate `p256` in this scope [INFO] [stdout] --> examples/encryption_example.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use p256::ecdh::EphemeralSecret; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `p256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `p256`, use `cargo add p256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `p256` in this scope [INFO] [stdout] --> examples/encryption_example.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use p256::pkcs8::{EncodePrivateKey, EncodePublicKey, LineEnding}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `p256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `p256`, use `cargo add p256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand_core` [INFO] [stdout] --> examples/encryption_example.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use rand_core::OsRng; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `rand_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand_core`, use `cargo add rand_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ClientConfig` [INFO] [stdout] --> tests/umicp_tests.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use vectorizer_sdk::{ClientConfig, Protocol, VectorizerClient, parse_connection_string}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/encryption_example.rs:59:50 [INFO] [stdout] | [INFO] [stdout] 59 | .create_collection(collection_name, 384, "cosine") // For all-MiniLM-L6-v2 [INFO] [stdout] | ----------------- ^^^^^^^^ expected `Option`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found reference `&'static str` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/client.rs:992:18 [INFO] [stdout] | [INFO] [stdout] 992 | pub async fn create_collection( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `error`, `info`, and `warn` [INFO] [stdout] --> examples/basic_example.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `error`, `info`, and `warn` [INFO] [stdout] --> tests/discovery_tests.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/encryption_example.rs:131:50 [INFO] [stdout] | [INFO] [stdout] 131 | .create_collection(collection_name, 384, "cosine") [INFO] [stdout] | ----------------- ^^^^^^^^ expected `Option`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found reference `&'static str` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/client.rs:992:18 [INFO] [stdout] | [INFO] [stdout] 992 | pub async fn create_collection( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `vectorizer_rust_sdk` [INFO] [stdout] --> examples/umicp_usage.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use vectorizer_rust_sdk::{ClientConfig, VectorizerClient}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `vectorizer_rust_sdk` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 9 - use vectorizer_rust_sdk::{ClientConfig, VectorizerClient}; [INFO] [stdout] 9 + use vectorizer_sdk::{ClientConfig, VectorizerClient}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `error`, `info`, and `warn` [INFO] [stdout] --> examples/umicp_usage.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `error`, `info`, and `warn` [INFO] [stdout] --> tests/integration_tests.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::Error as ReqwestError` [INFO] [stdout] --> tests/error_tests.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | use reqwest::Error as ReqwestError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `vectorizer_rust_sdk` [INFO] [stdout] --> examples/test_working.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use vectorizer_rust_sdk::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `vectorizer_rust_sdk` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 - use vectorizer_rust_sdk::*; [INFO] [stdout] 6 + use vectorizer_sdk::*; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `vectorizer-sdk` (example "encryption_example") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused imports: `debug`, `error`, `info`, and `warn` [INFO] [stdout] --> tests/intelligent_search_tests.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `vectorizer_rust_sdk` [INFO] [stdout] --> examples/comprehensive_test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use vectorizer_rust_sdk::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `vectorizer_rust_sdk` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 - use vectorizer_rust_sdk::*; [INFO] [stdout] 6 + use vectorizer_sdk::*; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> examples/comprehensive_test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `error`, `info`, and `warn` [INFO] [stdout] --> examples/comprehensive_test.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> examples/comprehensive_test.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | async fn main() -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 9 | async fn main() -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `vectorizer-sdk` (example "umicp_usage") due to 1 previous error; 1 warning emitted [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/basic_example.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 80 | meta.insert( [INFO] [stdout] | ---- ... which causes `meta` to have type `HashMap` [INFO] [stdout] 81 | "source".to_string(), [INFO] [stdout] 82 | serde_json::Value::String("document1.pdf".to_string()), [INFO] [stdout] | ------------------------------------------------------ this argument has type `serde_json::Value`... [INFO] [stdout] ... [INFO] [stdout] 92 | meta [INFO] [stdout] | ^^^^ expected `HashMap`, found `HashMap` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `HashMap<_, std::string::String>` [INFO] [stdout] found struct `HashMap<_, serde_json::Value>` [INFO] [stdout] note: return type inferred to be `HashMap` here [INFO] [stdout] --> examples/basic_example.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | let client = VectorizerClient::new_default()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a conversion method [INFO] [stdout] | [INFO] [stdout] 82 | serde_json::Value::String("document1.pdf".to_string()).to_string(), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/basic_example.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 100 | meta.insert( [INFO] [stdout] | ---- ... which causes `meta` to have type `HashMap` [INFO] [stdout] 101 | "source".to_string(), [INFO] [stdout] 102 | serde_json::Value::String("document2.pdf".to_string()), [INFO] [stdout] | ------------------------------------------------------ this argument has type `serde_json::Value`... [INFO] [stdout] ... [INFO] [stdout] 112 | meta [INFO] [stdout] | ^^^^ expected `HashMap`, found `HashMap` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `HashMap<_, std::string::String>` [INFO] [stdout] found struct `HashMap<_, serde_json::Value>` [INFO] [stdout] note: return type inferred to be `HashMap` here [INFO] [stdout] --> examples/basic_example.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | let client = VectorizerClient::new_default()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a conversion method [INFO] [stdout] | [INFO] [stdout] 102 | serde_json::Value::String("document2.pdf".to_string()).to_string(), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `error`, `info`, and `warn` [INFO] [stdout] --> examples/test_working.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/basic_example.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 120 | meta.insert( [INFO] [stdout] | ---- ... which causes `meta` to have type `HashMap` [INFO] [stdout] 121 | "source".to_string(), [INFO] [stdout] 122 | serde_json::Value::String("document3.pdf".to_string()), [INFO] [stdout] | ------------------------------------------------------ this argument has type `serde_json::Value`... [INFO] [stdout] ... [INFO] [stdout] 132 | meta [INFO] [stdout] | ^^^^ expected `HashMap`, found `HashMap` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `HashMap<_, std::string::String>` [INFO] [stdout] found struct `HashMap<_, serde_json::Value>` [INFO] [stdout] note: return type inferred to be `HashMap` here [INFO] [stdout] --> examples/basic_example.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | let client = VectorizerClient::new_default()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a conversion method [INFO] [stdout] | [INFO] [stdout] 122 | serde_json::Value::String("document3.pdf".to_string()).to_string(), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `inserted` on type `BatchResponse` [INFO] [stdout] --> examples/basic_example.rs:139:59 [INFO] [stdout] | [INFO] [stdout] 139 | tracing::info!("✅ Texts inserted: {}", result.inserted); [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `success`, `collection`, `operation`, `total_operations`, `successful_operations` ... and 3 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> tests/graph_tests.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | assert!(response.count >= 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> tests/graph_tests.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | assert!(response.related.len() >= 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> tests/graph_tests.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | assert!(response.count >= 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> tests/graph_tests.rs:150:21 [INFO] [stdout] | [INFO] [stdout] 150 | assert!(response.edges_created >= 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> tests/graph_tests.rs:166:21 [INFO] [stdout] | [INFO] [stdout] 166 | assert!(response.total_nodes >= 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> tests/graph_tests.rs:167:21 [INFO] [stdout] | [INFO] [stdout] 167 | assert!(response.nodes_with_edges >= 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> tests/graph_tests.rs:168:21 [INFO] [stdout] | [INFO] [stdout] 168 | assert!(response.total_edges >= 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `size_bytes` on type `CollectionInfo` [INFO] [stdout] --> examples/basic_example.rs:202:44 [INFO] [stdout] | [INFO] [stdout] 202 | if let Some(size_bytes) = info.size_bytes { [INFO] [stdout] | ^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `name`, `dimension`, `metric`, `vector_count`, `document_count` ... and 3 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `error`, `info`, and `warn` [INFO] [stdout] --> tests/file_operations_tests.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> tests/http_client_tests.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0432. [INFO] [stdout] [INFO] [stderr] error: could not compile `vectorizer-sdk` (example "basic_example") due to 5 previous errors; 1 warning emitted [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `vectorizer-sdk` (example "comprehensive_test") due to 2 previous errors; 2 warnings emitted [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `vectorizer-sdk` (example "test_working") due to 1 previous error; 1 warning emitted [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> tests/discovery_tests.rs:163:17 [INFO] [stdout] | [INFO] [stdout] 163 | assert!(result["total_available"].as_u64().unwrap_or(0) >= 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> tests/discovery_tests.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | / result [INFO] [stdout] 205 | | .get("excluded_count") [INFO] [stdout] 206 | | .and_then(|c| c.as_u64()) [INFO] [stdout] 207 | | .unwrap_or(0) [INFO] [stdout] 208 | | >= 0 [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> tests/discovery_tests.rs:248:17 [INFO] [stdout] | [INFO] [stdout] 248 | assert!(result["total_collections"].as_u64().unwrap_or(0) >= 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> tests/intelligent_search_tests.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | result.total_results >= 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> tests/file_operations_tests.rs:141:21 [INFO] [stdout] | [INFO] [stdout] 141 | assert!(result["total_count"].as_u64().unwrap_or(0) >= 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> tests/file_operations_tests.rs:364:21 [INFO] [stdout] | [INFO] [stdout] 364 | assert!(result["total_chunks"].as_u64().unwrap_or(0) >= 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "61e824dde05e69d31dd08553fd19f93260c6cf3874c26f9fabfc856dca88fe2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61e824dde05e69d31dd08553fd19f93260c6cf3874c26f9fabfc856dca88fe2e", kill_on_drop: false }` [INFO] [stdout] 61e824dde05e69d31dd08553fd19f93260c6cf3874c26f9fabfc856dca88fe2e