[INFO] fetching crate rgenai 0.1.1... [INFO] building rgenai-0.1.1 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate rgenai 0.1.1 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate rgenai 0.1.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate rgenai 0.1.1 [INFO] tweaked toml for crates.io crate rgenai 0.1.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rgenai 0.1.1 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rgenai 0.1.1 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hermit-abi v0.5.1 [INFO] [stderr] Downloaded deadpool v0.10.0 [INFO] [stderr] Downloaded deadpool-postgres v0.11.0 [INFO] [stderr] Downloaded aws-smithy-query v0.60.7 [INFO] [stderr] Downloaded tokio-postgres v0.7.13 [INFO] [stderr] Downloaded actix-rt v2.10.0 [INFO] [stderr] Downloaded local-channel v0.1.5 [INFO] [stderr] Downloaded actix-codec v0.5.2 [INFO] [stderr] Downloaded actix-service v2.0.3 [INFO] [stderr] Downloaded aws-sigv4 v1.3.2 [INFO] [stderr] Downloaded aws-sdk-sso v1.70.0 [INFO] [stderr] Downloaded aws-sdk-sts v1.71.0 [INFO] [stderr] Downloaded actix-web v4.11.0 [INFO] [stderr] Downloaded aws-config v1.6.3 [INFO] [stderr] Downloaded brotli v8.0.1 [INFO] [stderr] Downloaded aws-lc-rs v1.13.1 [INFO] [stderr] Downloaded prettyplease v0.2.32 [INFO] [stderr] Downloaded aws-smithy-http-client v1.0.2 [INFO] [stderr] Downloaded aws-smithy-runtime v1.8.3 [INFO] [stderr] Downloaded aws-smithy-runtime-api v1.8.0 [INFO] [stderr] Downloaded aws-smithy-types v1.3.1 [INFO] [stderr] Downloaded aws-sdk-bedrockruntime v1.91.0 [INFO] [stderr] Downloaded aws-smithy-json v0.61.3 [INFO] [stderr] Downloaded libloading v0.8.7 [INFO] [stderr] Downloaded pgvector v0.3.4 [INFO] [stderr] Downloaded impl-more v0.1.9 [INFO] [stderr] Downloaded aws-smithy-observability v0.1.3 [INFO] [stderr] Downloaded aws-credential-types v1.2.3 [INFO] [stderr] Downloaded actix-web-codegen v4.3.0 [INFO] [stderr] Downloaded whoami v1.6.0 [INFO] [stderr] Downloaded actix-server v2.6.0 [INFO] [stderr] Downloaded aws-runtime v1.5.7 [INFO] [stderr] Downloaded aws-types v1.3.7 [INFO] [stderr] Downloaded bytes-utils v0.1.4 [INFO] [stderr] Downloaded actix-http v3.11.0 [INFO] [stderr] Downloaded aws-sdk-ssooidc v1.71.0 [INFO] [stderr] Downloaded actix-macros v0.2.4 [INFO] [stderr] Downloaded actix-router v0.5.3 [INFO] [stderr] Downloaded bytestring v1.4.0 [INFO] [stderr] Downloaded aws-smithy-xml v0.60.9 [INFO] [stderr] Downloaded aws-smithy-eventstream v0.60.8 [INFO] [stderr] Downloaded aws-smithy-async v1.2.5 [INFO] [stderr] Downloaded vsimd v0.8.0 [INFO] [stderr] Downloaded base64-simd v0.8.0 [INFO] [stderr] Downloaded local-waker v0.1.4 [INFO] [stderr] Downloaded aws-smithy-http v0.62.1 [INFO] [stderr] Downloaded outref v0.5.2 [INFO] [stderr] Downloaded cc v1.2.23 [INFO] [stderr] Downloaded brotli-decompressor v5.0.0 [INFO] [stderr] Downloaded aws-lc-sys v0.29.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e79e3c3b45c28df0efb28b68a621f3ee967dfddb48db3be7f5f25ef11f0a982 [INFO] running `Command { std: "docker" "start" "-a" "0e79e3c3b45c28df0efb28b68a621f3ee967dfddb48db3be7f5f25ef11f0a982", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e79e3c3b45c28df0efb28b68a621f3ee967dfddb48db3be7f5f25ef11f0a982", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e79e3c3b45c28df0efb28b68a621f3ee967dfddb48db3be7f5f25ef11f0a982", kill_on_drop: false }` [INFO] [stdout] 0e79e3c3b45c28df0efb28b68a621f3ee967dfddb48db3be7f5f25ef11f0a982 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd233ff28cc473a72d4d44bff39ae58f9e644aa0a28a718c85ae512f3f10d6e0 [INFO] running `Command { std: "docker" "start" "-a" "fd233ff28cc473a72d4d44bff39ae58f9e644aa0a28a718c85ae512f3f10d6e0", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling vsimd v0.8.0 [INFO] [stderr] Compiling outref v0.5.2 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling cc v1.2.23 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling aws-lc-rs v1.13.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling bytes-utils v0.1.4 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling rustls v0.23.27 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling xmlparser v0.13.6 [INFO] [stderr] Compiling base64-simd v0.8.0 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling aws-smithy-xml v0.60.9 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling aws-types v1.3.7 [INFO] [stderr] Compiling aws-lc-sys v0.29.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [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 futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling aws-smithy-async v1.2.5 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling aws-smithy-types v1.3.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling aws-smithy-runtime-api v1.8.0 [INFO] [stderr] Compiling aws-smithy-eventstream v0.60.8 [INFO] [stderr] Compiling aws-smithy-json v0.61.3 [INFO] [stderr] Compiling aws-smithy-query v0.60.7 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling aws-credential-types v1.2.3 [INFO] [stderr] Compiling aws-smithy-http v0.62.1 [INFO] [stderr] Compiling aws-smithy-observability v0.1.3 [INFO] [stderr] Compiling rustls-webpki v0.103.3 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling aws-sigv4 v1.3.2 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.12 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling hyper-rustls v0.27.5 [INFO] [stderr] Compiling aws-smithy-http-client v1.0.2 [INFO] [stderr] Compiling aws-smithy-runtime v1.8.3 [INFO] [stderr] Compiling aws-runtime v1.5.7 [INFO] [stderr] Compiling aws-sdk-ssooidc v1.71.0 [INFO] [stderr] Compiling aws-sdk-sso v1.70.0 [INFO] [stderr] Compiling aws-sdk-sts v1.71.0 [INFO] [stderr] Compiling aws-sdk-bedrockruntime v1.91.0 [INFO] [stderr] Compiling aws-config v1.6.3 [INFO] [stderr] Compiling rgenai v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `aws_config::from_env`: Use the `aws_config::defaults` function. If you don't care about future default behavior changes, you can continue to use this function by enabling the `behavior-version-latest` feature. Doing so will make this deprecation notice go away. [INFO] [stdout] --> src/bedrock/mod.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | aws_config::from_env() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `aws_config::load_from_env`: Use the `aws_config::load_defaults` function. If you don't care about future default behavior changes, you can continue to use this function by enabling the `behavior-version-latest` feature. Doing so will make this deprecation notice go away. [INFO] [stdout] --> src/bedrock/mod.rs:47:25 [INFO] [stdout] | [INFO] [stdout] 47 | aws_config::load_from_env().await [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/storage/mod.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 38 | / return Err(crate::error::BedrockError::ConfigError( [INFO] [stdout] 39 | | "PostgreSQL feature not enabled".into(), [INFO] [stdout] 40 | | )); [INFO] [stdout] | |__________________- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 76 | Ok(Self { backend }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `backend` [INFO] [stdout] --> src/storage/mod.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let backend: Arc = if config.use_psql { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_backend` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> src/storage/pinecone.rs:459:9 [INFO] [stdout] | [INFO] [stdout] 459 | namespace: Option<&str>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> src/storage/pinecone.rs:460:9 [INFO] [stdout] | [INFO] [stdout] 460 | limit: Option, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> src/storage/pinecone.rs:470:27 [INFO] [stdout] | [INFO] [stdout] 470 | async fn stats(&self, namespace: Option<&str>) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `environment` and `index_name` are never read [INFO] [stdout] --> src/storage/pinecone.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct PineconeVectorStorage { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | environment: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 23 | index_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 10s [INFO] running `Command { std: "docker" "inspect" "fd233ff28cc473a72d4d44bff39ae58f9e644aa0a28a718c85ae512f3f10d6e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd233ff28cc473a72d4d44bff39ae58f9e644aa0a28a718c85ae512f3f10d6e0", kill_on_drop: false }` [INFO] [stdout] fd233ff28cc473a72d4d44bff39ae58f9e644aa0a28a718c85ae512f3f10d6e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55107c52e84fdcef9a28ca489ceeec7742f7cbab6b8c827f5723304085a6e7fc [INFO] running `Command { std: "docker" "start" "-a" "55107c52e84fdcef9a28ca489ceeec7742f7cbab6b8c827f5723304085a6e7fc", kill_on_drop: false }` [INFO] [stdout] warning: use of deprecated function `aws_config::from_env`: Use the `aws_config::defaults` function. If you don't care about future default behavior changes, you can continue to use this function by enabling the `behavior-version-latest` feature. Doing so will make this deprecation notice go away. [INFO] [stdout] --> src/bedrock/mod.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | aws_config::from_env() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `aws_config::load_from_env`: Use the `aws_config::load_defaults` function. If you don't care about future default behavior changes, you can continue to use this function by enabling the `behavior-version-latest` feature. Doing so will make this deprecation notice go away. [INFO] [stdout] --> src/bedrock/mod.rs:47:25 [INFO] [stdout] | [INFO] [stdout] 47 | aws_config::load_from_env().await [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/storage/mod.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 38 | / return Err(crate::error::BedrockError::ConfigError( [INFO] [stdout] 39 | | "PostgreSQL feature not enabled".into(), [INFO] [stdout] 40 | | )); [INFO] [stdout] | |__________________- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 76 | Ok(Self { backend }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `backend` [INFO] [stdout] --> src/storage/mod.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let backend: Arc = if config.use_psql { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_backend` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rgenai v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> src/storage/pinecone.rs:459:9 [INFO] [stdout] | [INFO] [stdout] 459 | namespace: Option<&str>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> src/storage/pinecone.rs:460:9 [INFO] [stdout] | [INFO] [stdout] 460 | limit: Option, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> src/storage/pinecone.rs:470:27 [INFO] [stdout] | [INFO] [stdout] 470 | async fn stats(&self, namespace: Option<&str>) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `environment` and `index_name` are never read [INFO] [stdout] --> src/storage/pinecone.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct PineconeVectorStorage { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | environment: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 23 | index_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `aws_config::from_env`: Use the `aws_config::defaults` function. If you don't care about future default behavior changes, you can continue to use this function by enabling the `behavior-version-latest` feature. Doing so will make this deprecation notice go away. [INFO] [stdout] --> src/bedrock/mod.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | aws_config::from_env() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `aws_config::load_from_env`: Use the `aws_config::load_defaults` function. If you don't care about future default behavior changes, you can continue to use this function by enabling the `behavior-version-latest` feature. Doing so will make this deprecation notice go away. [INFO] [stdout] --> src/bedrock/mod.rs:47:25 [INFO] [stdout] | [INFO] [stdout] 47 | aws_config::load_from_env().await [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/storage/mod.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 38 | / return Err(crate::error::BedrockError::ConfigError( [INFO] [stdout] 39 | | "PostgreSQL feature not enabled".into(), [INFO] [stdout] 40 | | )); [INFO] [stdout] | |__________________- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 76 | Ok(Self { backend }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `backend` [INFO] [stdout] --> src/storage/mod.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let backend: Arc = if config.use_psql { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_backend` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> src/storage/pinecone.rs:459:9 [INFO] [stdout] | [INFO] [stdout] 459 | namespace: Option<&str>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> src/storage/pinecone.rs:460:9 [INFO] [stdout] | [INFO] [stdout] 460 | limit: Option, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> src/storage/pinecone.rs:470:27 [INFO] [stdout] | [INFO] [stdout] 470 | async fn stats(&self, namespace: Option<&str>) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `environment` and `index_name` are never read [INFO] [stdout] --> src/storage/pinecone.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct PineconeVectorStorage { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | environment: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 23 | index_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.21s [INFO] running `Command { std: "docker" "inspect" "55107c52e84fdcef9a28ca489ceeec7742f7cbab6b8c827f5723304085a6e7fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55107c52e84fdcef9a28ca489ceeec7742f7cbab6b8c827f5723304085a6e7fc", kill_on_drop: false }` [INFO] [stdout] 55107c52e84fdcef9a28ca489ceeec7742f7cbab6b8c827f5723304085a6e7fc