[INFO] fetching crate sqlx-core 0.9.0-alpha.1... [INFO] testing sqlx-core-0.9.0-alpha.1 against beta-2025-10-28 for beta-1.92-2 [INFO] extracting crate sqlx-core 0.9.0-alpha.1 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate sqlx-core 0.9.0-alpha.1 [INFO] finished tweaking crates.io crate sqlx-core 0.9.0-alpha.1 [INFO] tweaked toml for crates.io crate sqlx-core 0.9.0-alpha.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sqlx-core 0.9.0-alpha.1 on toolchain beta-2025-10-28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate sqlx-core 0.9.0-alpha.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" "+beta-2025-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4afc14bf5c477af60640b538ce92101eae234f11c1284ad2cb80428c0274eac0 [INFO] running `Command { std: "docker" "start" "-a" "4afc14bf5c477af60640b538ce92101eae234f11c1284ad2cb80428c0274eac0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4afc14bf5c477af60640b538ce92101eae234f11c1284ad2cb80428c0274eac0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4afc14bf5c477af60640b538ce92101eae234f11c1284ad2cb80428c0274eac0", kill_on_drop: false }` [INFO] [stdout] 4afc14bf5c477af60640b538ce92101eae234f11c1284ad2cb80428c0274eac0 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 720da8df7f278f5ee6fb128146c2c5e8371cfe01e16fa6ad83e9c45b2bad7849 [INFO] running `Command { std: "docker" "start" "-a" "720da8df7f278f5ee6fb128146c2c5e8371cfe01e16fa6ad83e9c45b2bad7849", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling foldhash v0.2.0 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling hashlink v0.10.0 [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 icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.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 sqlx-core v0.9.0-alpha.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.74s [INFO] running `Command { std: "docker" "inspect" "720da8df7f278f5ee6fb128146c2c5e8371cfe01e16fa6ad83e9c45b2bad7849", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "720da8df7f278f5ee6fb128146c2c5e8371cfe01e16fa6ad83e9c45b2bad7849", kill_on_drop: false }` [INFO] [stdout] 720da8df7f278f5ee6fb128146c2c5e8371cfe01e16fa6ad83e9c45b2bad7849 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a16af4b0ea66ba96fed069e65fbe7168e06f2a0ec91cf6e26cec8f398ac96d4d [INFO] running `Command { std: "docker" "start" "-a" "a16af4b0ea66ba96fed069e65fbe7168e06f2a0ec91cf6e26cec8f398ac96d4d", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling sqlx-core v0.9.0-alpha.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.87s [INFO] running `Command { std: "docker" "inspect" "a16af4b0ea66ba96fed069e65fbe7168e06f2a0ec91cf6e26cec8f398ac96d4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a16af4b0ea66ba96fed069e65fbe7168e06f2a0ec91cf6e26cec8f398ac96d4d", kill_on_drop: false }` [INFO] [stdout] a16af4b0ea66ba96fed069e65fbe7168e06f2a0ec91cf6e26cec8f398ac96d4d [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ee317a2fe587863f48dd42b123603e9ef8efdcca6362e5f0cefab50d6c922796 [INFO] running `Command { std: "docker" "start" "-a" "ee317a2fe587863f48dd42b123603e9ef8efdcca6362e5f0cefab50d6c922796", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sqlx_core-8aa511a397396814) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test io::read_buf::test_read_buf_bytes_mut ... ok [INFO] [stdout] test pool::assert_pool_traits ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests sqlx_core [INFO] [stdout] [INFO] [stdout] running 53 tests [INFO] [stdout] test src/acquire.rs - acquire::Acquire (line 16) ... ignored [INFO] [stdout] test src/acquire.rs - acquire::Acquire (line 34) ... ignored [INFO] [stdout] test src/acquire.rs - acquire::Acquire (line 56) ... ignored [INFO] [stdout] test src/database.rs - database (line 47) ... ignored [INFO] [stdout] test src/from_row.rs - from_row::FromRow (line 107) ... ignored [INFO] [stdout] test src/from_row.rs - from_row::FromRow (line 13) ... ignored [INFO] [stdout] test src/from_row.rs - from_row::FromRow (line 130) ... ignored [INFO] [stdout] test src/from_row.rs - from_row::FromRow (line 162) ... ignored [INFO] [stdout] test src/from_row.rs - from_row::FromRow (line 180) ... ignored [INFO] [stdout] test src/from_row.rs - from_row::FromRow (line 196) ... ignored [INFO] [stdout] test src/from_row.rs - from_row::FromRow (line 219) ... ignored [INFO] [stdout] test src/from_row.rs - from_row::FromRow (line 246) ... ignored [INFO] [stdout] test src/from_row.rs - from_row::FromRow (line 265) ... ignored [INFO] [stdout] test src/from_row.rs - from_row::FromRow (line 289) ... ignored [INFO] [stdout] test src/from_row.rs - from_row::FromRow (line 31) ... ignored [INFO] [stdout] test src/from_row.rs - from_row::FromRow (line 53) ... ignored [INFO] [stdout] test src/from_row.rs - from_row::FromRow (line 83) ... ignored [INFO] [stdout] test src/pool/mod.rs - pool (line 29) ... ignored [INFO] [stdout] test src/pool/mod.rs - pool (line 38) ... ignored [INFO] [stdout] test src/pool/mod.rs - pool (line 49) ... ignored [INFO] [stdout] test src/pool/options.rs - pool::options::PoolOptions (line 19) ... ignored [INFO] [stdout] test src/pool/options.rs - pool::options::PoolOptions (line 26) ... ignored [INFO] [stdout] test src/config/macros.rs - config::macros::Config::type_overrides (line 91) - compile ... FAILED [INFO] [stdout] test src/pool/options.rs - pool::options::PoolOptions::before_acquire (line 414) - compile ... FAILED [INFO] [stdout] test src/pool/options.rs - pool::options::PoolOptions::after_connect (line 360) - compile ... FAILED [INFO] [stdout] test src/connection.rs - connection::Connection::transaction (line 89) ... FAILED [INFO] [stdout] test src/pool/mod.rs - pool::Pool::close_event (line 463) - compile ... FAILED [INFO] [stdout] test src/decode.rs - decode::Decode (line 23) ... ok [INFO] [stdout] test src/pool/mod.rs - pool::Pool::close_event (line 491) - compile ... FAILED [INFO] [stdout] test src/query_as.rs - query_as::query_as (line 291) - compile ... FAILED [INFO] [stdout] test src/pool/options.rs - pool::options::PoolOptions::after_release (line 466) - compile ... FAILED [INFO] [stdout] test src/query.rs - query::query (line 548) - compile ... FAILED [INFO] [stdout] test src/query.rs - query::query (line 608) - compile ... FAILED [INFO] [stdout] test src/query_builder.rs - query_builder::QueryBuilder::push_tuples (line 361) ... ok [INFO] [stdout] test src/query_as.rs - query_as::query_as (line 220) - compile ... FAILED [INFO] [stdout] test src/query_builder.rs - query_builder::QueryBuilder::push_values (line 249) ... ok [INFO] [stdout] test src/query_scalar.rs - query_scalar::query_scalar (line 205) - compile ... FAILED [INFO] [stdout] test src/types/mod.rs - types::Type (line 110) ... ignored [INFO] [stdout] test src/types/mod.rs - types::Type (line 129) ... ignored [INFO] [stdout] test src/types/mod.rs - types::Type (line 139) ... ignored [INFO] [stdout] test src/types/mod.rs - types::Type (line 149) ... ignored [INFO] [stdout] test src/types/mod.rs - types::Type (line 158) ... ignored [INFO] [stdout] test src/types/mod.rs - types::Type (line 183) ... ignored [INFO] [stdout] test src/types/mod.rs - types::Type (line 189) ... ignored [INFO] [stdout] test src/types/mod.rs - types::Type (line 202) ... ignored [INFO] [stdout] test src/query_scalar.rs - query_scalar::query_scalar (line 231) - compile ... FAILED [INFO] [stdout] test src/query_scalar.rs - query_scalar::query_scalar (line 256) - compile ... FAILED [INFO] [stdout] test src/raw_sql.rs - raw_sql::raw_sql (line 88) - compile ... FAILED [INFO] [stdout] test src/query_builder.rs - query_builder::QueryBuilder::separated (line 182) ... ok [INFO] [stdout] test src/query_scalar.rs - query_scalar::query_scalar (line 297) - compile ... FAILED [INFO] [stdout] test src/transaction.rs - transaction::Transaction (line 65) - compile ... FAILED [INFO] [stdout] test src/query_scalar.rs - query_scalar::query_scalar (line 274) - compile ... FAILED [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] test src/types/text.rs - types::text::Text (line 31) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/config/macros.rs - config::macros::Config::type_overrides (line 91) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/config/macros.rs:92:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(sqlx::Type)] [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/pool/options.rs - pool::options::PoolOptions::before_acquire (line 414) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/pool/options.rs:417:5 [INFO] [stdout] | [INFO] [stdout] 5 | use sqlx::postgres::PgPoolOptions; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sqlx` [INFO] [stdout] --> src/pool/options.rs:416:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlx::{Connection, Executor}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/pool/options.rs:421:22 [INFO] [stdout] | [INFO] [stdout] 9 | .before_acquire(|conn, meta| Box::pin(async move { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | conn.ping().await?; [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 9 | .before_acquire(|conn: /* Type */, meta| Box::pin(async move { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/pool/options.rs - pool::options::PoolOptions::after_connect (line 360) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/pool/options.rs:363:5 [INFO] [stdout] | [INFO] [stdout] 5 | use sqlx::postgres::PgPoolOptions; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sqlx` [INFO] [stdout] --> src/pool/options.rs:362:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlx::Executor; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/pool/options.rs:366:21 [INFO] [stdout] | [INFO] [stdout] 8 | .after_connect(|conn, _meta| Box::pin(async move { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | conn.execute("SET application_name = 'your_app'; SET search_path = 'my_schema';") [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 8 | .after_connect(|conn: /* Type */, _meta| Box::pin(async move { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/connection.rs - connection::Connection::transaction (line 89) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/connection.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx::postgres::{PgConnection, PgRow}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sqlx` [INFO] [stdout] --> src/connection.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlx::Connection; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/connection.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 8 | sqlx::query("select * from ..").fetch_all(&mut **txn).await [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/connection.rs:93:45 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn _f(conn: &mut PgConnection) -> sqlx::Result> { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/pool/mod.rs - pool::Pool::close_event (line 463) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `sqlx` [INFO] [stdout] --> src/pool/mod.rs:465:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlx::PgPool; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/pool/mod.rs:467:5 [INFO] [stdout] | [INFO] [stdout] 6 | let pool = PgPool::connect("postgresql://...").await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | [INFO] [stdout] 8 | let pool2 = pool.clone(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `pool` an explicit type [INFO] [stdout] | [INFO] [stdout] 6 | let pool: /* Type */ = PgPool::connect("postgresql://...").await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/pool/mod.rs:464:20 [INFO] [stdout] | [INFO] [stdout] 3 | async fn bleh() -> sqlx::Result<()> { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/pool/mod.rs - pool::Pool::close_event (line 491) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `sqlx` [INFO] [stdout] --> src/pool/mod.rs:493:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlx::{Executor, PgPool}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/pool/mod.rs:495:5 [INFO] [stdout] | [INFO] [stdout] 6 | let pool = PgPool::connect("postgresql://...").await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | [INFO] [stdout] 8 | let pool2 = pool.clone(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `pool` an explicit type [INFO] [stdout] | [INFO] [stdout] 6 | let pool: /* Type */ = PgPool::connect("postgresql://...").await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/pool/mod.rs:492:20 [INFO] [stdout] | [INFO] [stdout] 3 | async fn bleh() -> sqlx::Result<()> { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/pool/mod.rs:502:14 [INFO] [stdout] | [INFO] [stdout] 13 | let res: sqlx::Result> = pool2.close_event().do_until(async { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/pool/mod.rs:502:27 [INFO] [stdout] | [INFO] [stdout] 13 | let res: sqlx::Result> = pool2.close_event().do_until(async { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/query_as.rs - query_as::query_as (line 291) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `sqlx` [INFO] [stdout] --> src/query_as.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlx::Connection; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sqlx` [INFO] [stdout] --> src/query_as.rs:294:5 [INFO] [stdout] | [INFO] [stdout] 5 | use sqlx::PgConnection; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `time` [INFO] [stdout] --> src/query_as.rs:296:5 [INFO] [stdout] | [INFO] [stdout] 7 | use time::OffsetDateTime; [INFO] [stdout] | ^^^^ help: a similar path exists: `std::time` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/query_as.rs:298:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(sqlx::FromRow, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/query_as.rs:309:25 [INFO] [stdout] | [INFO] [stdout] 20 | let oldest_user: User = sqlx::query_as( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/query_as.rs:319:35 [INFO] [stdout] | [INFO] [stdout] 30 | let maybe_charlie: Option = sqlx::query_as( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/query_as.rs:328:24 [INFO] [stdout] | [INFO] [stdout] 39 | let users: Vec = sqlx::query_as( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/query_as.rs:292:24 [INFO] [stdout] | [INFO] [stdout] 3 | async fn example2() -> sqlx::Result<()> { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/pool/options.rs - pool::options::PoolOptions::after_release (line 466) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/pool/options.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 5 | use sqlx::postgres::PgPoolOptions; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sqlx` [INFO] [stdout] --> src/pool/options.rs:468:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlx::{Connection, Executor}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/pool/options.rs:480:39 [INFO] [stdout] | [INFO] [stdout] 16 | let total_memory_usage: i64 = sqlx::query_scalar( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/query.rs - query::query (line 548) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/query.rs:558:15 [INFO] [stdout] | [INFO] [stdout] 12 | let results = sqlx::query(sqlx::AssertSqlSafe(query)).fetch_all(&mut conn).await?; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/query.rs:558:27 [INFO] [stdout] | [INFO] [stdout] 12 | let results = sqlx::query(sqlx::AssertSqlSafe(query)).fetch_all(&mut conn).await?; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/query.rs:549:23 [INFO] [stdout] | [INFO] [stdout] 3 | async fn example() -> sqlx::Result<()> { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/query.rs:550:15 [INFO] [stdout] | [INFO] [stdout] 4 | let mut conn: sqlx::PgConnection = unimplemented!(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/query.rs - query::query (line 608) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/query.rs:614:15 [INFO] [stdout] | [INFO] [stdout] 8 | let results = sqlx::query( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/query.rs:625:15 [INFO] [stdout] | [INFO] [stdout] 19 | let results = sqlx::query( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/query.rs:609:24 [INFO] [stdout] | [INFO] [stdout] 3 | async fn example2() -> sqlx::Result<()> { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/query.rs:610:15 [INFO] [stdout] | [INFO] [stdout] 4 | let mut conn: sqlx::PgConnection = unimplemented!(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/query_as.rs - query_as::query_as (line 220) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `sqlx` [INFO] [stdout] --> src/query_as.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlx::Connection; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sqlx` [INFO] [stdout] --> src/query_as.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 5 | use sqlx::PgConnection; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/query_as.rs:228:1 [INFO] [stdout] | [INFO] [stdout] 10 | sqlx::raw_sql( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/query_as.rs:234:1 [INFO] [stdout] | [INFO] [stdout] 16 | sqlx::query("INSERT INTO users(id, username) VALUES (1, 'alice'), (2, 'bob');") [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/query_as.rs:240:56 [INFO] [stdout] | [INFO] [stdout] 22 | let oldest_user: (i32, String, time::OffsetDateTime) = sqlx::query_as( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/query_as.rs:250:66 [INFO] [stdout] | [INFO] [stdout] 32 | let maybe_charlie: Option<(i32, String, time::OffsetDateTime)> = sqlx::query_as( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/query_as.rs:259:55 [INFO] [stdout] | [INFO] [stdout] 41 | let users: Vec<(i32, String, time::OffsetDateTime)> = sqlx::query_as( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/query_as.rs:221:24 [INFO] [stdout] | [INFO] [stdout] 3 | async fn example1() -> sqlx::Result<()> { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `time` [INFO] [stdout] --> src/query_as.rs:250:41 [INFO] [stdout] | [INFO] [stdout] 32 | let maybe_charlie: Option<(i32, String, time::OffsetDateTime)> = sqlx::query_as( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `time` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `time`, use `cargo add time` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `time` [INFO] [stdout] --> src/query_as.rs:259:30 [INFO] [stdout] | [INFO] [stdout] 41 | let users: Vec<(i32, String, time::OffsetDateTime)> = sqlx::query_as( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `time` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `time`, use `cargo add time` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `time` [INFO] [stdout] --> src/query_as.rs:240:32 [INFO] [stdout] | [INFO] [stdout] 22 | let oldest_user: (i32, String, time::OffsetDateTime) = sqlx::query_as( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `time` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `time`, use `cargo add time` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/query_scalar.rs - query_scalar::query_scalar (line 205) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `uuid` [INFO] [stdout] --> src/query_scalar.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 5 | use uuid::Uuid; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `uuid` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/query_scalar.rs:211:29 [INFO] [stdout] | [INFO] [stdout] 8 | let user_id: Option = sqlx::query_scalar("SELECT user_id FROM users WHERE username = $1") [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/query_scalar.rs:207:15 [INFO] [stdout] | [INFO] [stdout] 4 | let mut conn: sqlx::PgConnection = unimplemented!(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/query_scalar.rs - query_scalar::query_scalar (line 231) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/query_scalar.rs:239:18 [INFO] [stdout] | [INFO] [stdout] 10 | let count: i64 = sqlx::query_scalar("SELECT COUNT(*) FROM users WHERE accepted_tos IS TRUE") [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/query_scalar.rs:246:24 [INFO] [stdout] | [INFO] [stdout] 17 | let (count,): (i64,) = sqlx::query_as("SELECT COUNT(*) FROM users WHERE accepted_tos IS TRUE") [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/query_scalar.rs:232:29 [INFO] [stdout] | [INFO] [stdout] 3 | async fn example_count() -> sqlx::Result<()> { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/query_scalar.rs:233:15 [INFO] [stdout] | [INFO] [stdout] 4 | let mut conn: sqlx::PgConnection = unimplemented!(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/query_scalar.rs - query_scalar::query_scalar (line 256) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/query_scalar.rs:260:28 [INFO] [stdout] | [INFO] [stdout] 6 | let username_taken: bool = sqlx::query_scalar( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/query_scalar.rs:257:30 [INFO] [stdout] | [INFO] [stdout] 3 | async fn example_exists() -> sqlx::Result<()> { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/query_scalar.rs:258:15 [INFO] [stdout] | [INFO] [stdout] 4 | let mut conn: sqlx::PgConnection = unimplemented!(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/raw_sql.rs - raw_sql::raw_sql (line 88) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/raw_sql.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 6 | sqlx::raw_sql( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/raw_sql.rs:89:23 [INFO] [stdout] | [INFO] [stdout] 3 | async fn example() -> sqlx::Result<()> { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/raw_sql.rs:90:15 [INFO] [stdout] | [INFO] [stdout] 4 | let mut conn: sqlx::PgConnection = todo!("e.g. PgConnection::connect()"); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/query_scalar.rs - query_scalar::query_scalar (line 297) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/query_scalar.rs:300:30 [INFO] [stdout] | [INFO] [stdout] 5 | let top_users: Vec = sqlx::query_scalar( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/query_scalar.rs:298:27 [INFO] [stdout] | [INFO] [stdout] 3 | async fn example_vec() -> sqlx::Result<()> { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/query_scalar.rs:299:15 [INFO] [stdout] | [INFO] [stdout] 4 | let mut conn: sqlx::PgConnection = unimplemented!(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/transaction.rs - transaction::Transaction (line 65) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/transaction.rs:73:14 [INFO] [stdout] | [INFO] [stdout] 11 | let result = sqlx::query("DELETE FROM \"testcases\" WHERE id = $1") [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/transaction.rs:73:14 [INFO] [stdout] | [INFO] [stdout] 11 | let result = sqlx::query("DELETE FROM \"testcases\" WHERE id = $1") [INFO] [stdout] | ______________^ [INFO] [stdout] 12 | | .bind(id) [INFO] [stdout] 13 | | .execute(&mut *tx) [INFO] [stdout] 14 | | .await? [INFO] [stdout] | |___________^ cannot infer type [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/transaction.rs:68:23 [INFO] [stdout] | [INFO] [stdout] 6 | async fn example() -> sqlx::Result<()> { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/transaction.rs:70:15 [INFO] [stdout] | [INFO] [stdout] 8 | let mut conn: sqlx::PgConnection = unimplemented!(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/query_scalar.rs - query_scalar::query_scalar (line 274) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/query_scalar.rs:277:32 [INFO] [stdout] | [INFO] [stdout] 5 | let max_upvotes: Option = sqlx::query_scalar("SELECT MAX(upvotes) FROM posts") [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/query_scalar.rs:275:33 [INFO] [stdout] | [INFO] [stdout] 3 | async fn example_aggregate() -> sqlx::Result<()> { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/query_scalar.rs:276:15 [INFO] [stdout] | [INFO] [stdout] 4 | let mut conn: sqlx::PgConnection = unimplemented!(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types/text.rs - types::text::Text (line 31) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/types/text.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx::types::{time, uuid}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/types/text.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 8 | use sqlx::mysql::MySqlConnection; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/types/text.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 9 | use sqlx::types::Text; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sqlx` [INFO] [stdout] --> src/types/text.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 7 | use sqlx::Connection; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/types/text.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(sqlx::FromRow, Debug)] [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/types/text.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 29 | sqlx::query("INSERT INTO user_login(user_id, socket_addr, login_at) VALUES (?, ?, NOW())") [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/types/text.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 35 | let logins: Vec = sqlx::query_as("SELECT * FROM user_login") [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/config/macros.rs - config::macros::Config::type_overrides (line 91) [INFO] [stdout] src/connection.rs - connection::Connection::transaction (line 89) [INFO] [stdout] src/pool/mod.rs - pool::Pool::close_event (line 463) [INFO] [stdout] src/pool/mod.rs - pool::Pool::close_event (line 491) [INFO] [stdout] src/pool/options.rs - pool::options::PoolOptions::after_connect (line 360) [INFO] [stdout] src/pool/options.rs - pool::options::PoolOptions::after_release (line 466) [INFO] [stdout] src/pool/options.rs - pool::options::PoolOptions::before_acquire (line 414) [INFO] [stdout] src/query.rs - query::query (line 548) [INFO] [stdout] src/query.rs - query::query (line 608) [INFO] [stdout] src/query_as.rs - query_as::query_as (line 220) [INFO] [stdout] src/query_as.rs - query_as::query_as (line 291) [INFO] [stdout] src/query_scalar.rs - query_scalar::query_scalar (line 205) [INFO] [stdout] src/query_scalar.rs - query_scalar::query_scalar (line 231) [INFO] [stdout] src/query_scalar.rs - query_scalar::query_scalar (line 256) [INFO] [stdout] src/query_scalar.rs - query_scalar::query_scalar (line 274) [INFO] [stdout] src/query_scalar.rs - query_scalar::query_scalar (line 297) [INFO] [stdout] src/raw_sql.rs - raw_sql::raw_sql (line 88) [INFO] [stdout] src/transaction.rs - transaction::Transaction (line 65) [INFO] [stdout] src/types/text.rs - types::text::Text (line 31) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 4 passed; 19 failed; 30 ignored; 0 measured; 0 filtered out; finished in 1.94s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ee317a2fe587863f48dd42b123603e9ef8efdcca6362e5f0cefab50d6c922796", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee317a2fe587863f48dd42b123603e9ef8efdcca6362e5f0cefab50d6c922796", kill_on_drop: false }` [INFO] [stdout] ee317a2fe587863f48dd42b123603e9ef8efdcca6362e5f0cefab50d6c922796