$ /nix/store/wkkwxc04gdw6b263l1h29pjarjnjdyb6-coreutils-9.8/bin/timeout --kill-after=15s 1800s /nix/store/99b1z08awpxj8b6mzggn59gp1shljnff-nix-2.34.5/bin/nix --extra-experimental-features nix-command --extra-experimental-features flakes build --no-link git+https://codeberg.org/mtlynch/little-moments?ref=local-vs-s3&rev=6f55d9c32ae169e557dbb265a83161465a5695cd#packages.x86_64-linux.go-tests --print-build-logs this derivation will be built: /nix/store/3srl5kssv3nn98wajckccm3jx2zcbcn0-go-tests-0.0.0.drv building '/nix/store/3srl5kssv3nn98wajckccm3jx2zcbcn0-go-tests-0.0.0.drv'... go-tests> Running phase: unpackPhase go-tests> unpacking source archive /nix/store/86qix1787pkbnv0dmfmh5arhjwiyc0ji-source go-tests> source root is source go-tests> Running phase: patchPhase go-tests> Running phase: updateAutotoolsGnuConfigScriptsPhase go-tests> Running phase: configurePhase go-tests> no configure script, doing nothing go-tests> Running phase: buildPhase go-tests> patching script interpreter paths in ./dev-scripts go-tests> ./dev-scripts/download-prod-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" go-tests> ./dev-scripts/lint-sql: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" go-tests> ./dev-scripts/populate-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" go-tests> ./dev-scripts/upload-prod-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" go-tests> ./dev-scripts/git-hooks/pre-commit: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" go-tests> ./dev-scripts/enable-git-hooks: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" go-tests> ./dev-scripts/check-go-formatting: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" go-tests> ./dev-scripts/check-bash: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" go-tests> ./dev-scripts/enable-multiarch-docker: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" go-tests> ./dev-scripts/serve-docker: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" go-tests> ./dev-scripts/package-binaries: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" go-tests> ./dev-scripts/check-trailing-newline: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" go-tests> ./dev-scripts/run-single-go-test: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" go-tests> ./dev-scripts/build-backend: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" go-tests> ./dev-scripts/run-go-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" go-tests> ./dev-scripts/reset-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" go-tests> ./dev-scripts/check-trailing-whitespace: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" go-tests> ./dev-scripts/check-frontend: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" go-tests> ./dev-scripts/render-design-doc: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" go-tests> ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" go-tests> ./dev-scripts/run-e2e-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" go-tests> ./dev-scripts/check-go-test-packages: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" go-tests> + set -o pipefail go-tests> + full_test= go-tests> + go_test_flags=("-tags=netgo,osusergo") go-tests> + go_test_flags+=("-fullpath") go-tests> + readonly COVERAGE_FILE_RAW=.coverage.out go-tests> + COVERAGE_FILE_RAW=.coverage.out go-tests> + readonly COVERAGE_FILE_HTML=.coverage.html go-tests> + COVERAGE_FILE_HTML=.coverage.html go-tests> + [[ '' = \-\-full ]] go-tests> + set -u go-tests> +++ dirname ./dev-scripts/run-go-tests go-tests> ++ cd ./dev-scripts go-tests> ++ pwd go-tests> + SCRIPT_DIR=/build/source/dev-scripts go-tests> + readonly SCRIPT_DIR go-tests> + cd /build/source/dev-scripts/.. go-tests> + go test -tags=netgo,osusergo -fullpath ./... go-tests> ? codeberg.org/mtlynch/little-moments/cmd/app [no test files] go-tests> ? codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [no test files] go-tests> ok codeberg.org/mtlynch/little-moments/handlers 0.007s go-tests> ? codeberg.org/mtlynch/little-moments/images [no test files] go-tests> ok codeberg.org/mtlynch/little-moments/little_moments 0.005s go-tests> ? codeberg.org/mtlynch/little-moments/s3 [no test files] go-tests> ? codeberg.org/mtlynch/little-moments/s3config [no test files] go-tests> ? codeberg.org/mtlynch/little-moments/store/sqlite [no test files] go-tests> ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files] go-tests> ok codeberg.org/mtlynch/little-moments/tinybeans 0.004s go-tests> ok codeberg.org/mtlynch/little-moments/tinybeans/parse 0.004s go-tests> + [[ -n '' ]] go-tests> + go vet ./... go-tests> ++ go env GOPATH go-tests> + STATICCHECK_PATH=/build/go/bin/staticcheck go-tests> + readonly STATICCHECK_PATH go-tests> + readonly STATICCHECK_VERSION=v0.6.1 go-tests> + STATICCHECK_VERSION=v0.6.1 go-tests> + [[ ! -f /build/go/bin/staticcheck ]] go-tests> + /build/go/bin/staticcheck ./... go-tests> cmd/app/main.go:29:6: should omit comparison to bool constant, can be simplified to !uploadToS3 (S1002) go-tests> cmd/app/main.go:29:31: should omit comparison to bool constant, can be simplified to !hasMediaDir (S1002) error: Cannot build '/nix/store/3srl5kssv3nn98wajckccm3jx2zcbcn0-go-tests-0.0.0.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/p5iagrp73fgyywylswadzwsnvvmf9f35-go-tests-0.0.0 Last 70 log lines: > Running phase: unpackPhase > unpacking source archive /nix/store/86qix1787pkbnv0dmfmh5arhjwiyc0ji-source > source root is source > Running phase: patchPhase > Running phase: updateAutotoolsGnuConfigScriptsPhase > Running phase: configurePhase > no configure script, doing nothing > Running phase: buildPhase > patching script interpreter paths in ./dev-scripts > ./dev-scripts/download-prod-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" > ./dev-scripts/lint-sql: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" > ./dev-scripts/populate-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" > ./dev-scripts/upload-prod-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" > ./dev-scripts/git-hooks/pre-commit: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" > ./dev-scripts/enable-git-hooks: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" > ./dev-scripts/check-go-formatting: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" > ./dev-scripts/check-bash: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" > ./dev-scripts/enable-multiarch-docker: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" > ./dev-scripts/serve-docker: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" > ./dev-scripts/package-binaries: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" > ./dev-scripts/check-trailing-newline: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" > ./dev-scripts/run-single-go-test: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" > ./dev-scripts/build-backend: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" > ./dev-scripts/run-go-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" > ./dev-scripts/reset-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" > ./dev-scripts/check-trailing-whitespace: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" > ./dev-scripts/check-frontend: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" > ./dev-scripts/render-design-doc: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" > ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" > ./dev-scripts/run-e2e-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" > ./dev-scripts/check-go-test-packages: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" > + set -o pipefail > + full_test= > + go_test_flags=("-tags=netgo,osusergo") > + go_test_flags+=("-fullpath") > + readonly COVERAGE_FILE_RAW=.coverage.out > + COVERAGE_FILE_RAW=.coverage.out > + readonly COVERAGE_FILE_HTML=.coverage.html > + COVERAGE_FILE_HTML=.coverage.html > + [[ '' = \-\-full ]] > + set -u > +++ dirname ./dev-scripts/run-go-tests > ++ cd ./dev-scripts > ++ pwd > + SCRIPT_DIR=/build/source/dev-scripts > + readonly SCRIPT_DIR > + cd /build/source/dev-scripts/.. > + go test -tags=netgo,osusergo -fullpath ./... > ? codeberg.org/mtlynch/little-moments/cmd/app [no test files] > ? codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [no test files] > ok codeberg.org/mtlynch/little-moments/handlers 0.007s > ? codeberg.org/mtlynch/little-moments/images [no test files] > ok codeberg.org/mtlynch/little-moments/little_moments 0.005s > ? codeberg.org/mtlynch/little-moments/s3 [no test files] > ? codeberg.org/mtlynch/little-moments/s3config [no test files] > ? codeberg.org/mtlynch/little-moments/store/sqlite [no test files] > ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files] > ok codeberg.org/mtlynch/little-moments/tinybeans 0.004s > ok codeberg.org/mtlynch/little-moments/tinybeans/parse 0.004s > + [[ -n '' ]] > + go vet ./... > ++ go env GOPATH > + STATICCHECK_PATH=/build/go/bin/staticcheck > + readonly STATICCHECK_PATH > + readonly STATICCHECK_VERSION=v0.6.1 > + STATICCHECK_VERSION=v0.6.1 > + [[ ! -f /build/go/bin/staticcheck ]] > + /build/go/bin/staticcheck ./... > cmd/app/main.go:29:6: should omit comparison to bool constant, can be simplified to !uploadToS3 (S1002) > cmd/app/main.go:29:31: should omit comparison to bool constant, can be simplified to !hasMediaDir (S1002) For full logs, run: nix log /nix/store/3srl5kssv3nn98wajckccm3jx2zcbcn0-go-tests-0.0.0.drv