[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 { /* */ } [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::future::Future; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UserMetrics` in this scope [INFO] [stdout] --> src/tables.rs:209:56 [INFO] [stdout] | [INFO] [stdout] 14 | fn get_user_metrics(&self) -> impl Future { /* */ } [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ContentModeration` in this scope [INFO] [stdout] --> src/tables.rs:212:6 [INFO] [stdout] | [INFO] [stdout] 17 | impl ContentModeration 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:212:28 [INFO] [stdout] | [INFO] [stdout] 17 | impl ContentModeration 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:212:37 [INFO] [stdout] | [INFO] [stdout] 17 | impl ContentModeration 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:212:47 [INFO] [stdout] | [INFO] [stdout] 17 | impl ContentModeration 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] 17 | impl ContentModeration for SqlTable { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Future` in this scope [INFO] [stdout] --> src/tables.rs:213:40 [INFO] [stdout] | [INFO] [stdout] 18 | fn moderate_content(&self) -> impl Future { /* */ } [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::future::Future; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ModerationResult` in this scope [INFO] [stdout] --> src/tables.rs:213:56 [INFO] [stdout] | [INFO] [stdout] 18 | fn moderate_content(&self) -> impl Future { /* */ } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412. [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::get_table (line 370) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `SqlTable` in this scope [INFO] [stdout] --> src/tables.rs:374:21 [INFO] [stdout] | [INFO] [stdout] 6 | user_table: Arc>, [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:374:46 [INFO] [stdout] | [INFO] [stdout] 6 | user_table: Arc>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 5 | struct AppState { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `User` in this scope [INFO] [stdout] --> src/tables.rs:374:54 [INFO] [stdout] | [INFO] [stdout] 6 | user_table: Arc>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 5 | struct AppState { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SqlTable` in this scope [INFO] [stdout] --> src/tables.rs:375:21 [INFO] [stdout] | [INFO] [stdout] 7 | post_table: Arc>, [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:375:46 [INFO] [stdout] | [INFO] [stdout] 7 | post_table: Arc>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 5 | struct AppState { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> src/tables.rs:375:54 [INFO] [stdout] | [INFO] [stdout] 7 | post_table: Arc>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 5 | struct AppState { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SqlDB` in this scope [INFO] [stdout] --> src/tables.rs:379:18 [INFO] [stdout] | [INFO] [stdout] 11 | fn new(pool: SqlDB) -> Self { [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 `MainDB` in this scope [INFO] [stdout] --> src/tables.rs:379:40 [INFO] [stdout] | [INFO] [stdout] 11 | fn new(pool: SqlDB) -> Self { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 10 | impl AppState { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `User` in this scope [INFO] [stdout] --> src/tables.rs:381:51 [INFO] [stdout] | [INFO] [stdout] 13 | user_table: Arc::new(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] 10 | impl AppState { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> src/tables.rs:382:51 [INFO] [stdout] | [INFO] [stdout] 14 | post_table: Arc::new(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] 10 | impl AppState { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 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/traits.rs - traits::CrudOpsRef (line 25) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `User: Clone` is not satisfied [INFO] [stdout] --> src/traits.rs:66:18 [INFO] [stdout] | [INFO] [stdout] 44 | let users = vec![user; 5]; [INFO] [stdout] | -----^^^^---- [INFO] [stdout] | | | [INFO] [stdout] | | the trait `Clone` is not implemented for `User` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `from_elem` [INFO] [stdout] --> /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/alloc/src/vec/mod.rs:3474:1 [INFO] [stdout] help: consider annotating `User` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 11 + #[derive(Clone)] [INFO] [stdout] 12 | struct User { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/tables.rs - tables::SqlDB::get_table (line 356) stdout ---- [INFO] [stdout] Test executable failed (exit status: 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] [INFO] [stdout] thread 'main' (310) panicked at src/tables.rs:11:43: [INFO] [stdout] not yet implemented [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d4812385242 - std::backtrace_rs::backtrace::libunwind::trace::h16acf28769fcd909 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d4812385242 - std::backtrace_rs::backtrace::trace_unsynchronized::hb5541aa5d4f92513 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d4812385242 - std::sys::backtrace::_print_fmt::h8ac8268cb667a306 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d4812385242 - ::fmt::h47627beda0767f4c [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d4812393e3f - core::fmt::rt::Argument::fmt::h686a01ad57c1c92a [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d4812393e3f - core::fmt::write::h8a63064c67176fd8 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x5d4812363e03 - std::io::default_write_fmt::hc257f38f86d39af6 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d4812363e03 - std::io::Write::write_fmt::h5e9b646cef91150b [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d4812368e62 - std::sys::backtrace::BacktraceLock::print::h4634d27c0afbaebb [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d481236a68c - std::panicking::default_hook::{{closure}}::h23e0299d4738b766 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d481236a4e6 - std::panicking::default_hook::hfeec6294e8751b62 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x5d481236ac65 - std::panicking::panic_with_hook::hd57cd463d793ed79 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x5d481236aac6 - std::panicking::panic_handler::{{closure}}::hddd6216c3fddee3b [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:700:13 [INFO] [stdout] 13: 0x5d4812368f99 - std::sys::backtrace::__rust_end_short_backtrace::h5e7a56f283378525 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x5d4812358aad - __rustc[256c90bb7e548b45]::rust_begin_unwind [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x5d4812396d50 - core::panicking::panic_fmt::hf19c198748ef6a95 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panicking.rs:80:14 [INFO] [stdout] 16: 0x5d4812396d2c - core::panicking::panic::h5387b4c27e81d0dd [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panicking.rs:150:5 [INFO] [stdout] 17: 0x5d48123587aa - rust_out::main::_doctest_main_src_tables_rs_356_0::h1e3bb07a06615d2b [INFO] [stdout] 18: 0x5d4812358786 - rust_out::main::he986860d8b7bc94f [INFO] [stdout] 19: 0x5d4812358723 - core::ops::function::FnOnce::call_once::hd0f888ea33950d2d [INFO] [stdout] 20: 0x5d4812358706 - std::sys::backtrace::__rust_begin_short_backtrace::h70a8cfcb1f800bff [INFO] [stdout] 21: 0x5d48123586e9 - std::rt::lang_start::{{closure}}::h03ca8d00642774ee [INFO] [stdout] 22: 0x5d4812364ec0 - core::ops::function::impls:: for &F>::call_once::hdf957eac011d0136 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 23: 0x5d4812364ec0 - std::panicking::catch_unwind::do_call::h9ff550f7799115e1 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:590:40 [INFO] [stdout] 24: 0x5d4812364ec0 - std::panicking::catch_unwind::ha7ce46787bb12905 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:553:19 [INFO] [stdout] 25: 0x5d4812364ec0 - std::panic::catch_unwind::h625b36596def7d39 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panic.rs:359:14 [INFO] [stdout] 26: 0x5d4812364ec0 - std::rt::lang_start_internal::{{closure}}::h4cbc9430de699e2c [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/rt.rs:175:24 [INFO] [stdout] 27: 0x5d4812364ec0 - std::panicking::catch_unwind::do_call::h5af2f11409a22e3e [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:590:40 [INFO] [stdout] 28: 0x5d4812364ec0 - std::panicking::catch_unwind::hf64cf7b0d8070f52 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:553:19 [INFO] [stdout] 29: 0x5d4812364ec0 - std::panic::catch_unwind::h480b74763390cdcf [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x5d4812364ec0 - std::rt::lang_start_internal::h4b3d04f698aef094 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/rt.rs:171:5 [INFO] [stdout] 31: 0x5d48123586d1 - std::rt::lang_start::h457230af78cce7e7 [INFO] [stdout] 32: 0x5d48123587c5 - main [INFO] [stdout] 33: 0x7e95059081ca - [INFO] [stdout] 34: 0x7e950590828b - __libc_start_main [INFO] [stdout] 35: 0x5d48123585e5 - _start [INFO] [stdout] 36: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/traits.rs - traits::SelectOnlyQuery (line 280) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `for<'r> User: FromRow<'r, PgRow>` is not satisfied [INFO] [stdout] --> src/traits.rs:285:55 [INFO] [stdout] | [INFO] [stdout] 8 | let users: Vec = table.execute_select_as_only::("SELECT * FROM users").await?; [INFO] [stdout] | ---------------------- ^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `for<'r> FromRow<'r, PgRow>` is not implemented for `User` [INFO] [stdout] --> src/traits.rs:296:1 [INFO] [stdout] | [INFO] [stdout] 19 | struct User; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `FromRow<'r, R>`: [INFO] [stdout] () [INFO] [stdout] (T1, T2) [INFO] [stdout] (T1, T2, T3) [INFO] [stdout] (T1, T2, T3, T4) [INFO] [stdout] (T1, T2, T3, T4, T5) [INFO] [stdout] (T1, T2, T3, T4, T5, T6) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8) [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `execute_select_as_only` [INFO] [stdout] --> /opt/rustwide/workdir/src/traits.rs:480:12 [INFO] [stdout] | [INFO] [stdout] 475 | fn execute_select_as_only( [INFO] [stdout] | ---------------------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 480 | T: for<'r> sqlx::FromRow<'r,

::Row> + Send + Unpin + 'static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `SelectOnlyQuery::execute_select_as_only` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'r> User: FromRow<'r, PgRow>` is not satisfied [INFO] [stdout] --> src/traits.rs:285:24 [INFO] [stdout] | [INFO] [stdout] 8 | let users: Vec = table.execute_select_as_only::("SELECT * FROM users").await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `for<'r> FromRow<'r, PgRow>` is not implemented for `User` [INFO] [stdout] --> src/traits.rs:296:1 [INFO] [stdout] | [INFO] [stdout] 19 | struct User; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `FromRow<'r, R>`: [INFO] [stdout] () [INFO] [stdout] (T1, T2) [INFO] [stdout] (T1, T2, T3) [INFO] [stdout] (T1, T2, T3, T4) [INFO] [stdout] (T1, T2, T3, T4, T5) [INFO] [stdout] (T1, T2, T3, T4, T5, T6) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8) [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `SelectOnlyQuery::execute_select_as_only::{anon_assoc#0}` [INFO] [stdout] --> /opt/rustwide/workdir/src/traits.rs:480:12 [INFO] [stdout] | [INFO] [stdout] 480 | T: for<'r> sqlx::FromRow<'r,

::Row> + Send + Unpin + 'static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `SelectOnlyQuery::execute_select_as_only::{anon_assoc#0}` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'r> User: FromRow<'r, PgRow>` is not satisfied [INFO] [stdout] --> src/traits.rs:285:84 [INFO] [stdout] | [INFO] [stdout] 8 | let users: Vec = table.execute_select_as_only::("SELECT * FROM users").await?; [INFO] [stdout] | ^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `for<'r> FromRow<'r, PgRow>` is not implemented for `User` [INFO] [stdout] --> src/traits.rs:296:1 [INFO] [stdout] | [INFO] [stdout] 19 | struct User; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `FromRow<'r, R>`: [INFO] [stdout] () [INFO] [stdout] (T1, T2) [INFO] [stdout] (T1, T2, T3) [INFO] [stdout] (T1, T2, T3, T4) [INFO] [stdout] (T1, T2, T3, T4, T5) [INFO] [stdout] (T1, T2, T3, T4, T5, T6) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8) [INFO] [stdout] and 9 others [INFO] [stdout] note: required by a bound in `SelectOnlyQuery::execute_select_as_only::{anon_assoc#0}` [INFO] [stdout] --> /opt/rustwide/workdir/src/traits.rs:480:12 [INFO] [stdout] | [INFO] [stdout] 480 | T: for<'r> sqlx::FromRow<'r,

::Row> + Send + Unpin + 'static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `SelectOnlyQuery::execute_select_as_only::{anon_assoc#0}` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/tables.rs - tables::SqlDB::get_table (line 346) stdout ---- [INFO] [stdout] Test executable failed (exit status: 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] [INFO] [stdout] thread 'main' (375) panicked at src/tables.rs:9:43: [INFO] [stdout] not yet implemented [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x611f38de4242 - std::backtrace_rs::backtrace::libunwind::trace::h16acf28769fcd909 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x611f38de4242 - std::backtrace_rs::backtrace::trace_unsynchronized::hb5541aa5d4f92513 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x611f38de4242 - std::sys::backtrace::_print_fmt::h8ac8268cb667a306 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x611f38de4242 - ::fmt::h47627beda0767f4c [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x611f38df2e3f - core::fmt::rt::Argument::fmt::h686a01ad57c1c92a [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x611f38df2e3f - core::fmt::write::h8a63064c67176fd8 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x611f38dc2e03 - std::io::default_write_fmt::hc257f38f86d39af6 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x611f38dc2e03 - std::io::Write::write_fmt::h5e9b646cef91150b [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x611f38dc7e62 - std::sys::backtrace::BacktraceLock::print::h4634d27c0afbaebb [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x611f38dc968c - std::panicking::default_hook::{{closure}}::h23e0299d4738b766 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x611f38dc94e6 - std::panicking::default_hook::hfeec6294e8751b62 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x611f38dc9c65 - std::panicking::panic_with_hook::hd57cd463d793ed79 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x611f38dc9ac6 - std::panicking::panic_handler::{{closure}}::hddd6216c3fddee3b [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:700:13 [INFO] [stdout] 13: 0x611f38dc7f99 - std::sys::backtrace::__rust_end_short_backtrace::h5e7a56f283378525 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x611f38db7aad - __rustc[256c90bb7e548b45]::rust_begin_unwind [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x611f38df5d50 - core::panicking::panic_fmt::hf19c198748ef6a95 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panicking.rs:80:14 [INFO] [stdout] 16: 0x611f38df5d2c - core::panicking::panic::h5387b4c27e81d0dd [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panicking.rs:150:5 [INFO] [stdout] 17: 0x611f38db77aa - rust_out::main::_doctest_main_src_tables_rs_346_0::hb68ae331ec8522e4 [INFO] [stdout] 18: 0x611f38db7786 - rust_out::main::he986860d8b7bc94f [INFO] [stdout] 19: 0x611f38db7723 - core::ops::function::FnOnce::call_once::hd0f888ea33950d2d [INFO] [stdout] 20: 0x611f38db7706 - std::sys::backtrace::__rust_begin_short_backtrace::h70a8cfcb1f800bff [INFO] [stdout] 21: 0x611f38db76e9 - std::rt::lang_start::{{closure}}::h03ca8d00642774ee [INFO] [stdout] 22: 0x611f38dc3ec0 - core::ops::function::impls:: for &F>::call_once::hdf957eac011d0136 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 23: 0x611f38dc3ec0 - std::panicking::catch_unwind::do_call::h9ff550f7799115e1 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:590:40 [INFO] [stdout] 24: 0x611f38dc3ec0 - std::panicking::catch_unwind::ha7ce46787bb12905 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:553:19 [INFO] [stdout] 25: 0x611f38dc3ec0 - std::panic::catch_unwind::h625b36596def7d39 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panic.rs:359:14 [INFO] [stdout] 26: 0x611f38dc3ec0 - std::rt::lang_start_internal::{{closure}}::h4cbc9430de699e2c [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/rt.rs:175:24 [INFO] [stdout] 27: 0x611f38dc3ec0 - std::panicking::catch_unwind::do_call::h5af2f11409a22e3e [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:590:40 [INFO] [stdout] 28: 0x611f38dc3ec0 - std::panicking::catch_unwind::hf64cf7b0d8070f52 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:553:19 [INFO] [stdout] 29: 0x611f38dc3ec0 - std::panic::catch_unwind::h480b74763390cdcf [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x611f38dc3ec0 - std::rt::lang_start_internal::h4b3d04f698aef094 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/rt.rs:171:5 [INFO] [stdout] 31: 0x611f38db76d1 - std::rt::lang_start::h457230af78cce7e7 [INFO] [stdout] 32: 0x611f38db77c5 - main [INFO] [stdout] 33: 0x7fda76e521ca - [INFO] [stdout] 34: 0x7fda76e5228b - __libc_start_main [INFO] [stdout] 35: 0x611f38db75e5 - _start [INFO] [stdout] 36: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 53) stdout ---- [INFO] [stdout] Test executable failed (exit status: 1). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] Error: Io(Custom { kind: Uncategorized, error: "failed to lookup address information: Name or service not known" }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 112) [INFO] [stdout] src/lib.rs - (line 53) [INFO] [stdout] src/tables.rs - tables::SqlDB (line 26) [INFO] [stdout] src/tables.rs - tables::SqlDB (line 38) [INFO] [stdout] src/tables.rs - tables::SqlDB::from_pool (line 141) [INFO] [stdout] src/tables.rs - tables::SqlDB::from_pool (line 159) [INFO] [stdout] src/tables.rs - tables::SqlDB::get_table (line 346) [INFO] [stdout] src/tables.rs - tables::SqlDB::get_table (line 356) [INFO] [stdout] src/tables.rs - tables::SqlDB::get_table (line 370) [INFO] [stdout] src/tables.rs - tables::SqlDB::pool (line 82) [INFO] [stdout] src/tables.rs - tables::SqlTable (line 197) [INFO] [stdout] src/tables.rs - tables::SqlTable (line 228) [INFO] [stdout] src/tables.rs - tables::SqlTable (line 311) [INFO] [stdout] src/tables.rs - tables::SqlTable::get_pool (line 408) [INFO] [stdout] src/traits.rs - traits::CrudOpsRef (line 25) [INFO] [stdout] src/traits.rs - traits::SelectOnlyQuery (line 280) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 14 passed; 16 failed; 1 ignored; 0 measured; 0 filtered out; finished in 3.32s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5b22522c7d7efc05be52bde7a5417729191b78ad0a3a0f7a49acbd438a627ca7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b22522c7d7efc05be52bde7a5417729191b78ad0a3a0f7a49acbd438a627ca7", kill_on_drop: false }` [INFO] [stdout] 5b22522c7d7efc05be52bde7a5417729191b78ad0a3a0f7a49acbd438a627ca7