this derivation will be built: /nix/store/91k1d0yw7hzk6in8j2454gss0rzvribl-horae-sqlx-prepare-0.1.0.drv building '/nix/store/91k1d0yw7hzk6in8j2454gss0rzvribl-horae-sqlx-prepare-0.1.0.drv' horae-sqlx-prepare-0.1.0> Running phase: unpackPhase horae-sqlx-prepare-0.1.0> unpacking source archive /nix/store/va9ai5c9sbrvw1171m9s94cifncacgps-source horae-sqlx-prepare-0.1.0> source root is source horae-sqlx-prepare-0.1.0> Running phase: patchPhase horae-sqlx-prepare-0.1.0> Executing configureCargoCommonVars horae-sqlx-prepare-0.1.0> decompressing cargo artifacts from /nix/store/p0fga5r55aw5iwdy8h0dpr32lhcczl5i-horae-checks-deps-0.1.0/target.tar.zst to target horae-sqlx-prepare-0.1.0> Running phase: updateAutotoolsGnuConfigScriptsPhase horae-sqlx-prepare-0.1.0> Running phase: configurePhase horae-sqlx-prepare-0.1.0> will append /build/source/.cargo-home/config.toml with contents of /nix/store/i0bj632any4bjpvnl84zc2h7cq8zn0mz-vendor-cargo-deps/config.toml horae-sqlx-prepare-0.1.0> default configurePhase, nothing to do horae-sqlx-prepare-0.1.0> Running phase: buildPhase horae-sqlx-prepare-0.1.0> The files belonging to this database system will be owned by user "nixbld". horae-sqlx-prepare-0.1.0> This user must also own the server process. horae-sqlx-prepare-0.1.0> horae-sqlx-prepare-0.1.0> The database cluster will be initialized with locale "C". horae-sqlx-prepare-0.1.0> The default text search configuration will be set to "english". horae-sqlx-prepare-0.1.0> horae-sqlx-prepare-0.1.0> Data page checksums are disabled. horae-sqlx-prepare-0.1.0> horae-sqlx-prepare-0.1.0> fixing permissions on existing directory /build/tmp.KcUgodgrmD ... ok horae-sqlx-prepare-0.1.0> creating subdirectories ... ok horae-sqlx-prepare-0.1.0> selecting dynamic shared memory implementation ... posix horae-sqlx-prepare-0.1.0> selecting default "max_connections" ... 100 horae-sqlx-prepare-0.1.0> selecting default "shared_buffers" ... 128MB horae-sqlx-prepare-0.1.0> selecting default time zone ... UTC horae-sqlx-prepare-0.1.0> creating configuration files ... ok horae-sqlx-prepare-0.1.0> running bootstrap script ... ok horae-sqlx-prepare-0.1.0> performing post-bootstrap initialization ... ok horae-sqlx-prepare-0.1.0> syncing data to disk ... ok horae-sqlx-prepare-0.1.0> horae-sqlx-prepare-0.1.0> initdb: warning: enabling "trust" authentication for local connections horae-sqlx-prepare-0.1.0> initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb. horae-sqlx-prepare-0.1.0> horae-sqlx-prepare-0.1.0> Success. You can now start the database server using: horae-sqlx-prepare-0.1.0> horae-sqlx-prepare-0.1.0> pg_ctl -D /build/tmp.KcUgodgrmD -l logfile start horae-sqlx-prepare-0.1.0> horae-sqlx-prepare-0.1.0> waiting for server to start.... done horae-sqlx-prepare-0.1.0> server started horae-sqlx-prepare-0.1.0> +++ command cargo sqlx migrate run --source crates/horae/migrations horae-sqlx-prepare-0.1.0> Applied 1/migrate init (12.601962ms) horae-sqlx-prepare-0.1.0> Applied 2/migrate invoices (3.668787ms) horae-sqlx-prepare-0.1.0> Applied 3/migrate org branding (778.957µs) horae-sqlx-prepare-0.1.0> Applied 4/migrate plugin event support (643.911µs) horae-sqlx-prepare-0.1.0> Applied 5/migrate time entry start minute (684.659µs) horae-sqlx-prepare-0.1.0> Applied 6/migrate time entry sort order (408.492µs) horae-sqlx-prepare-0.1.0> Applied 7/migrate harvest import map (1.674886ms) horae-sqlx-prepare-0.1.0> Applied 8/migrate harvest credentials (2.275871ms) horae-sqlx-prepare-0.1.0> Applied 9/migrate harvest norm (553.752µs) horae-sqlx-prepare-0.1.0> Applied 10/migrate invariant checks (3.194427ms) horae-sqlx-prepare-0.1.0> Applied 11/migrate updated at trigger (1.286371ms) horae-sqlx-prepare-0.1.0> Applied 12/migrate performance indexes (4.416779ms) horae-sqlx-prepare-0.1.0> Applied 13/migrate invoice number unique (1.638172ms) horae-sqlx-prepare-0.1.0> Applied 14/migrate time entry query indexes (1.348314ms) horae-sqlx-prepare-0.1.0> Applied 15/migrate brin autosummarize (321.613µs) horae-sqlx-prepare-0.1.0> Applied 16/migrate line amount cents (367.772µs) horae-sqlx-prepare-0.1.0> Applied 17/migrate effective minutes (1.528576ms) horae-sqlx-prepare-0.1.0> Applied 18/migrate checked line amount (596.999µs) horae-sqlx-prepare-0.1.0> Applied 19/migrate time entry contexts (2.906221ms) horae-sqlx-prepare-0.1.0> Applied 20/migrate project rate (655.087µs) horae-sqlx-prepare-0.1.0> Applied 21/migrate harvest account binding (2.330222ms) horae-sqlx-prepare-0.1.0> Applied 22/migrate import user lookup indexes (1.413801ms) horae-sqlx-prepare-0.1.0> Applied 23/migrate durable jobs (7.655368ms) horae-sqlx-prepare-0.1.0> Applied 24/migrate outbox claim tokens (444.243µs) horae-sqlx-prepare-0.1.0> Applied 25/migrate job execution fencing (628.699µs) horae-sqlx-prepare-0.1.0> Applied 26/migrate job upload organization (2.178824ms) horae-sqlx-prepare-0.1.0> Applied 27/migrate job report error chunks (3.370397ms) horae-sqlx-prepare-0.1.0> Applied 28/migrate job report budgets (4.438697ms) horae-sqlx-prepare-0.1.0> Applied 29/migrate harvest connection generations (2.843654ms) horae-sqlx-prepare-0.1.0> Applied 30/migrate project creation (34.017667ms) horae-sqlx-prepare-0.1.0> Applied 31/migrate project billing (6.826634ms) horae-sqlx-prepare-0.1.0> Applied 32/migrate project budget notifications (6.328693ms) horae-sqlx-prepare-0.1.0> Applied 33/migrate outbox terminal failure (7.446053ms) horae-sqlx-prepare-0.1.0> Applied 34/migrate task tracking access (9.278818ms) horae-sqlx-prepare-0.1.0> Applied 35/migrate project read access (2.902746ms) horae-sqlx-prepare-0.1.0> Applied 36/migrate task read access (3.845081ms) horae-sqlx-prepare-0.1.0> Applied 37/migrate invoice defaults (10.945125ms) horae-sqlx-prepare-0.1.0> Applied 38/migrate task rate currency (848.911µs) horae-sqlx-prepare-0.1.0> Applied 39/migrate project editing (7.985968ms) horae-sqlx-prepare-0.1.0> Applied 40/migrate invoice fee balances (8.969491ms) horae-sqlx-prepare-0.1.0> Applied 41/migrate invoice editing (6.625811ms) horae-sqlx-prepare-0.1.0> Applied 42/migrate scoped permission state (7.229075ms) horae-sqlx-prepare-0.1.0> Applied 43/migrate permission change receipts (6.146505ms) horae-sqlx-prepare-0.1.0> Applied 44/migrate permission management assignments (13.532664ms) horae-sqlx-prepare-0.1.0> Applied 46/migrate csv export cursor (89.308354ms) horae-sqlx-prepare-0.1.0> Applied 47/migrate permission template name collation (15.967546ms) horae-sqlx-prepare-0.1.0> +++ command cargo sqlx prepare --workspace --check -- --features server --all-targets horae-sqlx-prepare-0.1.0> Compiling horae v0.1.0 (/build/source/crates/horae) horae-sqlx-prepare-0.1.0> Checking horae-core v0.1.0 (/build/source/crates/core) horae-sqlx-prepare-0.1.0> error[E0425]: cannot find type `CurrentUser` in module `models::user` horae-sqlx-prepare-0.1.0> --> crates/horae/tests/scoped_reports_ui.rs:79:46 horae-sqlx-prepare-0.1.0> | horae-sqlx-prepare-0.1.0> 79 | type IdentityResponse = Result; horae-sqlx-prepare-0.1.0> | ^^^^^^^^^^^ not found in `models::user` horae-sqlx-prepare-0.1.0> horae-sqlx-prepare-0.1.0> error[E0425]: cannot find type `UserListItem` in module `models::user` horae-sqlx-prepare-0.1.0> --> crates/horae/tests/scoped_reports_ui.rs:1242:66 horae-sqlx-prepare-0.1.0> | horae-sqlx-prepare-0.1.0> 1242 | pub async fn list_users(_: bool) -> Result, ServerFnError> { horae-sqlx-prepare-0.1.0> | ^^^^^^^^^^^^ not found in `models::user` horae-sqlx-prepare-0.1.0> horae-sqlx-prepare-0.1.0> For more information about this error, try `rustc --explain E0425`. horae-sqlx-prepare-0.1.0> error: could not compile `horae` (test "scoped_reports_ui") due to 2 previous errors horae-sqlx-prepare-0.1.0> warning: build failed, waiting for other jobs to finish... horae-sqlx-prepare-0.1.0> error: `cargo check` failed with status: exit status: 101 error: Cannot build '/nix/store/91k1d0yw7hzk6in8j2454gss0rzvribl-horae-sqlx-prepare-0.1.0.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/vpxzisafh28fij0dh1jh9gim33jjd053-horae-sqlx-prepare-0.1.0 Last 25 log lines: > Applied 41/migrate invoice editing (6.625811ms) > Applied 42/migrate scoped permission state (7.229075ms) > Applied 43/migrate permission change receipts (6.146505ms) > Applied 44/migrate permission management assignments (13.532664ms) > Applied 46/migrate csv export cursor (89.308354ms) > Applied 47/migrate permission template name collation (15.967546ms) > +++ command cargo sqlx prepare --workspace --check -- --features server --all-targets > Compiling horae v0.1.0 (/build/source/crates/horae) > Checking horae-core v0.1.0 (/build/source/crates/core) > error[E0425]: cannot find type `CurrentUser` in module `models::user` > --> crates/horae/tests/scoped_reports_ui.rs:79:46 > | > 79 | type IdentityResponse = Result; > | ^^^^^^^^^^^ not found in `models::user` > > error[E0425]: cannot find type `UserListItem` in module `models::user` > --> crates/horae/tests/scoped_reports_ui.rs:1242:66 > | > 1242 | pub async fn list_users(_: bool) -> Result, ServerFnError> { > | ^^^^^^^^^^^^ not found in `models::user` > > For more information about this error, try `rustc --explain E0425`. > error: could not compile `horae` (test "scoped_reports_ui") due to 2 previous errors > warning: build failed, waiting for other jobs to finish... > error: `cargo check` failed with status: exit status: 101 For full logs, run: nix log /nix/store/91k1d0yw7hzk6in8j2454gss0rzvribl-horae-sqlx-prepare-0.1.0.drv