[INFO] fetching crate ubiquity-database 0.1.1... [INFO] building ubiquity-database-0.1.1 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate ubiquity-database 0.1.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate ubiquity-database 0.1.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate ubiquity-database 0.1.1 [INFO] tweaked toml for crates.io crate ubiquity-database 0.1.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ubiquity-database 0.1.1 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ubiquity-database 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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eb1c9e41e120f1dbf56a7eddc856ba44edbaf775e2ee667af26c94a437599096 [INFO] running `Command { std: "docker" "start" "-a" "eb1c9e41e120f1dbf56a7eddc856ba44edbaf775e2ee667af26c94a437599096", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb1c9e41e120f1dbf56a7eddc856ba44edbaf775e2ee667af26c94a437599096", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb1c9e41e120f1dbf56a7eddc856ba44edbaf775e2ee667af26c94a437599096", kill_on_drop: false }` [INFO] [stdout] eb1c9e41e120f1dbf56a7eddc856ba44edbaf775e2ee667af26c94a437599096 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f60fe4b6f64d8b71b7a1670585035edce4de6694a021a2fac3e0d5af8b64588 [INFO] running `Command { std: "docker" "start" "-a" "9f60fe4b6f64d8b71b7a1670585035edce4de6694a021a2fac3e0d5af8b64588", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [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 serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [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 tokio-stream v0.1.17 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.88 [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 thiserror v1.0.69 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [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 either v1.15.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling h2 v0.4.11 [INFO] [stderr] Compiling tungstenite v0.20.1 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling tokio-tungstenite v0.20.1 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling sqlx-sqlite v0.8.6 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.7 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Compiling ubiquity-core v0.1.1 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling ubiquity-database v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/memory_pools.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> src/lib.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/sqlite.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct SqliteDatabase { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 15 | pool: Arc, [INFO] [stdout] 16 | config: DatabaseConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `f32_vec_to_bytes` is never used [INFO] [stdout] --> src/sqlite.rs:463:4 [INFO] [stdout] | [INFO] [stdout] 463 | fn f32_vec_to_bytes(vec: &[f32]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/memory_pools.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SqliteMemoryPools { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 12 | pools: Vec>, [INFO] [stdout] 13 | config: DatabaseConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 58s [INFO] running `Command { std: "docker" "inspect" "9f60fe4b6f64d8b71b7a1670585035edce4de6694a021a2fac3e0d5af8b64588", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f60fe4b6f64d8b71b7a1670585035edce4de6694a021a2fac3e0d5af8b64588", kill_on_drop: false }` [INFO] [stdout] 9f60fe4b6f64d8b71b7a1670585035edce4de6694a021a2fac3e0d5af8b64588 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0fc7a2eb674d4c3cdc759a75a6c5f486a82bc682c565cba9edccd75864874206 [INFO] running `Command { std: "docker" "start" "-a" "0fc7a2eb674d4c3cdc759a75a6c5f486a82bc682c565cba9edccd75864874206", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling h2 v0.4.11 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-tungstenite v0.20.1 [INFO] [stderr] Compiling sqlx-sqlite v0.8.6 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.7 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Compiling ubiquity-core v0.1.1 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling ubiquity-database v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/memory_pools.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> src/lib.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/sqlite.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct SqliteDatabase { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 15 | pool: Arc, [INFO] [stdout] 16 | config: DatabaseConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `f32_vec_to_bytes` is never used [INFO] [stdout] --> src/sqlite.rs:463:4 [INFO] [stdout] | [INFO] [stdout] 463 | fn f32_vec_to_bytes(vec: &[f32]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/memory_pools.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SqliteMemoryPools { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 12 | pools: Vec>, [INFO] [stdout] 13 | config: DatabaseConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc` [INFO] [stdout] --> src/tests.rs:256:21 [INFO] [stdout] | [INFO] [stdout] 256 | let pools = Arc::new(create_memory_pools(config).await.unwrap()); [INFO] [stdout] | ^^^ use of undeclared type `Arc` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 5 + use crate::Arc; [INFO] [stdout] | [INFO] [stdout] 5 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/memory_pools.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> src/lib.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/tests.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:268:73 [INFO] [stdout] | [INFO] [stdout] 268 | let pool = pools_clone.get_pool_for_key(&key).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:269:62 [INFO] [stdout] | [INFO] [stdout] 269 | pool.store(&key, value.as_bytes()).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:272:63 [INFO] [stdout] | [INFO] [stdout] 272 | let retrieved = pool.retrieve(&key).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:285:45 [INFO] [stdout] | [INFO] [stdout] 285 | let stats = pools.all_stats().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] --> examples/database_demo.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | tracing_subscriber::fmt::init(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tracing_subscriber`, use `cargo add tracing_subscriber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Astra` found for enum `DatabaseBackend` in the current scope [INFO] [stdout] --> examples/database_demo.rs:25:43 [INFO] [stdout] | [INFO] [stdout] 25 | config.backend = DatabaseBackend::Astra; [INFO] [stdout] | ^^^^^ variant or associated item not found in `DatabaseBackend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `astra` on type `DatabaseConfig` [INFO] [stdout] --> examples/database_demo.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | config.astra.endpoint = std::env::var("ASTRA_DB_ENDPOINT")?; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `backend`, `sqlite`, `embeddings`, `memory_pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `astra` on type `DatabaseConfig` [INFO] [stdout] --> examples/database_demo.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | config.astra.token = std::env::var("ASTRA_DB_TOKEN")?; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `backend`, `sqlite`, `embeddings`, `memory_pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool_counts` [INFO] [stdout] --> src/tests.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | let mut pool_counts = vec![0; config.memory_pools.pool_count]; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pool_counts` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | let mut pool_counts = vec![0; config.memory_pools.pool_count]; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ubiquity-database` (example "database_demo") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ubiquity-database` (lib test) due to 5 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0fc7a2eb674d4c3cdc759a75a6c5f486a82bc682c565cba9edccd75864874206", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fc7a2eb674d4c3cdc759a75a6c5f486a82bc682c565cba9edccd75864874206", kill_on_drop: false }` [INFO] [stdout] 0fc7a2eb674d4c3cdc759a75a6c5f486a82bc682c565cba9edccd75864874206