[INFO] fetching crate rgenai 0.1.1... [INFO] testing rgenai-0.1.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate rgenai 0.1.1 into /workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rgenai 0.1.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded aws-types v1.3.7 [INFO] [stderr] Downloaded postgres-types v0.2.9 [INFO] [stderr] Downloaded deadpool-postgres v0.11.0 [INFO] [stderr] Downloaded pgvector v0.3.4 [INFO] [stderr] Downloaded postgres-protocol v0.6.8 [INFO] [stderr] Downloaded whoami v1.6.0 [INFO] [stderr] Downloaded aws-smithy-json v0.61.3 [INFO] [stderr] Downloaded aws-smithy-eventstream v0.60.8 [INFO] [stderr] Downloaded libloading v0.8.7 [INFO] [stderr] Downloaded aws-sigv4 v1.3.2 [INFO] [stderr] Downloaded aws-sdk-sso v1.70.0 [INFO] [stderr] Downloaded aws-sdk-ssooidc v1.71.0 [INFO] [stderr] Downloaded hyper-util v0.1.12 [INFO] [stderr] Downloaded aws-sdk-sts v1.71.0 [INFO] [stderr] Downloaded aws-config v1.6.3 [INFO] [stderr] Downloaded aws-smithy-http-client v1.0.2 [INFO] [stderr] Downloaded aws-smithy-runtime v1.8.3 [INFO] [stderr] Downloaded aws-sdk-bedrockruntime v1.91.0 [INFO] [stderr] Downloaded aws-lc-rs v1.13.1 [INFO] [stderr] Downloaded aws-smithy-runtime-api v1.8.0 [INFO] [stderr] Downloaded aws-smithy-types v1.3.1 [INFO] [stderr] Downloaded aws-runtime v1.5.7 [INFO] [stderr] Downloaded tokio-postgres v0.7.13 [INFO] [stderr] Downloaded deadpool v0.10.0 [INFO] [stderr] Downloaded aws-smithy-http v0.62.1 [INFO] [stderr] Downloaded aws-credential-types v1.2.3 [INFO] [stderr] Downloaded brotli v8.0.1 [INFO] [stderr] Downloaded aws-lc-sys v0.29.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d2ec46dc898ec77a0d195d8d3763449694d006b3ba72cffc1f4968085e6f1ad9 [INFO] running `Command { std: "docker" "start" "-a" "d2ec46dc898ec77a0d195d8d3763449694d006b3ba72cffc1f4968085e6f1ad9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2ec46dc898ec77a0d195d8d3763449694d006b3ba72cffc1f4968085e6f1ad9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2ec46dc898ec77a0d195d8d3763449694d006b3ba72cffc1f4968085e6f1ad9", kill_on_drop: false }` [INFO] [stdout] d2ec46dc898ec77a0d195d8d3763449694d006b3ba72cffc1f4968085e6f1ad9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7c1973d357e450d064995f29adc149efbfeb72f979118b0b947f22a150817dd [INFO] running `Command { std: "docker" "start" "-a" "a7c1973d357e450d064995f29adc149efbfeb72f979118b0b947f22a150817dd", kill_on_drop: false }` [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling bytes-utils v0.1.4 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling aws-lc-rs v1.13.1 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling rustls v0.23.27 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling cc v1.2.23 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling aws-types v1.3.7 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling xmlparser v0.13.6 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling aws-smithy-xml v0.60.9 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling cmake v0.1.54 [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 futures-executor v0.3.31 [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 futures v0.3.31 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [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 icu_provider v2.0.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling aws-smithy-async v1.2.5 [INFO] [stderr] Compiling tokio-stream v0.1.17 [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 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 tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [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 aws-sigv4 v1.3.2 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-util v0.1.12 [INFO] [stderr] Compiling rustls-webpki v0.103.3 [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-sts v1.71.0 [INFO] [stderr] Compiling aws-sdk-ssooidc v1.71.0 [INFO] [stderr] Compiling aws-sdk-sso v1.70.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)]` 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)]` 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)]` 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" "a7c1973d357e450d064995f29adc149efbfeb72f979118b0b947f22a150817dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7c1973d357e450d064995f29adc149efbfeb72f979118b0b947f22a150817dd", kill_on_drop: false }` [INFO] [stdout] a7c1973d357e450d064995f29adc149efbfeb72f979118b0b947f22a150817dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19769a7c41c8897be7bd7aee2ff12cebf7132474e8ec796180b7fe79a64532e6 [INFO] running `Command { std: "docker" "start" "-a" "19769a7c41c8897be7bd7aee2ff12cebf7132474e8ec796180b7fe79a64532e6", 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)]` 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)]` 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] [stderr] Compiling rgenai v0.1.1 (/opt/rustwide/workdir) [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)]` 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)]` 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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.09s [INFO] running `Command { std: "docker" "inspect" "19769a7c41c8897be7bd7aee2ff12cebf7132474e8ec796180b7fe79a64532e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19769a7c41c8897be7bd7aee2ff12cebf7132474e8ec796180b7fe79a64532e6", kill_on_drop: false }` [INFO] [stdout] 19769a7c41c8897be7bd7aee2ff12cebf7132474e8ec796180b7fe79a64532e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0eb096113d4b946c5334b18f5b57d1108e1f7e73eb0d8193fc9a80110a25eb02 [INFO] running `Command { std: "docker" "start" "-a" "0eb096113d4b946c5334b18f5b57d1108e1f7e73eb0d8193fc9a80110a25eb02", kill_on_drop: false }` [INFO] [stderr] 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] [stderr] --> src/bedrock/mod.rs:31:25 [INFO] [stderr] | [INFO] [stderr] 31 | aws_config::from_env() [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/bedrock/mod.rs:47:25 [INFO] [stderr] | [INFO] [stderr] 47 | aws_config::load_from_env().await [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/storage/mod.rs:76:9 [INFO] [stderr] | [INFO] [stderr] 38 | / return Err(crate::error::BedrockError::ConfigError( [INFO] [stderr] 39 | | "PostgreSQL feature not enabled".into(), [INFO] [stderr] 40 | | )); [INFO] [stderr] | |__________________- any code following this expression is unreachable [INFO] [stderr] ... [INFO] [stderr] 76 | Ok(Self { backend }) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `backend` [INFO] [stderr] --> src/storage/mod.rs:28:13 [INFO] [stderr] | [INFO] [stderr] 28 | let backend: Arc = if config.use_psql { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_backend` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `namespace` [INFO] [stderr] --> src/storage/pinecone.rs:459:9 [INFO] [stderr] | [INFO] [stderr] 459 | namespace: Option<&str>, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `limit` [INFO] [stderr] --> src/storage/pinecone.rs:460:9 [INFO] [stderr] | [INFO] [stderr] 460 | limit: Option, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `namespace` [INFO] [stderr] --> src/storage/pinecone.rs:470:27 [INFO] [stderr] | [INFO] [stderr] 470 | async fn stats(&self, namespace: Option<&str>) -> Result { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stderr] [INFO] [stderr] warning: fields `environment` and `index_name` are never read [INFO] [stderr] --> src/storage/pinecone.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 19 | pub struct PineconeVectorStorage { [INFO] [stderr] | --------------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 22 | environment: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 23 | index_name: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `rgenai` (lib) generated 8 warnings [INFO] [stderr] warning: `rgenai` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.44s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rgenai-623cb2be58bbd35c) [INFO] [stdout] running 3 tests [INFO] [stdout] test logger::tests::test_logger_initialization ... ok [INFO] [stdout] test logger::tests::test_log_levels ... ok [INFO] [stdout] test logger::tests::test_logger_config ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests rgenai [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0eb096113d4b946c5334b18f5b57d1108e1f7e73eb0d8193fc9a80110a25eb02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0eb096113d4b946c5334b18f5b57d1108e1f7e73eb0d8193fc9a80110a25eb02", kill_on_drop: false }` [INFO] [stdout] 0eb096113d4b946c5334b18f5b57d1108e1f7e73eb0d8193fc9a80110a25eb02