[INFO] fetching crate real-time-sqlx 0.1.1... [INFO] building real-time-sqlx-0.1.1 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate real-time-sqlx 0.1.1 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate real-time-sqlx 0.1.1 [INFO] finished tweaking crates.io crate real-time-sqlx 0.1.1 [INFO] tweaked toml for crates.io crate real-time-sqlx 0.1.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate real-time-sqlx 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 523 packages to latest compatible versions [INFO] [stderr] Adding toml v0.8.2 (available: v0.8.23) [INFO] [stderr] Adding toml_datetime v0.6.3 (available: v0.6.11) [INFO] [stderr] Adding toml_edit v0.20.2 (available: v0.20.7) [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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 0613e61fd61f30af063d68c0323f44281bc41bc2989fb722047db8ec162e8840 [INFO] running `Command { std: "docker" "start" "-a" "0613e61fd61f30af063d68c0323f44281bc41bc2989fb722047db8ec162e8840", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0613e61fd61f30af063d68c0323f44281bc41bc2989fb722047db8ec162e8840", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0613e61fd61f30af063d68c0323f44281bc41bc2989fb722047db8ec162e8840", kill_on_drop: false }` [INFO] [stdout] 0613e61fd61f30af063d68c0323f44281bc41bc2989fb722047db8ec162e8840 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 7bb83af045d54822766b199c24fbf76859ae0cbcff8d87bdf5f584b583d0a651 [INFO] running `Command { std: "docker" "start" "-a" "7bb83af045d54822766b199c24fbf76859ae0cbcff8d87bdf5f584b583d0a651", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling real-time-sqlx v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `format_iter` is never used [INFO] [stdout] --> src/utils.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) fn format_iter>( [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 `ordered_keys` is never used [INFO] [stdout] --> src/utils.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | pub(crate) fn ordered_keys(object: &serde_json::Map) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_numbered_placeholders` is never used [INFO] [stdout] --> src/utils.rs:44:15 [INFO] [stdout] | [INFO] [stdout] 44 | pub(crate) fn to_numbered_placeholders(query: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `prepare_sqlx_query` is never used [INFO] [stdout] --> src/database.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn prepare_sqlx_query(query: &QueryTree) -> (String, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Traversable` is never used [INFO] [stdout] --> src/database.rs:72:7 [INFO] [stdout] | [INFO] [stdout] 72 | trait Traversable { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `placeholders` is never used [INFO] [stdout] --> src/utils.rs:63:15 [INFO] [stdout] | [INFO] [stdout] 63 | pub(crate) fn placeholders(count: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `repeat_placeholders` is never used [INFO] [stdout] --> src/utils.rs:75:15 [INFO] [stdout] | [INFO] [stdout] 75 | pub(crate) fn repeat_placeholders(count: usize, n_repeat: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sanitize_identifier` is never used [INFO] [stdout] --> src/utils.rs:85:15 [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) fn sanitize_identifier(str: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_statement` is never used [INFO] [stdout] --> src/utils.rs:91:15 [INFO] [stdout] | [INFO] [stdout] 91 | pub(crate) fn update_statement(table: &str, keys: &[String]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert_statement` is never used [INFO] [stdout] --> src/utils.rs:104:15 [INFO] [stdout] | [INFO] [stdout] 104 | pub(crate) fn insert_statement(table: &str, keys: &[String]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert_many_statement` is never used [INFO] [stdout] --> src/utils.rs:115:15 [INFO] [stdout] | [INFO] [stdout] 115 | pub(crate) fn insert_many_statement(table: &str, keys: &[String], n_rows: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_statement` is never used [INFO] [stdout] --> src/utils.rs:125:15 [INFO] [stdout] | [INFO] [stdout] 125 | pub(crate) fn delete_statement(table: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reduce_constraints_list` is never used [INFO] [stdout] --> src/database.rs:152:4 [INFO] [stdout] | [INFO] [stdout] 152 | fn reduce_constraints_list(conditions: &[Condition], sep: &str) -> (String, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.01s [INFO] running `Command { std: "docker" "inspect" "7bb83af045d54822766b199c24fbf76859ae0cbcff8d87bdf5f584b583d0a651", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bb83af045d54822766b199c24fbf76859ae0cbcff8d87bdf5f584b583d0a651", kill_on_drop: false }` [INFO] [stdout] 7bb83af045d54822766b199c24fbf76859ae0cbcff8d87bdf5f584b583d0a651 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 146bad1808c75071d6fa6b9c9f5bf5ef8094233414dc0e4b2bd553e3c1855cfc [INFO] running `Command { std: "docker" "start" "-a" "146bad1808c75071d6fa6b9c9f5bf5ef8094233414dc0e4b2bd553e3c1855cfc", kill_on_drop: false }` [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling real-time-sqlx v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `sqlx::Sqlite` [INFO] [stdout] --> src/tests/dummy.rs:6:36 [INFO] [stdout] | [INFO] [stdout] 6 | use sqlx::{prelude::FromRow, Pool, Sqlite}; [INFO] [stdout] | ^^^^^^ no `Sqlite` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-0.8.6/src/lib.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 59 | #[cfg(feature = "_sqlite")] [INFO] [stdout] | ------------------- the item is gated behind the `_sqlite` feature [INFO] [stdout] ... [INFO] [stdout] 63 | self as sqlite, Sqlite, SqliteConnection, SqliteExecutor, SqlitePool, SqliteTransaction, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::database::sqlite` [INFO] [stdout] --> src/tests/engine.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | database::sqlite::fetch_sqlite_query, [INFO] [stdout] | ^^^^^^ could not find `sqlite` in `database` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/database.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(feature = "sqlite")] [INFO] [stdout] | ------------------ the item is gated behind the `sqlite` feature [INFO] [stdout] 22 | pub mod sqlite; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::database::sqlite` [INFO] [stdout] --> src/tests/operations.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::database::sqlite::granular_operation_sqlite; [INFO] [stdout] | ^^^^^^ could not find `sqlite` in `database` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/database.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(feature = "sqlite")] [INFO] [stdout] | ------------------ the item is gated behind the `sqlite` feature [INFO] [stdout] 22 | pub mod sqlite; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::database::sqlite` [INFO] [stdout] --> src/tests/queries.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::database::sqlite::fetch_sqlite_query; [INFO] [stdout] | ^^^^^^ could not find `sqlite` in `database` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/database.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(feature = "sqlite")] [INFO] [stdout] | ------------------ the item is gated behind the `sqlite` feature [INFO] [stdout] 22 | pub mod sqlite; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `super::dummy::dummy_sqlite_database`, `super::dummy::prepare_dummy_sqlite_database` [INFO] [stdout] --> src/tests/engine.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | dummy::{dummy_sqlite_database, prepare_dummy_sqlite_database, Todo}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `prepare_dummy_sqlite_database` in `tests::dummy` [INFO] [stdout] | | [INFO] [stdout] | no `dummy_sqlite_database` in `tests::dummy` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/tests/dummy.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(feature = "sqlite")] [INFO] [stdout] | ------------------ the item is gated behind the `sqlite` feature [INFO] [stdout] 17 | /// Create an in-memory Sqlite database and return a pool connection [INFO] [stdout] 18 | pub async fn dummy_sqlite_database() -> Pool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/tests/dummy.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 25 | #[cfg(feature = "sqlite")] [INFO] [stdout] | ------------------ the item is gated behind the `sqlite` feature [INFO] [stdout] 26 | /// Create and seed a Sqlite database from a pool connection [INFO] [stdout] 27 | pub async fn prepare_dummy_sqlite_database(pool: &Pool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::tests::dummy::dummy_sqlite_database`, `crate::tests::dummy::prepare_dummy_sqlite_database` [INFO] [stdout] --> src/tests/operations.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::tests::dummy::{dummy_sqlite_database, prepare_dummy_sqlite_database}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `prepare_dummy_sqlite_database` in `tests::dummy` [INFO] [stdout] | | [INFO] [stdout] | no `dummy_sqlite_database` in `tests::dummy` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/tests/dummy.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(feature = "sqlite")] [INFO] [stdout] | ------------------ the item is gated behind the `sqlite` feature [INFO] [stdout] 17 | /// Create an in-memory Sqlite database and return a pool connection [INFO] [stdout] 18 | pub async fn dummy_sqlite_database() -> Pool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/tests/dummy.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 25 | #[cfg(feature = "sqlite")] [INFO] [stdout] | ------------------ the item is gated behind the `sqlite` feature [INFO] [stdout] 26 | /// Create and seed a Sqlite database from a pool connection [INFO] [stdout] 27 | pub async fn prepare_dummy_sqlite_database(pool: &Pool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::tests::dummy::dummy_sqlite_database`, `crate::tests::dummy::prepare_dummy_sqlite_database` [INFO] [stdout] --> src/tests/queries.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::tests::dummy::{dummy_sqlite_database, prepare_dummy_sqlite_database}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `prepare_dummy_sqlite_database` in `tests::dummy` [INFO] [stdout] | | [INFO] [stdout] | no `dummy_sqlite_database` in `tests::dummy` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/tests/dummy.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(feature = "sqlite")] [INFO] [stdout] | ------------------ the item is gated behind the `sqlite` feature [INFO] [stdout] 17 | /// Create an in-memory Sqlite database and return a pool connection [INFO] [stdout] 18 | pub async fn dummy_sqlite_database() -> Pool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/tests/dummy.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 25 | #[cfg(feature = "sqlite")] [INFO] [stdout] | ------------------ the item is gated behind the `sqlite` feature [INFO] [stdout] 26 | /// Create and seed a Sqlite database from a pool connection [INFO] [stdout] 27 | pub async fn prepare_dummy_sqlite_database(pool: &Pool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/tests/dummy.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs; [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: `Pool` [INFO] [stdout] --> src/tests/dummy.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use sqlx::{prelude::FromRow, Pool, Sqlite}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `prepare_sqlx_query` is never used [INFO] [stdout] --> src/database.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn prepare_sqlx_query(query: &QueryTree) -> (String, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Traversable` is never used [INFO] [stdout] --> src/database.rs:72:7 [INFO] [stdout] | [INFO] [stdout] 72 | trait Traversable { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reduce_constraints_list` is never used [INFO] [stdout] --> src/database.rs:152:4 [INFO] [stdout] | [INFO] [stdout] 152 | fn reduce_constraints_list(conditions: &[Condition], sep: &str) -> (String, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_iter` is never used [INFO] [stdout] --> src/utils.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) fn format_iter>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ordered_keys` is never used [INFO] [stdout] --> src/utils.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | pub(crate) fn ordered_keys(object: &serde_json::Map) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_numbered_placeholders` is never used [INFO] [stdout] --> src/utils.rs:44:15 [INFO] [stdout] | [INFO] [stdout] 44 | pub(crate) fn to_numbered_placeholders(query: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `placeholders` is never used [INFO] [stdout] --> src/utils.rs:63:15 [INFO] [stdout] | [INFO] [stdout] 63 | pub(crate) fn placeholders(count: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `repeat_placeholders` is never used [INFO] [stdout] --> src/utils.rs:75:15 [INFO] [stdout] | [INFO] [stdout] 75 | pub(crate) fn repeat_placeholders(count: usize, n_repeat: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sanitize_identifier` is never used [INFO] [stdout] --> src/utils.rs:85:15 [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) fn sanitize_identifier(str: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_statement` is never used [INFO] [stdout] --> src/utils.rs:91:15 [INFO] [stdout] | [INFO] [stdout] 91 | pub(crate) fn update_statement(table: &str, keys: &[String]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert_statement` is never used [INFO] [stdout] --> src/utils.rs:104:15 [INFO] [stdout] | [INFO] [stdout] 104 | pub(crate) fn insert_statement(table: &str, keys: &[String]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert_many_statement` is never used [INFO] [stdout] --> src/utils.rs:115:15 [INFO] [stdout] | [INFO] [stdout] 115 | pub(crate) fn insert_many_statement(table: &str, keys: &[String], n_rows: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_statement` is never used [INFO] [stdout] --> src/utils.rs:125:15 [INFO] [stdout] | [INFO] [stdout] 125 | pub(crate) fn delete_statement(table: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/operations.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let result = granular_operation_sqlite(operation, &pool).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 65 | [INFO] [stdout] 66 | assert!(result.is_some()); [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 64 | let result: /* Type */ = granular_operation_sqlite(operation, &pool).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/engine.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let result = fetch_sqlite_query(&query, &pool).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 72 | let all_rows = result.unwrap_many(); [INFO] [stdout] | ----------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 71 | let result: /* Type */ = fetch_sqlite_query(&query, &pool).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/engine.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | let result = fetch_sqlite_query(&query, &pool).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 103 | let single_row = Todo::from_row(&result.unwrap_many()[0]).unwrap(); [INFO] [stdout] | ----------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 102 | let result: /* Type */ = fetch_sqlite_query(&query, &pool).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/engine.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | let result = fetch_sqlite_query(&query, &pool).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 134 | let single_row = result.unwrap_optional_single(); [INFO] [stdout] | ---------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 133 | let result: /* Type */ = fetch_sqlite_query(&query, &pool).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/operations.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | let result = granular_operation_sqlite(operation, &pool).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 95 | [INFO] [stdout] 96 | assert!(result.is_some()); [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 94 | let result: /* Type */ = granular_operation_sqlite(operation, &pool).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/engine.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | let result = fetch_sqlite_query(&query, &pool).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 150 | let all_rows = result [INFO] [stdout] 151 | .unwrap_many() [INFO] [stdout] | ----------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 149 | let result: /* Type */ = fetch_sqlite_query(&query, &pool).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/engine.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | let result = fetch_sqlite_query(&query, &pool).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 119 | let all_rows = result.unwrap_many(); [INFO] [stdout] | ----------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 118 | let result: /* Type */ = fetch_sqlite_query(&query, &pool).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/engine.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | let result = fetch_sqlite_query(&query, &pool).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 87 | let single_row = Todo::from_row(&result.unwrap_single()).unwrap(); [INFO] [stdout] | ------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 86 | let result: /* Type */ = fetch_sqlite_query(&query, &pool).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/operations.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let result = granular_operation_sqlite(operation, &pool).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 43 | [INFO] [stdout] 44 | assert!(result.is_some()); [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 42 | let result: /* Type */ = granular_operation_sqlite(operation, &pool).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/operations.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | let result = granular_operation_sqlite(operation, &pool).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 121 | [INFO] [stdout] 122 | assert!(result.is_some()); [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 120 | let result: /* Type */ = granular_operation_sqlite(operation, &pool).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `real-time-sqlx` (lib test) due to 17 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "146bad1808c75071d6fa6b9c9f5bf5ef8094233414dc0e4b2bd553e3c1855cfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "146bad1808c75071d6fa6b9c9f5bf5ef8094233414dc0e4b2bd553e3c1855cfc", kill_on_drop: false }` [INFO] [stdout] 146bad1808c75071d6fa6b9c9f5bf5ef8094233414dc0e4b2bd553e3c1855cfc