[INFO] fetching crate vectorizer-sdk 1.1.2... [INFO] testing vectorizer-sdk-1.1.2 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate vectorizer-sdk 1.1.2 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate vectorizer-sdk 1.1.2 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate vectorizer-sdk 1.1.2 [INFO] tweaked toml for crates.io crate vectorizer-sdk 1.1.2 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate vectorizer-sdk 1.1.2 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate vectorizer-sdk 1.1.2 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0df674d7e636341e5b42aa51cce936b927fa6ed1c63fa0b361815d6fcb0bd5ec [INFO] running `Command { std: "docker" "start" "-a" "0df674d7e636341e5b42aa51cce936b927fa6ed1c63fa0b361815d6fcb0bd5ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0df674d7e636341e5b42aa51cce936b927fa6ed1c63fa0b361815d6fcb0bd5ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0df674d7e636341e5b42aa51cce936b927fa6ed1c63fa0b361815d6fcb0bd5ec", kill_on_drop: false }` [INFO] [stdout] 0df674d7e636341e5b42aa51cce936b927fa6ed1c63fa0b361815d6fcb0bd5ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1aec602941070ad73c9b06818ccdcb00b911c366a8d0b1051791e2aa4194eeb [INFO] running `Command { std: "docker" "start" "-a" "d1aec602941070ad73c9b06818ccdcb00b911c366a8d0b1051791e2aa4194eeb", kill_on_drop: false }` [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling cc v1.2.41 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rustls v0.23.32 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling webpki-roots v1.0.3 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling backtrace v0.3.76 [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 async-trait v0.1.89 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling rustls-webpki v0.103.7 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling vectorizer-sdk v1.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/client.rs:72:31 [INFO] [stdout] | [INFO] [stdout] 72 | let (proto, host, port) = crate::transport::parse_connection_string(&conn_str)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `host` [INFO] [stdout] --> src/transport.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | let (host, port) = if authority.contains(':') { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_host` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/transport.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 70 | let (host, port) = if authority.contains(':') { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.76s [INFO] running `Command { std: "docker" "inspect" "d1aec602941070ad73c9b06818ccdcb00b911c366a8d0b1051791e2aa4194eeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1aec602941070ad73c9b06818ccdcb00b911c366a8d0b1051791e2aa4194eeb", kill_on_drop: false }` [INFO] [stdout] d1aec602941070ad73c9b06818ccdcb00b911c366a8d0b1051791e2aa4194eeb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c51c6bfc013e36b4acea131d837727a9a215576d61e1b0ed2d2a227a034e9b1b [INFO] running `Command { std: "docker" "start" "-a" "c51c6bfc013e36b4acea131d837727a9a215576d61e1b0ed2d2a227a034e9b1b", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling vectorizer-sdk v1.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/client.rs:72:31 [INFO] [stdout] | [INFO] [stdout] 72 | let (proto, host, port) = crate::transport::parse_connection_string(&conn_str)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `host` [INFO] [stdout] --> src/transport.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | let (host, port) = if authority.contains(':') { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_host` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/transport.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 70 | let (host, port) = if authority.contains(':') { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/client.rs:72:31 [INFO] [stdout] | [INFO] [stdout] 72 | let (proto, host, port) = crate::transport::parse_connection_string(&conn_str)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `vectorizer_rust_sdk` [INFO] [stdout] --> examples/basic_example.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | 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] 3 - use vectorizer_rust_sdk::*; [INFO] [stdout] 3 + use vectorizer_sdk::*; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `vectorizer_rust_sdk` [INFO] [stdout] --> tests/client_integration_tests.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | 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] 4 - use vectorizer_rust_sdk::*; [INFO] [stdout] 4 + use vectorizer_sdk::*; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `vectorizer_rust_sdk` [INFO] [stdout] --> examples/test_working.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | 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] 3 - use vectorizer_rust_sdk::*; [INFO] [stdout] 3 + use vectorizer_sdk::*; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `vectorizer_rust_sdk` [INFO] [stdout] --> tests/integration_tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | 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] 3 - use vectorizer_rust_sdk::*; [INFO] [stdout] 3 + use vectorizer_sdk::*; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `vectorizer_rust_sdk` [INFO] [stdout] --> tests/file_operations_tests.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | 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] 14 - use vectorizer_rust_sdk::*; [INFO] [stdout] 14 + use vectorizer_sdk::*; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `vectorizer_rust_sdk` [INFO] [stdout] --> tests/validation_tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | 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] 3 - use vectorizer_rust_sdk::*; [INFO] [stdout] 3 + use vectorizer_sdk::*; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `vectorizer_rust_sdk` [INFO] [stdout] --> tests/models_tests.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | 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] 4 - use vectorizer_rust_sdk::*; [INFO] [stdout] 4 + use vectorizer_sdk::*; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `vectorizer_rust_sdk` [INFO] [stdout] --> examples/umicp_usage.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use vectorizer_rust_sdk::{VectorizerClient, ClientConfig}; [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] 8 - use vectorizer_rust_sdk::{VectorizerClient, ClientConfig}; [INFO] [stdout] 8 + use vectorizer_sdk::{VectorizerClient, ClientConfig}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `vectorizer_rust_sdk` [INFO] [stdout] --> tests/umicp_tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use vectorizer_rust_sdk::{VectorizerClient, ClientConfig, Protocol, parse_connection_string}; [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] 3 - use vectorizer_rust_sdk::{VectorizerClient, ClientConfig, Protocol, parse_connection_string}; [INFO] [stdout] 3 + use vectorizer_sdk::{VectorizerClient, ClientConfig, Protocol, parse_connection_string}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `vectorizer_rust_sdk` [INFO] [stdout] --> tests/http_client_tests.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | 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] 4 - use vectorizer_rust_sdk::*; [INFO] [stdout] 4 + use vectorizer_sdk::*; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `vectorizer_rust_sdk` [INFO] [stdout] --> examples/comprehensive_test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | 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] 3 - use vectorizer_rust_sdk::*; [INFO] [stdout] 3 + use vectorizer_sdk::*; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `vectorizer_rust_sdk` [INFO] [stdout] --> tests/error_tests.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | 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] 4 - use vectorizer_rust_sdk::*; [INFO] [stdout] 4 + use vectorizer_sdk::*; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> examples/basic_example.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | 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] 6 | async fn main() -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `vectorizer_rust_sdk` [INFO] [stdout] --> tests/discovery_tests.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | 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] 11 - use vectorizer_rust_sdk::*; [INFO] [stdout] 11 + use vectorizer_sdk::*; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/file_operations_tests.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | client.health_check().await.is_ok() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/basic_example.rs:33:49 [INFO] [stdout] | [INFO] [stdout] 33 | println!("✅ Found {} collections:", collections.len()); [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/test_working.rs:33:49 [INFO] [stdout] | [INFO] [stdout] 33 | println!("✅ Found {} collections:", collections.len()); [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `vectorizer-sdk` (test "umicp_tests") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> examples/comprehensive_test.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] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> examples/comprehensive_test.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | 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] 7 | async fn main() -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `vectorizer-sdk` (example "umicp_usage") due to 1 previous error [INFO] [stdout] error[E0432]: unresolved import `vectorizer_rust_sdk` [INFO] [stdout] --> tests/intelligent_search_tests.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | 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] 11 - use vectorizer_rust_sdk::*; [INFO] [stdout] 11 + use vectorizer_sdk::*; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/comprehensive_test.rs:38:48 [INFO] [stdout] | [INFO] [stdout] 38 | println!("✅ Found {} collections", collections.len()); [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/comprehensive_test.rs:61:29 [INFO] [stdout] | [INFO] [stdout] 61 | Ok(collections) if !collections.is_empty() => { [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `vectorizer-sdk` (example "basic_example") due to 3 previous errors [INFO] [stdout] error[E0282]: type annotations needed for `&_` [INFO] [stdout] --> tests/models_tests.rs:38:37 [INFO] [stdout] | [INFO] [stdout] 38 | assert!(vector.data.iter().all(|&x| x.is_finite())); [INFO] [stdout] | ^^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 38 | assert!(vector.data.iter().all(|&x: &_| x.is_finite())); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `&_` [INFO] [stdout] --> tests/models_tests.rs:48:37 [INFO] [stdout] | [INFO] [stdout] 48 | assert!(vector.data.iter().any(|&x| x.is_nan())); [INFO] [stdout] | ^^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 48 | assert!(vector.data.iter().any(|&x: &_| x.is_nan())); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `&_` [INFO] [stdout] --> tests/models_tests.rs:57:37 [INFO] [stdout] | [INFO] [stdout] 57 | assert!(vector.data.iter().any(|&x| x.is_infinite())); [INFO] [stdout] | ^^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 57 | assert!(vector.data.iter().any(|&x: &_| x.is_infinite())); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `&_` [INFO] [stdout] --> tests/client_integration_tests.rs:42:37 [INFO] [stdout] | [INFO] [stdout] 42 | assert!(vector.data.iter().all(|&x| x.is_finite())); [INFO] [stdout] | ^^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 42 | assert!(vector.data.iter().all(|&x: &_| x.is_finite())); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery_tests.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | client.health_check().await.is_ok() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result<_, _>` [INFO] [stdout] --> tests/file_operations_tests.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let response = client.get_file_content(TEST_COLLECTION, "large-file.md", Some(100)).await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | if let Some(size_kb) = result.get("size_kb").and_then(|s| s.as_u64()) { [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 72 | let response: Result<_, _> = client.get_file_content(TEST_COLLECTION, "large-file.md", Some(100)).await; [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/file_operations_tests.rs:75:68 [INFO] [stdout] | [INFO] [stdout] 75 | if let Some(size_kb) = result.get("size_kb").and_then(|s| s.as_u64()) { [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 75 | if let Some(size_kb) = result.get("size_kb").and_then(|s: /* Type */| s.as_u64()) { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery_tests.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let response = client.discover( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | assert!(response.is_ok(), "Discover should succeed"); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 33 | let response: /* Type */ = client.discover( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/intelligent_search_tests.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | client.health_check().await.is_ok() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_tests.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | assert!(!collections.is_empty()); [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `vectorizer-sdk` (example "test_working") due to 2 previous errors [INFO] [stdout] error[E0282]: type annotations needed for `Result<_, _>` [INFO] [stdout] --> tests/file_operations_tests.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | let response = client.get_file_content(TEST_COLLECTION, "src/main.ts", None).await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | assert!(result.get("metadata").is_some()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 89 | let response: Result<_, _> = client.get_file_content(TEST_COLLECTION, "src/main.ts", None).await; [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/file_operations_tests.rs:94:25 [INFO] [stdout] | [INFO] [stdout] 94 | assert!(metadata.get("file_type").is_some()); [INFO] [stdout] | ^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/file_operations_tests.rs:95:56 [INFO] [stdout] | [INFO] [stdout] 95 | assert!(metadata.get("size").and_then(|s| s.as_u64()).unwrap_or(0) > 0); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 95 | assert!(metadata.get("size").and_then(|s: /* Type */| s.as_u64()).unwrap_or(0) > 0); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery_tests.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let response = client.discover( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | assert!(response.is_ok()); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 59 | let response: /* Type */ = client.discover( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/file_operations_tests.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | let response = client.get_file_content(TEST_COLLECTION, "non-existent-file.txt", None).await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 109 | assert!(response.is_err(), "Non-existent file should fail"); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 108 | let response: /* Type */ = client.get_file_content(TEST_COLLECTION, "non-existent-file.txt", None).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery_tests.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | let response = client.discover( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | assert!(response.is_ok()); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 79 | let response: /* Type */ = client.discover( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_tests.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | let create_result = client.create_collection(&collection_name, 384, None).await; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 93 | if create_result.is_err() { [INFO] [stdout] | ------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `create_result` an explicit type [INFO] [stdout] | [INFO] [stdout] 92 | let create_result: /* Type */ = client.create_collection(&collection_name, 384, None).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result<_, _>` [INFO] [stdout] --> tests/file_operations_tests.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | let response = client.list_files_in_collection(TEST_COLLECTION, None, None, None, None).await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | assert!(result.get("files").is_some()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 122 | let response: Result<_, _> = client.list_files_in_collection(TEST_COLLECTION, None, None, None, None).await; [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery_tests.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | let response = client.discover( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | assert!(response.is_ok()); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 99 | let response: /* Type */ = client.discover( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery_tests.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | let response = client.discover( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | assert!(response.is_ok()); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 124 | let response: /* Type */ = client.discover( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result<_, _>` [INFO] [stdout] --> tests/file_operations_tests.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | let response = client.list_files_in_collection( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | if let Some(files) = result.get("files").and_then(|f| f.as_array()) { [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 138 | let response: Result<_, _> = client.list_files_in_collection( [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `vectorizer-sdk` (example "comprehensive_test") due to 4 previous errors; 1 warning emitted [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery_tests.rs:135:66 [INFO] [stdout] | [INFO] [stdout] 135 | if let Some(evidence) = result.get("evidence").and_then(|e| e.as_array()) { [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 135 | if let Some(evidence) = result.get("evidence").and_then(|e: /* Type */| e.as_array()) { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery_tests.rs:137:25 [INFO] [stdout] | [INFO] [stdout] 137 | assert!(item.get("text").is_some()); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_tests.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | let create_result = client.create_collection(&collection_name, 384, None).await; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 147 | if create_result.is_err() { [INFO] [stdout] | ------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `create_result` an explicit type [INFO] [stdout] | [INFO] [stdout] 146 | let create_result: /* Type */ = client.create_collection(&collection_name, 384, None).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery_tests.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | let response = client.filter_collections("documentation", None, None).await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 154 | [INFO] [stdout] 155 | assert!(response.is_ok()); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 153 | let response: /* Type */ = client.filter_collections("documentation", None, None).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/file_operations_tests.rs:147:64 [INFO] [stdout] | [INFO] [stdout] 147 | if let Some(files) = result.get("files").and_then(|f| f.as_array()) { [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 147 | if let Some(files) = result.get("files").and_then(|f: /* Type */| f.as_array()) { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result<_, _>` [INFO] [stdout] --> tests/file_operations_tests.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | let response = client.list_files_in_collection( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | if let Some(files) = result.get("files").and_then(|f| f.as_array()) { [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 164 | let response: Result<_, _> = client.list_files_in_collection( [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/file_operations_tests.rs:173:64 [INFO] [stdout] | [INFO] [stdout] 173 | if let Some(files) = result.get("files").and_then(|f| f.as_array()) { [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 173 | if let Some(files) = result.get("files").and_then(|f: /* Type */| f.as_array()) { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery_tests.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | let response = client.filter_collections( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | assert!(response.is_ok()); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 169 | let response: /* Type */ = client.filter_collections( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_tests.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | let create_result = client.create_collection(&collection_name, 384, None).await; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 199 | if create_result.is_err() { [INFO] [stdout] | ------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `create_result` an explicit type [INFO] [stdout] | [INFO] [stdout] 198 | let create_result: /* Type */ = client.create_collection(&collection_name, 384, None).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `&_` [INFO] [stdout] --> tests/integration_tests.rs:222:45 [INFO] [stdout] | [INFO] [stdout] 222 | assert!(vector.data.iter().all(|&x| x.is_finite())); [INFO] [stdout] | ^^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 222 | assert!(vector.data.iter().all(|&x: &_| x.is_finite())); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery_tests.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | let response = client.filter_collections( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | assert!(response.is_ok()); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 186 | let response: /* Type */ = client.filter_collections( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result<_, _>` [INFO] [stdout] --> tests/file_operations_tests.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | let response = client.list_files_in_collection( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | if let Some(files) = result.get("files").and_then(|f| f.as_array()) { [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 189 | let response: Result<_, _> = client.list_files_in_collection( [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery_tests.rs:194:56 [INFO] [stdout] | [INFO] [stdout] 194 | assert!(result.get("excluded_count").and_then(|c| c.as_u64()).unwrap_or(0) >= 0); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 194 | assert!(result.get("excluded_count").and_then(|c: /* Type */| c.as_u64()).unwrap_or(0) >= 0); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/file_operations_tests.rs:198:64 [INFO] [stdout] | [INFO] [stdout] 198 | if let Some(files) = result.get("files").and_then(|f| f.as_array()) { [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 198 | if let Some(files) = result.get("files").and_then(|f: /* Type */| f.as_array()) { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_tests.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | let create_result = client.create_collection(&collection_name, 384, None).await; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 241 | if create_result.is_err() { [INFO] [stdout] | ------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `create_result` an explicit type [INFO] [stdout] | [INFO] [stdout] 240 | let create_result: /* Type */ = client.create_collection(&collection_name, 384, None).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery_tests.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | let response = client.filter_collections( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | assert!(response.is_ok()); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 205 | let response: /* Type */ = client.filter_collections( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/file_operations_tests.rs:199:25 [INFO] [stdout] | [INFO] [stdout] 199 | assert!(files.len() <= 10); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery_tests.rs:224:13 [INFO] [stdout] | [INFO] [stdout] 224 | let response = client.score_collections("machine learning", None, None, None).await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 225 | [INFO] [stdout] 226 | assert!(response.is_ok()); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 224 | let response: /* Type */ = client.score_collections("machine learning", None, None, None).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_tests.rs:290:23 [INFO] [stdout] | [INFO] [stdout] 290 | let collections = client.list_collections().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_tests.rs:300:31 [INFO] [stdout] | [INFO] [stdout] 300 | let collections = client.list_collections().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery_tests.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | let response = client.score_collections("database queries", None, Some(0.4), None).await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 241 | [INFO] [stdout] 242 | assert!(response.is_ok()); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 240 | let response: /* Type */ = client.score_collections("database queries", None, Some(0.4), None).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery_tests.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | let response = client.score_collections("performance optimization", None, None, Some(0.2)).await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 254 | [INFO] [stdout] 255 | assert!(response.is_ok()); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 253 | let response: /* Type */ = client.score_collections("performance optimization", None, None, Some(0.2)).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result<_, _>` [INFO] [stdout] --> tests/file_operations_tests.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | let response = client.list_files_in_collection( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | if let Some(files) = result.get("files").and_then(|f| f.as_array()) { [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 212 | let response: Result<_, _> = client.list_files_in_collection( [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/file_operations_tests.rs:221:64 [INFO] [stdout] | [INFO] [stdout] 221 | if let Some(files) = result.get("files").and_then(|f| f.as_array()) { [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 221 | if let Some(files) = result.get("files").and_then(|f: /* Type */| f.as_array()) { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/file_operations_tests.rs:222:20 [INFO] [stdout] | [INFO] [stdout] 222 | if files.len() > 1 { [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery_tests.rs:266:13 [INFO] [stdout] | [INFO] [stdout] 266 | let response = client.score_collections("search functionality", None, None, None).await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 267 | [INFO] [stdout] 268 | assert!(response.is_ok()); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 266 | let response: /* Type */ = client.score_collections("search functionality", None, None, None).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_tests.rs:342:18 [INFO] [stdout] | [INFO] [stdout] 342 | let health = client.health_check().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery_tests.rs:270:86 [INFO] [stdout] | [INFO] [stdout] 270 | if let Some(scored_collections) = result.get("scored_collections").and_then(|s| s.as_array()) { [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 270 | if let Some(scored_collections) = result.get("scored_collections").and_then(|s: /* Type */| s.as_array()) { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery_tests.rs:272:16 [INFO] [stdout] | [INFO] [stdout] 272 | if scored_collections.len() > 1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_tests.rs:347:23 [INFO] [stdout] | [INFO] [stdout] 347 | let collections = client.list_collections().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery_tests.rs:274:80 [INFO] [stdout] | [INFO] [stdout] 274 | let score_i = scored_collections[i].get("score").and_then(|s| s.as_f64()).unwrap_or(0.0); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 274 | let score_i = scored_collections[i].get("score").and_then(|s: /* Type */| s.as_f64()).unwrap_or(0.0); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery_tests.rs:275:87 [INFO] [stdout] | [INFO] [stdout] 275 | let score_next = scored_collections[i + 1].get("score").and_then(|s| s.as_f64()).unwrap_or(0.0); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 275 | let score_next = scored_collections[i + 1].get("score").and_then(|s: /* Type */| s.as_f64()).unwrap_or(0.0); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_tests.rs:359:9 [INFO] [stdout] | [INFO] [stdout] 359 | let create_result = client.create_collection(&collection_name, 384, None).await; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 360 | if create_result.is_err() { [INFO] [stdout] | ------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `create_result` an explicit type [INFO] [stdout] | [INFO] [stdout] 359 | let create_result: /* Type */ = client.create_collection(&collection_name, 384, None).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery_tests.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 292 | let response = client.expand_queries("CMMV framework", None, None, None, None).await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 293 | [INFO] [stdout] 294 | assert!(response.is_ok()); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 292 | let response: /* Type */ = client.expand_queries("CMMV framework", None, None, None, None).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery_tests.rs:297:58 [INFO] [stdout] | [INFO] [stdout] 297 | assert!(result.get("expanded_queries").and_then(|e| e.as_array()).map_or(false, |a| a.len() > 0)); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 297 | assert!(result.get("expanded_queries").and_then(|e: /* Type */| e.as_array()).map_or(false, |a| a.len() > 0)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery_tests.rs:297:90 [INFO] [stdout] | [INFO] [stdout] 297 | assert!(result.get("expanded_queries").and_then(|e| e.as_array()).map_or(false, |a| a.len() > 0)); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 297 | assert!(result.get("expanded_queries").and_then(|e| e.as_array()).map_or(false, |a: /* Type */| a.len() > 0)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result<_, _>` [INFO] [stdout] --> tests/file_operations_tests.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | let response = client.list_files_in_collection( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | if let Some(files) = result.get("files").and_then(|f| f.as_array()) { [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 241 | let response: Result<_, _> = client.list_files_in_collection( [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/file_operations_tests.rs:250:64 [INFO] [stdout] | [INFO] [stdout] 250 | if let Some(files) = result.get("files").and_then(|f| f.as_array()) { [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 250 | if let Some(files) = result.get("files").and_then(|f: /* Type */| f.as_array()) { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/file_operations_tests.rs:251:20 [INFO] [stdout] | [INFO] [stdout] 251 | if files.len() > 1 { [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `vectorizer-sdk` (test "client_integration_tests") due to 2 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery_tests.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | let response = client.expand_queries("vector database", Some(5), None, None, None).await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 309 | [INFO] [stdout] 310 | assert!(response.is_ok()); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 308 | let response: /* Type */ = client.expand_queries("vector database", Some(5), None, None, None).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery_tests.rs:312:58 [INFO] [stdout] | [INFO] [stdout] 312 | assert!(result.get("expanded_queries").and_then(|e| e.as_array()).map_or(false, |a| a.len() <= 5)); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 312 | assert!(result.get("expanded_queries").and_then(|e: /* Type */| e.as_array()).map_or(false, |a| a.len() <= 5)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery_tests.rs:312:90 [INFO] [stdout] | [INFO] [stdout] 312 | assert!(result.get("expanded_queries").and_then(|e| e.as_array()).map_or(false, |a| a.len() <= 5)); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 312 | assert!(result.get("expanded_queries").and_then(|e| e.as_array()).map_or(false, |a: /* Type */| a.len() <= 5)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result<_, _>` [INFO] [stdout] --> tests/file_operations_tests.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 270 | let response = client.list_files_in_collection( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 279 | if let Some(files) = result.get("files").and_then(|f| f.as_array()) { [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 270 | let response: Result<_, _> = client.list_files_in_collection( [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/file_operations_tests.rs:279:64 [INFO] [stdout] | [INFO] [stdout] 279 | if let Some(files) = result.get("files").and_then(|f| f.as_array()) { [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 279 | if let Some(files) = result.get("files").and_then(|f: /* Type */| f.as_array()) { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/intelligent_search_tests.rs:362:13 [INFO] [stdout] | [INFO] [stdout] 362 | let response = client.intelligent_search(request).await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 363 | assert!(response.is_err(), "Empty query should fail"); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 362 | let response: /* Type */ = client.intelligent_search(request).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery_tests.rs:323:13 [INFO] [stdout] | [INFO] [stdout] 323 | let response = client.expand_queries("semantic search", None, Some(true), None, None).await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 324 | [INFO] [stdout] 325 | assert!(response.is_ok()); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 323 | let response: /* Type */ = client.expand_queries("semantic search", None, Some(true), None, None).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/file_operations_tests.rs:280:20 [INFO] [stdout] | [INFO] [stdout] 280 | if files.len() > 1 { [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `vectorizer-sdk` (test "models_tests") due to 4 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery_tests.rs:327:72 [INFO] [stdout] | [INFO] [stdout] 327 | if let Some(query_types) = result.get("query_types").and_then(|q| q.as_array()) { [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 327 | if let Some(query_types) = result.get("query_types").and_then(|q: /* Type */| q.as_array()) { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery_tests.rs:328:39 [INFO] [stdout] | [INFO] [stdout] 328 | let contains_definition = query_types.iter().any(|t| t.as_str() == Some("definition")); [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery_tests.rs:328:63 [INFO] [stdout] | [INFO] [stdout] 328 | let contains_definition = query_types.iter().any(|t| t.as_str() == Some("definition")); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 328 | let contains_definition = query_types.iter().any(|t: /* Type */| t.as_str() == Some("definition")); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/intelligent_search_tests.rs:383:13 [INFO] [stdout] | [INFO] [stdout] 383 | let response = client.semantic_search(request).await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 384 | assert!(response.is_err(), "Invalid collection should fail"); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 383 | let response: /* Type */ = client.semantic_search(request).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result<_, _>` [INFO] [stdout] --> tests/file_operations_tests.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | let response = client.get_file_summary( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | assert!(result.get("summary").is_some()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 301 | let response: Result<_, _> = client.get_file_summary( [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery_tests.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | let response = client.expand_queries("API gateway", None, None, Some(true), None).await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 342 | [INFO] [stdout] 343 | assert!(response.is_ok()); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 341 | let response: /* Type */ = client.expand_queries("API gateway", None, None, Some(true), None).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery_tests.rs:345:72 [INFO] [stdout] | [INFO] [stdout] 345 | if let Some(query_types) = result.get("query_types").and_then(|q| q.as_array()) { [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 345 | if let Some(query_types) = result.get("query_types").and_then(|q: /* Type */| q.as_array()) { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/file_operations_tests.rs:311:72 [INFO] [stdout] | [INFO] [stdout] 311 | if let Some(sentences) = result.get("sentences").and_then(|s| s.as_array()) { [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 311 | if let Some(sentences) = result.get("sentences").and_then(|s: /* Type */| s.as_array()) { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/file_operations_tests.rs:312:25 [INFO] [stdout] | [INFO] [stdout] 312 | assert!(sentences.len() <= 5); [INFO] [stdout] | ^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/intelligent_search_tests.rs:404:13 [INFO] [stdout] | [INFO] [stdout] 404 | let response = client.semantic_search(request).await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 405 | assert!(response.is_err(), "Invalid similarity threshold should fail"); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 404 | let response: /* Type */ = client.semantic_search(request).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery_tests.rs:346:37 [INFO] [stdout] | [INFO] [stdout] 346 | let contains_features = query_types.iter().any(|t| t.as_str() == Some("features")); [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery_tests.rs:346:61 [INFO] [stdout] | [INFO] [stdout] 346 | let contains_features = query_types.iter().any(|t| t.as_str() == Some("features")); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 346 | let contains_features = query_types.iter().any(|t: /* Type */| t.as_str() == Some("features")); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery_tests.rs:359:13 [INFO] [stdout] | [INFO] [stdout] 359 | let response = client.expand_queries("microservices", None, None, None, Some(true)).await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 360 | [INFO] [stdout] 361 | assert!(response.is_ok()); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 359 | let response: /* Type */ = client.expand_queries("microservices", None, None, None, Some(true)).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery_tests.rs:363:72 [INFO] [stdout] | [INFO] [stdout] 363 | if let Some(query_types) = result.get("query_types").and_then(|q| q.as_array()) { [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 363 | if let Some(query_types) = result.get("query_types").and_then(|q: /* Type */| q.as_array()) { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery_tests.rs:364:41 [INFO] [stdout] | [INFO] [stdout] 364 | let contains_architecture = query_types.iter().any(|t| t.as_str() == Some("architecture")); [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery_tests.rs:364:65 [INFO] [stdout] | [INFO] [stdout] 364 | let contains_architecture = query_types.iter().any(|t| t.as_str() == Some("architecture")); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 364 | let contains_architecture = query_types.iter().any(|t: /* Type */| t.as_str() == Some("architecture")); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result<_, _>` [INFO] [stdout] --> tests/file_operations_tests.rs:325:13 [INFO] [stdout] | [INFO] [stdout] 325 | let response = client.get_file_summary( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 333 | assert!(result.get("summary").is_some()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 325 | let response: Result<_, _> = client.get_file_summary( [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/intelligent_search_tests.rs:424:13 [INFO] [stdout] | [INFO] [stdout] 424 | let response = client.multi_collection_search(request).await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 425 | assert!(response.is_err(), "Empty collections should fail"); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 424 | let response: /* Type */ = client.multi_collection_search(request).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery_tests.rs:377:13 [INFO] [stdout] | [INFO] [stdout] 377 | let response = client.expand_queries( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 385 | assert!(response.is_ok()); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 377 | let response: /* Type */ = client.expand_queries( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery_tests.rs:387:82 [INFO] [stdout] | [INFO] [stdout] 387 | if let Some(expanded_queries) = result.get("expanded_queries").and_then(|e| e.as_array()) { [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 387 | if let Some(expanded_queries) = result.get("expanded_queries").and_then(|e: /* Type */| e.as_array()) { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery_tests.rs:388:21 [INFO] [stdout] | [INFO] [stdout] 388 | assert!(expanded_queries.len() > 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/intelligent_search_tests.rs:450:13 [INFO] [stdout] | [INFO] [stdout] 450 | let response = client.intelligent_search(request).await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 455 | if response.is_ok() { [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 450 | let response: /* Type */ = client.intelligent_search(request).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result<_, _>` [INFO] [stdout] --> tests/file_operations_tests.rs:347:13 [INFO] [stdout] | [INFO] [stdout] 347 | let response = client.get_file_summary( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 355 | assert!(result.get("extractive_summary").is_some()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 347 | let response: Result<_, _> = client.get_file_summary( [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery_tests.rs:392:30 [INFO] [stdout] | [INFO] [stdout] 392 | .filter_map(|q| q.as_str()) [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 392 | .filter_map(|q: /* Type */| q.as_str()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery_tests.rs:408:13 [INFO] [stdout] | [INFO] [stdout] 408 | let response = client.discover("", None, None, None, None, None).await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 409 | assert!(response.is_err(), "Empty query should fail"); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 408 | let response: /* Type */ = client.discover("", None, None, None, None, None).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result<_, _>` [INFO] [stdout] --> tests/file_operations_tests.rs:370:13 [INFO] [stdout] | [INFO] [stdout] 370 | let response = client.get_file_chunks_ordered( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 379 | assert!(result.get("chunks").is_some()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 370 | let response: Result<_, _> = client.get_file_chunks_ordered( [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery_tests.rs:420:13 [INFO] [stdout] | [INFO] [stdout] 420 | let response = client.discover("test", None, None, Some(0), None, None).await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 421 | assert!(response.is_err(), "Invalid max_bullets should fail"); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 420 | let response: /* Type */ = client.discover("test", None, None, Some(0), None, None).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> tests/http_client_tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | 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] error[E0282]: type annotations needed [INFO] [stdout] --> tests/file_operations_tests.rs:402:66 [INFO] [stdout] | [INFO] [stdout] 402 | if let Some(chunks) = result.get("chunks").and_then(|c| c.as_array()) { [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 402 | if let Some(chunks) = result.get("chunks").and_then(|c: /* Type */| c.as_array()) { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/file_operations_tests.rs:403:25 [INFO] [stdout] | [INFO] [stdout] 403 | assert!(chunks.len() <= 10); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery_tests.rs:432:13 [INFO] [stdout] | [INFO] [stdout] 432 | let response = client.filter_collections("", None, None).await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 433 | assert!(response.is_err(), "Empty query should fail"); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 432 | let response: /* Type */ = client.filter_collections("", None, None).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result<_, _>` [INFO] [stdout] --> tests/file_operations_tests.rs:416:13 [INFO] [stdout] | [INFO] [stdout] 416 | let response = client.get_file_chunks_ordered( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 425 | if let Some(chunks) = result.get("chunks").and_then(|c| c.as_array()) { [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 416 | let response: Result<_, _> = client.get_file_chunks_ordered( [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/file_operations_tests.rs:425:66 [INFO] [stdout] | [INFO] [stdout] 425 | if let Some(chunks) = result.get("chunks").and_then(|c| c.as_array()) { [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 425 | if let Some(chunks) = result.get("chunks").and_then(|c: /* Type */| c.as_array()) { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery_tests.rs:444:13 [INFO] [stdout] | [INFO] [stdout] 444 | let response = client.score_collections("test", Some(1.5), None, None).await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 445 | assert!(response.is_err(), "Invalid name_match_weight should fail"); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 444 | let response: /* Type */ = client.score_collections("test", Some(1.5), None, None).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/file_operations_tests.rs:427:29 [INFO] [stdout] | [INFO] [stdout] 427 | assert!(chunk.get("has_prev").is_some()); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> tests/http_client_tests.rs:172:39 [INFO] [stdout] | [INFO] [stdout] 172 | fn returns_vectorizer_result() -> 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] 172 | fn returns_vectorizer_result() -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery_tests.rs:459:13 [INFO] [stdout] | [INFO] [stdout] 459 | let filter_response = client.filter_collections( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 465 | assert!(filter_response.is_ok()); [INFO] [stdout] | --------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `filter_response` an explicit type [INFO] [stdout] | [INFO] [stdout] 459 | let filter_response: /* Type */ = client.filter_collections( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery_tests.rs:468:13 [INFO] [stdout] | [INFO] [stdout] 468 | let score_response = client.score_collections("API documentation", None, None, None).await; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 469 | [INFO] [stdout] 470 | assert!(score_response.is_ok()); [INFO] [stdout] | -------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `score_response` an explicit type [INFO] [stdout] | [INFO] [stdout] 468 | let score_response: /* Type */ = client.score_collections("API documentation", None, None, None).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery_tests.rs:482:13 [INFO] [stdout] | [INFO] [stdout] 482 | let expand_response = client.expand_queries("database optimization", Some(5), None, None, None).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 483 | [INFO] [stdout] 484 | assert!(expand_response.is_ok()); [INFO] [stdout] | --------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `expand_response` an explicit type [INFO] [stdout] | [INFO] [stdout] 482 | let expand_response: /* Type */ = client.expand_queries("database optimization", Some(5), None, None, None).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery_tests.rs:487:24 [INFO] [stdout] | [INFO] [stdout] 487 | .and_then(|e| e.as_array()) [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 487 | .and_then(|e: /* Type */| e.as_array()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery_tests.rs:488:24 [INFO] [stdout] | [INFO] [stdout] 488 | .and_then(|a| a.first()) [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 488 | .and_then(|a: /* Type */| a.first()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery_tests.rs:489:24 [INFO] [stdout] | [INFO] [stdout] 489 | .and_then(|q| q.as_str()) [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 489 | .and_then(|q: /* Type */| q.as_str()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery_tests.rs:494:13 [INFO] [stdout] | [INFO] [stdout] 494 | let discover_response = client.discover( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 503 | assert!(discover_response.is_ok()); [INFO] [stdout] | ----------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `discover_response` an explicit type [INFO] [stdout] | [INFO] [stdout] 494 | let discover_response: /* Type */ = client.discover( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result<_, _>` [INFO] [stdout] --> tests/file_operations_tests.rs:479:13 [INFO] [stdout] | [INFO] [stdout] 479 | let response = client.get_project_outline(TEST_COLLECTION, None, None, None).await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 482 | assert!(result.get("structure").is_some()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 479 | let response: Result<_, _> = client.get_project_outline(TEST_COLLECTION, None, None, None).await; [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result<_, _>` [INFO] [stdout] --> tests/file_operations_tests.rs:495:13 [INFO] [stdout] | [INFO] [stdout] 495 | let response = client.get_project_outline(TEST_COLLECTION, None, None, Some(true)).await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 498 | assert!(result.get("key_files").is_some()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 495 | let response: Result<_, _> = client.get_project_outline(TEST_COLLECTION, None, None, Some(true)).await; [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery_tests.rs:532:13 [INFO] [stdout] | [INFO] [stdout] 532 | let response = client.score_collections("test", None, None, None).await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 533 | [INFO] [stdout] 534 | assert!(response.is_ok()); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 532 | let response: /* Type */ = client.score_collections("test", None, None, None).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result<_, _>` [INFO] [stdout] --> tests/file_operations_tests.rs:512:13 [INFO] [stdout] | [INFO] [stdout] 512 | let response = client.get_related_files( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 521 | assert!(result.get("related_files").is_some()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 512 | let response: Result<_, _> = client.get_related_files( [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result<_, _>` [INFO] [stdout] --> tests/file_operations_tests.rs:533:13 [INFO] [stdout] | [INFO] [stdout] 533 | let response = client.get_related_files( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 542 | if let Some(related_files) = result.get("related_files").and_then(|f| f.as_array()) { [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 533 | let response: Result<_, _> = client.get_related_files( [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/file_operations_tests.rs:542:80 [INFO] [stdout] | [INFO] [stdout] 542 | if let Some(related_files) = result.get("related_files").and_then(|f| f.as_array()) { [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 542 | if let Some(related_files) = result.get("related_files").and_then(|f: /* Type */| f.as_array()) { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/file_operations_tests.rs:543:25 [INFO] [stdout] | [INFO] [stdout] 543 | assert!(related_files.len() <= 5); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result<_, _>` [INFO] [stdout] --> tests/file_operations_tests.rs:556:13 [INFO] [stdout] | [INFO] [stdout] 556 | let response = client.get_related_files( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 565 | if let Some(related_files) = result.get("related_files").and_then(|f| f.as_array()) { [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 556 | let response: Result<_, _> = client.get_related_files( [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/file_operations_tests.rs:565:80 [INFO] [stdout] | [INFO] [stdout] 565 | if let Some(related_files) = result.get("related_files").and_then(|f| f.as_array()) { [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 565 | if let Some(related_files) = result.get("related_files").and_then(|f: /* Type */| f.as_array()) { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `vectorizer-sdk` (test "intelligent_search_tests") due to 7 previous errors [INFO] [stdout] error[E0282]: type annotations needed for `Result<_, _>` [INFO] [stdout] --> tests/file_operations_tests.rs:582:13 [INFO] [stdout] | [INFO] [stdout] 582 | let response = client.get_related_files( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 591 | if let Some(related_files) = result.get("related_files").and_then(|f| f.as_array()) { [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 582 | let response: Result<_, _> = client.get_related_files( [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/file_operations_tests.rs:591:80 [INFO] [stdout] | [INFO] [stdout] 591 | if let Some(related_files) = result.get("related_files").and_then(|f| f.as_array()) { [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 591 | if let Some(related_files) = result.get("related_files").and_then(|f: /* Type */| f.as_array()) { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/file_operations_tests.rs:593:29 [INFO] [stdout] | [INFO] [stdout] 593 | assert!(file.get("reason").is_some()); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result<_, _>` [INFO] [stdout] --> tests/file_operations_tests.rs:609:13 [INFO] [stdout] | [INFO] [stdout] 609 | let response = client.search_by_file_type( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 618 | if let Some(results) = result.get("results").and_then(|r| r.as_array()) { [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 609 | let response: Result<_, _> = client.search_by_file_type( [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/file_operations_tests.rs:618:68 [INFO] [stdout] | [INFO] [stdout] 618 | if let Some(results) = result.get("results").and_then(|r| r.as_array()) { [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 618 | if let Some(results) = result.get("results").and_then(|r: /* Type */| r.as_array()) { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/file_operations_tests.rs:619:25 [INFO] [stdout] | [INFO] [stdout] 619 | assert!(results.len() <= 10); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result<_, _>` [INFO] [stdout] --> tests/file_operations_tests.rs:632:13 [INFO] [stdout] | [INFO] [stdout] 632 | let response = client.search_by_file_type( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 641 | assert!(result.get("results").is_some()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 632 | let response: Result<_, _> = client.search_by_file_type( [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/file_operations_tests.rs:655:13 [INFO] [stdout] | [INFO] [stdout] 655 | let response = client.get_file_content("non-existent-collection", "README.md", None).await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 656 | assert!(response.is_err(), "Invalid collection should fail"); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 655 | let response: /* Type */ = client.get_file_content("non-existent-collection", "README.md", None).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/file_operations_tests.rs:667:13 [INFO] [stdout] | [INFO] [stdout] 667 | let response = client.get_file_content(TEST_COLLECTION, "README.md", Some(0)).await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 668 | assert!(response.is_err(), "Invalid max_size_kb should fail"); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 667 | let response: /* Type */ = client.get_file_content(TEST_COLLECTION, "README.md", Some(0)).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/file_operations_tests.rs:679:13 [INFO] [stdout] | [INFO] [stdout] 679 | let response = client.search_by_file_type(TEST_COLLECTION, "test", vec![], None, None).await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 680 | assert!(response.is_err(), "Empty file types should fail"); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 679 | let response: /* Type */ = client.search_by_file_type(TEST_COLLECTION, "test", vec![], None, None).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_tests.rs:417:9 [INFO] [stdout] | [INFO] [stdout] 417 | let create_result = client.create_collection(&collection_name, 384, None).await; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 418 | if create_result.is_err() { [INFO] [stdout] | ------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `create_result` an explicit type [INFO] [stdout] | [INFO] [stdout] 417 | let create_result: /* Type */ = client.create_collection(&collection_name, 384, None).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `vectorizer-sdk` (test "discovery_tests") due to 56 previous errors [INFO] [stdout] Some errors have detailed explanations: E0107, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::Error as ReqwestError` [INFO] [stdout] --> tests/error_tests.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | 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] [stderr] error: could not compile `vectorizer-sdk` (test "http_client_tests") due to 2 previous errors; 1 warning emitted [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> tests/error_tests.rs:314:28 [INFO] [stdout] | [INFO] [stdout] 314 | fn returns_result() -> 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] 314 | fn returns_result() -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `vectorizer-sdk` (test "file_operations_tests") due to 54 previous errors [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `vectorizer-sdk` (test "integration_tests") due to 13 previous errors [INFO] [stdout] Some errors have detailed explanations: E0107, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `vectorizer-sdk` (test "error_tests") due to 2 previous errors; 1 warning emitted [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> tests/validation_tests.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | let result: Result> = utils::serialization::from_json(invalid_json); [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] 135 | let result: Result, E> = utils::serialization::from_json(invalid_json); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `vectorizer-sdk` (test "validation_tests") due to 2 previous errors [INFO] [stdout] warning: unused variable: `host` [INFO] [stdout] --> src/transport.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | let (host, port) = if authority.contains(':') { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_host` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/transport.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 70 | let (host, port) = if authority.contains(':') { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c51c6bfc013e36b4acea131d837727a9a215576d61e1b0ed2d2a227a034e9b1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c51c6bfc013e36b4acea131d837727a9a215576d61e1b0ed2d2a227a034e9b1b", kill_on_drop: false }` [INFO] [stdout] c51c6bfc013e36b4acea131d837727a9a215576d61e1b0ed2d2a227a034e9b1b