[INFO] fetching crate ubiquity-database 0.1.1... [INFO] checking ubiquity-database-0.1.1 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate ubiquity-database 0.1.1 into /workspace/builds/worker-1-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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ubiquity-database 0.1.1 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 481919647d7a3e14e9c99fca5e3bbdc75f38bad31395196d3014e1e1b8ef530e [INFO] running `Command { std: "docker" "start" "-a" "481919647d7a3e14e9c99fca5e3bbdc75f38bad31395196d3014e1e1b8ef530e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "481919647d7a3e14e9c99fca5e3bbdc75f38bad31395196d3014e1e1b8ef530e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "481919647d7a3e14e9c99fca5e3bbdc75f38bad31395196d3014e1e1b8ef530e", kill_on_drop: false }` [INFO] [stdout] 481919647d7a3e14e9c99fca5e3bbdc75f38bad31395196d3014e1e1b8ef530e [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49feeb5ed98924c464981cda2d336894d22b9fe7bfae7a9cab4a427eae273670 [INFO] running `Command { std: "docker" "start" "-a" "49feeb5ed98924c464981cda2d336894d22b9fe7bfae7a9cab4a427eae273670", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Checking tokio v1.46.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking h2 v0.4.11 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking sqlx-core v0.8.6 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking tungstenite v0.20.1 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking tokio-tungstenite v0.20.1 [INFO] [stderr] Checking hyper-util v0.1.16 [INFO] [stderr] Checking uuid v1.16.0 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking rustix v1.0.8 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.7 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking ubiquity-core v0.1.1 [INFO] [stderr] Compiling sqlx-sqlite v0.8.6 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking ubiquity-database v0.1.1 (/opt/rustwide/workdir) [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)]` 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] 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)]` 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)]` 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] 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)]` 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)]` on by default [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] For more information about this error, try `rustc --explain E0433`. [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] [stderr] error: could not compile `ubiquity-database` (lib test) due to 1 previous error; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] running `Command { std: "docker" "inspect" "49feeb5ed98924c464981cda2d336894d22b9fe7bfae7a9cab4a427eae273670", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49feeb5ed98924c464981cda2d336894d22b9fe7bfae7a9cab4a427eae273670", kill_on_drop: false }` [INFO] [stdout] 49feeb5ed98924c464981cda2d336894d22b9fe7bfae7a9cab4a427eae273670