[INFO] fetching crate typed_sqlx_client 0.2.2...
[INFO] testing typed_sqlx_client-0.2.2 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2
[INFO] extracting crate typed_sqlx_client 0.2.2 into /workspace/builds/worker-6-tc2/source
[INFO] started tweaking crates.io crate typed_sqlx_client 0.2.2
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate typed_sqlx_client 0.2.2
[INFO] tweaked toml for crates.io crate typed_sqlx_client 0.2.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate typed_sqlx_client 0.2.2 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate typed_sqlx_client 0.2.2 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 483056fcd29cbb586c71aad7012e149b10ab8b856436a1f20d541cc2ab273aba
[INFO] running `Command { std: "docker" "start" "-a" "483056fcd29cbb586c71aad7012e149b10ab8b856436a1f20d541cc2ab273aba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "483056fcd29cbb586c71aad7012e149b10ab8b856436a1f20d541cc2ab273aba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "483056fcd29cbb586c71aad7012e149b10ab8b856436a1f20d541cc2ab273aba", kill_on_drop: false }`
[INFO] [stdout] 483056fcd29cbb586c71aad7012e149b10ab8b856436a1f20d541cc2ab273aba
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fd7ff123112d41a646e4aa788b15f0b4d7d7dfdc7dee581aa010db0c3f6f1732
[INFO] running `Command { std: "docker" "start" "-a" "fd7ff123112d41a646e4aa788b15f0b4d7d7dfdc7dee581aa010db0c3f6f1732", kill_on_drop: false }`
[INFO] [stderr] Compiling writeable v0.6.1
[INFO] [stderr] Compiling litemap v0.8.0
[INFO] [stderr] Compiling typenum v1.18.0
[INFO] [stderr] Compiling icu_normalizer_data v2.0.0
[INFO] [stderr] Compiling icu_properties_data v2.0.1
[INFO] [stderr] Compiling libc v0.2.174
[INFO] [stderr] Compiling generic-array v0.14.7
[INFO] [stderr] Compiling syn v2.0.104
[INFO] [stderr] Compiling serde v1.0.219
[INFO] [stderr] Compiling thiserror v2.0.12
[INFO] [stderr] Compiling percent-encoding v2.3.1
[INFO] [stderr] Compiling tracing-core v0.1.34
[INFO] [stderr] Compiling form_urlencoded v1.2.1
[INFO] [stderr] Compiling concurrent-queue v2.5.0
[INFO] [stderr] Compiling crc-catalog v2.4.0
[INFO] [stderr] Compiling log v0.4.27
[INFO] [stderr] Compiling futures-sink v0.3.31
[INFO] [stderr] Compiling slab v0.4.10
[INFO] [stderr] Compiling event-listener v5.4.0
[INFO] [stderr] Compiling crc v3.3.0
[INFO] [stderr] Compiling hashlink v0.10.0
[INFO] [stderr] Compiling futures-util v0.3.31
[INFO] [stderr] Compiling crossbeam-queue v0.3.12
[INFO] [stderr] Compiling bytes v1.10.1
[INFO] [stderr] Compiling base64 v0.22.1
[INFO] [stderr] Compiling parking_lot_core v0.9.11
[INFO] [stderr] Compiling parking_lot v0.12.4
[INFO] [stderr] Compiling futures-intrusive v0.5.0
[INFO] [stderr] Compiling block-buffer v0.10.4
[INFO] [stderr] Compiling crypto-common v0.1.6
[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 thiserror-impl v2.0.12
[INFO] [stderr] Compiling tracing-attributes v0.1.30
[INFO] [stderr] Compiling typed_sqlx_client_macros v0.2.2
[INFO] [stderr] Compiling zerofrom v0.1.6
[INFO] [stderr] Compiling yoke v0.8.0
[INFO] [stderr] Compiling tracing v0.1.41
[INFO] [stderr] Compiling zerovec v0.11.2
[INFO] [stderr] Compiling zerotrie v0.2.2
[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_properties v2.0.1
[INFO] [stderr] Compiling icu_normalizer v2.0.0
[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.2 (/opt/rustwide/workdir)
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.18s
[INFO] running `Command { std: "docker" "inspect" "fd7ff123112d41a646e4aa788b15f0b4d7d7dfdc7dee581aa010db0c3f6f1732", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fd7ff123112d41a646e4aa788b15f0b4d7d7dfdc7dee581aa010db0c3f6f1732", kill_on_drop: false }`
[INFO] [stdout] fd7ff123112d41a646e4aa788b15f0b4d7d7dfdc7dee581aa010db0c3f6f1732
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cd895625800035e42225ce01af5932eed62526991a3595e70af201eadf6ea014
[INFO] running `Command { std: "docker" "start" "-a" "cd895625800035e42225ce01af5932eed62526991a3595e70af201eadf6ea014", kill_on_drop: false }`
[INFO] [stderr] Compiling smallvec v1.15.1
[INFO] [stderr] Compiling socket2 v0.5.10
[INFO] [stderr] Compiling crypto-common v0.1.6
[INFO] [stderr] Compiling bytes v1.10.1
[INFO] [stderr] Compiling zerocopy v0.8.26
[INFO] [stderr] Compiling jobserver v0.1.33
[INFO] [stderr] Compiling futures-sink v0.3.31
[INFO] [stderr] Compiling libm v0.2.15
[INFO] [stderr] Compiling digest v0.10.7
[INFO] [stderr] Compiling num-traits v0.2.19
[INFO] [stderr] Compiling parking_lot_core v0.9.11
[INFO] [stderr] Compiling cc v1.2.27
[INFO] [stderr] Compiling icu_normalizer v2.0.0
[INFO] [stderr] Compiling foldhash v0.1.5
[INFO] [stderr] Compiling pkg-config v0.3.32
[INFO] [stderr] Compiling hashbrown v0.15.4
[INFO] [stderr] Compiling parking_lot v0.12.4
[INFO] [stderr] Compiling idna_adapter v1.2.1
[INFO] [stderr] Compiling form_urlencoded v1.2.1
[INFO] [stderr] Compiling mio v1.0.4
[INFO] [stderr] Compiling signal-hook-registry v1.4.5
[INFO] [stderr] Compiling tokio-macros v2.5.0
[INFO] [stderr] Compiling idna v1.0.3
[INFO] [stderr] Compiling getrandom v0.3.3
[INFO] [stderr] Compiling url v2.5.4
[INFO] [stderr] Compiling getrandom v0.2.16
[INFO] [stderr] Compiling tokio v1.45.1
[INFO] [stderr] Compiling rand_core v0.6.4
[INFO] [stderr] Compiling futures-intrusive v0.5.0
[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 ppv-lite86 v0.2.21
[INFO] [stderr] Compiling base64ct v1.8.0
[INFO] [stderr] Compiling zeroize v1.8.1
[INFO] [stderr] Compiling bitflags v2.9.1
[INFO] [stderr] Compiling tinyvec_macros v0.1.1
[INFO] [stderr] Compiling tinyvec v1.9.0
[INFO] [stderr] Compiling pem-rfc7468 v0.7.0
[INFO] [stderr] Compiling rand_chacha v0.3.1
[INFO] [stderr] Compiling atoi v2.0.0
[INFO] [stderr] Compiling indexmap v2.10.0
[INFO] [stderr] Compiling rand v0.8.5
[INFO] [stderr] Compiling der v0.7.10
[INFO] [stderr] Compiling byteorder v1.5.0
[INFO] [stderr] Compiling unicode-normalization v0.1.24
[INFO] [stderr] Compiling num-integer v0.1.46
[INFO] [stderr] Compiling hmac v0.12.1
[INFO] [stderr] Compiling unicode-properties v0.1.3
[INFO] [stderr] Compiling num-bigint-dig v0.8.4
[INFO] [stderr] Compiling unicode-xid v0.2.6
[INFO] [stderr] Compiling unicode-bidi v0.3.18
[INFO] [stderr] Compiling derive_more-impl v2.0.1
[INFO] [stderr] Compiling spki v0.7.3
[INFO] [stderr] Compiling pkcs8 v0.10.2
[INFO] [stderr] Compiling stringprep v0.1.5
[INFO] [stderr] Compiling libsqlite3-sys v0.30.1
[INFO] [stderr] Compiling hkdf v0.12.4
[INFO] [stderr] Compiling num-iter v0.1.45
[INFO] [stderr] Compiling hashlink v0.10.0
[INFO] [stderr] Compiling lazy_static v1.5.0
[INFO] [stderr] Compiling sha2 v0.10.9
[INFO] [stderr] Compiling md-5 v0.10.6
[INFO] [stderr] Compiling whoami v1.6.0
[INFO] [stderr] Compiling dotenvy v0.15.7
[INFO] [stderr] Compiling base64 v0.22.1
[INFO] [stderr] Compiling uuid v1.17.0
[INFO] [stderr] Compiling tokio-stream v0.1.17
[INFO] [stderr] Compiling pkcs1 v0.7.5
[INFO] [stderr] Compiling futures-channel v0.3.31
[INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7
[INFO] [stderr] Compiling signature v2.2.0
[INFO] [stderr] Compiling serde_urlencoded v0.7.1
[INFO] [stderr] Compiling tiny-keccak v2.0.2
[INFO] [stderr] Compiling sqlx-core v0.8.6
[INFO] [stderr] Compiling ruint-macro v1.2.1
[INFO] [stderr] Compiling ruint v1.15.0
[INFO] [stderr] Compiling rsa v0.9.8
[INFO] [stderr] Compiling derive_more v2.0.1
[INFO] [stderr] Compiling futures-executor v0.3.31
[INFO] [stderr] Compiling flume v0.11.1
[INFO] [stderr] Compiling sha1 v0.10.6
[INFO] [stderr] Compiling const-hex v1.14.1
[INFO] [stderr] Compiling local-waker v0.1.4
[INFO] [stderr] Compiling zstd-safe v7.2.4
[INFO] [stderr] Compiling alloc-no-stdlib v2.0.4
[INFO] [stderr] Compiling http v0.2.12
[INFO] [stderr] Compiling alloy-primitives v1.2.1
[INFO] [stderr] Compiling alloc-stdlib v0.2.2
[INFO] [stderr] Compiling tokio-util v0.7.15
[INFO] [stderr] Compiling rand_core v0.9.3
[INFO] [stderr] Compiling httparse v1.10.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 sqlx-postgres v0.8.6
[INFO] [stderr] Compiling sqlx-mysql v0.8.6
[INFO] [stderr] Compiling rand_chacha v0.9.0
[INFO] [stderr] Compiling brotli-decompressor v5.0.0
[INFO] [stderr] Compiling actix-utils v3.0.1
[INFO] [stderr] Compiling actix-rt v2.10.0
[INFO] [stderr] Compiling bytestring v1.4.0
[INFO] [stderr] Compiling actix-service v2.0.3
[INFO] [stderr] Compiling cookie v0.16.2
[INFO] [stderr] Compiling crc32fast v1.4.2
[INFO] [stderr] Compiling flate2 v1.1.2
[INFO] [stderr] Compiling actix-router v0.5.3
[INFO] [stderr] Compiling brotli v8.0.1
[INFO] [stderr] Compiling rand v0.9.1
[INFO] [stderr] Compiling time v0.3.41
[INFO] [stderr] Compiling alloy-serde v1.0.17
[INFO] [stderr] Compiling alloy-core v1.2.1
[INFO] [stderr] Compiling h2 v0.3.26
[INFO] [stderr] Compiling actix-codec v0.5.2
[INFO] [stderr] Compiling local-channel v0.1.5
[INFO] [stderr] Compiling encoding_rs v0.8.35
[INFO] [stderr] Compiling httpdate v1.0.3
[INFO] [stderr] Compiling sqlx-sqlite v0.8.6
[INFO] [stderr] Compiling language-tags v0.3.2
[INFO] [stderr] Compiling alloy v1.0.17
[INFO] [stderr] Compiling sqlx-macros-core v0.8.6
[INFO] [stderr] Compiling actix-web-codegen v4.3.0
[INFO] [stderr] Compiling actix-server v2.6.0
[INFO] [stderr] Compiling actix-macros v0.2.4
[INFO] [stderr] Compiling impl-more v0.1.9
[INFO] [stderr] Compiling ethereum-mysql v3.0.0
[INFO] [stderr] Compiling zstd v0.13.3
[INFO] [stderr] Compiling sqlx-macros v0.8.6
[INFO] [stderr] Compiling actix-http v3.11.0
[INFO] [stderr] Compiling sqlx v0.8.6
[INFO] [stderr] Compiling typed_sqlx_client v0.2.2 (/opt/rustwide/workdir)
[INFO] [stderr] Compiling actix-web v4.11.0
[INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3m 23s
[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 1`
[INFO] running `Command { std: "docker" "inspect" "cd895625800035e42225ce01af5932eed62526991a3595e70af201eadf6ea014", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cd895625800035e42225ce01af5932eed62526991a3595e70af201eadf6ea014", kill_on_drop: false }`
[INFO] [stdout] cd895625800035e42225ce01af5932eed62526991a3595e70af201eadf6ea014
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 75388546c4ef6752efc8b123c83d7767c9e055774fc8566ff4477dc13398721e
[INFO] running `Command { std: "docker" "start" "-a" "75388546c4ef6752efc8b123c83d7767c9e055774fc8566ff4477dc13398721e", kill_on_drop: false }`
[INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.52s
[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 1`
[INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/typed_sqlx_client-0eee69e526356880)
[INFO] [stdout]
[INFO] [stderr] Doc-tests typed_sqlx_client
[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] [stdout]
[INFO] [stdout] running 31 tests
[INFO] [stdout] test src/tables.rs - tables::SqlDB
::from_pool (line 141) ... 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::SqlTable (line 183) ... ignored
[INFO] [stdout] test src/tables.rs - tables::SqlDB (line 38) ... FAILED
[INFO] [stdout] test src/tables.rs - tables::SqlDB
::get_table (line 370) ... FAILED
[INFO] [stdout] test src/tables.rs - tables::SqlDB (line 26) ... FAILED
[INFO] [stdout] test src/tables.rs - tables::SqlDB
::pool (line 82) ... FAILED
[INFO] [stdout] test src/tables.rs - tables::SqlDB
::get_table (line 356) ... FAILED
[INFO] [stdout] test src/tables.rs - tables::SqlTable
::get_pool (line 408) ... FAILED
[INFO] [stdout] test src/tables.rs - tables::SqlDB
::get_table (line 346) ... FAILED
[INFO] [stdout] test src/tables.rs - tables::SqlTable (line 228) ... FAILED
[INFO] [stdout] test src/tables.rs - tables::SqlTable (line 197) ... FAILED
[INFO] [stdout] test src/tables.rs - tables::SqlTable (line 311) ... FAILED
[INFO] [stdout] test src/traits.rs - traits::CrudOpsRef (line 25) ... FAILED
[INFO] [stdout] test src/tables.rs - tables::SqlTable (line 284) ... ok
[INFO] [stdout] test src/tables.rs - tables::SqlTable (line 256) ... ok
[INFO] [stdout] test src/traits.rs - traits::CrudOpsRef::delete_by_id (line 232) ... ok
[INFO] [stdout] test src/traits.rs - traits::CrudOpsRef (line 75) ... ok
[INFO] [stdout] test src/traits.rs - traits::SelectOnlyQuery (line 285) ... FAILED
[INFO] [stdout] test src/traits.rs - traits::CrudOpsRef::insert (line 110) ... ok
[INFO] [stdout] test src/traits.rs - traits::CrudOpsRef::insert_batch (line 136) ... ok
[INFO] [stdout] test src/traits.rs - traits::CrudOpsRef::get_by_id (line 167) ... ok
[INFO] [stdout] test src/traits.rs - traits::CrudOpsRef::update_by_id (line 199) ... ok
[INFO] [stdout] test src/traits.rs - traits::SelectOnlyQuery::execute_select_only (line 360) ... ok
[INFO] [stdout] test src/traits.rs - traits::SelectOnlyQuery (line 305) ... ok
[INFO] [stdout] test src/traits.rs - traits::SelectOnlyQuery::execute_select_as_only (line 418) ... ok
[INFO] [stdout] test src/traits.rs - traits::SelectOnlyQuery::execute_select_as_only (line 449) ... ok
[INFO] [stdout] test src/traits.rs - traits::SelectOnlyQuery::execute_select_as_only (line 464) ... ok
[INFO] [stdout] test src/traits.rs - traits::SelectOnlyQuery::execute_select_as_only (line 432) ... ok
[INFO] [stdout] test src/lib.rs - (line 53) ... FAILED
[INFO] [stdout]
[INFO] [stdout] failures:
[INFO] [stdout]
[INFO] [stdout] ---- src/tables.rs - tables::SqlDB
::from_pool (line 141) stdout ----
[INFO] [stdout] error[E0433]: cannot find type `SqlDB` in this scope
[INFO] [stdout] --> src/tables.rs:148:17
[INFO] [stdout] |
[INFO] [stdout] 148 | 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] 141 + 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] 148 | let user_pool = SqlDB::from_pool::(user_pg_pool);
[INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout] error[E0433]: cannot find type `SqlDB` in this scope
[INFO] [stdout] --> src/tables.rs:149:16
[INFO] [stdout] |
[INFO] [stdout] 149 | 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] 141 + 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] 149 | let log_pool = SqlDB::from_pool::(log_mysql_pool);
[INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout] error[E0433]: cannot find type `SqlDB` in this scope
[INFO] [stdout] --> src/tables.rs:150:18
[INFO] [stdout] |
[INFO] [stdout] 150 | 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] 141 + 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] 150 | let cache_pool = SqlDB::from_pool::(cache_sqlite_pool);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `User` in this scope
[INFO] [stdout] --> src/tables.rs:153:40
[INFO] [stdout] |
[INFO] [stdout] 153 | 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] 141 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_tables_rs_141_0() {
[INFO] [stdout] | ++++++
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `LogEntry` in this scope
[INFO] [stdout] --> src/tables.rs:154:38
[INFO] [stdout] |
[INFO] [stdout] 154 | 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] 141 | 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: 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::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] 160 | 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] 166 | 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]: cannot find type `SqlDB` in this scope
[INFO] [stdout] --> src/lib.rs:116:17
[INFO] [stdout] |
[INFO] [stdout] 116 | 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] 112 + 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] 116 | let main_pool = SqlDB::from_pool::(main_pg_pool);
[INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout] error[E0433]: cannot find type `SqlDB` in this scope
[INFO] [stdout] --> src/lib.rs:117:22
[INFO] [stdout] |
[INFO] [stdout] 117 | 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] 112 + 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] 117 | let analytics_pool = SqlDB::from_pool::(analytics_pg_pool);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `User` in this scope
[INFO] [stdout] --> src/lib.rs:119:35
[INFO] [stdout] |
[INFO] [stdout] 119 | 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] 112 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_112_0() {
[INFO] [stdout] | ++++++
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `Event` in this scope
[INFO] [stdout] --> src/lib.rs:120:41
[INFO] [stdout] |
[INFO] [stdout] 120 | 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] 112 | 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: 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::SqlDB (line 38) stdout ----
[INFO] [stdout] error[E0433]: cannot find type `SqlDB` in this scope
[INFO] [stdout] --> src/tables.rs:43:21
[INFO] [stdout] |
[INFO] [stdout] 43 | 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] 39 + use typed_sqlx_client::SqlDB;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `MainDatabase` in this scope
[INFO] [stdout] --> src/tables.rs:43:40
[INFO] [stdout] |
[INFO] [stdout] 43 | let main_pool = SqlDB::from_pool::(create_pg_pool().await);
[INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout] error[E0433]: cannot find type `SqlDB` in this scope
[INFO] [stdout] --> src/tables.rs:44:26
[INFO] [stdout] |
[INFO] [stdout] 44 | 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] 39 + use typed_sqlx_client::SqlDB;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `AnalyticsDatabase` in this scope
[INFO] [stdout] --> src/tables.rs:44:45
[INFO] [stdout] |
[INFO] [stdout] 44 | let analytics_pool = SqlDB::from_pool::(create_mysql_pool().await);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `SqlDB` in this scope
[INFO] [stdout] --> src/tables.rs:57:39
[INFO] [stdout] |
[INFO] [stdout] 57 | 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] 39 + use typed_sqlx_client::SqlDB;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `MainDatabase` in this scope
[INFO] [stdout] --> src/tables.rs:57:61
[INFO] [stdout] |
[INFO] [stdout] 57 | 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] 57 | 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] 57 | 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] 39 + use actix_web::Responder;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `User` in this scope
[INFO] [stdout] --> src/tables.rs:58:42
[INFO] [stdout] |
[INFO] [stdout] 58 | 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] 57 | 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] 43 | 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] 44 | 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, 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::get_table (line 370) stdout ----
[INFO] [stdout] error[E0425]: cannot find type `SqlTable` in this scope
[INFO] [stdout] --> src/tables.rs:374:21
[INFO] [stdout] |
[INFO] [stdout] 374 | user_table: Arc>,
[INFO] [stdout] | ^^^^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout] |
[INFO] [stdout] 370 + use typed_sqlx_client::SqlTable;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `MainDB` in this scope
[INFO] [stdout] --> src/tables.rs:374:46
[INFO] [stdout] |
[INFO] [stdout] 374 | 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] 373 | struct AppState {
[INFO] [stdout] | ++++++++
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `User` in this scope
[INFO] [stdout] --> src/tables.rs:374:54
[INFO] [stdout] |
[INFO] [stdout] 374 | 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] 373 | struct AppState {
[INFO] [stdout] | ++++++
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `SqlTable` in this scope
[INFO] [stdout] --> src/tables.rs:375:21
[INFO] [stdout] |
[INFO] [stdout] 375 | post_table: Arc>,
[INFO] [stdout] | ^^^^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout] |
[INFO] [stdout] 370 + use typed_sqlx_client::SqlTable;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `MainDB` in this scope
[INFO] [stdout] --> src/tables.rs:375:46
[INFO] [stdout] |
[INFO] [stdout] 375 | 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] 373 | struct AppState {
[INFO] [stdout] | ++++++++
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `Post` in this scope
[INFO] [stdout] --> src/tables.rs:375:54
[INFO] [stdout] |
[INFO] [stdout] 375 | 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] 373 | struct AppState {
[INFO] [stdout] | ++++++
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `SqlDB` in this scope
[INFO] [stdout] --> src/tables.rs:379:18
[INFO] [stdout] |
[INFO] [stdout] 379 | 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] 370 + use typed_sqlx_client::SqlDB;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `MainDB` in this scope
[INFO] [stdout] --> src/tables.rs:379:40
[INFO] [stdout] |
[INFO] [stdout] 379 | 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] 378 | impl AppState {
[INFO] [stdout] | ++++++++
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `User` in this scope
[INFO] [stdout] --> src/tables.rs:381:51
[INFO] [stdout] |
[INFO] [stdout] 381 | 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] 378 | impl AppState {
[INFO] [stdout] | ++++++
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `Post` in this scope
[INFO] [stdout] --> src/tables.rs:382:51
[INFO] [stdout] |
[INFO] [stdout] 382 | 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] 378 | 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 E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/tables.rs - tables::SqlDB (line 26) stdout ----
[INFO] [stdout] error[E0433]: cannot find type `SqlDB` in this scope
[INFO] [stdout] --> src/tables.rs:31:17
[INFO] [stdout] |
[INFO] [stdout] 31 | 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] 26 + 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] 31 | let main_pool = SqlDB::from_pool::(main_pg_pool);
[INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout] error[E0433]: cannot find type `SqlDB` in this scope
[INFO] [stdout] --> src/tables.rs:32:22
[INFO] [stdout] |
[INFO] [stdout] 32 | 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] 26 + 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] 32 | let analytics_pool = SqlDB::from_pool::(analytics_pg_pool);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout] error[E0433]: cannot find type `SqlDB` in this scope
[INFO] [stdout] --> src/tables.rs:33:18
[INFO] [stdout] |
[INFO] [stdout] 33 | 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] 26 + 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] 33 | 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::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] 83 | 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] 87 | 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] 83 | 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] 91 | .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::get_table (line 356) stdout ----
[INFO] [stdout] Test executable failed (exit status: 101).
[INFO] [stdout]
[INFO] [stdout] stderr:
[INFO] [stdout]
[INFO] [stdout] thread 'main' (109) panicked at src/tables.rs:11:43:
[INFO] [stdout] not yet implemented
[INFO] [stdout] stack backtrace:
[INFO] [stdout] 0: 0x5ebf99f800ea - std[e72de78501789eb0]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout] 1: 0x5ebf99f800ea - std[e72de78501789eb0]::backtrace_rs::backtrace::trace_unsynchronized::
[INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout] 2: 0x5ebf99f800ea - std[e72de78501789eb0]::sys::backtrace::_print_fmt
[INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout] 3: 0x5ebf99f800ea - <::print::DisplayBacktrace as core[6aaeda2c7ad07a48]::fmt::Display>::fmt
[INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout] 4: 0x5ebf99f8fe2a - ::fmt
[INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout] 5: 0x5ebf99f8fe2a - core[6aaeda2c7ad07a48]::fmt::write
[INFO] [stdout] 6: 0x5ebf99f83462 - std[e72de78501789eb0]::io::default_write_fmt::
[INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/io/mod.rs:639:11
[INFO] [stdout] 7: 0x5ebf99f83462 - ::write_fmt
[INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/io/mod.rs:1994:13
[INFO] [stdout] 8: 0x5ebf99f6c14f - ::print
[INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout] 9: 0x5ebf99f6c14f - std[e72de78501789eb0]::panicking::default_hook::{closure#0}
[INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:292:27
[INFO] [stdout] 10: 0x5ebf99f7c6b1 - std[e72de78501789eb0]::panicking::default_hook
[INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:319:9
[INFO] [stdout] 11: 0x5ebf99f7c86b - std[e72de78501789eb0]::panicking::panic_with_hook
[INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:825:13
[INFO] [stdout] 12: 0x5ebf99f6c23a - std[e72de78501789eb0]::panicking::panic_handler::{closure#0}
[INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:691:13
[INFO] [stdout] 13: 0x5ebf99f63f89 - std[e72de78501789eb0]::sys::backtrace::__rust_end_short_backtrace::
[INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout] 14: 0x5ebf99f6c9ed - __rustc[78a4cf188af856fc]::rust_begin_unwind
[INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:689:5
[INFO] [stdout] 15: 0x5ebf99f904dc - core[6aaeda2c7ad07a48]::panicking::panic_fmt
[INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/panicking.rs:80:14
[INFO] [stdout] 16: 0x5ebf99f904a2 - core[6aaeda2c7ad07a48]::panicking::panic
[INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/panicking.rs:150:5
[INFO] [stdout] 17: 0x5ebf99f56a6a - rust_out[992bb7df40d5d539]::main::_doctest_main_src_tables_rs_356_0
[INFO] [stdout] 18: 0x5ebf99f56a46 - rust_out[992bb7df40d5d539]::main
[INFO] [stdout] 19: 0x5ebf99f56a83 - >::call_once
[INFO] [stdout] 20: 0x5ebf99f56a06 - std[e72de78501789eb0]::sys::backtrace::__rust_begin_short_backtrace::
[INFO] [stdout] 21: 0x5ebf99f56a19 - std[e72de78501789eb0]::rt::lang_start::<()>::{closure#0}
[INFO] [stdout] 22: 0x5ebf99f7be34 - <&dyn core[6aaeda2c7ad07a48]::ops::function::Fn<(), Output = i32> + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::panic::unwind_safe::RefUnwindSafe as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/function.rs:287:21
[INFO] [stdout] 23: 0x5ebf99f7be34 - std[e72de78501789eb0]::panicking::catch_unwind::do_call::<&dyn core[6aaeda2c7ad07a48]::ops::function::Fn<(), Output = i32> + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::panic::unwind_safe::RefUnwindSafe, i32>
[INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:581:40
[INFO] [stdout] 24: 0x5ebf99f7be34 - std[e72de78501789eb0]::panicking::catch_unwind:: + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::panic::unwind_safe::RefUnwindSafe>
[INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:544:19
[INFO] [stdout] 25: 0x5ebf99f7be34 - std[e72de78501789eb0]::panic::catch_unwind::<&dyn core[6aaeda2c7ad07a48]::ops::function::Fn<(), Output = i32> + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::panic::unwind_safe::RefUnwindSafe, i32>
[INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panic.rs:359:14
[INFO] [stdout] 26: 0x5ebf99f7be34 - std[e72de78501789eb0]::rt::lang_start_internal::{closure#0}
[INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/rt.rs:175:24
[INFO] [stdout] 27: 0x5ebf99f7be34 - std[e72de78501789eb0]::panicking::catch_unwind::do_call::
[INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:581:40
[INFO] [stdout] 28: 0x5ebf99f7be34 - std[e72de78501789eb0]::panicking::catch_unwind::
[INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:544:19
[INFO] [stdout] 29: 0x5ebf99f7be34 - std[e72de78501789eb0]::panic::catch_unwind::
[INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panic.rs:359:14
[INFO] [stdout] 30: 0x5ebf99f7be34 - std[e72de78501789eb0]::rt::lang_start_internal
[INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/rt.rs:171:5
[INFO] [stdout] 31: 0x5ebf99f569f1 - std[e72de78501789eb0]::rt::lang_start::<()>
[INFO] [stdout] 32: 0x5ebf99f56ae5 - main
[INFO] [stdout] 33: 0x7453d405b1ca -
[INFO] [stdout] 34: 0x7453d405b28b - __libc_start_main
[INFO] [stdout] 35: 0x5ebf99f56905 - _start
[INFO] [stdout] 36: 0x0 -
[INFO] [stdout]
[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] 409 | 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] 413 | 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] 409 | 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] 419 | .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] 409 | 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] 425 | .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] 409 | 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] 427 | 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
::get_table (line 346) stdout ----
[INFO] [stdout] Test executable failed (exit status: 101).
[INFO] [stdout]
[INFO] [stdout] stderr:
[INFO] [stdout]
[INFO] [stdout] thread 'main' (128) panicked at src/tables.rs:9:43:
[INFO] [stdout] not yet implemented
[INFO] [stdout] stack backtrace:
[INFO] [stdout] 0: 0x65138c6150ea - std[e72de78501789eb0]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout] 1: 0x65138c6150ea - std[e72de78501789eb0]::backtrace_rs::backtrace::trace_unsynchronized::
[INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout] 2: 0x65138c6150ea - std[e72de78501789eb0]::sys::backtrace::_print_fmt
[INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout] 3: 0x65138c6150ea - <::print::DisplayBacktrace as core[6aaeda2c7ad07a48]::fmt::Display>::fmt
[INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout] 4: 0x65138c624e2a - ::fmt
[INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout] 5: 0x65138c624e2a - core[6aaeda2c7ad07a48]::fmt::write
[INFO] [stdout] 6: 0x65138c618462 - std[e72de78501789eb0]::io::default_write_fmt::
[INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/io/mod.rs:639:11
[INFO] [stdout] 7: 0x65138c618462 - ::write_fmt
[INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/io/mod.rs:1994:13
[INFO] [stdout] 8: 0x65138c60114f - ::print
[INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout] 9: 0x65138c60114f - std[e72de78501789eb0]::panicking::default_hook::{closure#0}
[INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:292:27
[INFO] [stdout] 10: 0x65138c6116b1 - std[e72de78501789eb0]::panicking::default_hook
[INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:319:9
[INFO] [stdout] 11: 0x65138c61186b - std[e72de78501789eb0]::panicking::panic_with_hook
[INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:825:13
[INFO] [stdout] 12: 0x65138c60123a - std[e72de78501789eb0]::panicking::panic_handler::{closure#0}
[INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:691:13
[INFO] [stdout] 13: 0x65138c5f8f89 - std[e72de78501789eb0]::sys::backtrace::__rust_end_short_backtrace::
[INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout] 14: 0x65138c6019ed - __rustc[78a4cf188af856fc]::rust_begin_unwind
[INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:689:5
[INFO] [stdout] 15: 0x65138c6254dc - core[6aaeda2c7ad07a48]::panicking::panic_fmt
[INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/panicking.rs:80:14
[INFO] [stdout] 16: 0x65138c6254a2 - core[6aaeda2c7ad07a48]::panicking::panic
[INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/panicking.rs:150:5
[INFO] [stdout] 17: 0x65138c5eba6a - rust_out[992bb7df40d5d539]::main::_doctest_main_src_tables_rs_346_0
[INFO] [stdout] 18: 0x65138c5eba46 - rust_out[992bb7df40d5d539]::main
[INFO] [stdout] 19: 0x65138c5eba83 - >::call_once
[INFO] [stdout] 20: 0x65138c5eba06 - std[e72de78501789eb0]::sys::backtrace::__rust_begin_short_backtrace::
[INFO] [stdout] 21: 0x65138c5eba19 - std[e72de78501789eb0]::rt::lang_start::<()>::{closure#0}
[INFO] [stdout] 22: 0x65138c610e34 - <&dyn core[6aaeda2c7ad07a48]::ops::function::Fn<(), Output = i32> + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::panic::unwind_safe::RefUnwindSafe as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/function.rs:287:21
[INFO] [stdout] 23: 0x65138c610e34 - std[e72de78501789eb0]::panicking::catch_unwind::do_call::<&dyn core[6aaeda2c7ad07a48]::ops::function::Fn<(), Output = i32> + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::panic::unwind_safe::RefUnwindSafe, i32>
[INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:581:40
[INFO] [stdout] 24: 0x65138c610e34 - std[e72de78501789eb0]::panicking::catch_unwind:: + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::panic::unwind_safe::RefUnwindSafe>
[INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:544:19
[INFO] [stdout] 25: 0x65138c610e34 - std[e72de78501789eb0]::panic::catch_unwind::<&dyn core[6aaeda2c7ad07a48]::ops::function::Fn<(), Output = i32> + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::panic::unwind_safe::RefUnwindSafe, i32>
[INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panic.rs:359:14
[INFO] [stdout] 26: 0x65138c610e34 - std[e72de78501789eb0]::rt::lang_start_internal::{closure#0}
[INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/rt.rs:175:24
[INFO] [stdout] 27: 0x65138c610e34 - std[e72de78501789eb0]::panicking::catch_unwind::do_call::
[INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:581:40
[INFO] [stdout] 28: 0x65138c610e34 - std[e72de78501789eb0]::panicking::catch_unwind::
[INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:544:19
[INFO] [stdout] 29: 0x65138c610e34 - std[e72de78501789eb0]::panic::catch_unwind::
[INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panic.rs:359:14
[INFO] [stdout] 30: 0x65138c610e34 - std[e72de78501789eb0]::rt::lang_start_internal
[INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/rt.rs:171:5
[INFO] [stdout] 31: 0x65138c5eb9f1 - std[e72de78501789eb0]::rt::lang_start::<()>
[INFO] [stdout] 32: 0x65138c5ebae5 - main
[INFO] [stdout] 33: 0x7349d0ab31ca -
[INFO] [stdout] 34: 0x7349d0ab328b - __libc_start_main
[INFO] [stdout] 35: 0x65138c5eb905 - _start
[INFO] [stdout] 36: 0x0 -
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] ---- src/tables.rs - tables::SqlTable (line 228) stdout ----
[INFO] [stdout] error[E0433]: cannot find type `SqlDB` in this scope
[INFO] [stdout] --> src/tables.rs:235:17
[INFO] [stdout] |
[INFO] [stdout] 235 | 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] 228 + 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] 235 | let user_pool = SqlDB::from_pool::(user_pg_pool);
[INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout] error[E0433]: cannot find type `SqlDB` in this scope
[INFO] [stdout] --> src/tables.rs:236:20
[INFO] [stdout] |
[INFO] [stdout] 236 | 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] 228 + 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] 236 | let content_pool = SqlDB::from_pool::(content_mysql_pool);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout] error[E0433]: cannot find type `SqlDB` in this scope
[INFO] [stdout] --> src/tables.rs:237:22
[INFO] [stdout] |
[INFO] [stdout] 237 | 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] 228 + 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] 237 | let analytics_pool = SqlDB::from_pool::(analytics_clickhouse_pool);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `User` in this scope
[INFO] [stdout] --> src/tables.rs:240:35
[INFO] [stdout] |
[INFO] [stdout] 240 | 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] 228 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_tables_rs_228_0() {
[INFO] [stdout] | ++++++
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `UserProfile` in this scope
[INFO] [stdout] --> src/tables.rs:241:38
[INFO] [stdout] |
[INFO] [stdout] 241 | 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] 228 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_tables_rs_228_0() {
[INFO] [stdout] | +++++++++++++
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `Post` in this scope
[INFO] [stdout] --> src/tables.rs:242:38
[INFO] [stdout] |
[INFO] [stdout] 242 | 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] 228 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_tables_rs_228_0() {
[INFO] [stdout] | ++++++
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `Comment` in this scope
[INFO] [stdout] --> src/tables.rs:243:41
[INFO] [stdout] |
[INFO] [stdout] 243 | 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] 228 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_tables_rs_228_0() {
[INFO] [stdout] | +++++++++
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `Event` in this scope
[INFO] [stdout] --> src/tables.rs:244:41
[INFO] [stdout] |
[INFO] [stdout] 244 | 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] 228 | 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: 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 197) stdout ----
[INFO] [stdout] error: cannot find derive macro `FromRow` in this scope
[INFO] [stdout] --> src/tables.rs:203:10
[INFO] [stdout] |
[INFO] [stdout] 203 | #[derive(FromRow, CrudOpsRef)]
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout] |
[INFO] [stdout] 197 + 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] 203 | #[derive(FromRow, CrudOpsRef)]
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] help: consider importing one of these derive macros
[INFO] [stdout] |
[INFO] [stdout] 197 + use typed_sqlx_client::CrudOpsRef;
[INFO] [stdout] |
[INFO] [stdout] 197 + 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] 204 | #[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] 199 | #[derive(FromRow, CrudOpsRef)]
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout] |
[INFO] [stdout] 197 + 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] 199 | #[derive(FromRow, CrudOpsRef)]
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] help: consider importing one of these derive macros
[INFO] [stdout] |
[INFO] [stdout] 197 + use typed_sqlx_client::CrudOpsRef;
[INFO] [stdout] |
[INFO] [stdout] 197 + 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] 200 | #[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] 208 | impl CustomAnalytics for SqlTable {
[INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `SqlTable` in this scope
[INFO] [stdout] --> src/tables.rs:208:26
[INFO] [stdout] |
[INFO] [stdout] 208 | impl CustomAnalytics for SqlTable {
[INFO] [stdout] | ^^^^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout] |
[INFO] [stdout] 197 + use typed_sqlx_client::SqlTable;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `Postgres` in this scope
[INFO] [stdout] --> src/tables.rs:208:35
[INFO] [stdout] |
[INFO] [stdout] 208 | impl CustomAnalytics for SqlTable {
[INFO] [stdout] | ^^^^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout] |
[INFO] [stdout] 197 + use sqlx::Postgres;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `MainDB` in this scope
[INFO] [stdout] --> src/tables.rs:208:45
[INFO] [stdout] |
[INFO] [stdout] 208 | 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] 208 | 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] 209 | fn get_user_metrics(&self) -> impl Future