[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] c0e9367618453b002029d44423dc20777cebdaa1 [INFO] testing j03-dev/rust-alchemy against beta-2025-04-13 for beta-1.87-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fj03-dev%2Frust-alchemy" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/j03-dev/rust-alchemy on toolchain beta-2025-04-13 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-04-13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-3-tc2/source/Cargo.toml [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" "+beta-2025-04-13" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d863e12467cb619c9ddc28dc48509406767eeef0eddd7808f72bfc48d6b1e99 [INFO] running `Command { std: "docker" "start" "-a" "6d863e12467cb619c9ddc28dc48509406767eeef0eddd7808f72bfc48d6b1e99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d863e12467cb619c9ddc28dc48509406767eeef0eddd7808f72bfc48d6b1e99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d863e12467cb619c9ddc28dc48509406767eeef0eddd7808f72bfc48d6b1e99", kill_on_drop: false }` [INFO] [stdout] 6d863e12467cb619c9ddc28dc48509406767eeef0eddd7808f72bfc48d6b1e99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2060ee123065c1ce5185ef6cd1e71c5bbe64d6b2bde1802f74dd96ec51850158 [INFO] running `Command { std: "docker" "start" "-a" "2060ee123065c1ce5185ef6cd1e71c5bbe64d6b2bde1802f74dd96ec51850158", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling foldhash v0.1.4 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling cc v1.2.11 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling rustls v0.23.22 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling webpki-roots v0.26.8 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling tinyvec v1.8.1 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling tempfile v3.16.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling is-terminal v0.4.15 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling winnow v0.6.26 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling winnow v0.7.0 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling iana-time-zone v0.1.62 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling inventory v0.3.19 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling tokio-stream v0.1.17 [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 sqlformat v0.3.5 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [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 icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling async-trait v0.1.86 [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 zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling deluxe-macros v0.5.0 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hyper v0.14.32 [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 deluxe v0.5.0 [INFO] [stderr] Compiling rusql-alchemy-derive v1.0.5 (/opt/rustwide/workdir/rusql-alchemy-derive) [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling toml_edit v0.22.23 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling sqlx-core v0.8.3 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling sqlx-sqlite v0.8.3 [INFO] [stderr] Compiling sqlx-postgres v0.8.3 [INFO] [stderr] Compiling sqlx-macros-core v0.8.3 [INFO] [stderr] Compiling sqlx-macros v0.8.3 [INFO] [stderr] Compiling sqlx v0.8.3 [INFO] [stderr] Compiling rusql-alchemy v0.5.0-rc.6 (/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 2m 07s [INFO] running `Command { std: "docker" "inspect" "2060ee123065c1ce5185ef6cd1e71c5bbe64d6b2bde1802f74dd96ec51850158", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2060ee123065c1ce5185ef6cd1e71c5bbe64d6b2bde1802f74dd96ec51850158", kill_on_drop: false }` [INFO] [stdout] 2060ee123065c1ce5185ef6cd1e71c5bbe64d6b2bde1802f74dd96ec51850158 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8fcd8d868beec1b6341a6037359ded0de1d93c3671fb1213763e80ab45be07a6 [INFO] running `Command { std: "docker" "start" "-a" "8fcd8d868beec1b6341a6037359ded0de1d93c3671fb1213763e80ab45be07a6", 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-rc.6 (/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 `test` profile [unoptimized + debuginfo] target(s) in 10.83s [INFO] running `Command { std: "docker" "inspect" "8fcd8d868beec1b6341a6037359ded0de1d93c3671fb1213763e80ab45be07a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fcd8d868beec1b6341a6037359ded0de1d93c3671fb1213763e80ab45be07a6", kill_on_drop: false }` [INFO] [stdout] 8fcd8d868beec1b6341a6037359ded0de1d93c3671fb1213763e80ab45be07a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a36041bb516b0c41bdeec7e7ae3a6f79218adda8af31d8b11e7919ab99a8a712 [INFO] running `Command { std: "docker" "start" "-a" "a36041bb516b0c41bdeec7e7ae3a6f79218adda8af31d8b11e7919ab99a8a712", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.81s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rocket_alchemy-e0d01a8c893f95d1) [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-29f299153da98a21) [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rusql_alchemy_derive-dee78edd79cd4ba4) [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] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/sqlite-f4320a4316bac25d) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 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-dbb532795b1894a3) [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::get (line 400) ... FAILED [INFO] [stdout] test rusql-alchemy/src/db/models.rs - db::models::Model::create (line 223) ... FAILED [INFO] [stdout] test rusql-alchemy/src/db/models.rs - db::models::Model::set (line 286) ... FAILED [INFO] [stdout] test rusql-alchemy/src/utils.rs - utils::get_type_name (line 15) ... 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::count (line 423) ... 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::Model::update (line 261) ... FAILED [INFO] [stdout] test rusql-alchemy/src/db/models.rs - db::models::Model::delete (line 328) ... FAILED [INFO] [stdout] test rusql-alchemy/src/db/models.rs - db::models::Model::all (line 345) ... FAILED [INFO] [stdout] test rusql-alchemy/src/db/models.rs - db::models::Model::save (line 197) ... FAILED [INFO] [stdout] test rusql-alchemy/src/db/models.rs - db::models::Model::migrate (line 171) ... FAILED [INFO] [stdout] test rusql-alchemy/src/db/models.rs - db::models::Model::filter (line 367) ... FAILED [INFO] [stdout] test rusql-alchemy/src/macros.rs - macros::binds (line 72) ... 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::Vec::delete (line 458) ... 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::get (line 400) stdout ---- [INFO] [stdout] error: cannot find macro `kwargs` in this scope [INFO] [stdout] --> rusql-alchemy/src/db/models.rs:402: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:402: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:403: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:404:3 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rusql_alchemy_src_db_models_rs_400_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:401: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/db/models.rs - db::models::Model::create (line 223) stdout ---- [INFO] [stdout] error: cannot find macro `kwargs` in this scope [INFO] [stdout] --> rusql-alchemy/src/db/models.rs:225: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:232: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:233:3 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rusql_alchemy_src_db_models_rs_223_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:224: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::set (line 286) stdout ---- [INFO] [stdout] error: cannot find macro `kwargs` in this scope [INFO] [stdout] --> rusql-alchemy/src/db/models.rs:289: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:288: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:290: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:291:3 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rusql_alchemy_src_db_models_rs_286_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:287: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/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/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::count (line 423) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `conn` in this scope [INFO] [stdout] --> rusql-alchemy/src/db/models.rs:424: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:424:32 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rusql_alchemy_src_db_models_rs_423_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:424: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::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::Model::update (line 261) stdout ---- [INFO] [stdout] error: cannot find macro `kwargs` in this scope [INFO] [stdout] --> rusql-alchemy/src/db/models.rs:263: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:263: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:264: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:267: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:265:3 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rusql_alchemy_src_db_models_rs_261_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:267:38 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rusql_alchemy_src_db_models_rs_261_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:262: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::delete (line 328) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `user` in this scope [INFO] [stdout] --> rusql-alchemy/src/db/models.rs:329: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:329: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:329:34 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rusql_alchemy_src_db_models_rs_328_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/db/models.rs - db::models::Model::all (line 345) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `conn` in this scope [INFO] [stdout] --> rusql-alchemy/src/db/models.rs:346: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:346:30 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rusql_alchemy_src_db_models_rs_345_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:346: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::save (line 197) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `User` in this scope [INFO] [stdout] --> rusql-alchemy/src/db/models.rs:198: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:206: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:206:32 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rusql_alchemy_src_db_models_rs_197_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::migrate (line 171) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `conn` in this scope [INFO] [stdout] --> rusql-alchemy/src/db/models.rs:172: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:172:36 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rusql_alchemy_src_db_models_rs_171_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:172: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::filter (line 367) stdout ---- [INFO] [stdout] error: cannot find macro `kwargs` in this scope [INFO] [stdout] --> rusql-alchemy/src/db/models.rs:369: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:369: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:370: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:371:3 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rusql_alchemy_src_db_models_rs_367_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:368: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/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/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::Vec::delete (line 458) stdout ---- [INFO] [stdout] error: unexpected token: `.` [INFO] [stdout] --> rusql-alchemy/src/db/models.rs:463: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:463: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:463: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:475: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:473: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:471: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:467: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:465: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:463: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:463: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:481: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:483: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/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/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:487: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/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/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 345) [INFO] [stdout] rusql-alchemy/src/db/models.rs - db::models::Model::count (line 423) [INFO] [stdout] rusql-alchemy/src/db/models.rs - db::models::Model::create (line 223) [INFO] [stdout] rusql-alchemy/src/db/models.rs - db::models::Model::delete (line 328) [INFO] [stdout] rusql-alchemy/src/db/models.rs - db::models::Model::filter (line 367) [INFO] [stdout] rusql-alchemy/src/db/models.rs - db::models::Model::get (line 400) [INFO] [stdout] rusql-alchemy/src/db/models.rs - db::models::Model::migrate (line 171) [INFO] [stdout] rusql-alchemy/src/db/models.rs - db::models::Model::save (line 197) [INFO] [stdout] rusql-alchemy/src/db/models.rs - db::models::Model::set (line 286) [INFO] [stdout] rusql-alchemy/src/db/models.rs - db::models::Model::update (line 261) [INFO] [stdout] rusql-alchemy/src/db/models.rs - db::models::Vec::delete (line 458) [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 5.70s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `-p rusql-alchemy --doc` [INFO] running `Command { std: "docker" "inspect" "a36041bb516b0c41bdeec7e7ae3a6f79218adda8af31d8b11e7919ab99a8a712", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a36041bb516b0c41bdeec7e7ae3a6f79218adda8af31d8b11e7919ab99a8a712", kill_on_drop: false }` [INFO] [stdout] a36041bb516b0c41bdeec7e7ae3a6f79218adda8af31d8b11e7919ab99a8a712