[INFO] cloning repository https://github.com/simon-bittok/better-auth-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/simon-bittok/better-auth-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimon-bittok%2Fbetter-auth-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimon-bittok%2Fbetter-auth-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 417c4cc4e9b7f1dea296b2f267b2c8e22f81aa3a [INFO] testing simon-bittok/better-auth-rs against master#d933cf483edf1605142ac6899ff32536c0ad8b22 for pr-150933 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimon-bittok%2Fbetter-auth-rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/simon-bittok/better-auth-rs [INFO] finished tweaking git repo https://github.com/simon-bittok/better-auth-rs [INFO] tweaked toml for git repo https://github.com/simon-bittok/better-auth-rs written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/simon-bittok/better-auth-rs on toolchain d933cf483edf1605142ac6899ff32536c0ad8b22 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/simon-bittok/better-auth-rs 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" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded validator_derive v0.20.0 [INFO] [stderr] Downloaded validator v0.20.0 [INFO] [stderr] Downloaded sqlx-macros v0.8.6 [INFO] [stderr] Downloaded arraydeque v0.5.1 [INFO] [stderr] Downloaded ordered-multimap v0.7.3 [INFO] [stderr] Downloaded sqlx-macros-core v0.8.6 [INFO] [stderr] Downloaded argon2 v0.5.3 [INFO] [stderr] Downloaded unicode-properties v0.1.4 [INFO] [stderr] Downloaded erased-serde v0.4.9 [INFO] [stderr] Downloaded pest_meta v2.8.3 [INFO] [stderr] Downloaded pest v2.8.3 [INFO] [stderr] Downloaded axum v0.8.7 [INFO] [stderr] Downloaded flume v0.11.1 [INFO] [stderr] Downloaded rustls v0.23.35 [INFO] [stderr] Downloaded sqlx v0.8.6 [INFO] [stderr] Downloaded serde-untagged v0.1.9 [INFO] [stderr] Downloaded config v0.15.19 [INFO] [stderr] Downloaded ron v0.12.0 [INFO] [stderr] Downloaded hyper-util v0.1.18 [INFO] [stderr] Downloaded num-bigint-dig v0.8.6 [INFO] [stderr] Downloaded rsa v0.9.9 [INFO] [stderr] Downloaded sqlx-postgres v0.8.6 [INFO] [stderr] Downloaded pest_generator v2.8.3 [INFO] [stderr] Downloaded sqlx-mysql v0.8.6 [INFO] [stderr] Downloaded rustls-webpki v0.103.8 [INFO] [stderr] Downloaded rustls-pki-types v1.13.0 [INFO] [stderr] Downloaded sqlx-core v0.8.6 [INFO] [stderr] Downloaded sqlx-sqlite v0.8.6 [INFO] [stderr] Downloaded yaml-rust2 v0.10.4 [INFO] [stderr] Downloaded jsonwebtoken v10.2.0 [INFO] [stderr] Downloaded axum-macros v0.5.0 [INFO] [stderr] Downloaded pest_derive v2.8.3 [INFO] [stderr] Downloaded rust-ini v0.21.3 [INFO] [stderr] Downloaded whoami v1.6.1 [INFO] [stderr] Downloaded hashlink v0.10.0 [INFO] [stderr] Downloaded webpki-roots v1.0.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b7b382e61de656c7f0bba3243d18e6061af12997b2790314b4fd1417d73382da [INFO] running `Command { std: "docker" "start" "-a" "b7b382e61de656c7f0bba3243d18e6061af12997b2790314b4fd1417d73382da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7b382e61de656c7f0bba3243d18e6061af12997b2790314b4fd1417d73382da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7b382e61de656c7f0bba3243d18e6061af12997b2790314b4fd1417d73382da", kill_on_drop: false }` [INFO] [stdout] b7b382e61de656c7f0bba3243d18e6061af12997b2790314b4fd1417d73382da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ff0070f55e2ad2b17f19f34e2c6b4c79dd7f8f83c1d5454513ec00b1947ab2e [INFO] running `Command { std: "docker" "start" "-a" "6ff0070f55e2ad2b17f19f34e2c6b4c79dd7f8f83c1d5454513ec00b1947ab2e", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling find-msvc-tools v0.1.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling zerocopy v0.8.28 [INFO] [stderr] Compiling cc v1.2.47 [INFO] [stderr] Compiling rustls-pki-types v1.13.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling rustls v0.23.35 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling webpki-roots v1.0.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling pest v2.8.3 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling erased-serde v0.4.9 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling num-bigint-dig v0.8.6 [INFO] [stderr] Compiling deranged v0.5.5 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling primeorder v0.13.6 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling pest_meta v2.8.3 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling serde_spanned v1.0.3 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling rust-ini v0.21.3 [INFO] [stderr] Compiling serde-untagged v0.1.9 [INFO] [stderr] Compiling p384 v0.13.1 [INFO] [stderr] Compiling p256 v0.13.2 [INFO] [stderr] Compiling pem v3.0.6 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling pest_generator v2.8.3 [INFO] [stderr] Compiling rustls-webpki v0.103.8 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling yaml-rust2 v0.10.4 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling toml v0.9.8 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling pest_derive v2.8.3 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling axum-core v0.5.5 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling ed25519-dalek v2.2.0 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling validator_derive v0.20.0 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling ron v0.12.0 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling rsa v0.9.9 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling jsonwebtoken v10.2.0 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling config v0.15.19 [INFO] [stderr] Compiling tracing-error v0.2.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling validator v0.20.0 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Compiling hyper-util v0.1.18 [INFO] [stderr] Compiling axum v0.8.7 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling betterauth v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `status` [INFO] [stdout] --> src/errors/response.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | http::{StatusCode, status}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/errors/response.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | Self::Config(e) => StatusCode::INTERNAL_SERVER_ERROR, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `auth` is never read [INFO] [stdout] --> src/context.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct AppContext { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 99 | auth: AuthContext, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppContext` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LoginUser` is never constructed [INFO] [stdout] --> src/dto/auth.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct LoginUser<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `email` and `password` are never used [INFO] [stdout] --> src/dto/auth.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl<'a> LoginUser<'a> { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] 45 | pub fn email(&self) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn password(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 04s [INFO] running `Command { std: "docker" "inspect" "6ff0070f55e2ad2b17f19f34e2c6b4c79dd7f8f83c1d5454513ec00b1947ab2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ff0070f55e2ad2b17f19f34e2c6b4c79dd7f8f83c1d5454513ec00b1947ab2e", kill_on_drop: false }` [INFO] [stdout] 6ff0070f55e2ad2b17f19f34e2c6b4c79dd7f8f83c1d5454513ec00b1947ab2e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd4752dde70534c43d8059c19e8c40f6438c460575eb91786bf2b4dad0fbc3aa [INFO] running `Command { std: "docker" "start" "-a" "dd4752dde70534c43d8059c19e8c40f6438c460575eb91786bf2b4dad0fbc3aa", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `status` [INFO] [stdout] --> src/errors/response.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | http::{StatusCode, status}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/errors/response.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | Self::Config(e) => StatusCode::INTERNAL_SERVER_ERROR, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `auth` is never read [INFO] [stdout] --> src/context.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct AppContext { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 99 | auth: AuthContext, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppContext` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LoginUser` is never constructed [INFO] [stdout] --> src/dto/auth.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct LoginUser<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `email` and `password` are never used [INFO] [stdout] --> src/dto/auth.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl<'a> LoginUser<'a> { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] 45 | pub fn email(&self) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn password(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling betterauth v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `status` [INFO] [stdout] --> src/errors/response.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | http::{StatusCode, status}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/errors/response.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | Self::Config(e) => StatusCode::INTERNAL_SERVER_ERROR, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `auth` is never read [INFO] [stdout] --> src/context.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct AppContext { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 99 | auth: AuthContext, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppContext` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LoginUser` is never constructed [INFO] [stdout] --> src/dto/auth.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct LoginUser<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `email` and `password` are never used [INFO] [stdout] --> src/dto/auth.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl<'a> LoginUser<'a> { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] 45 | pub fn email(&self) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn password(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.38s [INFO] running `Command { std: "docker" "inspect" "dd4752dde70534c43d8059c19e8c40f6438c460575eb91786bf2b4dad0fbc3aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd4752dde70534c43d8059c19e8c40f6438c460575eb91786bf2b4dad0fbc3aa", kill_on_drop: false }` [INFO] [stdout] dd4752dde70534c43d8059c19e8c40f6438c460575eb91786bf2b4dad0fbc3aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e633d23e5b4171b11e6111e0271fb30656faeec40ad57eac2d0a3ae8ce6b1b23 [INFO] running `Command { std: "docker" "start" "-a" "e633d23e5b4171b11e6111e0271fb30656faeec40ad57eac2d0a3ae8ce6b1b23", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `status` [INFO] [stderr] --> src/errors/response.rs:3:24 [INFO] [stderr] | [INFO] [stderr] 3 | http::{StatusCode, status}, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/errors/response.rs:18:26 [INFO] [stderr] | [INFO] [stderr] 18 | Self::Config(e) => StatusCode::INTERNAL_SERVER_ERROR, [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `auth` is never read [INFO] [stderr] --> src/context.rs:99:5 [INFO] [stderr] | [INFO] [stderr] 96 | pub struct AppContext { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 99 | auth: AuthContext, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AppContext` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `LoginUser` is never constructed [INFO] [stderr] --> src/dto/auth.rs:36:12 [INFO] [stderr] | [INFO] [stderr] 36 | pub struct LoginUser<'a> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `email` and `password` are never used [INFO] [stderr] --> src/dto/auth.rs:45:12 [INFO] [stderr] | [INFO] [stderr] 44 | impl<'a> LoginUser<'a> { [INFO] [stderr] | ---------------------- methods in this implementation [INFO] [stderr] 45 | pub fn email(&self) -> &str { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 49 | pub fn password(&self) -> &str { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `betterauth` (lib) generated 5 warnings (run `cargo fix --lib -p betterauth` to apply 2 suggestions) [INFO] [stderr] warning: `betterauth` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.36s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/betterauth-205f3a99c41f7104) [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/bin/main.rs (/opt/rustwide/target/debug/deps/betterauth-4953367209f5126d) [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 betterauth [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test src/config/server.rs - config::server::ServerConfig::address (line 42) ... FAILED [INFO] [stdout] test src/config/server.rs - config::server::ServerConfig::url (line 21) ... FAILED [INFO] [stdout] test src/config/db.rs - config::db::DatabaseConfig (line 27) - compile ... FAILED [INFO] [stdout] test src/config/error.rs - config::error::ConfigError (line 22) - compile ... ok [INFO] [stdout] test src/config/mod.rs - config::Config::from_env (line 187) - compile ... ok [INFO] [stdout] test src/config/mod.rs - config::Environment::current (line 338) ... FAILED [INFO] [stdout] test src/config/db.rs - config::db::DatabaseConfig::connect_using_uri (line 157) - compile ... ok [INFO] [stdout] test src/config/mod.rs - config::Environment (line 268) ... FAILED [INFO] [stdout] test src/config/mod.rs - config::Config::load (line 127) - compile ... FAILED [INFO] [stdout] test src/context.rs - context::AppContext (line 79) - compile ... FAILED [INFO] [stdout] test src/config/mod.rs - config::Config (line 71) - compile ... FAILED [INFO] [stdout] test src/context.rs - context::AppContext (line 37) - compile ... FAILED [INFO] [stdout] test src/config/db.rs - config::db::DatabaseConfig::connect_using_options (line 110) - compile ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/config/server.rs - config::server::ServerConfig::address (line 42) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `server` [INFO] [stdout] --> src/config/server.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | use server::ServerConfig; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `server` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 43 - use server::ServerConfig; [INFO] [stdout] 43 + use serde::ServerConfig; [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 E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/config/server.rs - config::server::ServerConfig::url (line 21) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `server` [INFO] [stdout] --> src/config/server.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use server::ServerConfig; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `server` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 22 - use server::ServerConfig; [INFO] [stdout] 22 + use serde::ServerConfig; [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 E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/config/db.rs - config::db::DatabaseConfig (line 27) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/config/db.rs:43:43 [INFO] [stdout] | [INFO] [stdout] 28 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_config_db_rs_27_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 43 | let pool = config.connect_using_options().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: cannot construct `DatabaseConfig` with struct literal syntax due to private fields [INFO] [stdout] --> src/config/db.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | let config = DatabaseConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 33 | uri: "postgresql://user:pass@localhost:5432/mydb".to_string(), [INFO] [stdout] | ------------------------------------------------------------- private field [INFO] [stdout] 34 | protocol: "postgresql".to_string(), [INFO] [stdout] | ---------------------------------- private field [INFO] [stdout] 35 | user: "user".to_string(), [INFO] [stdout] | ------------------------ private field [INFO] [stdout] 36 | password: "pass".to_string(), [INFO] [stdout] | ---------------------------- private field [INFO] [stdout] 37 | host: "localhost".to_string(), [INFO] [stdout] | ----------------------------- private field [INFO] [stdout] 38 | port: 5432, [INFO] [stdout] | ---------- private field [INFO] [stdout] 39 | name: "mydb".into() [INFO] [stdout] | ------------------- private field [INFO] [stdout] | [INFO] [stdout] = note: ...and other private fields `truncate`, `recreate` and `auto_migrate` that were not provided [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/config/mod.rs - config::Environment::current (line 338) stdout ---- [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/config/mod.rs:343:1 [INFO] [stdout] | [INFO] [stdout] 343 | std::env::set_var("APP_ENVIRONMENT", "production"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/config/mod.rs:348:1 [INFO] [stdout] | [INFO] [stdout] 348 | std::env::set_var("APP_ENV", "prod"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/config/mod.rs:353:1 [INFO] [stdout] | [INFO] [stdout] 353 | std::env::remove_var("APP_ENVIRONMENT"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/config/mod.rs:354:1 [INFO] [stdout] | [INFO] [stdout] 354 | std::env::remove_var("APP_ENV"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/config/mod.rs:359:1 [INFO] [stdout] | [INFO] [stdout] 359 | std::env::set_var("APP_ENVIRONMENT", "staging"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/config/mod.rs - config::Environment (line 268) stdout ---- [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/config/mod.rs:283:1 [INFO] [stdout] | [INFO] [stdout] 283 | std::env::set_var("APP_ENVIRONMENT", "production"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/config/mod.rs - config::Config::load (line 127) stdout ---- [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/config/mod.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 | std::env::set_var("APP_ENVIRONMENT", "production"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/context.rs - context::AppContext (line 79) stdout ---- [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/context.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | let users = sqlx::query!("SELECT id, name FROM users") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/context.rs:86:23 [INFO] [stdout] | [INFO] [stdout] 86 | State(ctx): State>, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 78 + use std::sync::Arc; [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] ---- src/config/mod.rs - config::Config (line 71) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/config/mod.rs:88:41 [INFO] [stdout] | [INFO] [stdout] 75 | fn main() -> Result<(), Box> { [INFO] [stdout] | --------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 88 | let pool = database.connect_using_uri().await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/context.rs - context::AppContext (line 37) stdout ---- [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `State` in this scope [INFO] [stdout] --> src/context.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | State(ctx): State>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 39 + use axum::extract::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `State` in this scope [INFO] [stdout] --> src/context.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | State(ctx): State>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 39 + use axum::extract::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0531. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/config/db.rs - config::db::DatabaseConfig (line 27) [INFO] [stdout] src/config/mod.rs - config::Config (line 71) [INFO] [stdout] src/config/mod.rs - config::Config::load (line 127) [INFO] [stdout] src/config/mod.rs - config::Environment (line 268) [INFO] [stdout] src/config/mod.rs - config::Environment::current (line 338) [INFO] [stdout] src/config/server.rs - config::server::ServerConfig::address (line 42) [INFO] [stdout] src/config/server.rs - config::server::ServerConfig::url (line 21) [INFO] [stdout] src/context.rs - context::AppContext (line 37) [INFO] [stdout] src/context.rs - context::AppContext (line 79) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 4 passed; 9 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.78s [INFO] [stdout] [INFO] [stdout] all doctests ran in 1.10s; merged doctests compilation took 0.32s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "e633d23e5b4171b11e6111e0271fb30656faeec40ad57eac2d0a3ae8ce6b1b23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e633d23e5b4171b11e6111e0271fb30656faeec40ad57eac2d0a3ae8ce6b1b23", kill_on_drop: false }` [INFO] [stdout] e633d23e5b4171b11e6111e0271fb30656faeec40ad57eac2d0a3ae8ce6b1b23