[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] 04fcb005e1835f3810954f05d0b7bd80d59f419c [INFO] testing j03-dev/rust-alchemy against master#c2efcc4ae006a6b2761cb42572fc9cee0d1ce4af for pr-154756 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fj03-dev%2Frust-alchemy" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/j03-dev/rust-alchemy on toolchain c2efcc4ae006a6b2761cb42572fc9cee0d1ce4af [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2efcc4ae006a6b2761cb42572fc9cee0d1ce4af" "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" "+c2efcc4ae006a6b2761cb42572fc9cee0d1ce4af" "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 tracing-core v0.1.35 [INFO] [stderr] Downloaded signal-hook-registry v1.4.7 [INFO] [stderr] Downloaded hyper-timeout v0.4.1 [INFO] [stderr] Downloaded tokio-io-timeout v1.2.1 [INFO] [stderr] Downloaded libsql-hrana v0.9.29 [INFO] [stderr] Downloaded uncased v0.9.10 [INFO] [stderr] Downloaded fallible-streaming-iterator v0.1.9 [INFO] [stderr] Downloaded http-range-header v0.3.1 [INFO] [stderr] Downloaded if_chain v1.0.3 [INFO] [stderr] Downloaded rustls-native-certs v0.7.3 [INFO] [stderr] Downloaded inventory v0.3.21 [INFO] [stderr] Downloaded libsql-sys v0.9.29 [INFO] [stderr] Downloaded deluxe-macros v0.5.0 [INFO] [stderr] Downloaded sqlformat v0.5.0 [INFO] [stderr] Downloaded libsql-sqlite3-parser v0.13.0 [INFO] [stderr] Downloaded tower-http v0.4.4 [INFO] [stderr] Downloaded tokio-util v0.7.17 [INFO] [stderr] Downloaded libsql v0.9.29 [INFO] [stderr] Downloaded libsql-rusqlite v0.9.29 [INFO] [stderr] Downloaded winnow v0.7.14 [INFO] [stderr] Downloaded axum v0.6.20 [INFO] [stderr] Downloaded webpki-roots v1.0.4 [INFO] [stderr] Downloaded tonic v0.11.0 [INFO] [stderr] Downloaded syn v2.0.111 [INFO] [stderr] Downloaded zerocopy v0.8.31 [INFO] [stderr] Downloaded rsa v0.9.9 [INFO] [stderr] Downloaded zerocopy-derive v0.8.31 [INFO] [stderr] Downloaded cc v1.2.49 [INFO] [stderr] Downloaded rustls-pki-types v1.13.1 [INFO] [stderr] Downloaded deluxe v0.5.0 [INFO] [stderr] Downloaded tracing v0.1.43 [INFO] [stderr] Downloaded hyper-rustls v0.25.0 [INFO] [stderr] Downloaded rustls v0.23.35 [INFO] [stderr] Downloaded fallible-iterator v0.3.0 [INFO] [stderr] Downloaded fallible-iterator v0.2.0 [INFO] [stderr] Downloaded cmake v0.1.56 [INFO] [stderr] Downloaded libsql_replication v0.9.29 [INFO] [stderr] Downloaded prost-derive v0.12.6 [INFO] [stderr] Downloaded deluxe-core v0.5.0 [INFO] [stderr] Downloaded base64ct v1.8.1 [INFO] [stderr] Downloaded axum-core v0.3.4 [INFO] [stderr] Downloaded prost v0.12.6 [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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+c2efcc4ae006a6b2761cb42572fc9cee0d1ce4af" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 992cef8e603015ba8f7bdac9dd9dd1c1f01165b4579df9620a4fb13f75644663 [INFO] running `Command { std: "docker" "start" "-a" "992cef8e603015ba8f7bdac9dd9dd1c1f01165b4579df9620a4fb13f75644663", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "992cef8e603015ba8f7bdac9dd9dd1c1f01165b4579df9620a4fb13f75644663", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "992cef8e603015ba8f7bdac9dd9dd1c1f01165b4579df9620a4fb13f75644663", kill_on_drop: false }` [INFO] [stdout] 992cef8e603015ba8f7bdac9dd9dd1c1f01165b4579df9620a4fb13f75644663 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+c2efcc4ae006a6b2761cb42572fc9cee0d1ce4af" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 639a9f63b7e5895e15a98c5e71c648c71c2c099442799912f92e882058c2435c [INFO] running `Command { std: "docker" "start" "-a" "639a9f63b7e5895e15a98c5e71c648c71c2c099442799912f92e882058c2435c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling unicode-ident v1.0.22 [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 serde_core v1.0.228 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling rustls-pki-types v1.13.1 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling cc v1.2.49 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling rustls v0.23.35 [INFO] [stderr] Compiling webpki-roots v1.0.4 [INFO] [stderr] Compiling tracing-core v0.1.35 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling if_chain v1.0.3 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling unicode_categories v0.1.1 [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 ring v0.17.14 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.7 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling sqlformat v0.5.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling rustls-webpki v0.103.8 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling deluxe-core v0.5.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [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 thiserror-impl v2.0.17 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling deluxe-macros v0.5.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tracing v0.1.43 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [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 deluxe v0.5.0 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling rusql-alchemy-derive v0.5.8 (/opt/rustwide/workdir/rusql-alchemy-derive) [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.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.8 (/opt/rustwide/workdir/rusql-alchemy) [INFO] [stderr] Compiling tests v0.5.8 (/opt/rustwide/workdir/tests) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.54s [INFO] running `Command { std: "docker" "inspect" "639a9f63b7e5895e15a98c5e71c648c71c2c099442799912f92e882058c2435c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "639a9f63b7e5895e15a98c5e71c648c71c2c099442799912f92e882058c2435c", kill_on_drop: false }` [INFO] [stdout] 639a9f63b7e5895e15a98c5e71c648c71c2c099442799912f92e882058c2435c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+c2efcc4ae006a6b2761cb42572fc9cee0d1ce4af" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7193a026b4bd80ba6b6bcea2007bea1f0d69576c65d35f1d7d7a7ed689ac2f1 [INFO] running `Command { std: "docker" "start" "-a" "b7193a026b4bd80ba6b6bcea2007bea1f0d69576c65d35f1d7d7a7ed689ac2f1", kill_on_drop: false }` [INFO] [stderr] Compiling rusql-alchemy-derive v0.5.8 (/opt/rustwide/workdir/rusql-alchemy-derive) [INFO] [stderr] Compiling rusql-alchemy v0.5.8 (/opt/rustwide/workdir/rusql-alchemy) [INFO] [stderr] Compiling tests v0.5.8 (/opt/rustwide/workdir/tests) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.16s [INFO] running `Command { std: "docker" "inspect" "b7193a026b4bd80ba6b6bcea2007bea1f0d69576c65d35f1d7d7a7ed689ac2f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7193a026b4bd80ba6b6bcea2007bea1f0d69576c65d35f1d7d7a7ed689ac2f1", kill_on_drop: false }` [INFO] [stdout] b7193a026b4bd80ba6b6bcea2007bea1f0d69576c65d35f1d7d7a7ed689ac2f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+c2efcc4ae006a6b2761cb42572fc9cee0d1ce4af" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 05d53fb6123118a33eedbc876830d264ce7a1280cddce1a50593cbdfbe014215 [INFO] running `Command { std: "docker" "start" "-a" "05d53fb6123118a33eedbc876830d264ce7a1280cddce1a50593cbdfbe014215", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rusql_alchemy-afe7ec935093ad0f) [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-55e9297668f23361) [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-ecd45437824b8262) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_main ... ok [INFO] [stdout] test test_join ... 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/macros.rs - macros::kwargs (line 8) ... FAILED [INFO] [stdout] test rusql-alchemy/src/lib.rs - Database::up (line 138) ... FAILED [INFO] [stdout] test rusql-alchemy/src/db/model.rs - db::model::Model::all (line 376) ... FAILED [INFO] [stdout] test rusql-alchemy/src/db/model.rs - db::model::Model::filter (line 423) ... 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::update (line 277) ... FAILED [INFO] [stdout] test rusql-alchemy/src/db/model.rs - db::model::Model::count (line 541) ... FAILED [INFO] [stdout] test rusql-alchemy/src/db/model.rs - db::model::Model::delete (line 358) ... FAILED [INFO] [stdout] test rusql-alchemy/src/db/model.rs - db::model::Model::set (line 302) ... FAILED [INFO] [stdout] test rusql-alchemy/src/db/model.rs - db::model::Model::get (line 493) ... 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::create (line 227) ... FAILED [INFO] [stdout] test rusql-alchemy/src/lib.rs - Database::down (line 162) ... FAILED [INFO] [stdout] test rusql-alchemy/src/db/model.rs - db::model::Vec::delete (line 592) ... 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::down (line 144) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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/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/db/model.rs - db::model::Model::all (line 376) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `conn` in this scope [INFO] [stdout] --> rusql-alchemy/src/db/model.rs:377:24 [INFO] [stdout] | [INFO] [stdout] 377 | 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:377:30 [INFO] [stdout] | [INFO] [stdout] 376 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rusql_alchemy_src_db_model_rs_376_0() { [INFO] [stdout] | ------------------------------------------------------ this is not `async` [INFO] [stdout] 377 | 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:377:13 [INFO] [stdout] | [INFO] [stdout] 377 | 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::filter (line 423) stdout ---- [INFO] [stdout] error: cannot find macro `kwargs` in this scope [INFO] [stdout] --> rusql-alchemy/src/db/model.rs:425:28 [INFO] [stdout] | [INFO] [stdout] 425 | kwargs!(age <= 18).and(kwargs!(weight == 80.0)), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 423 + 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:425:5 [INFO] [stdout] | [INFO] [stdout] 425 | kwargs!(age <= 18).and(kwargs!(weight == 80.0)), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 423 + 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:426:6 [INFO] [stdout] | [INFO] [stdout] 426 | &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:427:3 [INFO] [stdout] | [INFO] [stdout] 423 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rusql_alchemy_src_db_model_rs_423_0() { [INFO] [stdout] | ------------------------------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 427 | ).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:424:13 [INFO] [stdout] | [INFO] [stdout] 424 | 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::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::update (line 277) stdout ---- [INFO] [stdout] error: cannot find macro `kwargs` in this scope [INFO] [stdout] --> rusql-alchemy/src/db/model.rs:279:5 [INFO] [stdout] | [INFO] [stdout] 279 | kwargs!(email == "24nomeniavo@gmail.com").and(kwargs!(password == "strongpassword")), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 277 + 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:279:51 [INFO] [stdout] | [INFO] [stdout] 279 | kwargs!(email == "24nomeniavo@gmail.com").and(kwargs!(password == "strongpassword")), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 277 + 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:280:6 [INFO] [stdout] | [INFO] [stdout] 280 | &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:283:32 [INFO] [stdout] | [INFO] [stdout] 283 | 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:281:3 [INFO] [stdout] | [INFO] [stdout] 277 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rusql_alchemy_src_db_model_rs_277_0() { [INFO] [stdout] | ------------------------------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 281 | ).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:283:38 [INFO] [stdout] | [INFO] [stdout] 277 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rusql_alchemy_src_db_model_rs_277_0() { [INFO] [stdout] | ------------------------------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 283 | 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:278:25 [INFO] [stdout] | [INFO] [stdout] 278 | 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::count (line 541) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `conn` in this scope [INFO] [stdout] --> rusql-alchemy/src/db/model.rs:542:26 [INFO] [stdout] | [INFO] [stdout] 542 | 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:542:32 [INFO] [stdout] | [INFO] [stdout] 541 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rusql_alchemy_src_db_model_rs_541_0() { [INFO] [stdout] | ------------------------------------------------------ this is not `async` [INFO] [stdout] 542 | 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:542:13 [INFO] [stdout] | [INFO] [stdout] 542 | 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::delete (line 358) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `user` in this scope [INFO] [stdout] --> rusql-alchemy/src/db/model.rs:359:15 [INFO] [stdout] | [INFO] [stdout] 359 | 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:359:28 [INFO] [stdout] | [INFO] [stdout] 359 | 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:359:34 [INFO] [stdout] | [INFO] [stdout] 358 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rusql_alchemy_src_db_model_rs_358_0() { [INFO] [stdout] | ------------------------------------------------------ this is not `async` [INFO] [stdout] 359 | 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::set (line 302) stdout ---- [INFO] [stdout] error: cannot find macro `kwargs` in this scope [INFO] [stdout] --> rusql-alchemy/src/db/model.rs:305:5 [INFO] [stdout] | [INFO] [stdout] 305 | kwargs!(role = "admin"), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 302 + 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:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | 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:306:6 [INFO] [stdout] | [INFO] [stdout] 306 | &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:307:3 [INFO] [stdout] | [INFO] [stdout] 302 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rusql_alchemy_src_db_model_rs_302_0() { [INFO] [stdout] | ------------------------------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 307 | ).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:303:15 [INFO] [stdout] | [INFO] [stdout] 303 | 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/db/model.rs - db::model::Model::get (line 493) stdout ---- [INFO] [stdout] error: cannot find macro `kwargs` in this scope [INFO] [stdout] --> rusql-alchemy/src/db/model.rs:495:51 [INFO] [stdout] | [INFO] [stdout] 495 | kwargs!(email == "24nomeniavo@gmail.com").and(kwargs!(password == "strongpassword")), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 493 + 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:495:5 [INFO] [stdout] | [INFO] [stdout] 495 | kwargs!(email == "24nomeniavo@gmail.com").and(kwargs!(password == "strongpassword")), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 493 + 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:496:6 [INFO] [stdout] | [INFO] [stdout] 496 | &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:497:3 [INFO] [stdout] | [INFO] [stdout] 493 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rusql_alchemy_src_db_model_rs_493_0() { [INFO] [stdout] | ------------------------------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 497 | ).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:494:12 [INFO] [stdout] | [INFO] [stdout] 494 | 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 (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::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/lib.rs - Database::down (line 162) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope [INFO] [stdout] --> rusql-alchemy/src/lib.rs:165:3 [INFO] [stdout] | [INFO] [stdout] 165 | #[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:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | 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::delete (line 592) stdout ---- [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> rusql-alchemy/src/db/model.rs:597:35 [INFO] [stdout] | [INFO] [stdout] 597 | #[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:613:3 [INFO] [stdout] | [INFO] [stdout] 613 | #[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:615:16 [INFO] [stdout] | [INFO] [stdout] 615 | 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 { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 615 | 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:617:29 [INFO] [stdout] | [INFO] [stdout] 598 | 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] 617 | 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/c2efcc4ae006a6b2761cb42572fc9cee0d1ce4af/library/core/src/iter/traits/iterator.rs:41: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:621:29 [INFO] [stdout] | [INFO] [stdout] 598 | 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] 621 | 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/c2efcc4ae006a6b2761cb42572fc9cee0d1ce4af/library/core/src/iter/traits/iterator.rs:41: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:614:53 [INFO] [stdout] | [INFO] [stdout] 614 | async fn main() -> Result<(), rusql_alchemy::Error> { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 615 | | let conn = Database::new().await?.conn; [INFO] [stdout] 616 | | [INFO] [stdout] 617 | | let products = Product::all(&conn).await?; [INFO] [stdout] ... | [INFO] [stdout] 622 | | println!("Remaining products: {:#?}", products); [INFO] [stdout] 623 | | } [INFO] [stdout] | |_^ expected `Result<(), Box>`, 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:618:9 [INFO] [stdout] | [INFO] [stdout] 618 | let success = products.delete(&conn).await; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 621 | 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:614:1 [INFO] [stdout] | [INFO] [stdout] 614 | 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] ---- 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::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] [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 376) [INFO] [stdout] rusql-alchemy/src/db/model.rs - db::model::Model::count (line 541) [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 358) [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 423) [INFO] [stdout] rusql-alchemy/src/db/model.rs - db::model::Model::get (line 493) [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 302) [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 277) [INFO] [stdout] rusql-alchemy/src/db/model.rs - db::model::Vec::delete (line 592) [INFO] [stdout] rusql-alchemy/src/lib.rs - Database::down (line 162) [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.28s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.76s; merged doctests compilation took 0.46s [INFO] [stderr] error: doctest failed, to rerun pass `-p rusql-alchemy --doc` [INFO] running `Command { std: "docker" "inspect" "05d53fb6123118a33eedbc876830d264ce7a1280cddce1a50593cbdfbe014215", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05d53fb6123118a33eedbc876830d264ce7a1280cddce1a50593cbdfbe014215", kill_on_drop: false }` [INFO] [stdout] 05d53fb6123118a33eedbc876830d264ce7a1280cddce1a50593cbdfbe014215