this derivation will be built: /nix/store/dw37yni2qx5x55icmd2i5x2ww8nrb8ba-horae-sqlx-prepare-0.1.0.drv building '/nix/store/dw37yni2qx5x55icmd2i5x2ww8nrb8ba-horae-sqlx-prepare-0.1.0.drv' on 'grpc://farm.numtide.com:50051?client-cert=/run/secrets/vars/per-machine/bld1/nix-farm-ci/crt&client-key=/run/secrets/vars/per-machine/bld1/nix-farm-ci/key&connect-timeout=23&system=aarch64-linux' building '/nix/store/dw37yni2qx5x55icmd2i5x2ww8nrb8ba-horae-sqlx-prepare-0.1.0.drv' on farm.numtide.com:50051 horae-sqlx-prepare-0.1.0> elastic-arm-f9c21b61: building dw37yni2qx5x55icmd2i5x2ww8nrb8ba-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/iz15gsb1vnxn8iiqaks5c263ms6mxl74-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/kqxgprj432hnlh0pqlk1779vyabfmw4i-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.wixJUzhNcu ... 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.wixJUzhNcu -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 (19.185856ms) horae-sqlx-prepare-0.1.0> Applied 2/migrate invoices (5.378118ms) horae-sqlx-prepare-0.1.0> Applied 3/migrate org branding (2.81506ms) horae-sqlx-prepare-0.1.0> Applied 4/migrate plugin event support (2.203895ms) horae-sqlx-prepare-0.1.0> Applied 5/migrate time entry start minute (1.680492ms) horae-sqlx-prepare-0.1.0> Applied 6/migrate time entry sort order (1.053287ms) horae-sqlx-prepare-0.1.0> Applied 7/migrate harvest import map (2.772099ms) horae-sqlx-prepare-0.1.0> Applied 8/migrate harvest credentials (4.645953ms) horae-sqlx-prepare-0.1.0> Applied 9/migrate harvest norm (1.647891ms) horae-sqlx-prepare-0.1.0> Applied 10/migrate invariant checks (5.121076ms) horae-sqlx-prepare-0.1.0> Applied 11/migrate updated at trigger (2.75158ms) horae-sqlx-prepare-0.1.0> Applied 12/migrate performance indexes (7.389052ms) horae-sqlx-prepare-0.1.0> Applied 13/migrate invoice number unique (2.948661ms) horae-sqlx-prepare-0.1.0> Applied 14/migrate time entry query indexes (3.406464ms) horae-sqlx-prepare-0.1.0> Applied 15/migrate brin autosummarize (1.34281ms) horae-sqlx-prepare-0.1.0> Applied 16/migrate line amount cents (2.014495ms) horae-sqlx-prepare-0.1.0> Applied 17/migrate effective minutes (3.922068ms) horae-sqlx-prepare-0.1.0> Applied 18/migrate checked line amount (1.41025ms) horae-sqlx-prepare-0.1.0> Applied 19/migrate time entry contexts (3.752706ms) horae-sqlx-prepare-0.1.0> Applied 20/migrate project rate (2.184736ms) horae-sqlx-prepare-0.1.0> Applied 21/migrate harvest account binding (3.549625ms) horae-sqlx-prepare-0.1.0> Applied 22/migrate import user lookup indexes (3.434784ms) horae-sqlx-prepare-0.1.0> Applied 23/migrate durable jobs (8.53598ms) horae-sqlx-prepare-0.1.0> Applied 24/migrate outbox claim tokens (1.145408ms) horae-sqlx-prepare-0.1.0> Applied 25/migrate job execution fencing (1.331649ms) horae-sqlx-prepare-0.1.0> Applied 26/migrate job upload organization (3.256783ms) horae-sqlx-prepare-0.1.0> Applied 27/migrate job report error chunks (5.535039ms) horae-sqlx-prepare-0.1.0> Applied 28/migrate job report budgets (1.702452ms) horae-sqlx-prepare-0.1.0> Applied 29/migrate harvest connection generations (3.916268ms) horae-sqlx-prepare-0.1.0> Applied 30/migrate project creation (27.602836ms) horae-sqlx-prepare-0.1.0> Applied 31/migrate project billing (6.98541ms) horae-sqlx-prepare-0.1.0> Applied 32/migrate project budget notifications (6.199484ms) horae-sqlx-prepare-0.1.0> Applied 33/migrate outbox terminal failure (3.101262ms) horae-sqlx-prepare-0.1.0> Applied 34/migrate task tracking access (4.020828ms) horae-sqlx-prepare-0.1.0> Applied 35/migrate project read access (3.242183ms) horae-sqlx-prepare-0.1.0> Applied 36/migrate task read access (2.622619ms) horae-sqlx-prepare-0.1.0> Applied 37/migrate invoice defaults (8.748702ms) horae-sqlx-prepare-0.1.0> Applied 38/migrate task rate currency (1.38101ms) horae-sqlx-prepare-0.1.0> Applied 39/migrate project editing (7.987256ms) horae-sqlx-prepare-0.1.0> Applied 40/migrate invoice fee balances (12.427567ms) horae-sqlx-prepare-0.1.0> Applied 41/migrate invoice editing (8.857263ms) horae-sqlx-prepare-0.1.0> Applied 42/migrate scoped permission state (10.778077ms) horae-sqlx-prepare-0.1.0> Applied 43/migrate permission change receipts (6.358004ms) horae-sqlx-prepare-0.1.0> Applied 44/migrate permission management assignments (8.264059ms) horae-sqlx-prepare-0.1.0> Applied 46/migrate csv export cursor (1.688452ms) horae-sqlx-prepare-0.1.0> Applied 47/migrate permission template name collation (2.90074ms) 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: build of '/nix/store/dw37yni2qx5x55icmd2i5x2ww8nrb8ba-horae-sqlx-prepare-0.1.0.drv' on 'grpc://farm.numtide.com:50051?client-cert=/run/secrets/vars/per-machine/bld1/nix-farm-ci/crt&client-key=/run/secrets/vars/per-machine/bld1/nix-farm-ci/key&connect-timeout=23&system=aarch64-linux' failed: Cannot build '/nix/store/dw37yni2qx5x55icmd2i5x2ww8nrb8ba-horae-sqlx-prepare-0.1.0.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/vka16y91s275p8fzvyqr69q7ds1xdbr2-horae-sqlx-prepare-0.1.0 Last 25 log lines: > Applied 41/migrate invoice editing (8.857263ms) > Applied 42/migrate scoped permission state (10.778077ms) > Applied 43/migrate permission change receipts (6.358004ms) > Applied 44/migrate permission management assignments (8.264059ms) > Applied 46/migrate csv export cursor (1.688452ms) > Applied 47/migrate permission template name collation (2.90074ms) > +++ 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/dw37yni2qx5x55icmd2i5x2ww8nrb8ba-horae-sqlx-prepare-0.1.0.drv error: Cannot build '/nix/store/dw37yni2qx5x55icmd2i5x2ww8nrb8ba-horae-sqlx-prepare-0.1.0.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/vka16y91s275p8fzvyqr69q7ds1xdbr2-horae-sqlx-prepare-0.1.0