build packages.x86_64-linux.go-tests
- 2.97 s
$ /nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin/timeout --kill-after=15s 7200s /nix/store/23zk8sgzamrbmj1fday15szf7f2279s8-nix-2.34.7/bin/nix --extra-experimental-features nix-command --extra-experimental-features flakes --log-format internal-json build --no-link --print-out-paths git+https://codeberg.org/mtlynch/grosiree?ref=experimental%2Fstored-list-htmx&rev=f6265e5728a7a013fc5f13751916feb379d453fc&shallow=1#packages.x86_64-linux.go-tests --print-build-logs
- 5.07 s
- 5.08 s
Downloading cached errcheck from https://cache.nix-ci.com
- 5.08 s
Downloading cached go-critic from https://cache.nix-ci.com
- 5.08 s
Downloading cached go-tools from https://cache.nix-ci.com
- 5.10 s
Downloaded cached errcheck (5 MiB) in 20ms
- 5.10 s
Progress: 0 of 4 built, 1 of 3 downloaded from cache (2 downloading)
- 5.12 s
Downloaded cached go-critic (9.1 MiB) in 32ms
- 5.12 s
Progress: 0 of 3 built, 2 of 3 downloaded from cache (1 downloading)
- 5.13 s
Downloaded cached go-tools (41.8 MiB) in 42ms
- 5.13 s
Progress: 0 of 2 built, 3 of 3 downloaded from cache
- 5.13 s
Building /nix/store/m5lcnhn70qfzblvzb6p251qr16v9vfi0-go-tests-0.0.0.drv
- 5.13 s
[go-tests] Phase: unpackPhase
- 5.13 s
[go-tests] unpacking source archive /nix/store/z0d9kn3lpbm6n0dxq3mc0prhpi4cnsl3-source
- 5.13 s
[go-tests] source root is source
- 5.13 s
[go-tests] Phase: patchPhase
- 5.13 s
[go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
- 5.13 s
[go-tests] Phase: configurePhase
- 5.13 s
[go-tests] no configure script, doing nothing
- 5.13 s
[go-tests] Phase: buildPhase
- 5.13 s
[go-tests] patching script interpreter paths in ./dev-scripts
- 5.13 s
[go-tests] ./dev-scripts/package-binaries: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
- 5.13 s
[go-tests] ./dev-scripts/run-go-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
- 5.13 s
[go-tests] ./dev-scripts/run-single-go-test: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
- 5.13 s
[go-tests] ./dev-scripts/upload-to-nixci-cache: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
- 5.13 s
[go-tests] ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
- 5.13 s
[go-tests] ./dev-scripts/serve-docker: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
- 5.13 s
[go-tests] ./dev-scripts/check-go-formatting: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
- 5.13 s
[go-tests] ./dev-scripts/check-trailing-newline: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
- 5.13 s
[go-tests] ./dev-scripts/download-prod-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
- 5.13 s
[go-tests] ./dev-scripts/check-go-test-packages: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
- 5.13 s
[go-tests] ./dev-scripts/check-trailing-whitespace: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
- 5.13 s
[go-tests] ./dev-scripts/upload-prod-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
- 5.13 s
[go-tests] ./dev-scripts/lint-sql: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
- 5.13 s
[go-tests] ./dev-scripts/enable-git-hooks: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
- 5.13 s
[go-tests] ./dev-scripts/enable-multiarch-docker: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
- 5.13 s
[go-tests] ./dev-scripts/run-e2e-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
- 5.13 s
[go-tests] ./dev-scripts/run-js-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
- 5.13 s
[go-tests] ./dev-scripts/git-hooks/pre-commit: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
- 5.13 s
[go-tests] ./dev-scripts/build-all-flake-targets: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
- 5.13 s
[go-tests] ./dev-scripts/check-frontend: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
- 5.13 s
[go-tests] ./dev-scripts/check-bash: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
- 5.13 s
[go-tests] ./dev-scripts/reset-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
- 5.13 s
[go-tests] ./dev-scripts/build-backend: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
- 5.13 s
[go-tests] ./dev-scripts/populate-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
- 5.13 s
[go-tests] + set -o pipefail
- 5.13 s
[go-tests] + full_test=
- 5.13 s
[go-tests] + go_test_flags=("-tags=netgo,osusergo")
- 5.13 s
[go-tests] + go_test_flags+=("-fullpath")
- 5.13 s
[go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
- 5.13 s
[go-tests] + COVERAGE_FILE_RAW=.coverage.out
- 5.13 s
[go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
- 5.13 s
[go-tests] + COVERAGE_FILE_HTML=.coverage.html
- 5.13 s
[go-tests] + [[ '' = \-\-full ]]
- 5.13 s
[go-tests] + set -u
- 5.13 s
[go-tests] +++ dirname ./dev-scripts/run-go-tests
- 5.13 s
[go-tests] ++ cd ./dev-scripts
- 5.13 s
[go-tests] ++ pwd
- 5.13 s
[go-tests] + SCRIPT_DIR=/build/source/dev-scripts
- 5.13 s
[go-tests] + readonly SCRIPT_DIR
- 5.13 s
[go-tests] + cd /build/source/dev-scripts/..
- 5.13 s
[go-tests] + go test -tags=netgo,osusergo -fullpath ./...
- 7.36 s
[go-tests] ? codeberg.org/mtlynch/grosiree/build [no test files]
- 9.75 s
[go-tests] # codeberg.org/mtlynch/grosiree/handlers_test [codeberg.org/mtlynch/grosiree/handlers.test]
- 10.96 s
[go-tests] handlers/stored_lists_test.go:37:19: undefined: formRequest
- 10.96 s
[go-tests] handlers/stored_lists_test.go:62:25: undefined: formRequest
- 10.96 s
[go-tests] handlers/stored_lists_test.go:123:19: undefined: formRequest
- 10.96 s
[go-tests] ? codeberg.org/mtlynch/grosiree/cmd/app [no test files]
- 10.96 s
[go-tests] FAIL codeberg.org/mtlynch/grosiree/handlers [build failed]
- 10.96 s
[go-tests] ? codeberg.org/mtlynch/grosiree/handlers/auth/shared_secret [no test files]
- 10.96 s
[go-tests] ? codeberg.org/mtlynch/grosiree/handlers/auth/shared_secret/kdf [no test files]
- 10.96 s
[go-tests] ok codeberg.org/mtlynch/grosiree/store/sqlite 0.719s
- 10.96 s
[go-tests] ? codeberg.org/mtlynch/grosiree/store/test_sqlite [no test files]
- 10.96 s
[go-tests] ok codeberg.org/mtlynch/grosiree/types 0.004s
- 10.96 s
[go-tests] FAIL
- 10.96 s
Progress: 0 of 1 built (1 failed), 3 of 3 downloaded from cache
- 10.96 s
Failed to build go-tests after 5.8s
- 10.96 s
Cannot build '/nix/store/m5lcnhn70qfzblvzb6p251qr16v9vfi0-go-tests-0.0.0.drv'.
- 10.96 s
Reason: builder failed with exit code 1.
- 10.96 s
Output paths:
- 10.96 s
/nix/store/63x43jj3br621jmxhzlpbdk1pnbyyyak-go-tests-0.0.0
- 10.96 s
Last 63 log lines:
- 10.96 s
> Running phase: unpackPhase
- 10.96 s
> unpacking source archive /nix/store/z0d9kn3lpbm6n0dxq3mc0prhpi4cnsl3-source
- 10.96 s
> source root is source
- 10.96 s
> Running phase: patchPhase
- 10.96 s
> Running phase: updateAutotoolsGnuConfigScriptsPhase
- 10.96 s
> Running phase: configurePhase
- 10.96 s
> no configure script, doing nothing
- 10.96 s
> Running phase: buildPhase
- 10.96 s
> patching script interpreter paths in ./dev-scripts
- 10.96 s
> ./dev-scripts/package-binaries: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
- 10.96 s
> ./dev-scripts/run-go-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
- 10.96 s
> ./dev-scripts/run-single-go-test: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
- 10.96 s
> ./dev-scripts/upload-to-nixci-cache: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
- 10.96 s
> ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
- 10.96 s
> ./dev-scripts/serve-docker: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
- 10.96 s
> ./dev-scripts/check-go-formatting: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
- 10.96 s
> ./dev-scripts/check-trailing-newline: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
- 10.96 s
> ./dev-scripts/download-prod-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
- 10.96 s
> ./dev-scripts/check-go-test-packages: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
- 10.96 s
> ./dev-scripts/check-trailing-whitespace: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
- 10.96 s
> ./dev-scripts/upload-prod-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
- 10.96 s
> ./dev-scripts/lint-sql: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
- 10.96 s
> ./dev-scripts/enable-git-hooks: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
- 10.96 s
> ./dev-scripts/enable-multiarch-docker: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
- 10.96 s
> ./dev-scripts/run-e2e-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
- 10.96 s
> ./dev-scripts/run-js-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
- 10.96 s
> ./dev-scripts/git-hooks/pre-commit: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
- 10.96 s
> ./dev-scripts/build-all-flake-targets: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
- 10.96 s
> ./dev-scripts/check-frontend: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
- 10.96 s
> ./dev-scripts/check-bash: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
- 10.96 s
> ./dev-scripts/reset-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
- 10.96 s
> ./dev-scripts/build-backend: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
- 10.96 s
> ./dev-scripts/populate-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
- 10.96 s
> + set -o pipefail
- 10.96 s
> + full_test=
- 10.96 s
> + go_test_flags=("-tags=netgo,osusergo")
- 10.96 s
> + go_test_flags+=("-fullpath")
- 10.96 s
> + readonly COVERAGE_FILE_RAW=.coverage.out
- 10.96 s
> + COVERAGE_FILE_RAW=.coverage.out
- 10.96 s
> + readonly COVERAGE_FILE_HTML=.coverage.html
- 10.96 s
> + COVERAGE_FILE_HTML=.coverage.html
- 10.96 s
> + [[ '' = \-\-full ]]
- 10.96 s
> + set -u
- 10.96 s
> +++ dirname ./dev-scripts/run-go-tests
- 10.96 s
> ++ cd ./dev-scripts
- 10.96 s
> ++ pwd
- 10.96 s
> + SCRIPT_DIR=/build/source/dev-scripts
- 10.96 s
> + readonly SCRIPT_DIR
- 10.96 s
> + cd /build/source/dev-scripts/..
- 10.96 s
> + go test -tags=netgo,osusergo -fullpath ./...
- 10.96 s
> ? codeberg.org/mtlynch/grosiree/build [no test files]
- 10.96 s
> # codeberg.org/mtlynch/grosiree/handlers_test [codeberg.org/mtlynch/grosiree/handlers.test]
- 10.96 s
> handlers/stored_lists_test.go:37:19: undefined: formRequest
- 10.96 s
> handlers/stored_lists_test.go:62:25: undefined: formRequest
- 10.96 s
> handlers/stored_lists_test.go:123:19: undefined: formRequest
- 10.96 s
> ? codeberg.org/mtlynch/grosiree/cmd/app [no test files]
- 10.96 s
> FAIL codeberg.org/mtlynch/grosiree/handlers [build failed]
- 10.96 s
> ? codeberg.org/mtlynch/grosiree/handlers/auth/shared_secret [no test files]
- 10.96 s
> ? codeberg.org/mtlynch/grosiree/handlers/auth/shared_secret/kdf [no test files]
- 10.96 s
> ok codeberg.org/mtlynch/grosiree/store/sqlite 0.719s
- 10.96 s
> ? codeberg.org/mtlynch/grosiree/store/test_sqlite [no test files]
- 10.96 s
> ok codeberg.org/mtlynch/grosiree/types 0.004s
- 10.96 s
> FAIL
- 10.96 s
For full logs, run:
- 10.96 s
nix log /nix/store/m5lcnhn70qfzblvzb6p251qr16v9vfi0-go-tests-0.0.0.drv
- 10.96 s
Build failed.