[INFO] cloning repository https://github.com/j03-dev/rust-alchemy
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/j03-dev/rust-alchemy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fj03-dev%2Frust-alchemy", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fj03-dev%2Frust-alchemy'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ea12a7de4830861e546e57bc2212080c949079b7
[INFO] testing j03-dev/rust-alchemy against master#ec6f9a5b4413f74386267ef8efc93712c2ce6db6 for pr-155739
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fj03-dev%2Frust-alchemy" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/j03-dev/rust-alchemy
[INFO] finished tweaking git repo https://github.com/j03-dev/rust-alchemy
[INFO] tweaked toml for git repo https://github.com/j03-dev/rust-alchemy written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/j03-dev/rust-alchemy on toolchain ec6f9a5b4413f74386267ef8efc93712c2ce6db6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/j03-dev/rust-alchemy 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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "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]  Downloading crates ...
[INFO] [stderr]   Downloaded base64ct v1.8.1
[INFO] [stderr]   Downloaded sqlformat v0.5.0
[INFO] [stderr]   Downloaded rustls-pki-types v1.13.1
[INFO] [stderr]   Downloaded tokio-io-timeout v1.2.1
[INFO] [stderr]   Downloaded tonic v0.11.0
[INFO] [stderr]   Downloaded tower-http v0.4.4
[INFO] [stderr]   Downloaded libsql v0.9.29
[INFO] [stderr]   Downloaded libsql_replication v0.9.29
[INFO] [stderr]   Downloaded cmake v0.1.56
[INFO] [stderr]   Downloaded libsql-sys v0.9.29
[INFO] [stderr]   Downloaded libsql-hrana v0.9.29
[INFO] [stderr]   Downloaded rustls-native-certs v0.7.3
[INFO] [stderr]   Downloaded hyper-rustls v0.25.0
[INFO] [stderr]   Downloaded libsql-rusqlite v0.9.29
[INFO] [stderr]   Downloaded libsql-sqlite3-parser v0.13.0
[INFO] [stderr]   Downloaded bindgen v0.66.1
[INFO] [stderr]   Downloaded tonic-web v0.11.0
[INFO] [stderr]   Downloaded libsql-ffi v0.9.29
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1689867ca0f9b781ed1e0f54bbe9d53fa027429cdea4a86fd96bed773713e661
[INFO] running `Command { std: "docker" "start" "-a" "1689867ca0f9b781ed1e0f54bbe9d53fa027429cdea4a86fd96bed773713e661", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1689867ca0f9b781ed1e0f54bbe9d53fa027429cdea4a86fd96bed773713e661", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1689867ca0f9b781ed1e0f54bbe9d53fa027429cdea4a86fd96bed773713e661", kill_on_drop: false }`
[INFO] [stdout] 1689867ca0f9b781ed1e0f54bbe9d53fa027429cdea4a86fd96bed773713e661
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e9c551b0d6ffb0a188ab495efeef8598f6239482e19da9cd39f304fe410cb6e8
[INFO] running `Command { std: "docker" "start" "-a" "e9c551b0d6ffb0a188ab495efeef8598f6239482e19da9cd39f304fe410cb6e8", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]    Compiling libc v0.2.178
[INFO] [stderr]    Compiling find-msvc-tools v0.1.5
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling writeable v0.6.2
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling litemap v0.8.1
[INFO] [stderr]    Compiling icu_normalizer_data v2.1.1
[INFO] [stderr]    Compiling icu_properties_data v2.1.2
[INFO] [stderr]    Compiling hashbrown v0.16.1
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling rustls-pki-types v1.13.1
[INFO] [stderr]    Compiling bytes v1.11.0
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling cc v1.2.49
[INFO] [stderr]    Compiling rustls v0.23.35
[INFO] [stderr]    Compiling slab v0.4.11
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling tracing-core v0.1.35
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling parking v2.2.1
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling event-listener v5.4.1
[INFO] [stderr]    Compiling crc v3.4.0
[INFO] [stderr]    Compiling indexmap v2.12.1
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling webpki-roots v1.0.4
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling webpki-roots v0.26.11
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]    Compiling flume v0.11.1
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling winnow v0.5.40
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling hashlink v0.10.0
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling if_chain v1.0.3
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling winnow v0.7.14
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling iana-time-zone v0.1.64
[INFO] [stderr]    Compiling inventory v0.3.21
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling socket2 v0.6.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling signal-hook-registry v1.4.7
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling libsqlite3-sys v0.30.1
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]    Compiling sqlformat v0.5.0
[INFO] [stderr]    Compiling proc-macro-crate v1.3.1
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling deluxe-core v0.5.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling deluxe-macros v0.5.0
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling rustls-webpki v0.103.8
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling tracing v0.1.43
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling deluxe v0.5.0
[INFO] [stderr]    Compiling rusql-alchemy-derive v0.5.9 (/opt/rustwide/workdir/rusql-alchemy-derive)
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling sqlx-core v0.8.6
[INFO] [stderr]    Compiling sqlx-sqlite v0.8.6
[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 rusql-alchemy v0.5.9 (/opt/rustwide/workdir/rusql-alchemy)
[INFO] [stderr]    Compiling tests v0.5.9 (/opt/rustwide/workdir/tests)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 10s
[INFO] running `Command { std: "docker" "inspect" "e9c551b0d6ffb0a188ab495efeef8598f6239482e19da9cd39f304fe410cb6e8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e9c551b0d6ffb0a188ab495efeef8598f6239482e19da9cd39f304fe410cb6e8", kill_on_drop: false }`
[INFO] [stdout] e9c551b0d6ffb0a188ab495efeef8598f6239482e19da9cd39f304fe410cb6e8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cad24fc46cee6ff497e9b9897b174f9f2abed3d6c3b2ac829ded5d5a6e23e13c
[INFO] running `Command { std: "docker" "start" "-a" "cad24fc46cee6ff497e9b9897b174f9f2abed3d6c3b2ac829ded5d5a6e23e13c", kill_on_drop: false }`
[INFO] [stderr]    Compiling rusql-alchemy-derive v0.5.9 (/opt/rustwide/workdir/rusql-alchemy-derive)
[INFO] [stderr]    Compiling rusql-alchemy v0.5.9 (/opt/rustwide/workdir/rusql-alchemy)
[INFO] [stderr]    Compiling tests v0.5.9 (/opt/rustwide/workdir/tests)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 4.92s
[INFO] running `Command { std: "docker" "inspect" "cad24fc46cee6ff497e9b9897b174f9f2abed3d6c3b2ac829ded5d5a6e23e13c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cad24fc46cee6ff497e9b9897b174f9f2abed3d6c3b2ac829ded5d5a6e23e13c", kill_on_drop: false }`
[INFO] [stdout] cad24fc46cee6ff497e9b9897b174f9f2abed3d6c3b2ac829ded5d5a6e23e13c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 045e3c4dcabe075830da06f7479377027c6a5e4fb4e25a14df6651263f85021c
[INFO] running `Command { std: "docker" "start" "-a" "045e3c4dcabe075830da06f7479377027c6a5e4fb4e25a14df6651263f85021c", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.31s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rusql_alchemy-1589467c6cabeffe)
[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]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rusql_alchemy_derive-66ff8d775a2472d5)
[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]      Running unittests tests.rs (/opt/rustwide/target/debug/deps/tests-3e468234e2211933)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test test_join ... ok
[INFO] [stdout] test test_main ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests rusql_alchemy
[INFO] [stdout] 
[INFO] [stdout] running 16 tests
[INFO] [stdout] test rusql-alchemy/src/lib.rs - Database::up (line 138) ... FAILED
[INFO] [stdout] test rusql-alchemy/src/lib.rs - Database::down (line 160) ... FAILED
[INFO] [stdout] test rusql-alchemy/src/db/model.rs - db::model::Model::get (line 526) ... FAILED
[INFO] [stdout] test rusql-alchemy/src/db/model.rs - db::model::Model::count (line 574) ... FAILED
[INFO] [stdout] test rusql-alchemy/src/db/model.rs - db::model::Model::all (line 409) ... FAILED
[INFO] [stdout] test rusql-alchemy/src/db/model.rs - db::model::Model::save (line 201) ... FAILED
[INFO] [stdout] test rusql-alchemy/src/db/model.rs - db::model::Model::filter (line 456) ... FAILED
[INFO] [stdout] test rusql-alchemy/src/db/model.rs - db::model::Model::create (line 227) ... FAILED
[INFO] [stdout] test rusql-alchemy/src/db/model.rs - db::model::Model::set (line 335) ... FAILED
[INFO] [stdout] test rusql-alchemy/src/macros.rs - macros::kwargs (line 8) ... FAILED
[INFO] [stdout] test rusql-alchemy/src/db/model.rs - db::model::Model::update (line 310) ... FAILED
[INFO] [stdout] test rusql-alchemy/src/db/model.rs - db::model::Model::up (line 80) ... FAILED
[INFO] [stdout] test rusql-alchemy/src/db/model.rs - db::model::Model (line 32) ... FAILED
[INFO] [stdout] test rusql-alchemy/src/db/model.rs - db::model::Model::delete (line 391) ... FAILED
[INFO] [stdout] test rusql-alchemy/src/db/model.rs - db::model::Model::down (line 144) ... FAILED
[INFO] [stdout] test rusql-alchemy/src/db/model.rs - db::model::Vec<T>::delete (line 625) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- rusql-alchemy/src/lib.rs - Database::up (line 138) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]    --> rusql-alchemy/src/lib.rs:141:3
[INFO] [stdout]     |
[INFO] [stdout] 141 | #[tokio::main]
[INFO] [stdout]     |   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> rusql-alchemy/src/lib.rs:142:1
[INFO] [stdout]     |
[INFO] [stdout] 142 | async fn main() -> Result<(), rusql_alchemy::Error> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- rusql-alchemy/src/lib.rs - Database::down (line 160) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]    --> rusql-alchemy/src/lib.rs:163:3
[INFO] [stdout]     |
[INFO] [stdout] 163 | #[tokio::main]
[INFO] [stdout]     |   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> rusql-alchemy/src/lib.rs:164:1
[INFO] [stdout]     |
[INFO] [stdout] 164 | async fn main() -> Result<(), rusql_alchemy::Error> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- rusql-alchemy/src/db/model.rs - db::model::Model::get (line 526) stdout ----
[INFO] [stdout] error: cannot find macro `kwargs` in this scope
[INFO] [stdout]    --> rusql-alchemy/src/db/model.rs:528:51
[INFO] [stdout]     |
[INFO] [stdout] 528 |     kwargs!(email == "24nomeniavo@gmail.com").and(kwargs!(password == "strongpassword")),
[INFO] [stdout]     |                                                   ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 526 + use rusql_alchemy::kwargs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `kwargs` in this scope
[INFO] [stdout]    --> rusql-alchemy/src/db/model.rs:528:5
[INFO] [stdout]     |
[INFO] [stdout] 528 |     kwargs!(email == "24nomeniavo@gmail.com").and(kwargs!(password == "strongpassword")),
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 526 + use rusql_alchemy::kwargs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `conn` in this scope
[INFO] [stdout]    --> rusql-alchemy/src/db/model.rs:529:6
[INFO] [stdout]     |
[INFO] [stdout] 529 |     &conn,
[INFO] [stdout]     |      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> rusql-alchemy/src/db/model.rs:530:3
[INFO] [stdout]     |
[INFO] [stdout] 526 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rusql_alchemy_src_db_model_rs_526_0() {
[INFO] [stdout]     |                                      ------------------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 530 | ).await;
[INFO] [stdout]     |   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `User` in this scope
[INFO] [stdout]    --> rusql-alchemy/src/db/model.rs:527:12
[INFO] [stdout]     |
[INFO] [stdout] 527 | let user = User::get(
[INFO] [stdout]     |            ^^^^ use of undeclared type `User`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- rusql-alchemy/src/db/model.rs - db::model::Model::count (line 574) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `conn` in this scope
[INFO] [stdout]    --> rusql-alchemy/src/db/model.rs:575:26
[INFO] [stdout]     |
[INFO] [stdout] 575 | let count = User::count(&conn).await;
[INFO] [stdout]     |                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> rusql-alchemy/src/db/model.rs:575:32
[INFO] [stdout]     |
[INFO] [stdout] 574 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rusql_alchemy_src_db_model_rs_574_0() {
[INFO] [stdout]     |                                      ------------------------------------------------------ this is not `async`
[INFO] [stdout] 575 | let count = User::count(&conn).await;
[INFO] [stdout]     |                                ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `User` in this scope
[INFO] [stdout]    --> rusql-alchemy/src/db/model.rs:575:13
[INFO] [stdout]     |
[INFO] [stdout] 575 | let count = User::count(&conn).await;
[INFO] [stdout]     |             ^^^^ use of undeclared type `User`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- rusql-alchemy/src/db/model.rs - db::model::Model::all (line 409) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `conn` in this scope
[INFO] [stdout]    --> rusql-alchemy/src/db/model.rs:410:24
[INFO] [stdout]     |
[INFO] [stdout] 410 | let users = User::all(&conn).await;
[INFO] [stdout]     |                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> rusql-alchemy/src/db/model.rs:410:30
[INFO] [stdout]     |
[INFO] [stdout] 409 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rusql_alchemy_src_db_model_rs_409_0() {
[INFO] [stdout]     |                                      ------------------------------------------------------ this is not `async`
[INFO] [stdout] 410 | let users = User::all(&conn).await;
[INFO] [stdout]     |                              ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `User` in this scope
[INFO] [stdout]    --> rusql-alchemy/src/db/model.rs:410:13
[INFO] [stdout]     |
[INFO] [stdout] 410 | let users = User::all(&conn).await;
[INFO] [stdout]     |             ^^^^ use of undeclared type `User`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- rusql-alchemy/src/db/model.rs - db::model::Model::save (line 201) stdout ----
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `User` in this scope
[INFO] [stdout]    --> rusql-alchemy/src/db/model.rs:202:12
[INFO] [stdout]     |
[INFO] [stdout] 202 | let user = User {
[INFO] [stdout]     |            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `conn` in this scope
[INFO] [stdout]    --> rusql-alchemy/src/db/model.rs:210:26
[INFO] [stdout]     |
[INFO] [stdout] 210 | let success = user.save(&conn).await;
[INFO] [stdout]     |                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> rusql-alchemy/src/db/model.rs:210:32
[INFO] [stdout]     |
[INFO] [stdout] 201 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rusql_alchemy_src_db_model_rs_201_0() {
[INFO] [stdout]     |                                      ------------------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 210 | let success = user.save(&conn).await;
[INFO] [stdout]     |                                ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- rusql-alchemy/src/db/model.rs - db::model::Model::filter (line 456) stdout ----
[INFO] [stdout] error: cannot find macro `kwargs` in this scope
[INFO] [stdout]    --> rusql-alchemy/src/db/model.rs:458:28
[INFO] [stdout]     |
[INFO] [stdout] 458 |     kwargs!(age <= 18).and(kwargs!(weight == 80.0)),
[INFO] [stdout]     |                            ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 456 + use rusql_alchemy::kwargs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `kwargs` in this scope
[INFO] [stdout]    --> rusql-alchemy/src/db/model.rs:458:5
[INFO] [stdout]     |
[INFO] [stdout] 458 |     kwargs!(age <= 18).and(kwargs!(weight == 80.0)),
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 456 + use rusql_alchemy::kwargs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `conn` in this scope
[INFO] [stdout]    --> rusql-alchemy/src/db/model.rs:459:6
[INFO] [stdout]     |
[INFO] [stdout] 459 |     &conn,
[INFO] [stdout]     |      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> rusql-alchemy/src/db/model.rs:460:3
[INFO] [stdout]     |
[INFO] [stdout] 456 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rusql_alchemy_src_db_model_rs_456_0() {
[INFO] [stdout]     |                                      ------------------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 460 | ).await;
[INFO] [stdout]     |   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `User` in this scope
[INFO] [stdout]    --> rusql-alchemy/src/db/model.rs:457:13
[INFO] [stdout]     |
[INFO] [stdout] 457 | let users = User::filter(
[INFO] [stdout]     |             ^^^^ use of undeclared type `User`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- rusql-alchemy/src/db/model.rs - db::model::Model::create (line 227) stdout ----
[INFO] [stdout] error: cannot find macro `kwargs` in this scope
[INFO] [stdout]    --> rusql-alchemy/src/db/model.rs:229:5
[INFO] [stdout]     |
[INFO] [stdout] 229 |     kwargs!(
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 227 + use rusql_alchemy::kwargs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `conn` in this scope
[INFO] [stdout]    --> rusql-alchemy/src/db/model.rs:236:6
[INFO] [stdout]     |
[INFO] [stdout] 236 |     &conn,
[INFO] [stdout]     |      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> rusql-alchemy/src/db/model.rs:237:3
[INFO] [stdout]     |
[INFO] [stdout] 227 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rusql_alchemy_src_db_model_rs_227_0() {
[INFO] [stdout]     |                                      ------------------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 237 | ).await;
[INFO] [stdout]     |   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `User` in this scope
[INFO] [stdout]    --> rusql-alchemy/src/db/model.rs:228:15
[INFO] [stdout]     |
[INFO] [stdout] 228 | let success = User::create(
[INFO] [stdout]     |               ^^^^ use of undeclared type `User`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- rusql-alchemy/src/db/model.rs - db::model::Model::set (line 335) stdout ----
[INFO] [stdout] error: cannot find macro `kwargs` in this scope
[INFO] [stdout]    --> rusql-alchemy/src/db/model.rs:338:5
[INFO] [stdout]     |
[INFO] [stdout] 338 |     kwargs!(role = "admin"),
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 335 + use rusql_alchemy::kwargs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `user_id` in this scope
[INFO] [stdout]    --> rusql-alchemy/src/db/model.rs:337:5
[INFO] [stdout]     |
[INFO] [stdout] 337 |     user_id,
[INFO] [stdout]     |     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `conn` in this scope
[INFO] [stdout]    --> rusql-alchemy/src/db/model.rs:339:6
[INFO] [stdout]     |
[INFO] [stdout] 339 |     &conn,
[INFO] [stdout]     |      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> rusql-alchemy/src/db/model.rs:340:3
[INFO] [stdout]     |
[INFO] [stdout] 335 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rusql_alchemy_src_db_model_rs_335_0() {
[INFO] [stdout]     |                                      ------------------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 340 | ).await;
[INFO] [stdout]     |   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `User` in this scope
[INFO] [stdout]    --> rusql-alchemy/src/db/model.rs:336:15
[INFO] [stdout]     |
[INFO] [stdout] 336 | let success = User::set(
[INFO] [stdout]     |               ^^^^ use of undeclared type `User`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- rusql-alchemy/src/macros.rs - macros::kwargs (line 8) stdout ----
[INFO] [stdout] error: cannot find macro `kwargs` in this scope
[INFO] [stdout]  --> rusql-alchemy/src/macros.rs:9:18
[INFO] [stdout]   |
[INFO] [stdout] 9 | let conditions = kwargs!(
[INFO] [stdout]   |                  ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]   |
[INFO] [stdout] 8 + use rusql_alchemy::kwargs;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- rusql-alchemy/src/db/model.rs - db::model::Model::update (line 310) stdout ----
[INFO] [stdout] error: cannot find macro `kwargs` in this scope
[INFO] [stdout]    --> rusql-alchemy/src/db/model.rs:312:5
[INFO] [stdout]     |
[INFO] [stdout] 312 |     kwargs!(email == "24nomeniavo@gmail.com").and(kwargs!(password == "strongpassword")),
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 310 + use rusql_alchemy::kwargs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `kwargs` in this scope
[INFO] [stdout]    --> rusql-alchemy/src/db/model.rs:312:51
[INFO] [stdout]     |
[INFO] [stdout] 312 |     kwargs!(email == "24nomeniavo@gmail.com").and(kwargs!(password == "strongpassword")),
[INFO] [stdout]     |                                                   ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 310 + use rusql_alchemy::kwargs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `conn` in this scope
[INFO] [stdout]    --> rusql-alchemy/src/db/model.rs:313:6
[INFO] [stdout]     |
[INFO] [stdout] 313 |     &conn,
[INFO] [stdout]     |      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `conn` in this scope
[INFO] [stdout]    --> rusql-alchemy/src/db/model.rs:316:32
[INFO] [stdout]     |
[INFO] [stdout] 316 |     let success = user.update(&conn).await;
[INFO] [stdout]     |                                ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> rusql-alchemy/src/db/model.rs:314:3
[INFO] [stdout]     |
[INFO] [stdout] 310 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rusql_alchemy_src_db_model_rs_310_0() {
[INFO] [stdout]     |                                      ------------------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 314 | ).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]    --> rusql-alchemy/src/db/model.rs:316:38
[INFO] [stdout]     |
[INFO] [stdout] 310 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rusql_alchemy_src_db_model_rs_310_0() {
[INFO] [stdout]     |                                      ------------------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 316 |     let success = user.update(&conn).await;
[INFO] [stdout]     |                                      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `User` in this scope
[INFO] [stdout]    --> rusql-alchemy/src/db/model.rs:311:25
[INFO] [stdout]     |
[INFO] [stdout] 311 | if let Some(mut user) = User::get(
[INFO] [stdout]     |                         ^^^^ use of undeclared type `User`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- rusql-alchemy/src/db/model.rs - db::model::Model::up (line 80) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]   --> rusql-alchemy/src/db/model.rs:94:3
[INFO] [stdout]    |
[INFO] [stdout] 94 | #[tokio::main]
[INFO] [stdout]    |   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]   --> rusql-alchemy/src/db/model.rs:95:1
[INFO] [stdout]    |
[INFO] [stdout] 95 | async fn main() -> Result<(), rusql_alchemy::Error> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- rusql-alchemy/src/db/model.rs - db::model::Model (line 32) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]   --> rusql-alchemy/src/db/model.rs:46:3
[INFO] [stdout]    |
[INFO] [stdout] 46 | #[tokio::main]
[INFO] [stdout]    |   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]   --> rusql-alchemy/src/db/model.rs:47:1
[INFO] [stdout]    |
[INFO] [stdout] 47 | async fn main() -> Result<(), rusql_alchemy::Error> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- rusql-alchemy/src/db/model.rs - db::model::Model::delete (line 391) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `user` in this scope
[INFO] [stdout]    --> rusql-alchemy/src/db/model.rs:392:15
[INFO] [stdout]     |
[INFO] [stdout] 392 | let success = user.delete(&conn).await;
[INFO] [stdout]     |               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `conn` in this scope
[INFO] [stdout]    --> rusql-alchemy/src/db/model.rs:392:28
[INFO] [stdout]     |
[INFO] [stdout] 392 | let success = user.delete(&conn).await;
[INFO] [stdout]     |                            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> rusql-alchemy/src/db/model.rs:392:34
[INFO] [stdout]     |
[INFO] [stdout] 391 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rusql_alchemy_src_db_model_rs_391_0() {
[INFO] [stdout]     |                                      ------------------------------------------------------ this is not `async`
[INFO] [stdout] 392 | let success = user.delete(&conn).await;
[INFO] [stdout]     |                                  ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- rusql-alchemy/src/db/model.rs - db::model::Model::down (line 144) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]    --> rusql-alchemy/src/db/model.rs:158:3
[INFO] [stdout]     |
[INFO] [stdout] 158 | #[tokio::main]
[INFO] [stdout]     |   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> rusql-alchemy/src/db/model.rs:159:1
[INFO] [stdout]     |
[INFO] [stdout] 159 | async fn main() -> Result<(), rusql_alchemy::Error> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- rusql-alchemy/src/db/model.rs - db::model::Vec<T>::delete (line 625) stdout ----
[INFO] [stdout] error: proc-macro derive panicked
[INFO] [stdout]    --> rusql-alchemy/src/db/model.rs:630:35
[INFO] [stdout]     |
[INFO] [stdout] 630 | #[derive(FromRow, Debug, Default, Model, Clone)]
[INFO] [stdout]     |                                   ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: message: Missing on_delete strategy for foreign key.
[INFO] [stdout]                         Please specify one: cascade, restrict, no_action, set_null, set_default.
[INFO] [stdout]                         
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]    --> rusql-alchemy/src/db/model.rs:646:3
[INFO] [stdout]     |
[INFO] [stdout] 646 | #[tokio::main]
[INFO] [stdout]     |   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]    --> rusql-alchemy/src/db/model.rs:648:16
[INFO] [stdout]     |
[INFO] [stdout] 648 |     let conn = Database::new().await?.conn;
[INFO] [stdout]     |                ^^^^^^^^^^^^^-- argument #1 of type `&str` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> rusql-alchemy/src/lib.rs:51:18
[INFO] [stdout]     |
[INFO] [stdout]  51 |     pub async fn new(database_url: &str) -> Result<Self, Error> {
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 648 |     let conn = Database::new(/* &str */).await?.conn;
[INFO] [stdout]     |                              ++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: `Product` is not an iterator
[INFO] [stdout]    --> rusql-alchemy/src/db/model.rs:650:29
[INFO] [stdout]     |
[INFO] [stdout] 631 | struct Product {
[INFO] [stdout]     | -------------- associated function or constant `all` not found for this struct because it doesn't satisfy `Product: Iterator`
[INFO] [stdout] ...
[INFO] [stdout] 650 |     let products = Product::all(&conn).await?;
[INFO] [stdout]     |                             ^^^ `Product` is not an iterator
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `Product: Iterator`
[INFO] [stdout]             which is required by `&mut Product: Iterator`
[INFO] [stdout] note: the trait `Iterator` must be implemented
[INFO] [stdout]    --> /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/core/src/iter/traits/iterator.rs:42:0
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `all`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Iterator`
[INFO] [stdout]             candidate #2: `futures_util::stream::stream::StreamExt`
[INFO] [stdout]             candidate #3: `rusql_alchemy::prelude::Model`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: `Product` is not an iterator
[INFO] [stdout]    --> rusql-alchemy/src/db/model.rs:654:29
[INFO] [stdout]     |
[INFO] [stdout] 631 | struct Product {
[INFO] [stdout]     | -------------- associated function or constant `all` not found for this struct because it doesn't satisfy `Product: Iterator`
[INFO] [stdout] ...
[INFO] [stdout] 654 |     let products = Product::all(&conn).await;
[INFO] [stdout]     |                             ^^^ `Product` is not an iterator
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `Product: Iterator`
[INFO] [stdout]             which is required by `&mut Product: Iterator`
[INFO] [stdout] note: the trait `Iterator` must be implemented
[INFO] [stdout]    --> /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/core/src/iter/traits/iterator.rs:42:0
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `all`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Iterator`
[INFO] [stdout]             candidate #2: `futures_util::stream::stream::StreamExt`
[INFO] [stdout]             candidate #3: `rusql_alchemy::prelude::Model`
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> rusql-alchemy/src/db/model.rs:647:53
[INFO] [stdout]     |
[INFO] [stdout] 647 |   async fn main() -> Result<(), rusql_alchemy::Error> {
[INFO] [stdout]     |  _____________________________________________________^
[INFO] [stdout] 648 | |     let conn = Database::new().await?.conn;
[INFO] [stdout] 649 | |
[INFO] [stdout] 650 | |     let products = Product::all(&conn).await?;
[INFO] [stdout] ...   |
[INFO] [stdout] 655 | |     println!("Remaining products: {:#?}", products);
[INFO] [stdout] 656 | | }
[INFO] [stdout]     | |_^ expected `Result<(), Box<dyn Error + Send + Sync>>`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<(), Box<(dyn std::error::Error + Send + Sync + 'static)>>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] note: consider returning one of these bindings
[INFO] [stdout]    --> rusql-alchemy/src/db/model.rs:651:9
[INFO] [stdout]     |
[INFO] [stdout] 651 |     let success = products.delete(&conn).await;
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 654 |     let products = Product::all(&conn).await;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> rusql-alchemy/src/db/model.rs:647:1
[INFO] [stdout]     |
[INFO] [stdout] 647 | async fn main() -> Result<(), rusql_alchemy::Error> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0433, E0599, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     rusql-alchemy/src/db/model.rs - db::model::Model (line 32)
[INFO] [stdout]     rusql-alchemy/src/db/model.rs - db::model::Model::all (line 409)
[INFO] [stdout]     rusql-alchemy/src/db/model.rs - db::model::Model::count (line 574)
[INFO] [stdout]     rusql-alchemy/src/db/model.rs - db::model::Model::create (line 227)
[INFO] [stdout]     rusql-alchemy/src/db/model.rs - db::model::Model::delete (line 391)
[INFO] [stdout]     rusql-alchemy/src/db/model.rs - db::model::Model::down (line 144)
[INFO] [stdout]     rusql-alchemy/src/db/model.rs - db::model::Model::filter (line 456)
[INFO] [stdout]     rusql-alchemy/src/db/model.rs - db::model::Model::get (line 526)
[INFO] [stdout]     rusql-alchemy/src/db/model.rs - db::model::Model::save (line 201)
[INFO] [stdout]     rusql-alchemy/src/db/model.rs - db::model::Model::set (line 335)
[INFO] [stdout]     rusql-alchemy/src/db/model.rs - db::model::Model::up (line 80)
[INFO] [stdout]     rusql-alchemy/src/db/model.rs - db::model::Model::update (line 310)
[INFO] [stdout]     rusql-alchemy/src/db/model.rs - db::model::Vec<T>::delete (line 625)
[INFO] [stdout]     rusql-alchemy/src/lib.rs - Database::down (line 160)
[INFO] [stdout]     rusql-alchemy/src/lib.rs - Database::up (line 138)
[INFO] [stdout]     rusql-alchemy/src/macros.rs - macros::kwargs (line 8)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 16 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.83s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 1.46s; merged doctests compilation took 0.63s
[INFO] [stderr] error: doctest failed, to rerun pass `-p rusql-alchemy --doc`
[INFO] running `Command { std: "docker" "inspect" "045e3c4dcabe075830da06f7479377027c6a5e4fb4e25a14df6651263f85021c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "045e3c4dcabe075830da06f7479377027c6a5e4fb4e25a14df6651263f85021c", kill_on_drop: false }`
[INFO] [stdout] 045e3c4dcabe075830da06f7479377027c6a5e4fb4e25a14df6651263f85021c
