$ /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/little-moments?ref=slice-2.5&rev=9f63302eb842bb9fcb1cbec3978b771ecb307361#packages.x86_64-linux.go-tests --print-build-logs error (ignored): SQLite database '/var/cache/nix-ci-worker/eval-cache-v6/9a881c0c16368f6d2cb39f12c1fcb98c23e4bdffa9810db75be63144219842c4.sqlite' is busy  Downloading cached errcheck from https://cache.nix-ci.com Downloading cached go-critic from https://cache.nix-ci.com Downloading cached go-tools from https://cache.nix-ci.com Downloaded cached errcheck (5.2 MiB) in 127ms Progress: 0 of 4 built, 1 of 3 downloaded from cache (2 downloading) Downloaded cached go-critic (9.3 MiB) in 165ms Progress: 0 of 3 built, 2 of 3 downloaded from cache (1 downloading) Downloaded cached go-tools (45.4 MiB) in 604ms Progress: 0 of 2 built, 3 of 3 downloaded from cache Building /nix/store/3sjs3my47l26hsm6zl4cfh7sm8q1fpsf-go-tests-0.0.0.drv [go-tests] Phase: unpackPhase [go-tests] unpacking source archive /nix/store/bsbfdrm0p21w0n59mr8z19m98dxlwbkd-source [go-tests] source root is source [go-tests] Phase: patchPhase [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase [go-tests] Phase: configurePhase [go-tests] no configure script, doing nothing [go-tests] 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/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/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/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/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/package-binaries: 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/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/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/check-bash: 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/populate-db: 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/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/build-backend: 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/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/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/build [no test files] [go-tests] # codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [go-tests] cmd/import-from-tinybeans/main.go:94:4: unknown field DestPath in struct literal of type importers.ImportMediaParams [go-tests] cmd/import-from-tinybeans/main.go:106:69: cannot use srcPath (variable of type string) as mediastore.RelativePath value in argument to imagepipe.GenerateAndWriteResized [go-tests] cmd/import-from-tinybeans/main.go:106:78: cannot use displayPath (variable of struct type mediastore.RelativePath) as littlemoments.Filename value in argument to imagepipe.GenerateAndWriteResized [go-tests] cmd/import-from-tinybeans/main.go:113:78: cannot use srcPath (variable of type string) as mediastore.RelativePath value in argument to imagepipe.GenerateAndWriteSquareThumbnail [go-tests] cmd/import-from-tinybeans/main.go:113:87: cannot use thumbPath (variable of struct type mediastore.RelativePath) as littlemoments.Filename value in argument to imagepipe.GenerateAndWriteSquareThumbnail [go-tests] cmd/import-from-tinybeans/main.go:121:78: cannot use entry.MediaPath (variable of type string) as mediastore.RelativePath value in argument to imagepipe.GenerateAndWriteSquareThumbnail [go-tests] cmd/import-from-tinybeans/main.go:121:95: cannot use thumbPath (variable of struct type mediastore.RelativePath) as littlemoments.Filename value in argument to imagepipe.GenerateAndWriteSquareThumbnail [go-tests] cmd/import-from-tinybeans/main.go:129:78: cannot use entry.ThumbnailPath (variable of type string) as mediastore.RelativePath value in argument to imagepipe.GenerateAndWriteSquareThumbnail [go-tests] cmd/import-from-tinybeans/main.go:129:99: cannot use thumbPath (variable of struct type mediastore.RelativePath) as littlemoments.Filename value in argument to imagepipe.GenerateAndWriteSquareThumbnail [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/app [no test files] [go-tests] FAIL codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [build failed] [go-tests] ? codeberg.org/mtlynch/little-moments/convert [no test files] [go-tests] ok codeberg.org/mtlynch/little-moments/handlers 2.199s [go-tests] ok codeberg.org/mtlynch/little-moments/imagepipe 0.039s [go-tests] ? codeberg.org/mtlynch/little-moments/images [no test files] [go-tests] ok codeberg.org/mtlynch/little-moments/importers 0.013s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.010s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.007s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments 0.007s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments/login_token 0.008s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin 0.014s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail 0.012s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail/smtp 0.010s [go-tests] ok codeberg.org/mtlynch/little-moments/mediastore 0.013s [go-tests] ? codeberg.org/mtlynch/little-moments/random [no test files] [go-tests] ok codeberg.org/mtlynch/little-moments/ratelimit 0.007s [go-tests] ? codeberg.org/mtlynch/little-moments/s3 [no test files] [go-tests] ok codeberg.org/mtlynch/little-moments/s3config 0.005s [go-tests] ? codeberg.org/mtlynch/little-moments/store [no test files] [go-tests] ok codeberg.org/mtlynch/little-moments/store/sqlite 1.411s [go-tests] ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files] [go-tests] ok codeberg.org/mtlynch/little-moments/uploads 0.014s [go-tests] FAIL Progress: 0 of 1 built (1 failed), 3 of 3 downloaded from cache Failed to build go-tests after 26.0s Cannot build '/nix/store/3sjs3my47l26hsm6zl4cfh7sm8q1fpsf-go-tests-0.0.0.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/sx55zg9y1x1l9symlhx3whixrpiy0qy4-go-tests-0.0.0 Last 81 log lines: > Running phase: unpackPhase > unpacking source archive /nix/store/bsbfdrm0p21w0n59mr8z19m98dxlwbkd-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/check-trailing-newline: 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/check-go-formatting: 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/package-binaries: 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/check-trailing-whitespace: 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/check-bash: 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/populate-db: 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/enable-git-hooks: 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/check-frontend: 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/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/build [no test files] > # codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans > cmd/import-from-tinybeans/main.go:94:4: unknown field DestPath in struct literal of type importers.ImportMediaParams > cmd/import-from-tinybeans/main.go:106:69: cannot use srcPath (variable of type string) as mediastore.RelativePath value in argument to imagepipe.GenerateAndWriteResized > cmd/import-from-tinybeans/main.go:106:78: cannot use displayPath (variable of struct type mediastore.RelativePath) as littlemoments.Filename value in argument to imagepipe.GenerateAndWriteResized > cmd/import-from-tinybeans/main.go:113:78: cannot use srcPath (variable of type string) as mediastore.RelativePath value in argument to imagepipe.GenerateAndWriteSquareThumbnail > cmd/import-from-tinybeans/main.go:113:87: cannot use thumbPath (variable of struct type mediastore.RelativePath) as littlemoments.Filename value in argument to imagepipe.GenerateAndWriteSquareThumbnail > cmd/import-from-tinybeans/main.go:121:78: cannot use entry.MediaPath (variable of type string) as mediastore.RelativePath value in argument to imagepipe.GenerateAndWriteSquareThumbnail > cmd/import-from-tinybeans/main.go:121:95: cannot use thumbPath (variable of struct type mediastore.RelativePath) as littlemoments.Filename value in argument to imagepipe.GenerateAndWriteSquareThumbnail > cmd/import-from-tinybeans/main.go:129:78: cannot use entry.ThumbnailPath (variable of type string) as mediastore.RelativePath value in argument to imagepipe.GenerateAndWriteSquareThumbnail > cmd/import-from-tinybeans/main.go:129:99: cannot use thumbPath (variable of struct type mediastore.RelativePath) as littlemoments.Filename value in argument to imagepipe.GenerateAndWriteSquareThumbnail > ? codeberg.org/mtlynch/little-moments/cmd/app [no test files] > FAIL codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [build failed] > ? codeberg.org/mtlynch/little-moments/convert [no test files] > ok codeberg.org/mtlynch/little-moments/handlers 2.199s > ok codeberg.org/mtlynch/little-moments/imagepipe 0.039s > ? codeberg.org/mtlynch/little-moments/images [no test files] > ok codeberg.org/mtlynch/little-moments/importers 0.013s > ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.010s > ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.007s > ok codeberg.org/mtlynch/little-moments/little_moments 0.007s > ok codeberg.org/mtlynch/little-moments/little_moments/login_token 0.008s > ok codeberg.org/mtlynch/little-moments/magiclogin 0.014s > ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail 0.012s > ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail/smtp 0.010s > ok codeberg.org/mtlynch/little-moments/mediastore 0.013s > ? codeberg.org/mtlynch/little-moments/random [no test files] > ok codeberg.org/mtlynch/little-moments/ratelimit 0.007s > ? codeberg.org/mtlynch/little-moments/s3 [no test files] > ok codeberg.org/mtlynch/little-moments/s3config 0.005s > ? codeberg.org/mtlynch/little-moments/store [no test files] > ok codeberg.org/mtlynch/little-moments/store/sqlite 1.411s > ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files] > ok codeberg.org/mtlynch/little-moments/uploads 0.014s > FAIL For full logs, run: nix log /nix/store/3sjs3my47l26hsm6zl4cfh7sm8q1fpsf-go-tests-0.0.0.drv Build failed.