[INFO] fetching crate rgenai 0.1.1... [INFO] testing rgenai-0.1.1 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate rgenai 0.1.1 into /workspace/builds/worker-1-tc2/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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rgenai 0.1.1 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b45a666452be466108363dcf5cba3fe5e1447121c23d4ce549ae71d1aa68e032 [INFO] running `Command { std: "docker" "start" "-a" "b45a666452be466108363dcf5cba3fe5e1447121c23d4ce549ae71d1aa68e032", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b45a666452be466108363dcf5cba3fe5e1447121c23d4ce549ae71d1aa68e032", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b45a666452be466108363dcf5cba3fe5e1447121c23d4ce549ae71d1aa68e032", kill_on_drop: false }` [INFO] [stdout] b45a666452be466108363dcf5cba3fe5e1447121c23d4ce549ae71d1aa68e032 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d35478b3f80c7e28796a3d0b1418491569e569d0035790b780790115d42b0101 [INFO] running `Command { std: "docker" "start" "-a" "d35478b3f80c7e28796a3d0b1418491569e569d0035790b780790115d42b0101", kill_on_drop: false }` [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling cc v1.2.23 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling vsimd v0.8.0 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling outref v0.5.2 [INFO] [stderr] Compiling bytes-utils v0.1.4 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling base64-simd v0.8.0 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling aws-lc-rs v1.13.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rustls v0.23.27 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [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 hmac v0.12.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling xmlparser v0.13.6 [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 idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling aws-smithy-xml v0.60.9 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling futures v0.3.31 [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 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 rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling aws-smithy-eventstream v0.60.8 [INFO] [stderr] Compiling aws-smithy-json v0.61.3 [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 hyper v0.14.32 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling aws-sigv4 v1.3.2 [INFO] [stderr] Compiling aws-smithy-query v0.60.7 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling hyper-util v0.1.12 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [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 rustls-webpki v0.103.3 [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-sso v1.70.0 [INFO] [stderr] Compiling aws-sdk-ssooidc 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 3m 01s [INFO] running `Command { std: "docker" "inspect" "d35478b3f80c7e28796a3d0b1418491569e569d0035790b780790115d42b0101", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d35478b3f80c7e28796a3d0b1418491569e569d0035790b780790115d42b0101", kill_on_drop: false }` [INFO] [stdout] d35478b3f80c7e28796a3d0b1418491569e569d0035790b780790115d42b0101 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa857014725f098588f0a8dc2dbe9aa68eb6bb62a7b44389ec84f68f860d5a3e [INFO] running `Command { std: "docker" "start" "-a" "fa857014725f098588f0a8dc2dbe9aa68eb6bb62a7b44389ec84f68f860d5a3e", 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] [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] 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 `test` profile [unoptimized + debuginfo] target(s) in 7.39s [INFO] running `Command { std: "docker" "inspect" "fa857014725f098588f0a8dc2dbe9aa68eb6bb62a7b44389ec84f68f860d5a3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa857014725f098588f0a8dc2dbe9aa68eb6bb62a7b44389ec84f68f860d5a3e", kill_on_drop: false }` [INFO] [stdout] fa857014725f098588f0a8dc2dbe9aa68eb6bb62a7b44389ec84f68f860d5a3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f2a6ba3111fb7e9dab5e77b6d90e05c20a823d8562707fecfd15654589bcb9c0 [INFO] running `Command { std: "docker" "start" "-a" "f2a6ba3111fb7e9dab5e77b6d90e05c20a823d8562707fecfd15654589bcb9c0", 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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.37s [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test logger::tests::test_logger_config ... ok [INFO] [stdout] test logger::tests::test_logger_initialization ... ok [INFO] [stdout] test logger::tests::test_log_levels ... 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] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rgenai-623cb2be58bbd35c) [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" "f2a6ba3111fb7e9dab5e77b6d90e05c20a823d8562707fecfd15654589bcb9c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2a6ba3111fb7e9dab5e77b6d90e05c20a823d8562707fecfd15654589bcb9c0", kill_on_drop: false }` [INFO] [stdout] f2a6ba3111fb7e9dab5e77b6d90e05c20a823d8562707fecfd15654589bcb9c0