[INFO] fetching crate ai-chain-qdrant 0.14.2... [INFO] testing ai-chain-qdrant-0.14.2 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate ai-chain-qdrant 0.14.2 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate ai-chain-qdrant 0.14.2 [INFO] finished tweaking crates.io crate ai-chain-qdrant 0.14.2 [INFO] tweaked toml for crates.io crate ai-chain-qdrant 0.14.2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ai-chain-qdrant 0.14.2 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ai-chain-qdrant 0.14.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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pest_derive v2.7.10 [INFO] [stderr] Downloaded slug v0.1.5 [INFO] [stderr] Downloaded derive_builder_macro v0.12.0 [INFO] [stderr] Downloaded rustls-native-certs v0.7.0 [INFO] [stderr] Downloaded hashring v0.3.4 [INFO] [stderr] Downloaded protobuf-support v3.2.0 [INFO] [stderr] Downloaded daggy v0.8.0 [INFO] [stderr] Downloaded either v1.12.0 [INFO] [stderr] Downloaded jwt v0.16.0 [INFO] [stderr] Downloaded derive_builder v0.12.0 [INFO] [stderr] Downloaded unicode-id v0.3.4 [INFO] [stderr] Downloaded derive_builder_core v0.12.0 [INFO] [stderr] Downloaded qdrant-client v1.9.0 [INFO] [stderr] Downloaded parse-zoneinfo v0.3.1 [INFO] [stderr] Downloaded pest v2.7.10 [INFO] [stderr] Downloaded tera v1.19.1 [INFO] [stderr] Downloaded coerce v0.8.11 [INFO] [stderr] Downloaded deunicode v1.6.0 [INFO] [stderr] Downloaded protobuf v3.2.0 [INFO] [stderr] Downloaded markdown v1.0.0-alpha.17 [INFO] [stderr] Downloaded ignore v0.4.22 [INFO] [stderr] Downloaded pest_meta v2.7.10 [INFO] [stderr] Downloaded ai-chain v0.14.2 [INFO] [stderr] Downloaded humansize v2.1.3 [INFO] [stderr] Downloaded chrono-tz-build v0.2.1 [INFO] [stderr] Downloaded pest_generator v2.7.10 [INFO] [stderr] Downloaded valuable-derive v0.1.0 [INFO] [stderr] Downloaded tonic v0.11.0 [INFO] [stderr] Downloaded bstr v1.9.1 [INFO] [stderr] Downloaded chrono-tz v0.8.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f5f71dbd85034ecbfe623802ce441ce375404c575824746bfb87f362862e307e [INFO] running `Command { std: "docker" "start" "-a" "f5f71dbd85034ecbfe623802ce441ce375404c575824746bfb87f362862e307e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f5f71dbd85034ecbfe623802ce441ce375404c575824746bfb87f362862e307e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5f71dbd85034ecbfe623802ce441ce375404c575824746bfb87f362862e307e", kill_on_drop: false }` [INFO] [stdout] f5f71dbd85034ecbfe623802ce441ce375404c575824746bfb87f362862e307e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3b74d91921c764c0985d9b5ccee131a8e3351677db586886e8742e8563d5659 [INFO] running `Command { std: "docker" "start" "-a" "d3b74d91921c764c0985d9b5ccee131a8e3351677db586886e8742e8563d5659", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.83 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling miniz_oxide v0.7.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.65 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling zerocopy v0.7.34 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling rust-embed-utils v7.8.1 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling shellexpand v2.1.2 [INFO] [stderr] Compiling raw-cpuid v10.7.0 [INFO] [stderr] Compiling bstr v1.9.1 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling hashbrown v0.13.1 [INFO] [stderr] Compiling ordered-float v3.9.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling protobuf v3.2.0 [INFO] [stderr] Compiling valuable v0.1.0 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling quanta v0.11.1 [INFO] [stderr] Compiling sketches-ddsketch v0.2.2 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling deunicode v1.6.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling rustls-native-certs v0.7.0 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling webpki-roots v0.26.1 [INFO] [stderr] Compiling hashring v0.3.4 [INFO] [stderr] Compiling chrono-tz-build v0.2.1 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling slug v0.1.5 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling globset v0.4.14 [INFO] [stderr] Compiling unicode-id v0.3.4 [INFO] [stderr] Compiling markdown v1.0.0-alpha.17 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Compiling rustls-webpki v0.102.4 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling utoipa-swagger-ui v3.1.5 [INFO] [stderr] Compiling chrono-tz v0.8.6 [INFO] [stderr] Compiling ignore v0.4.22 [INFO] [stderr] Compiling valuable-derive v0.1.0 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling metrics-macros v0.7.1 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling rust-embed-impl v6.8.1 [INFO] [stderr] Compiling utoipa-gen v3.5.0 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling metrics v0.21.1 [INFO] [stderr] Compiling rust-embed v6.8.1 [INFO] [stderr] Compiling metrics-util v0.15.1 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Compiling globwalk v0.8.1 [INFO] [stderr] Compiling pest v2.7.10 [INFO] [stderr] Compiling protobuf-support v3.2.0 [INFO] [stderr] Compiling derive_builder v0.12.0 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling prost v0.12.6 [INFO] [stderr] Compiling pest_meta v2.7.10 [INFO] [stderr] Compiling prost-types v0.12.6 [INFO] [stderr] Compiling pest_generator v2.7.10 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling pest_derive v2.7.10 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling uuid v1.8.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling utoipa v3.5.0 [INFO] [stderr] Compiling jwt v0.16.0 [INFO] [stderr] Compiling daggy v0.8.0 [INFO] [stderr] Compiling tera v1.19.1 [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling hyper-util v0.1.3 [INFO] [stderr] Compiling hyper-rustls v0.26.0 [INFO] [stderr] Compiling reqwest v0.12.4 [INFO] [stderr] Compiling metrics-exporter-prometheus v0.12.2 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling tonic v0.11.0 [INFO] [stderr] Compiling coerce v0.8.11 [INFO] [stderr] Compiling qdrant-client v1.9.0 [INFO] [stderr] Compiling ai-chain v0.14.2 [INFO] [stderr] Compiling ai-chain-qdrant v0.14.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 32s [INFO] running `Command { std: "docker" "inspect" "d3b74d91921c764c0985d9b5ccee131a8e3351677db586886e8742e8563d5659", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3b74d91921c764c0985d9b5ccee131a8e3351677db586886e8742e8563d5659", kill_on_drop: false }` [INFO] [stdout] d3b74d91921c764c0985d9b5ccee131a8e3351677db586886e8742e8563d5659 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0d276774c67ec659985c2cb139ea8d0bec2834a7a4b10aec971fe6d995499ce [INFO] running `Command { std: "docker" "start" "-a" "c0d276774c67ec659985c2cb139ea8d0bec2834a7a4b10aec971fe6d995499ce", kill_on_drop: false }` [INFO] [stderr] Compiling ai-chain-qdrant v0.14.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ai_chain_openai` [INFO] [stdout] --> examples/similarity_search_qdrant.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use ai_chain_openai::embeddings::Embeddings; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ai_chain_openai` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 7 - use ai_chain_openai::embeddings::Embeddings; [INFO] [stdout] 7 + use ai_chain_qdrant::embeddings::Embeddings; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ai_chain_openai` [INFO] [stdout] --> examples/vectorstore_tool_invocation.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use ai_chain_openai::embeddings::{Embeddings, OpenAIEmbeddingsError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ai_chain_openai` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 18 - use ai_chain_openai::embeddings::{Embeddings, OpenAIEmbeddingsError}; [INFO] [stdout] 18 + use ai_chain_qdrant::embeddings::{Embeddings, OpenAIEmbeddingsError}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ai_chain_openai` [INFO] [stdout] --> examples/similarity_search_qdrant.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | let embeddings = ai_chain_openai::embeddings::Embeddings::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ai_chain_openai` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 47 - let embeddings = ai_chain_openai::embeddings::Embeddings::default(); [INFO] [stdout] 47 + let embeddings = ai_chain_qdrant::embeddings::Embeddings::default(); [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use ai_chain::traits::Embeddings; [INFO] [stdout] | [INFO] [stdout] help: if you import `Embeddings`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 47 - let embeddings = ai_chain_openai::embeddings::Embeddings::default(); [INFO] [stdout] 47 + let embeddings = Embeddings::default(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ai_chain_openai` [INFO] [stdout] --> examples/vectorstore_tool_invocation.rs:81:27 [INFO] [stdout] | [INFO] [stdout] 81 | let qdrant = Qdrant::::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ai_chain_openai` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 81 - let qdrant = Qdrant::::new( [INFO] [stdout] 81 + let qdrant = Qdrant::::new( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ai_chain_openai` [INFO] [stdout] --> examples/qdrant_vectorstore.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 47 | let qdrant: Qdrant = Qdrant::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ai_chain_openai` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 47 - let qdrant: Qdrant = Qdrant::new( [INFO] [stdout] 47 + let qdrant: Qdrant = Qdrant::new( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ai_chain_openai` [INFO] [stdout] --> examples/qdrant_vectorstore.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | let embeddings = ai_chain_openai::embeddings::Embeddings::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ai_chain_openai` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 44 - let embeddings = ai_chain_openai::embeddings::Embeddings::default(); [INFO] [stdout] 44 + let embeddings = ai_chain_qdrant::embeddings::Embeddings::default(); [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use ai_chain::traits::Embeddings; [INFO] [stdout] | [INFO] [stdout] help: if you import `Embeddings`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 44 - let embeddings = ai_chain_openai::embeddings::Embeddings::default(); [INFO] [stdout] 44 + let embeddings = Embeddings::default(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ai_chain_openai` [INFO] [stdout] --> examples/vectorstore_tool_invocation.rs:79:22 [INFO] [stdout] | [INFO] [stdout] 79 | let embeddings = ai_chain_openai::embeddings::Embeddings::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ai_chain_openai` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 79 - let embeddings = ai_chain_openai::embeddings::Embeddings::default(); [INFO] [stdout] 79 + let embeddings = ai_chain_qdrant::embeddings::Embeddings::default(); [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use ai_chain::traits::Embeddings; [INFO] [stdout] | [INFO] [stdout] help: if you import `Embeddings`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 79 - let embeddings = ai_chain_openai::embeddings::Embeddings::default(); [INFO] [stdout] 79 + let embeddings = Embeddings::default(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ai_chain_openai` [INFO] [stdout] --> examples/vectorstore_tool_invocation.rs:123:16 [INFO] [stdout] | [INFO] [stdout] 123 | let exec = executor!().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `ai_chain_openai` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `executor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ai-chain-0.14.2/src/executor.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 - ai_chain_openai::chatgpt::Executor::new() [INFO] [stdout] 53 + ai_chain_qdrant::chatgpt::Executor::new() [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use ai_chain::traits::Executor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `qdrant_client::client::QdrantClient::has_collection`: Please use `collection_exists` instead [INFO] [stdout] --> examples/similarity_search_qdrant.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | .has_collection(collection_name.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `qdrant_client::client::QdrantClient::has_collection`: Please use `collection_exists` instead [INFO] [stdout] --> examples/qdrant_vectorstore.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | .has_collection(collection_name.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `datatype` in initializer of `VectorParams` [INFO] [stdout] --> examples/similarity_search_qdrant.rs:32:25 [INFO] [stdout] | [INFO] [stdout] 32 | VectorParams { [INFO] [stdout] | ^^^^^^^^^^^^ missing `datatype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/qdrant_vectorstore.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | let doc_ids = qdrant [INFO] [stdout] | ___________________^ [INFO] [stdout] 56 | | .add_texts(vec![ [INFO] [stdout] 57 | | "This is an amazing way of writing LLM-powered applications".to_string(), [INFO] [stdout] 58 | | ]) [INFO] [stdout] 59 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/qdrant_vectorstore.rs:68:39 [INFO] [stdout] | [INFO] [stdout] 68 | &doc_ids.into_iter().map(|id| id.into()).collect::>(), [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] 68 | &doc_ids.into_iter().map(|id: /* Type */| id.into()).collect::>(), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/similarity_search_qdrant.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 67 | let doc_ids = qdrant [INFO] [stdout] | ___________________^ [INFO] [stdout] 68 | | .add_documents( [INFO] [stdout] 69 | | vec![ [INFO] [stdout] 70 | | doc_dog_definition, [INFO] [stdout] ... | [INFO] [stdout] 78 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/similarity_search_qdrant.rs:83:20 [INFO] [stdout] | [INFO] [stdout] 83 | let response = qdrant [INFO] [stdout] | ____________________^ [INFO] [stdout] 84 | | .similarity_search( [INFO] [stdout] 85 | | "Sound engineering is involved with concerts and music events".to_string(), [INFO] [stdout] 86 | | 1, [INFO] [stdout] 87 | | ) [INFO] [stdout] 88 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stderr] error: could not compile `ai-chain-qdrant` (example "similarity_search_qdrant") due to 5 previous errors; 1 warning emitted [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: use of deprecated method `qdrant_client::client::QdrantClient::has_collection`: Please use `collection_exists` instead [INFO] [stdout] --> examples/vectorstore_tool_invocation.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | .has_collection(collection_name.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `datatype` in initializer of `VectorParams` [INFO] [stdout] --> examples/vectorstore_tool_invocation.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 64 | VectorParams { [INFO] [stdout] | ^^^^^^^^^^^^ missing `datatype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ai-chain-qdrant` (example "qdrant_vectorstore") due to 4 previous errors; 1 warning emitted [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/vectorstore_tool_invocation.rs:98:19 [INFO] [stdout] | [INFO] [stdout] 98 | let doc_ids = qdrant [INFO] [stdout] | ___________________^ [INFO] [stdout] 99 | | .add_documents( [INFO] [stdout] 100 | | vec![ [INFO] [stdout] 101 | | doc_dog_definition, [INFO] [stdout] ... | [INFO] [stdout] 109 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/vectorstore_tool_invocation.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / multitool!( [INFO] [stdout] 33 | | Multitool, [INFO] [stdout] 34 | | MultitoolInput, [INFO] [stdout] 35 | | MultitoolOutput, [INFO] [stdout] ... | [INFO] [stdout] 44 | | BashToolError [INFO] [stdout] 45 | | ); [INFO] [stdout] | |_^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `multitool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/vectorstore_tool_invocation.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / multitool!( [INFO] [stdout] 33 | | Multitool, [INFO] [stdout] 34 | | MultitoolInput, [INFO] [stdout] 35 | | MultitoolOutput, [INFO] [stdout] ... | [INFO] [stdout] 44 | | BashToolError [INFO] [stdout] 45 | | ); [INFO] [stdout] | |_^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `multitool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/vectorstore_tool_invocation.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / multitool!( [INFO] [stdout] 33 | | Multitool, [INFO] [stdout] 34 | | MultitoolInput, [INFO] [stdout] 35 | | MultitoolOutput, [INFO] [stdout] ... | [INFO] [stdout] 44 | | BashToolError [INFO] [stdout] 45 | | ); [INFO] [stdout] | |_^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `multitool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/vectorstore_tool_invocation.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / multitool!( [INFO] [stdout] 33 | | Multitool, [INFO] [stdout] 34 | | MultitoolInput, [INFO] [stdout] 35 | | MultitoolOutput, [INFO] [stdout] ... | [INFO] [stdout] 44 | | BashToolError [INFO] [stdout] 45 | | ); [INFO] [stdout] | |_^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `multitool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ai-chain-qdrant` (example "vectorstore_tool_invocation") due to 10 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "c0d276774c67ec659985c2cb139ea8d0bec2834a7a4b10aec971fe6d995499ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0d276774c67ec659985c2cb139ea8d0bec2834a7a4b10aec971fe6d995499ce", kill_on_drop: false }` [INFO] [stdout] c0d276774c67ec659985c2cb139ea8d0bec2834a7a4b10aec971fe6d995499ce