[INFO] fetching crate typed_sqlx_client 0.2.1...
[INFO] testing typed_sqlx_client-0.2.1 against beta-2025-10-28 for beta-1.92-2
[INFO] extracting crate typed_sqlx_client 0.2.1 into /workspace/builds/worker-5-tc2/source
[INFO] started tweaking crates.io crate typed_sqlx_client 0.2.1
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate typed_sqlx_client 0.2.1
[INFO] tweaked toml for crates.io crate typed_sqlx_client 0.2.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate typed_sqlx_client 0.2.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 typed_sqlx_client 0.2.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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 16b0722b2b4451627faca90666d2fd88b5b7be262d71c12767a6c8731bb531c7
[INFO] running `Command { std: "docker" "start" "-a" "16b0722b2b4451627faca90666d2fd88b5b7be262d71c12767a6c8731bb531c7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "16b0722b2b4451627faca90666d2fd88b5b7be262d71c12767a6c8731bb531c7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "16b0722b2b4451627faca90666d2fd88b5b7be262d71c12767a6c8731bb531c7", kill_on_drop: false }`
[INFO] [stdout] 16b0722b2b4451627faca90666d2fd88b5b7be262d71c12767a6c8731bb531c7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 68e0c7a6c38cd8e288ef89fab701b21802a822983b63e354c202146113c12862
[INFO] running `Command { std: "docker" "start" "-a" "68e0c7a6c38cd8e288ef89fab701b21802a822983b63e354c202146113c12862", kill_on_drop: false }`
[INFO] [stderr] Compiling parking_lot_core v0.9.11
[INFO] [stderr] Compiling serde v1.0.219
[INFO] [stderr] Compiling generic-array v0.14.7
[INFO] [stderr] Compiling lock_api v0.4.13
[INFO] [stderr] Compiling syn v2.0.104
[INFO] [stderr] Compiling hashbrown v0.15.4
[INFO] [stderr] Compiling thiserror v2.0.12
[INFO] [stderr] Compiling parking v2.2.1
[INFO] [stderr] Compiling form_urlencoded v1.2.1
[INFO] [stderr] Compiling concurrent-queue v2.5.0
[INFO] [stderr] Compiling futures-sink v0.3.31
[INFO] [stderr] Compiling base64 v0.22.1
[INFO] [stderr] Compiling futures-util v0.3.31
[INFO] [stderr] Compiling event-listener v5.4.0
[INFO] [stderr] Compiling parking_lot v0.12.4
[INFO] [stderr] Compiling hashlink v0.10.0
[INFO] [stderr] Compiling indexmap v2.10.0
[INFO] [stderr] Compiling crypto-common v0.1.6
[INFO] [stderr] Compiling block-buffer v0.10.4
[INFO] [stderr] Compiling futures-intrusive v0.5.0
[INFO] [stderr] Compiling digest v0.10.7
[INFO] [stderr] Compiling sha2 v0.10.9
[INFO] [stderr] Compiling synstructure v0.13.2
[INFO] [stderr] Compiling zerofrom-derive v0.1.6
[INFO] [stderr] Compiling yoke-derive v0.8.0
[INFO] [stderr] Compiling zerovec-derive v0.11.1
[INFO] [stderr] Compiling displaydoc v0.2.5
[INFO] [stderr] Compiling serde_derive v1.0.219
[INFO] [stderr] Compiling tracing-attributes v0.1.30
[INFO] [stderr] Compiling thiserror-impl v2.0.12
[INFO] [stderr] Compiling typed_sqlx_client_macros v0.2.0
[INFO] [stderr] Compiling zerofrom v0.1.6
[INFO] [stderr] Compiling yoke v0.8.0
[INFO] [stderr] Compiling zerovec v0.11.2
[INFO] [stderr] Compiling zerotrie v0.2.2
[INFO] [stderr] Compiling tracing v0.1.41
[INFO] [stderr] Compiling 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 either v1.15.0
[INFO] [stderr] Compiling serde_json v1.0.140
[INFO] [stderr] Compiling sqlx-core v0.8.6
[INFO] [stderr] Compiling sqlx v0.8.6
[INFO] [stderr] Compiling typed_sqlx_client v0.2.1 (/opt/rustwide/workdir)
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.67s
[INFO] running `Command { std: "docker" "inspect" "68e0c7a6c38cd8e288ef89fab701b21802a822983b63e354c202146113c12862", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "68e0c7a6c38cd8e288ef89fab701b21802a822983b63e354c202146113c12862", kill_on_drop: false }`
[INFO] [stdout] 68e0c7a6c38cd8e288ef89fab701b21802a822983b63e354c202146113c12862
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 57834fb6d5185e37149aba06e3f284c0d3344357a76ccdf172198d94f89cd355
[INFO] running `Command { std: "docker" "start" "-a" "57834fb6d5185e37149aba06e3f284c0d3344357a76ccdf172198d94f89cd355", kill_on_drop: false }`
[INFO] [stderr] Compiling jobserver v0.1.33
[INFO] [stderr] Compiling foldhash v0.1.5
[INFO] [stderr] Compiling signal-hook-registry v1.4.5
[INFO] [stderr] Compiling crypto-common v0.1.6
[INFO] [stderr] Compiling tokio-macros v2.5.0
[INFO] [stderr] Compiling mio v1.0.4
[INFO] [stderr] Compiling smallvec v1.15.1
[INFO] [stderr] Compiling bytes v1.10.1
[INFO] [stderr] Compiling spin v0.9.8
[INFO] [stderr] Compiling futures-util v0.3.31
[INFO] [stderr] Compiling serde_json v1.0.140
[INFO] [stderr] Compiling rand_chacha v0.3.1
[INFO] [stderr] Compiling bitflags v2.9.1
[INFO] [stderr] Compiling tinyvec v1.9.0
[INFO] [stderr] Compiling digest v0.10.7
[INFO] [stderr] Compiling hashbrown v0.15.4
[INFO] [stderr] Compiling hmac v0.12.1
[INFO] [stderr] Compiling cc v1.2.27
[INFO] [stderr] Compiling parking_lot_core v0.9.11
[INFO] [stderr] Compiling icu_normalizer v2.0.0
[INFO] [stderr] Compiling rand v0.8.5
[INFO] [stderr] Compiling unicode-xid v0.2.6
[INFO] [stderr] Compiling tokio v1.45.1
[INFO] [stderr] Compiling unicode-properties v0.1.3
[INFO] [stderr] Compiling num-bigint-dig v0.8.4
[INFO] [stderr] Compiling parking_lot v0.12.4
[INFO] [stderr] Compiling derive_more-impl v2.0.1
[INFO] [stderr] Compiling hkdf v0.12.4
[INFO] [stderr] Compiling unicode-normalization v0.1.24
[INFO] [stderr] Compiling sha2 v0.10.9
[INFO] [stderr] Compiling md-5 v0.10.6
[INFO] [stderr] Compiling idna_adapter v1.2.1
[INFO] [stderr] Compiling idna v1.0.3
[INFO] [stderr] Compiling futures-intrusive v0.5.0
[INFO] [stderr] Compiling indexmap v2.10.0
[INFO] [stderr] Compiling url v2.5.4
[INFO] [stderr] Compiling stringprep v0.1.5
[INFO] [stderr] Compiling hashlink v0.10.0
[INFO] [stderr] Compiling lazy_static v1.5.0
[INFO] [stderr] Compiling whoami v1.6.0
[INFO] [stderr] Compiling base64 v0.22.1
[INFO] [stderr] Compiling crunchy v0.2.4
[INFO] [stderr] Compiling uuid v1.17.0
[INFO] [stderr] Compiling pkcs1 v0.7.5
[INFO] [stderr] Compiling signature v2.2.0
[INFO] [stderr] Compiling futures-channel v0.3.31
[INFO] [stderr] Compiling serde_urlencoded v0.7.1
[INFO] [stderr] Compiling tiny-keccak v2.0.2
[INFO] [stderr] Compiling home v0.5.11
[INFO] [stderr] Compiling ruint-macro v1.2.1
[INFO] [stderr] Compiling libsqlite3-sys v0.30.1
[INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7
[INFO] [stderr] Compiling sha1 v0.10.6
[INFO] [stderr] Compiling flume v0.11.1
[INFO] [stderr] Compiling ruint v1.15.0
[INFO] [stderr] Compiling const-hex v1.14.1
[INFO] [stderr] Compiling zstd-safe v7.2.4
[INFO] [stderr] Compiling local-waker v0.1.4
[INFO] [stderr] Compiling alloc-no-stdlib v2.0.4
[INFO] [stderr] Compiling alloc-stdlib v0.2.2
[INFO] [stderr] Compiling http v0.2.12
[INFO] [stderr] Compiling aho-corasick v1.1.3
[INFO] [stderr] Compiling adler2 v2.0.1
[INFO] [stderr] Compiling regex-lite v0.1.6
[INFO] [stderr] Compiling time-macros v0.2.22
[INFO] [stderr] Compiling miniz_oxide v0.8.9
[INFO] [stderr] Compiling brotli-decompressor v5.0.0
[INFO] [stderr] Compiling actix-utils v3.0.1
[INFO] [stderr] Compiling rsa v0.9.8
[INFO] [stderr] Compiling bytestring v1.4.0
[INFO] [stderr] Compiling futures-executor v0.3.31
[INFO] [stderr] Compiling cookie v0.16.2
[INFO] [stderr] Compiling actix-service v2.0.3
[INFO] [stderr] Compiling crc32fast v1.4.2
[INFO] [stderr] Compiling actix-router v0.5.3
[INFO] [stderr] Compiling local-channel v0.1.5
[INFO] [stderr] Compiling flate2 v1.1.2
[INFO] [stderr] Compiling language-tags v0.3.2
[INFO] [stderr] Compiling regex-automata v0.4.9
[INFO] [stderr] Compiling time v0.3.41
[INFO] [stderr] Compiling brotli v8.0.1
[INFO] [stderr] Compiling actix-macros v0.2.4
[INFO] [stderr] Compiling impl-more v0.1.9
[INFO] [stderr] Compiling derive_more v2.0.1
[INFO] [stderr] Compiling actix-web-codegen v4.3.0
[INFO] [stderr] Compiling alloy-primitives v1.2.1
[INFO] [stderr] Compiling tokio-stream v0.1.17
[INFO] [stderr] Compiling alloy-serde v1.0.17
[INFO] [stderr] Compiling alloy-core v1.2.1
[INFO] [stderr] Compiling tokio-util v0.7.15
[INFO] [stderr] Compiling actix-rt v2.10.0
[INFO] [stderr] Compiling alloy v1.0.17
[INFO] [stderr] Compiling sqlx-core v0.8.6
[INFO] [stderr] Compiling actix-server v2.6.0
[INFO] [stderr] Compiling regex v1.11.1
[INFO] [stderr] Compiling actix-codec v0.5.2
[INFO] [stderr] Compiling h2 v0.3.26
[INFO] [stderr] Compiling zstd v0.13.3
[INFO] [stderr] Compiling sqlx-postgres v0.8.6
[INFO] [stderr] Compiling sqlx-mysql v0.8.6
[INFO] [stderr] Compiling ethereum-mysql v3.0.0
[INFO] [stderr] Compiling actix-http v3.11.0
[INFO] [stderr] Compiling sqlx-sqlite v0.8.6
[INFO] [stderr] Compiling sqlx-macros-core v0.8.6
[INFO] [stderr] Compiling actix-web v4.11.0
[INFO] [stderr] Compiling sqlx-macros v0.8.6
[INFO] [stderr] Compiling sqlx v0.8.6
[INFO] [stderr] Compiling typed_sqlx_client v0.2.1 (/opt/rustwide/workdir)
[INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 49s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "57834fb6d5185e37149aba06e3f284c0d3344357a76ccdf172198d94f89cd355", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "57834fb6d5185e37149aba06e3f284c0d3344357a76ccdf172198d94f89cd355", kill_on_drop: false }`
[INFO] [stdout] 57834fb6d5185e37149aba06e3f284c0d3344357a76ccdf172198d94f89cd355
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 5b22522c7d7efc05be52bde7a5417729191b78ad0a3a0f7a49acbd438a627ca7
[INFO] running `Command { std: "docker" "start" "-a" "5b22522c7d7efc05be52bde7a5417729191b78ad0a3a0f7a49acbd438a627ca7", kill_on_drop: false }`
[INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.42s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/typed_sqlx_client-6b8807a7708be4a8)
[INFO] [stdout]
[INFO] [stdout] running 0 tests
[INFO] [stdout]
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout]
[INFO] [stderr] Doc-tests typed_sqlx_client
[INFO] [stdout]
[INFO] [stdout] running 31 tests
[INFO] [stdout] test src/tables.rs - tables::SqlTable (line 183) ... ignored
[INFO] [stdout] test src/tables.rs - tables::SqlTable
::get_pool (line 408) ... FAILED
[INFO] [stdout] test src/tables.rs - tables::SqlDB (line 38) ... FAILED
[INFO] [stdout] test src/tables.rs - tables::SqlDB (line 26) ... FAILED
[INFO] [stdout] test src/tables.rs - tables::SqlTable (line 228) ... FAILED
[INFO] [stdout] test src/tables.rs - tables::SqlDB
::from_pool (line 159) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 112) ... FAILED
[INFO] [stdout] test src/tables.rs - tables::SqlDB
::pool (line 82) ... FAILED
[INFO] [stdout] test src/tables.rs - tables::SqlDB
::from_pool (line 141) ... FAILED
[INFO] [stdout] test src/tables.rs - tables::SqlTable (line 311) ... FAILED
[INFO] [stdout] test src/tables.rs - tables::SqlTable (line 197) ... FAILED
[INFO] [stdout] test src/tables.rs - tables::SqlDB
::get_table (line 370) ... FAILED
[INFO] [stdout] test src/traits.rs - traits::CrudOpsRef::delete_by_id (line 227) ... ok
[INFO] [stdout] test src/traits.rs - traits::CrudOpsRef (line 25) ... FAILED
[INFO] [stdout] test src/tables.rs - tables::SqlDB
::get_table (line 356) ... FAILED
[INFO] [stdout] test src/traits.rs - traits::SelectOnlyQuery (line 280) ... FAILED
[INFO] [stdout] test src/tables.rs - tables::SqlTable (line 284) ... ok
[INFO] [stdout] test src/traits.rs - traits::CrudOpsRef (line 75) ... ok
[INFO] [stdout] test src/traits.rs - traits::CrudOpsRef::get_by_id (line 162) ... ok
[INFO] [stdout] test src/tables.rs - tables::SqlTable (line 256) ... ok
[INFO] [stdout] test src/tables.rs - tables::SqlDB
::get_table (line 346) ... FAILED
[INFO] [stdout] test src/traits.rs - traits::CrudOpsRef::update_by_id (line 194) ... ok
[INFO] [stdout] test src/traits.rs - traits::CrudOpsRef::insert (line 105) ... ok
[INFO] [stdout] test src/traits.rs - traits::SelectOnlyQuery::execute_select_as_only (line 444) ... ok
[INFO] [stdout] test src/traits.rs - traits::SelectOnlyQuery (line 300) ... ok
[INFO] [stdout] test src/traits.rs - traits::SelectOnlyQuery::execute_select_only (line 355) ... ok
[INFO] [stdout] test src/traits.rs - traits::SelectOnlyQuery::execute_select_as_only (line 427) ... ok
[INFO] [stdout] test src/traits.rs - traits::CrudOpsRef::insert_batch (line 131) ... ok
[INFO] [stdout] test src/traits.rs - traits::SelectOnlyQuery::execute_select_as_only (line 413) ... ok
[INFO] [stdout] test src/traits.rs - traits::SelectOnlyQuery::execute_select_as_only (line 459) ... ok
[INFO] [stdout] test src/lib.rs - (line 53) ... FAILED
[INFO] [stdout]
[INFO] [stdout] failures:
[INFO] [stdout]
[INFO] [stdout] ---- src/tables.rs - tables::SqlTable
::get_pool (line 408) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout] --> src/tables.rs:413:44
[INFO] [stdout] |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_tables_rs_408_0() -> core::result::Result<(), impl core::fmt::Debug> {
[INFO] [stdout] | ----------------------------------------------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let mut tx = user_table.get_pool().begin().await?;
[INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout]
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout] --> src/tables.rs:419:6
[INFO] [stdout] |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_tables_rs_408_0() -> core::result::Result<(), impl core::fmt::Debug> {
[INFO] [stdout] | ----------------------------------------------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 14 | .await?;
[INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout]
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout] --> src/tables.rs:425:6
[INFO] [stdout] |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_tables_rs_408_0() -> core::result::Result<(), impl core::fmt::Debug> {
[INFO] [stdout] | ----------------------------------------------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 20 | .await?;
[INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout]
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout] --> src/tables.rs:427:13
[INFO] [stdout] |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_tables_rs_408_0() -> core::result::Result<(), impl core::fmt::Debug> {
[INFO] [stdout] | ----------------------------------------------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 22 | tx.commit().await?;
[INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout]
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout]
[INFO] [stdout] For more information about this error, try `rustc --explain E0728`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/tables.rs - tables::SqlDB (line 38) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SqlDB`
[INFO] [stdout] --> src/tables.rs:43:21
[INFO] [stdout] |
[INFO] [stdout] 6 | let main_pool = SqlDB::from_pool::(create_pg_pool().await);
[INFO] [stdout] | ^^^^^ use of undeclared type `SqlDB`
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout] |
[INFO] [stdout] 2 + use typed_sqlx_client::SqlDB;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `MainDatabase` in this scope
[INFO] [stdout] --> src/tables.rs:43:40
[INFO] [stdout] |
[INFO] [stdout] 6 | let main_pool = SqlDB::from_pool::(create_pg_pool().await);
[INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SqlDB`
[INFO] [stdout] --> src/tables.rs:44:26
[INFO] [stdout] |
[INFO] [stdout] 7 | let analytics_pool = SqlDB::from_pool::(create_mysql_pool().await);
[INFO] [stdout] | ^^^^^ use of undeclared type `SqlDB`
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout] |
[INFO] [stdout] 2 + use typed_sqlx_client::SqlDB;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `AnalyticsDatabase` in this scope
[INFO] [stdout] --> src/tables.rs:44:45
[INFO] [stdout] |
[INFO] [stdout] 7 | let analytics_pool = SqlDB::from_pool::(create_mysql_pool().await);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `SqlDB` in this scope
[INFO] [stdout] --> src/tables.rs:57:39
[INFO] [stdout] |
[INFO] [stdout] 20 | async fn get_users(main_db: web::Data>) -> impl Responder {
[INFO] [stdout] | ^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout] |
[INFO] [stdout] 2 + use typed_sqlx_client::SqlDB;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `MainDatabase` in this scope
[INFO] [stdout] --> src/tables.rs:57:61
[INFO] [stdout] |
[INFO] [stdout] 20 | async fn get_users(main_db: web::Data>) -> impl Responder {
[INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout] |
[INFO] [stdout] 20 | async fn get_users(main_db: web::Data>) -> impl Responder {
[INFO] [stdout] | ++++++++++++++
[INFO] [stdout]
[INFO] [stdout] error[E0405]: cannot find trait `Responder` in this scope
[INFO] [stdout] --> src/tables.rs:57:85
[INFO] [stdout] |
[INFO] [stdout] 20 | async fn get_users(main_db: web::Data>) -> impl Responder {
[INFO] [stdout] | ^^^^^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout] |
[INFO] [stdout] 2 + use actix_web::Responder;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `User` in this scope
[INFO] [stdout] --> src/tables.rs:58:42
[INFO] [stdout] |
[INFO] [stdout] 21 | let user_table = main_db.get_table::();
[INFO] [stdout] | ^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout] |
[INFO] [stdout] 20 | async fn get_users(main_db: web::Data>) -> impl Responder {
[INFO] [stdout] | ++++++
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function `create_pg_pool` in this scope
[INFO] [stdout] --> src/tables.rs:43:54
[INFO] [stdout] |
[INFO] [stdout] 6 | let main_pool = SqlDB::from_pool::(create_pg_pool().await);
[INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function `create_mysql_pool` in this scope
[INFO] [stdout] --> src/tables.rs:44:64
[INFO] [stdout] |
[INFO] [stdout] 7 | let analytics_pool = SqlDB::from_pool::(create_mysql_pool().await);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout]
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/tables.rs - tables::SqlDB (line 26) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SqlDB`
[INFO] [stdout] --> src/tables.rs:31:17
[INFO] [stdout] |
[INFO] [stdout] 7 | let main_pool = SqlDB::from_pool::(main_pg_pool);
[INFO] [stdout] | ^^^^^ use of undeclared type `SqlDB`
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout] |
[INFO] [stdout] 2 + use typed_sqlx_client::SqlDB;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `main_pg_pool` in this scope
[INFO] [stdout] --> src/tables.rs:31:50
[INFO] [stdout] |
[INFO] [stdout] 7 | let main_pool = SqlDB::from_pool::(main_pg_pool);
[INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SqlDB`
[INFO] [stdout] --> src/tables.rs:32:22
[INFO] [stdout] |
[INFO] [stdout] 8 | let analytics_pool = SqlDB::from_pool::(analytics_pg_pool);
[INFO] [stdout] | ^^^^^ use of undeclared type `SqlDB`
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout] |
[INFO] [stdout] 2 + use typed_sqlx_client::SqlDB;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `analytics_pg_pool` in this scope
[INFO] [stdout] --> src/tables.rs:32:60
[INFO] [stdout] |
[INFO] [stdout] 8 | let analytics_pool = SqlDB::from_pool::(analytics_pg_pool);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SqlDB`
[INFO] [stdout] --> src/tables.rs:33:18
[INFO] [stdout] |
[INFO] [stdout] 9 | let cache_pool = SqlDB::from_pool::(cache_sqlite_pool);
[INFO] [stdout] | ^^^^^ use of undeclared type `SqlDB`
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout] |
[INFO] [stdout] 2 + use typed_sqlx_client::SqlDB;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `cache_sqlite_pool` in this scope
[INFO] [stdout] --> src/tables.rs:33:52
[INFO] [stdout] |
[INFO] [stdout] 9 | let cache_pool = SqlDB::from_pool::(cache_sqlite_pool);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout]
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/tables.rs - tables::SqlTable (line 228) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SqlDB`
[INFO] [stdout] --> src/tables.rs:235:17
[INFO] [stdout] |
[INFO] [stdout] 9 | let user_pool = SqlDB::from_pool::(user_pg_pool);
[INFO] [stdout] | ^^^^^ use of undeclared type `SqlDB`
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout] |
[INFO] [stdout] 2 + use typed_sqlx_client::SqlDB;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `user_pg_pool` in this scope
[INFO] [stdout] --> src/tables.rs:235:44
[INFO] [stdout] |
[INFO] [stdout] 9 | let user_pool = SqlDB::from_pool::(user_pg_pool);
[INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SqlDB`
[INFO] [stdout] --> src/tables.rs:236:20
[INFO] [stdout] |
[INFO] [stdout] 10 | let content_pool = SqlDB::from_pool::(content_mysql_pool);
[INFO] [stdout] | ^^^^^ use of undeclared type `SqlDB`
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout] |
[INFO] [stdout] 2 + use typed_sqlx_client::SqlDB;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `content_mysql_pool` in this scope
[INFO] [stdout] --> src/tables.rs:236:50
[INFO] [stdout] |
[INFO] [stdout] 10 | let content_pool = SqlDB::from_pool::(content_mysql_pool);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SqlDB`
[INFO] [stdout] --> src/tables.rs:237:22
[INFO] [stdout] |
[INFO] [stdout] 11 | let analytics_pool = SqlDB::from_pool::(analytics_clickhouse_pool);
[INFO] [stdout] | ^^^^^ use of undeclared type `SqlDB`
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout] |
[INFO] [stdout] 2 + use typed_sqlx_client::SqlDB;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `analytics_clickhouse_pool` in this scope
[INFO] [stdout] --> src/tables.rs:237:54
[INFO] [stdout] |
[INFO] [stdout] 11 | let analytics_pool = SqlDB::from_pool::(analytics_clickhouse_pool);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `User` in this scope
[INFO] [stdout] --> src/tables.rs:240:35
[INFO] [stdout] |
[INFO] [stdout] 14 | let users = user_pool.get_table::(); // User CRUD + custom user logic
[INFO] [stdout] | ^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout] |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_tables_rs_228_0() {
[INFO] [stdout] | ++++++
[INFO] [stdout]
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout] error[E0412]: cannot find type `UserProfile` in this scope
[INFO] [stdout] --> src/tables.rs:241:38
[INFO] [stdout] |
[INFO] [stdout] 15 | let profiles = user_pool.get_table::(); // Profile-specific operations
[INFO] [stdout] | ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout] |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_tables_rs_228_0() {
[INFO] [stdout] | +++++++++++++
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `Post` in this scope
[INFO] [stdout] --> src/tables.rs:242:38
[INFO] [stdout] |
[INFO] [stdout] 16 | let posts = content_pool.get_table::(); // Content operations
[INFO] [stdout] | ^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout] |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_tables_rs_228_0() {
[INFO] [stdout] | ++++++
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `Comment` in this scope
[INFO] [stdout] --> src/tables.rs:243:41
[INFO] [stdout] |
[INFO] [stdout] 17 | let comments = content_pool.get_table::(); // Comment moderation
[INFO] [stdout] | ^^^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout] |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_tables_rs_228_0() {
[INFO] [stdout] | +++++++++
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `Event` in this scope
[INFO] [stdout] --> src/tables.rs:244:41
[INFO] [stdout] |
[INFO] [stdout] 18 | let events = analytics_pool.get_table::();
[INFO] [stdout] | ^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout] |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_tables_rs_228_0() {
[INFO] [stdout] | +++++++
[INFO] [stdout]
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout]
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/tables.rs - tables::SqlDB::from_pool (line 159) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout] --> src/tables.rs:166:69
[INFO] [stdout] |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_tables_rs_159_0() -> core::result::Result<(), impl core::fmt::Debug> {
[INFO] [stdout] | ----------------------------------------------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 10 | let raw_pool = PgPool::connect("postgres://user:pass@localhost/db").await?;
[INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout]
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout]
[INFO] [stdout] For more information about this error, try `rustc --explain E0728`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 112) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SqlDB`
[INFO] [stdout] --> src/lib.rs:116:17
[INFO] [stdout] |
[INFO] [stdout] 6 | let main_pool = SqlDB::from_pool::(main_pg_pool);
[INFO] [stdout] | ^^^^^ use of undeclared type `SqlDB`
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout] |
[INFO] [stdout] 2 + use typed_sqlx_client::SqlDB;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `main_pg_pool` in this scope
[INFO] [stdout] --> src/lib.rs:116:44
[INFO] [stdout] |
[INFO] [stdout] 6 | let main_pool = SqlDB::from_pool::(main_pg_pool);
[INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SqlDB`
[INFO] [stdout] --> src/lib.rs:117:22
[INFO] [stdout] |
[INFO] [stdout] 7 | let analytics_pool = SqlDB::from_pool::(analytics_pg_pool);
[INFO] [stdout] | ^^^^^ use of undeclared type `SqlDB`
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout] |
[INFO] [stdout] 2 + use typed_sqlx_client::SqlDB;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `analytics_pg_pool` in this scope
[INFO] [stdout] --> src/lib.rs:117:54
[INFO] [stdout] |
[INFO] [stdout] 7 | let analytics_pool = SqlDB::from_pool::(analytics_pg_pool);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `User` in this scope
[INFO] [stdout] --> src/lib.rs:119:35
[INFO] [stdout] |
[INFO] [stdout] 9 | let users = main_pool.get_table::();
[INFO] [stdout] | ^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout] |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_112_0() {
[INFO] [stdout] | ++++++
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `Event` in this scope
[INFO] [stdout] --> src/lib.rs:120:41
[INFO] [stdout] |
[INFO] [stdout] 10 | let events = analytics_pool.get_table::();
[INFO] [stdout] | ^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout] |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_112_0() {
[INFO] [stdout] | +++++++
[INFO] [stdout]
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout]
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/tables.rs - tables::SqlDB::pool (line 82) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout] --> src/tables.rs:87:73
[INFO] [stdout] |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_tables_rs_82_0() -> core::result::Result<(), impl core::fmt::Debug> {
[INFO] [stdout] | ---------------------------------------------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let pool = SqlDB::from_pool::(PgPool::connect("postgres://...").await.unwrap());
[INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout]
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout] --> src/tables.rs:91:6
[INFO] [stdout] |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_tables_rs_82_0() -> core::result::Result<(), impl core::fmt::Debug> {
[INFO] [stdout] | ---------------------------------------------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 12 | .await?;
[INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout]
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout]
[INFO] [stdout] For more information about this error, try `rustc --explain E0728`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/tables.rs - tables::SqlDB::from_pool (line 141) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SqlDB`
[INFO] [stdout] --> src/tables.rs:148:17
[INFO] [stdout] |
[INFO] [stdout] 9 | let user_pool = SqlDB::from_pool::(user_pg_pool);
[INFO] [stdout] | ^^^^^ use of undeclared type `SqlDB`
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout] |
[INFO] [stdout] 2 + use typed_sqlx_client::SqlDB;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `user_pg_pool` in this scope
[INFO] [stdout] --> src/tables.rs:148:50
[INFO] [stdout] |
[INFO] [stdout] 9 | let user_pool = SqlDB::from_pool::(user_pg_pool);
[INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SqlDB`
[INFO] [stdout] --> src/tables.rs:149:16
[INFO] [stdout] |
[INFO] [stdout] 10 | let log_pool = SqlDB::from_pool::(log_mysql_pool);
[INFO] [stdout] | ^^^^^ use of undeclared type `SqlDB`
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout] |
[INFO] [stdout] 2 + use typed_sqlx_client::SqlDB;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `log_mysql_pool` in this scope
[INFO] [stdout] --> src/tables.rs:149:52
[INFO] [stdout] |
[INFO] [stdout] 10 | let log_pool = SqlDB::from_pool::(log_mysql_pool);
[INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SqlDB`
[INFO] [stdout] --> src/tables.rs:150:18
[INFO] [stdout] |
[INFO] [stdout] 11 | let cache_pool = SqlDB::from_pool::(cache_sqlite_pool);
[INFO] [stdout] | ^^^^^ use of undeclared type `SqlDB`
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout] |
[INFO] [stdout] 2 + use typed_sqlx_client::SqlDB;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `cache_sqlite_pool` in this scope
[INFO] [stdout] --> src/tables.rs:150:52
[INFO] [stdout] |
[INFO] [stdout] 11 | let cache_pool = SqlDB::from_pool::(cache_sqlite_pool);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `User` in this scope
[INFO] [stdout] --> src/tables.rs:153:40
[INFO] [stdout] |
[INFO] [stdout] 14 | let user_table = user_pool.get_table::(); // ✓ Correct
[INFO] [stdout] | ^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout] |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_tables_rs_141_0() {
[INFO] [stdout] | ++++++
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `LogEntry` in this scope
[INFO] [stdout] --> src/tables.rs:154:38
[INFO] [stdout] |
[INFO] [stdout] 15 | let log_table = log_pool.get_table::();
[INFO] [stdout] | ^^^^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout] |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_tables_rs_141_0() {
[INFO] [stdout] | ++++++++++
[INFO] [stdout]
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout]
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/tables.rs - tables::SqlTable (line 311) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `SqlTable` in this scope
[INFO] [stdout] --> src/tables.rs:315:27
[INFO] [stdout] |
[INFO] [stdout] 6 | user_table: web::Data>,
[INFO] [stdout] | ^^^^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout] |
[INFO] [stdout] 2 + use typed_sqlx_client::SqlTable;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `MainDB` in this scope
[INFO] [stdout] --> src/tables.rs:315:52
[INFO] [stdout] |
[INFO] [stdout] 6 | user_table: web::Data>,
[INFO] [stdout] | ^^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout] |
[INFO] [stdout] 5 | async fn get_user(
[INFO] [stdout] | ++++++++
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `User` in this scope
[INFO] [stdout] --> src/tables.rs:315:60
[INFO] [stdout] |
[INFO] [stdout] 6 | user_table: web::Data>,
[INFO] [stdout] | ^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout] |
[INFO] [stdout] 5 | async fn get_user(
[INFO] [stdout] | ++++++
[INFO] [stdout]
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout]
[INFO] [stdout] For more information about this error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/tables.rs - tables::SqlTable (line 197) stdout ----
[INFO] [stdout] error: cannot find derive macro `FromRow` in this scope
[INFO] [stdout] --> src/tables.rs:203:10
[INFO] [stdout] |
[INFO] [stdout] 8 | #[derive(FromRow, CrudOpsRef)]
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout] |
[INFO] [stdout] 2 + use sqlx::FromRow;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout] error: cannot find derive macro `CrudOpsRef` in this scope
[INFO] [stdout] --> src/tables.rs:203:19
[INFO] [stdout] |
[INFO] [stdout] 8 | #[derive(FromRow, CrudOpsRef)]
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] help: consider importing one of these derive macros
[INFO] [stdout] |
[INFO] [stdout] 2 + use typed_sqlx_client::CrudOpsRef;
[INFO] [stdout] |
[INFO] [stdout] 2 + use typed_sqlx_client_macros::CrudOpsRef;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout] error: cannot find attribute `crud` in this scope
[INFO] [stdout] --> src/tables.rs:204:3
[INFO] [stdout] |
[INFO] [stdout] 9 | #[crud(table = "posts", db = "postgres")]
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout] error: cannot find derive macro `FromRow` in this scope
[INFO] [stdout] --> src/tables.rs:199:10
[INFO] [stdout] |
[INFO] [stdout] 4 | #[derive(FromRow, CrudOpsRef)]
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout] |
[INFO] [stdout] 2 + use sqlx::FromRow;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout] error: cannot find derive macro `CrudOpsRef` in this scope
[INFO] [stdout] --> src/tables.rs:199:19
[INFO] [stdout] |
[INFO] [stdout] 4 | #[derive(FromRow, CrudOpsRef)]
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] help: consider importing one of these derive macros
[INFO] [stdout] |
[INFO] [stdout] 2 + use typed_sqlx_client::CrudOpsRef;
[INFO] [stdout] |
[INFO] [stdout] 2 + use typed_sqlx_client_macros::CrudOpsRef;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout] error: cannot find attribute `crud` in this scope
[INFO] [stdout] --> src/tables.rs:200:3
[INFO] [stdout] |
[INFO] [stdout] 5 | #[crud(table = "users", db = "postgres")]
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout] error[E0405]: cannot find trait `CustomAnalytics` in this scope
[INFO] [stdout] --> src/tables.rs:208:6
[INFO] [stdout] |
[INFO] [stdout] 13 | impl CustomAnalytics for SqlTable {
[INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `SqlTable` in this scope
[INFO] [stdout] --> src/tables.rs:208:26
[INFO] [stdout] |
[INFO] [stdout] 13 | impl CustomAnalytics for SqlTable {
[INFO] [stdout] | ^^^^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout] |
[INFO] [stdout] 2 + use typed_sqlx_client::SqlTable;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `Postgres` in this scope
[INFO] [stdout] --> src/tables.rs:208:35
[INFO] [stdout] |
[INFO] [stdout] 13 | impl CustomAnalytics for SqlTable {
[INFO] [stdout] | ^^^^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout] |
[INFO] [stdout] 2 + use sqlx::Postgres;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `MainDB` in this scope
[INFO] [stdout] --> src/tables.rs:208:45
[INFO] [stdout] |
[INFO] [stdout] 13 | impl CustomAnalytics for SqlTable {
[INFO] [stdout] | ^^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout] |
[INFO] [stdout] 13 | impl CustomAnalytics for SqlTable {
[INFO] [stdout] | ++++++++
[INFO] [stdout]
[INFO] [stdout] error[E0405]: cannot find trait `Future` in this scope
[INFO] [stdout] --> src/tables.rs:209:40
[INFO] [stdout] |
[INFO] [stdout] 14 | fn get_user_metrics(&self) -> impl Future