[INFO] cloning repository https://github.com/Rollp0x/typed_sqlx_client
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Rollp0x/typed_sqlx_client" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRollp0x%2Ftyped_sqlx_client", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRollp0x%2Ftyped_sqlx_client'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b8d190dd738a96bbaed3ff6f1eddee50dea7b49e
[INFO] testing Rollp0x/typed_sqlx_client against 1.97.0-beta.6 for beta-1.98-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRollp0x%2Ftyped_sqlx_client" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Rollp0x/typed_sqlx_client
[INFO] finished tweaking git repo https://github.com/Rollp0x/typed_sqlx_client
[INFO] tweaked toml for git repo https://github.com/Rollp0x/typed_sqlx_client written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Rollp0x/typed_sqlx_client on toolchain 1.97.0-beta.6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Rollp0x/typed_sqlx_client 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" "+1.97.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] [stderr] Updating crates.io index
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] [stderr] Downloading crates ...
[INFO] [stderr] Downloaded alloy-rlp v0.3.12
[INFO] [stderr] Downloaded alloy-rlp-derive v0.3.12
[INFO] [stderr] Downloaded bitcoin-io v0.1.3
[INFO] [stderr] Downloaded alloy-serde v1.0.17
[INFO] [stderr] Downloaded alloy-eip2930 v0.2.1
[INFO] [stderr] Downloaded alloy-eip7702 v0.6.1
[INFO] [stderr] Downloaded alloy v1.0.17
[INFO] [stderr] Downloaded alloy-core v1.2.1
[INFO] [stderr] Downloaded hex-conservative v0.2.1
[INFO] [stderr] Downloaded alloy-tx-macros v1.0.17
[INFO] [stderr] Downloaded const-hex v1.14.1
[INFO] [stderr] Downloaded bitcoin_hashes v0.14.0
[INFO] [stderr] Downloaded nybbles v0.4.0
[INFO] [stderr] Downloaded alloy-trie v0.9.0
[INFO] [stderr] Downloaded ethereum-mysql v3.0.0
[INFO] [stderr] Downloaded alloy-primitives v1.2.1
[INFO] [stderr] Downloaded ruint v1.15.0
[INFO] [stderr] Downloaded alloy-consensus v1.0.17
[INFO] [stderr] Downloaded alloy-eips v1.0.17
[INFO] [stderr] Downloaded blst v0.3.15
[INFO] [stderr] Downloaded c-kzg v2.1.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 37cbda30257d1c496085d50dea18084f7f21591015ad3cced1a36bbb32670694
[INFO] running `Command { std: "docker" "start" "37cbda30257d1c496085d50dea18084f7f21591015ad3cced1a36bbb32670694", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "37cbda30257d1c496085d50dea18084f7f21591015ad3cced1a36bbb32670694", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "37cbda30257d1c496085d50dea18084f7f21591015ad3cced1a36bbb32670694" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "37cbda30257d1c496085d50dea18084f7f21591015ad3cced1a36bbb32670694", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "37cbda30257d1c496085d50dea18084f7f21591015ad3cced1a36bbb32670694" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] Compiling typenum v1.18.0
[INFO] [stderr] Compiling serde v1.0.219
[INFO] [stderr] Compiling hashbrown v0.15.4
[INFO] [stderr] Compiling futures-core v0.3.31
[INFO] [stderr] Compiling form_urlencoded v1.2.1
[INFO] [stderr] Compiling syn v2.0.104
[INFO] [stderr] Compiling futures-sink v0.3.31
[INFO] [stderr] Compiling event-listener v5.4.0
[INFO] [stderr] Compiling serde_json v1.0.140
[INFO] [stderr] Compiling base64 v0.22.1
[INFO] [stderr] Compiling crc v3.3.0
[INFO] [stderr] Compiling futures-intrusive v0.5.0
[INFO] [stderr] Compiling futures-util v0.3.31
[INFO] [stderr] Compiling indexmap v2.10.0
[INFO] [stderr] Compiling hashlink v0.10.0
[INFO] [stderr] Compiling generic-array v0.14.7
[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 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.2 (/opt/rustwide/workdir/typed_sqlx_client_macros)
[INFO] [stderr] Compiling zerofrom-derive v0.1.6
[INFO] [stderr] Compiling yoke-derive v0.8.0
[INFO] [stderr] Compiling zerofrom v0.1.6
[INFO] [stderr] Compiling tracing v0.1.41
[INFO] [stderr] Compiling yoke v0.8.0
[INFO] [stderr] Compiling thiserror v2.0.12
[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_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 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 25.32s
[INFO] running `Command { std: "docker" "inspect" "37cbda30257d1c496085d50dea18084f7f21591015ad3cced1a36bbb32670694", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "37cbda30257d1c496085d50dea18084f7f21591015ad3cced1a36bbb32670694" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] Compiling jobserver v0.1.33
[INFO] [stderr] Compiling libm v0.2.15
[INFO] [stderr] Compiling num-traits v0.2.19
[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 getrandom v0.3.3
[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 base64ct v1.8.0
[INFO] [stderr] Compiling serde_json v1.0.140
[INFO] [stderr] Compiling digest v0.10.7
[INFO] [stderr] Compiling hashbrown v0.15.4
[INFO] [stderr] Compiling parking_lot_core v0.9.11
[INFO] [stderr] Compiling icu_normalizer v2.0.0
[INFO] [stderr] Compiling pem-rfc7468 v0.7.0
[INFO] [stderr] Compiling bitflags v2.9.1
[INFO] [stderr] Compiling cc v1.2.27
[INFO] [stderr] Compiling tinyvec v1.9.0
[INFO] [stderr] Compiling der v0.7.10
[INFO] [stderr] Compiling rand v0.8.5
[INFO] [stderr] Compiling parking_lot v0.12.4
[INFO] [stderr] Compiling idna_adapter v1.2.1
[INFO] [stderr] Compiling indexmap v2.10.0
[INFO] [stderr] Compiling idna v1.0.3
[INFO] [stderr] Compiling futures-intrusive v0.5.0
[INFO] [stderr] Compiling hmac v0.12.1
[INFO] [stderr] Compiling tokio v1.45.1
[INFO] [stderr] Compiling url v2.5.4
[INFO] [stderr] Compiling unicode-normalization v0.1.24
[INFO] [stderr] Compiling num-bigint-dig v0.8.4
[INFO] [stderr] Compiling unicode-properties v0.1.3
[INFO] [stderr] Compiling derive_more-impl v2.0.1
[INFO] [stderr] Compiling hashlink v0.10.0
[INFO] [stderr] Compiling hkdf v0.12.4
[INFO] [stderr] Compiling spki v0.7.3
[INFO] [stderr] Compiling pkcs8 v0.10.2
[INFO] [stderr] Compiling stringprep v0.1.5
[INFO] [stderr] Compiling md-5 v0.10.6
[INFO] [stderr] Compiling atoi v2.0.0
[INFO] [stderr] Compiling num-integer v0.1.46
[INFO] [stderr] Compiling sha2 v0.10.9
[INFO] [stderr] Compiling lazy_static v1.5.0
[INFO] [stderr] Compiling num-iter v0.1.45
[INFO] [stderr] Compiling crunchy v0.2.4
[INFO] [stderr] Compiling whoami v1.6.0
[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 libsqlite3-sys v0.30.1
[INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7
[INFO] [stderr] Compiling tiny-keccak v2.0.2
[INFO] [stderr] Compiling ruint-macro v1.2.1
[INFO] [stderr] Compiling home v0.5.11
[INFO] [stderr] Compiling sha1 v0.10.6
[INFO] [stderr] Compiling flume v0.11.1
[INFO] [stderr] Compiling const-hex v1.14.1
[INFO] [stderr] Compiling ruint v1.15.0
[INFO] [stderr] Compiling local-waker v0.1.4
[INFO] [stderr] Compiling alloc-no-stdlib v2.0.4
[INFO] [stderr] Compiling zstd-safe v7.2.4
[INFO] [stderr] Compiling http v0.2.12
[INFO] [stderr] Compiling alloc-stdlib v0.2.2
[INFO] [stderr] Compiling rand_core v0.9.3
[INFO] [stderr] Compiling aho-corasick v1.1.3
[INFO] [stderr] Compiling regex-lite v0.1.6
[INFO] [stderr] Compiling time-macros v0.2.22
[INFO] [stderr] Compiling brotli-decompressor v5.0.0
[INFO] [stderr] Compiling actix-utils v3.0.1
[INFO] [stderr] Compiling rand_chacha v0.9.0
[INFO] [stderr] Compiling bytestring v1.4.0
[INFO] [stderr] Compiling rsa v0.9.8
[INFO] [stderr] Compiling futures-executor v0.3.31
[INFO] [stderr] Compiling cookie v0.16.2
[INFO] [stderr] Compiling crc32fast v1.4.2
[INFO] [stderr] Compiling actix-service v2.0.3
[INFO] [stderr] Compiling actix-router v0.5.3
[INFO] [stderr] Compiling flate2 v1.1.2
[INFO] [stderr] Compiling brotli v8.0.1
[INFO] [stderr] Compiling rand v0.9.1
[INFO] [stderr] Compiling local-channel v0.1.5
[INFO] [stderr] Compiling language-tags v0.3.2
[INFO] [stderr] Compiling regex-automata v0.4.9
[INFO] [stderr] Compiling actix-macros v0.2.4
[INFO] [stderr] Compiling impl-more v0.1.9
[INFO] [stderr] Compiling time v0.3.41
[INFO] [stderr] Compiling actix-web-codegen v4.3.0
[INFO] [stderr] Compiling derive_more v2.0.1
[INFO] [stderr] Compiling alloy-primitives v1.2.1
[INFO] [stderr] Compiling alloy-serde v1.0.17
[INFO] [stderr] Compiling alloy-core v1.2.1
[INFO] [stderr] Compiling tokio-stream v0.1.17
[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 h2 v0.3.26
[INFO] [stderr] Compiling actix-codec v0.5.2
[INFO] [stderr] Compiling regex v1.11.1
[INFO] [stderr] Compiling zstd v0.13.3
[INFO] [stderr] Compiling sqlx-mysql v0.8.6
[INFO] [stderr] Compiling sqlx-postgres 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 actix-web v4.11.0
[INFO] [stderr] Compiling sqlx-macros-core v0.8.6
[INFO] [stderr] Compiling sqlx-macros v0.8.6
[INFO] [stderr] Compiling sqlx v0.8.6
[INFO] [stderr] Compiling typed_sqlx_client v0.2.2 (/opt/rustwide/workdir)
[INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 37s
[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" "37cbda30257d1c496085d50dea18084f7f21591015ad3cced1a36bbb32670694", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "37cbda30257d1c496085d50dea18084f7f21591015ad3cced1a36bbb32670694" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.50s
[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-4d4144c773bb7777)
[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::SqlDB
::from_pool (line 159) ... FAILED
[INFO] [stdout] test src/tables.rs - tables::SqlDB
::pool (line 82) ... FAILED
[INFO] [stdout] test src/tables.rs - tables::SqlTable
::get_pool (line 408) ... 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 356) ... FAILED
[INFO] [stdout] test src/tables.rs - tables::SqlDB (line 38) ... FAILED
[INFO] [stdout] test src/traits.rs - traits::CrudOpsRef (line 25) ... FAILED
[INFO] [stdout] test src/tables.rs - tables::SqlDB (line 26) ... FAILED
[INFO] [stdout] test src/tables.rs - tables::SqlDB
::get_table (line 370) ... FAILED
[INFO] [stdout] test src/tables.rs - tables::SqlTable (line 256) ... ok
[INFO] [stdout] test src/tables.rs - tables::SqlTable (line 284) ... ok
[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/traits.rs - traits::SelectOnlyQuery (line 285) ... FAILED
[INFO] [stdout] test src/traits.rs - traits::CrudOpsRef (line 75) ... ok
[INFO] [stdout] test src/tables.rs - tables::SqlDB
::from_pool (line 141) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 112) ... FAILED
[INFO] [stdout] test src/traits.rs - traits::CrudOpsRef::delete_by_id (line 232) ... ok
[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::SelectOnlyQuery::execute_select_as_only (line 418) ... ok
[INFO] [stdout] test src/traits.rs - traits::CrudOpsRef::get_by_id (line 167) ... 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 432) ... ok
[INFO] [stdout] test src/traits.rs - traits::SelectOnlyQuery::execute_select_only (line 360) ... ok
[INFO] [stdout] test src/traits.rs - traits::SelectOnlyQuery::execute_select_as_only (line 464) ... 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_as_only (line 449) ... 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 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/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::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::SqlTable (line 311) stdout ----
[INFO] [stdout] error[E0425]: cannot find type `SqlTable` in this scope
[INFO] [stdout] --> src/tables.rs:315:27
[INFO] [stdout] |
[INFO] [stdout] 315 | user_table: web::Data>,
[INFO] [stdout] | ^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `MainDB` in this scope
[INFO] [stdout] --> src/tables.rs:315:52
[INFO] [stdout] |
[INFO] [stdout] 315 | 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] 314 | async fn get_user(
[INFO] [stdout] | ++++++++
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `User` in this scope
[INFO] [stdout] --> src/tables.rs:315:60
[INFO] [stdout] |
[INFO] [stdout] 315 | 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] 314 | 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 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] 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] 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] 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] 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] 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: you might be missing a type parameter
[INFO] [stdout] |
[INFO] [stdout] 208 | impl CustomAnalytics for SqlTable {
[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