setup
checks.x86_64-linux.tests
· build #278
· raw
1this derivation will be built:2 /nix/store/d6n5illgvs5b6bvhbc7i24cj6nxih8c5-horae-tests-0.1.0.drv3error: Cannot build '/nix/store/d6n5illgvs5b6bvhbc7i24cj6nxih8c5-horae-tests-0.1.0.drv'.4 Reason: builder failed with exit code 101.5 Output paths:6 /nix/store/a541qsrqiz37zn31a4bgmzi262r7dpd8-horae-tests-0.1.07 Last 25 log lines:8 > initdb: warning: enabling "trust" authentication for local connections9 > 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.10 >11 > Success. You can now start the database server using:12 >13 > pg_ctl -D /build/tmp.AUZHPBhpl9 -l logfile start14 >15 > waiting for server to start.... done16 > server started17 > +++ command cargo test -p horae --features server18 > Compiling horae v0.1.0 (/build/source/crates/horae)19 > Compiling horae-core v0.1.0 (/build/source/crates/core)20 > 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`21 > --> crates/horae/src/importers/harvest/streaming.rs:303:2122 > |23 > 303 | let error = sqlx::query!(24 > | _____________________^25 > 304 | | "SELECT id FROM organizations WHERE id=$1 FOR NO KEY UPDATE NOWAIT",26 > 305 | | ids.org_id27 > 306 | | )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/d6n5illgvs5b6bvhbc7i24cj6nxih8c5-horae-tests-0.1.0.drv