[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] 78ab3706354eeaa3c06871a3ed18e6b95441c0af [INFO] testing j03-dev/rust-alchemy against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fj03-dev%2Frust-alchemy" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/j03-dev/rust-alchemy on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e257f09d80b1a9a9c8474cb1faa9c5ca11e676dc06030e802b1026fab211dd6 [INFO] running `Command { std: "docker" "start" "-a" "0e257f09d80b1a9a9c8474cb1faa9c5ca11e676dc06030e802b1026fab211dd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e257f09d80b1a9a9c8474cb1faa9c5ca11e676dc06030e802b1026fab211dd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e257f09d80b1a9a9c8474cb1faa9c5ca11e676dc06030e802b1026fab211dd6", kill_on_drop: false }` [INFO] [stdout] 0e257f09d80b1a9a9c8474cb1faa9c5ca11e676dc06030e802b1026fab211dd6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 89476b93aac02aff04dc6907ab81bcea240c4da982dbf0315cb6824b1136dc76 [INFO] running `Command { std: "docker" "start" "-a" "89476b93aac02aff04dc6907ab81bcea240c4da982dbf0315cb6824b1136dc76", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling cc v1.2.20 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling rustls v0.23.26 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling webpki-roots v0.26.8 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling winnow v0.6.26 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling toml_write v0.1.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling winnow v0.7.7 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling inventory v0.3.20 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling sqlformat v0.3.5 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling deluxe-core v0.5.0 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling deluxe-macros v0.5.0 [INFO] [stderr] Compiling rustls-webpki v0.103.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling deluxe v0.5.0 [INFO] [stderr] Compiling rusql-alchemy-derive v1.0.5 (/opt/rustwide/workdir/rusql-alchemy-derive) [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling toml_edit v0.22.25 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling sqlx-core v0.8.5 [INFO] [stderr] Compiling toml v0.8.21 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling sqlx-postgres v0.8.5 [INFO] [stderr] Compiling sqlx-sqlite v0.8.5 [INFO] [stderr] Compiling sqlx-macros-core v0.8.5 [INFO] [stderr] Compiling sqlx-macros v0.8.5 [INFO] [stderr] Compiling sqlx v0.8.5 [INFO] [stderr] Compiling rusql-alchemy v0.5.0 (/opt/rustwide/workdir/rusql-alchemy) [INFO] [stderr] Compiling sqlite v0.1.0 (/opt/rustwide/workdir/examples/sqlite) [INFO] [stderr] Compiling test-postgres v0.1.0 (/opt/rustwide/workdir/examples/postgres) [INFO] [stderr] Compiling rocket-alchemy v0.1.0 (/opt/rustwide/workdir/examples/rocket) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 47s [INFO] running `Command { std: "docker" "inspect" "89476b93aac02aff04dc6907ab81bcea240c4da982dbf0315cb6824b1136dc76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89476b93aac02aff04dc6907ab81bcea240c4da982dbf0315cb6824b1136dc76", kill_on_drop: false }` [INFO] [stdout] 89476b93aac02aff04dc6907ab81bcea240c4da982dbf0315cb6824b1136dc76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6db0aaeb46af83730210468bc745c333c459cd16149d1d76753b486fe9cadbc [INFO] running `Command { std: "docker" "start" "-a" "a6db0aaeb46af83730210468bc745c333c459cd16149d1d76753b486fe9cadbc", kill_on_drop: false }` [INFO] [stderr] Compiling rusql-alchemy-derive v1.0.5 (/opt/rustwide/workdir/rusql-alchemy-derive) [INFO] [stderr] Compiling rusql-alchemy v0.5.0 (/opt/rustwide/workdir/rusql-alchemy) [INFO] [stderr] Compiling sqlite v0.1.0 (/opt/rustwide/workdir/examples/sqlite) [INFO] [stderr] Compiling rocket-alchemy v0.1.0 (/opt/rustwide/workdir/examples/rocket) [INFO] [stderr] Compiling test-postgres v0.1.0 (/opt/rustwide/workdir/examples/postgres) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.68s [INFO] running `Command { std: "docker" "inspect" "a6db0aaeb46af83730210468bc745c333c459cd16149d1d76753b486fe9cadbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6db0aaeb46af83730210468bc745c333c459cd16149d1d76753b486fe9cadbc", kill_on_drop: false }` [INFO] [stdout] a6db0aaeb46af83730210468bc745c333c459cd16149d1d76753b486fe9cadbc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b0180daf0cb42cd8a1f471591e8681c71bfb2e6b054dd04161640449dbeef2d4 [INFO] running `Command { std: "docker" "start" "-a" "b0180daf0cb42cd8a1f471591e8681c71bfb2e6b054dd04161640449dbeef2d4", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.33s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rocket_alchemy-e760d3e352a4cfb8) [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-b89dfa25ebd4a0c5) [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-ce95a7e5b308c9d1) [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/main.rs (/opt/rustwide/target/debug/deps/sqlite-12365c2583add0c0) [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/main.rs (/opt/rustwide/target/debug/deps/test_postgres-66e0ee273cced803) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests rusql_alchemy [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test rusql-alchemy/src/db/models.rs - db::models::Model::count (line 463) ... FAILED [INFO] [stdout] test rusql-alchemy/src/utils.rs - utils::get_placeholder (line 37) ... FAILED [INFO] [stdout] test rusql-alchemy/src/db/models.rs - db::models::Model::update (line 294) ... FAILED [INFO] [stdout] test rusql-alchemy/src/db/models.rs - db::models::Model::get (line 440) ... FAILED [INFO] [stdout] test rusql-alchemy/src/macros.rs - macros::kwargs (line 8) ... FAILED [INFO] [stdout] test rusql-alchemy/src/db/models.rs - db::models::Model::save (line 226) ... FAILED [INFO] [stdout] test rusql-alchemy/src/db/models.rs - db::models::Model::all (line 385) ... FAILED [INFO] [stdout] test rusql-alchemy/src/db/models.rs - db::models::Model::migrate (line 200) ... FAILED [INFO] [stdout] test rusql-alchemy/src/db/models.rs - db::models::Model::delete (line 368) ... FAILED [INFO] [stdout] test rusql-alchemy/src/macros.rs - macros::binds (line 72) ... FAILED [INFO] [stdout] test rusql-alchemy/src/utils.rs - utils::get_type_name (line 15) ... FAILED [INFO] [stdout] test rusql-alchemy/src/db/models.rs - db::models::Model::set (line 319) ... FAILED [INFO] [stdout] test rusql-alchemy/src/db/models.rs - db::models::Model::create (line 252) ... FAILED [INFO] [stdout] test rusql-alchemy/src/db/models.rs - db::models::Model::filter (line 407) ... FAILED [INFO] [stdout] test rusql-alchemy/src/utils.rs - utils::to_string (line 71) ... FAILED [INFO] [stdout] test rusql-alchemy/src/db/models.rs - db::models::Vec::delete (line 498) ... FAILED [INFO] [stdout] test rusql-alchemy/src/lib.rs - Database::new (line 50) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- rusql-alchemy/src/db/models.rs - db::models::Model::count (line 463) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `conn` in this scope [INFO] [stdout] --> rusql-alchemy/src/db/models.rs:464:26 [INFO] [stdout] | [INFO] [stdout] 3 | 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/models.rs:464:32 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rusql_alchemy_src_db_models_rs_463_0() { [INFO] [stdout] | ------------------------------------------------------- this is not `async` [INFO] [stdout] 3 | let count = User::count(&conn).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `User` [INFO] [stdout] --> rusql-alchemy/src/db/models.rs:464:13 [INFO] [stdout] | [INFO] [stdout] 3 | 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/utils.rs - utils::get_placeholder (line 37) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `get_placeholder` in this scope [INFO] [stdout] --> rusql-alchemy/src/utils.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 4 | let placeholder = get_placeholder().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use rusql_alchemy::get_placeholder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- rusql-alchemy/src/db/models.rs - db::models::Model::update (line 294) stdout ---- [INFO] [stdout] error: cannot find macro `kwargs` in this scope [INFO] [stdout] --> rusql-alchemy/src/db/models.rs:296:5 [INFO] [stdout] | [INFO] [stdout] 4 | kwargs!(email == "24nomeniavo@gmail.com").and(kwargs!(password == "strongpassword")), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use rusql_alchemy::kwargs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `kwargs` in this scope [INFO] [stdout] --> rusql-alchemy/src/db/models.rs:296:51 [INFO] [stdout] | [INFO] [stdout] 4 | kwargs!(email == "24nomeniavo@gmail.com").and(kwargs!(password == "strongpassword")), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + 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/models.rs:297:6 [INFO] [stdout] | [INFO] [stdout] 5 | &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/models.rs:300:32 [INFO] [stdout] | [INFO] [stdout] 8 | 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/models.rs:298:3 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rusql_alchemy_src_db_models_rs_294_0() { [INFO] [stdout] | ------------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 6 | ).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/models.rs:300:38 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rusql_alchemy_src_db_models_rs_294_0() { [INFO] [stdout] | ------------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 8 | let success = user.update(&conn).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `User` [INFO] [stdout] --> rusql-alchemy/src/db/models.rs:295:25 [INFO] [stdout] | [INFO] [stdout] 3 | 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/models.rs - db::models::Model::get (line 440) stdout ---- [INFO] [stdout] error: cannot find macro `kwargs` in this scope [INFO] [stdout] --> rusql-alchemy/src/db/models.rs:442:51 [INFO] [stdout] | [INFO] [stdout] 4 | kwargs!(email == "24nomeniavo@gmail.com").and(kwargs!(password == "strongpassword")), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use rusql_alchemy::kwargs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `kwargs` in this scope [INFO] [stdout] --> rusql-alchemy/src/db/models.rs:442:5 [INFO] [stdout] | [INFO] [stdout] 4 | kwargs!(email == "24nomeniavo@gmail.com").and(kwargs!(password == "strongpassword")), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + 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/models.rs:443:6 [INFO] [stdout] | [INFO] [stdout] 5 | &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/models.rs:444:3 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rusql_alchemy_src_db_models_rs_440_0() { [INFO] [stdout] | ------------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 6 | ).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `User` [INFO] [stdout] --> rusql-alchemy/src/db/models.rs:441:12 [INFO] [stdout] | [INFO] [stdout] 3 | 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/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] 3 | let conditions = kwargs!( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + 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/models.rs - db::models::Model::save (line 226) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `User` in this scope [INFO] [stdout] --> rusql-alchemy/src/db/models.rs:227:12 [INFO] [stdout] | [INFO] [stdout] 3 | 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/models.rs:235:26 [INFO] [stdout] | [INFO] [stdout] 11 | 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/models.rs:235:32 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rusql_alchemy_src_db_models_rs_226_0() { [INFO] [stdout] | ------------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 11 | 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/models.rs - db::models::Model::all (line 385) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `conn` in this scope [INFO] [stdout] --> rusql-alchemy/src/db/models.rs:386:24 [INFO] [stdout] | [INFO] [stdout] 3 | 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/models.rs:386:30 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rusql_alchemy_src_db_models_rs_385_0() { [INFO] [stdout] | ------------------------------------------------------- this is not `async` [INFO] [stdout] 3 | let users = User::all(&conn).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `User` [INFO] [stdout] --> rusql-alchemy/src/db/models.rs:386:13 [INFO] [stdout] | [INFO] [stdout] 3 | 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/models.rs - db::models::Model::migrate (line 200) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `conn` in this scope [INFO] [stdout] --> rusql-alchemy/src/db/models.rs:201:30 [INFO] [stdout] | [INFO] [stdout] 3 | let success = User::migrate(&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/models.rs:201:36 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rusql_alchemy_src_db_models_rs_200_0() { [INFO] [stdout] | ------------------------------------------------------- this is not `async` [INFO] [stdout] 3 | let success = User::migrate(&conn).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `User` [INFO] [stdout] --> rusql-alchemy/src/db/models.rs:201:15 [INFO] [stdout] | [INFO] [stdout] 3 | let success = User::migrate(&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/models.rs - db::models::Model::delete (line 368) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `user` in this scope [INFO] [stdout] --> rusql-alchemy/src/db/models.rs:369:15 [INFO] [stdout] | [INFO] [stdout] 3 | 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/models.rs:369:28 [INFO] [stdout] | [INFO] [stdout] 3 | 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/models.rs:369:34 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rusql_alchemy_src_db_models_rs_368_0() { [INFO] [stdout] | ------------------------------------------------------- this is not `async` [INFO] [stdout] 3 | 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/macros.rs - macros::binds (line 72) stdout ---- [INFO] [stdout] error: cannot find macro `binds` in this scope [INFO] [stdout] --> rusql-alchemy/src/macros.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 9 | binds!(args, stream); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `some_stream` in this scope [INFO] [stdout] --> rusql-alchemy/src/macros.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 8 | let stream = some_stream(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- rusql-alchemy/src/utils.rs - utils::get_type_name (line 15) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `get_type_name` in this scope [INFO] [stdout] --> rusql-alchemy/src/utils.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 3 | let type_name = get_type_name(42); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use rusql_alchemy::get_type_name; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- rusql-alchemy/src/db/models.rs - db::models::Model::set (line 319) stdout ---- [INFO] [stdout] error: cannot find macro `kwargs` in this scope [INFO] [stdout] --> rusql-alchemy/src/db/models.rs:322:5 [INFO] [stdout] | [INFO] [stdout] 5 | kwargs!(role = "admin"), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + 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/models.rs:321:5 [INFO] [stdout] | [INFO] [stdout] 4 | 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/models.rs:323:6 [INFO] [stdout] | [INFO] [stdout] 6 | &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/models.rs:324:3 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rusql_alchemy_src_db_models_rs_319_0() { [INFO] [stdout] | ------------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | ).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `User` [INFO] [stdout] --> rusql-alchemy/src/db/models.rs:320:15 [INFO] [stdout] | [INFO] [stdout] 3 | 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/models.rs - db::models::Model::create (line 252) stdout ---- [INFO] [stdout] error: cannot find macro `kwargs` in this scope [INFO] [stdout] --> rusql-alchemy/src/db/models.rs:254:5 [INFO] [stdout] | [INFO] [stdout] 4 | kwargs!( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + 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/models.rs:261:6 [INFO] [stdout] | [INFO] [stdout] 11 | &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/models.rs:262:3 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rusql_alchemy_src_db_models_rs_252_0() { [INFO] [stdout] | ------------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 12 | ).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `User` [INFO] [stdout] --> rusql-alchemy/src/db/models.rs:253:15 [INFO] [stdout] | [INFO] [stdout] 3 | 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/models.rs - db::models::Model::filter (line 407) stdout ---- [INFO] [stdout] error: cannot find macro `kwargs` in this scope [INFO] [stdout] --> rusql-alchemy/src/db/models.rs:409:28 [INFO] [stdout] | [INFO] [stdout] 4 | kwargs!(age <= 18).and(kwargs!(weight == 80.0)), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use rusql_alchemy::kwargs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `kwargs` in this scope [INFO] [stdout] --> rusql-alchemy/src/db/models.rs:409:5 [INFO] [stdout] | [INFO] [stdout] 4 | kwargs!(age <= 18).and(kwargs!(weight == 80.0)), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + 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/models.rs:410:6 [INFO] [stdout] | [INFO] [stdout] 5 | &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/models.rs:411:3 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rusql_alchemy_src_db_models_rs_407_0() { [INFO] [stdout] | ------------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 6 | ).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `User` [INFO] [stdout] --> rusql-alchemy/src/db/models.rs:408:13 [INFO] [stdout] | [INFO] [stdout] 3 | 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/utils.rs - utils::to_string (line 71) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `to_string` in this scope [INFO] [stdout] --> rusql-alchemy/src/utils.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 3 | let json_string = to_string(true); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 2 + use rusql_alchemy::to_string; [INFO] [stdout] | [INFO] [stdout] 2 + use serde_json::to_string; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_string` in this scope [INFO] [stdout] --> rusql-alchemy/src/utils.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 6 | let json_string = to_string("Hello"); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 - let json_string = to_string("Hello"); [INFO] [stdout] 6 + let json_string = json_string("Hello"); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 2 + use rusql_alchemy::to_string; [INFO] [stdout] | [INFO] [stdout] 2 + use serde_json::to_string; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- rusql-alchemy/src/db/models.rs - db::models::Vec::delete (line 498) stdout ---- [INFO] [stdout] error: unexpected token: `.` [INFO] [stdout] --> rusql-alchemy/src/db/models.rs:503:35 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(FromRow, Debug, Default, Model, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: proc-macro derive produced unparsable tokens [INFO] [stdout] --> rusql-alchemy/src/db/models.rs:503:35 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(FromRow, Debug, Default, Model, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: expected identifier or integer [INFO] [stdout] --> rusql-alchemy/src/db/models.rs:503:35 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(FromRow, Debug, Default, Model, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `model` in this scope [INFO] [stdout] --> rusql-alchemy/src/db/models.rs:515:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[model(default = "now")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `model` in this scope [INFO] [stdout] --> rusql-alchemy/src/db/models.rs:513:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[model(foreign_key = "User.id")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `model` in this scope [INFO] [stdout] --> rusql-alchemy/src/db/models.rs:511:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[model(default = true)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `model` in this scope [INFO] [stdout] --> rusql-alchemy/src/db/models.rs:507:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[model(size = 50)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `model` in this scope [INFO] [stdout] --> rusql-alchemy/src/db/models.rs:505:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[model(primary_key = true, auto = true)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `Default` for type `Product` [INFO] [stdout] --> rusql-alchemy/src/db/models.rs:503:35 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(FromRow, Debug, Default, Model, Clone)] [INFO] [stdout] | ------- ^^^^^ conflicting implementation for `Product` [INFO] [stdout] | | [INFO] [stdout] | first implementation here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `migrate` found for struct `Product` in the current scope [INFO] [stdout] --> rusql-alchemy/src/db/models.rs:503:35 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(FromRow, Debug, Default, Model, Clone)] [INFO] [stdout] | ^^^^^ function or associated item not found in `Product` [INFO] [stdout] 8 | struct Product { [INFO] [stdout] | -------------- function or associated item `migrate` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `migrate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `rusql_alchemy::prelude::Model` [INFO] [stdout] = note: this error originates in the derive macro `Model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `conn` on type `Result` [INFO] [stdout] --> rusql-alchemy/src/db/models.rs:521:38 [INFO] [stdout] | [INFO] [stdout] 25 | let conn = Database::new().await.conn; [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 25 | let conn = Database::new().await.unwrap().conn; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] error[E0599]: `Product` is not an iterator [INFO] [stdout] --> rusql-alchemy/src/db/models.rs:523:29 [INFO] [stdout] | [INFO] [stdout] 8 | struct Product { [INFO] [stdout] | -------------- function or associated item `all` not found for this struct because it doesn't satisfy `Product: Iterator` [INFO] [stdout] ... [INFO] [stdout] 27 | 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/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/iter/traits/iterator.rs:39:1 [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: `bitflags::traits::Flags` [INFO] [stdout] candidate #3: `futures_util::stream::stream::StreamExt` [INFO] [stdout] candidate #4: `rusql_alchemy::prelude::Model` [INFO] [stdout] [INFO] [stdout] error[E0599]: `Product` is not an iterator [INFO] [stdout] --> rusql-alchemy/src/db/models.rs:527:29 [INFO] [stdout] | [INFO] [stdout] 8 | struct Product { [INFO] [stdout] | -------------- function or associated item `all` not found for this struct because it doesn't satisfy `Product: Iterator` [INFO] [stdout] ... [INFO] [stdout] 31 | 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/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/iter/traits/iterator.rs:39:1 [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: `bitflags::traits::Flags` [INFO] [stdout] candidate #3: `futures_util::stream::stream::StreamExt` [INFO] [stdout] candidate #4: `rusql_alchemy::prelude::Model` [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0119, E0599, E0609. [INFO] [stdout] For more information about an error, try `rustc --explain E0119`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] rusql-alchemy/src/db/models.rs - db::models::Model::all (line 385) [INFO] [stdout] rusql-alchemy/src/db/models.rs - db::models::Model::count (line 463) [INFO] [stdout] rusql-alchemy/src/db/models.rs - db::models::Model::create (line 252) [INFO] [stdout] rusql-alchemy/src/db/models.rs - db::models::Model::delete (line 368) [INFO] [stdout] rusql-alchemy/src/db/models.rs - db::models::Model::filter (line 407) [INFO] [stdout] rusql-alchemy/src/db/models.rs - db::models::Model::get (line 440) [INFO] [stdout] rusql-alchemy/src/db/models.rs - db::models::Model::migrate (line 200) [INFO] [stdout] rusql-alchemy/src/db/models.rs - db::models::Model::save (line 226) [INFO] [stdout] rusql-alchemy/src/db/models.rs - db::models::Model::set (line 319) [INFO] [stdout] rusql-alchemy/src/db/models.rs - db::models::Model::update (line 294) [INFO] [stdout] rusql-alchemy/src/db/models.rs - db::models::Vec::delete (line 498) [INFO] [stdout] rusql-alchemy/src/macros.rs - macros::binds (line 72) [INFO] [stdout] rusql-alchemy/src/macros.rs - macros::kwargs (line 8) [INFO] [stdout] rusql-alchemy/src/utils.rs - utils::get_placeholder (line 37) [INFO] [stdout] rusql-alchemy/src/utils.rs - utils::get_type_name (line 15) [INFO] [stdout] rusql-alchemy/src/utils.rs - utils::to_string (line 71) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 16 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.59s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `-p rusql-alchemy --doc` [INFO] running `Command { std: "docker" "inspect" "b0180daf0cb42cd8a1f471591e8681c71bfb2e6b054dd04161640449dbeef2d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0180daf0cb42cd8a1f471591e8681c71bfb2e6b054dd04161640449dbeef2d4", kill_on_drop: false }` [INFO] [stdout] b0180daf0cb42cd8a1f471591e8681c71bfb2e6b054dd04161640449dbeef2d4