setup
checks.x86_64-linux.tests
· build #291
· raw
1this derivation will be built:2 /nix/store/659ryaqi8shrw3i477ck9c86r9aa2kx6-horae-tests-0.1.0.drv3error: Cannot build '/nix/store/659ryaqi8shrw3i477ck9c86r9aa2kx6-horae-tests-0.1.0.drv'.4 Reason: builder failed with exit code 101.5 Output paths:6 /nix/store/xsrmjnrw2qcqfwhjyj64gdbcqkdzzp4g-horae-tests-0.1.07 Last 25 log lines:8 > running bootstrap script ... ok9 > performing post-bootstrap initialization ... ok10 > syncing data to disk ... ok11 >12 > initdb: warning: enabling "trust" authentication for local connections13 > 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.14 >15 > Success. You can now start the database server using:16 >17 > pg_ctl -D /build/tmp.wmwFUGsDnH -l logfile start18 >19 > waiting for server to start.... done20 > server started21 > +++ command cargo test -p horae --features server22 > Compiling horae v0.1.0 (/build/source/crates/horae)23 > Compiling horae-core v0.1.0 (/build/source/crates/core)24 > error: `SQLX_OFFLINE=true` but there is no cached data for this query, run `cargo sqlx prepare` to update the query cache or unset `SQLX_OFFLINE`25 > --> crates/horae/src/harvest/pagination_tests/client_permissions.rs:55:526 > |27 > 55 | sqlx::query!("UPDATE clients SET active=false WHERE id=$1", ids.client_id)28 > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^29 > |30 > = 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)31 >32 > error: could not compile `horae` (bin "horae" test) due to 1 previous error33 For full logs, run:34 nix log /nix/store/659ryaqi8shrw3i477ck9c86r9aa2kx6-horae-tests-0.1.0.drv