$ /nix/store/vzx1mi9c0xfadmsm9dhd83d005cb1qs9-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 --log-format internal-json build --no-link git+https://codeberg.org/mtlynch/simpleauth?ref=note-expiration&rev=3e60306a94b1784a52bc066ff3333a968ef03837#packages.x86_64-linux.go-tests --print-build-logs error (ignored): SQLite database '/var/cache/private/nix-ci-worker/eval-cache-v6/f4f90020e3057bf647f4edc9a487851d2926b4ab750452d97c207e91c1487ca6.sqlite' is busy  Downloading cached source from https://cache.nix-ci.com Progress: 1 of 1 downloaded from cache  Downloading cached simpleauth-go-modules-0.0.0-go-modules from https://cache.nix-ci.com Downloading cached iana-etc from https://cache.nix-ci.com Downloading cached errcheck from https://cache.nix-ci.com Downloading cached linux-headers from https://cache.nix-ci.com Downloading cached glibc-2.35 from https://cache.nix-ci.com Progress: 0 of 10 built, 1 of 40 downloaded from cache (4 downloading) Progress: 0 of 9 built, 2 of 40 downloaded from cache (3 downloading) Progress: 0 of 9 built, 3 of 40 downloaded from cache (2 downloading) Progress: 0 of 8 built, 4 of 40 downloaded from cache (1 downloading) Progress: 0 of 8 built, 5 of 40 downloaded from cache Downloading cached attr from https://cache.nix-ci.com Downloading cached bash-5.1-p16 from https://cache.nix-ci.com Downloading cached bzip2 from https://cache.nix-ci.com Downloading cached ed from https://cache.nix-ci.com Downloading cached expand-response-params from https://cache.nix-ci.com Downloading cached gawk from https://cache.nix-ci.com Downloading cached glibc-2.35-163-bin from https://cache.nix-ci.com Downloading cached gnumake from https://cache.nix-ci.com Downloading cached gnused from https://cache.nix-ci.com Downloading cached gzip from https://cache.nix-ci.com Downloading cached gcc-11.3.0-lib from https://cache.nix-ci.com Downloading cached pcre from https://cache.nix-ci.com Downloading cached staticcheck from https://cache.nix-ci.com Downloading cached zlib from https://cache.nix-ci.com Downloading cached xz from https://cache.nix-ci.com Progress: 0 of 8 built, 6 of 40 downloaded from cache (14 downloading) Downloading cached file from https://cache.nix-ci.com Progress: 0 of 8 built, 7 of 40 downloaded from cache (14 downloading) Progress: 0 of 8 built, 8 of 40 downloaded from cache (13 downloading) Downloading cached xz-5.2.6-bin from https://cache.nix-ci.com Progress: 0 of 8 built, 9 of 40 downloaded from cache (13 downloading) Downloading cached patch from https://cache.nix-ci.com Progress: 0 of 8 built, 10 of 40 downloaded from cache (13 downloading) Downloading cached acl from https://cache.nix-ci.com Progress: 0 of 8 built, 11 of 40 downloaded from cache (13 downloading) Progress: 0 of 8 built, 12 of 40 downloaded from cache (12 downloading) Downloading cached bash-5.1-p16-dev from https://cache.nix-ci.com Downloading cached go from https://cache.nix-ci.com Progress: 0 of 7 built, 13 of 40 downloaded from cache (13 downloading) Downloading cached bzip2-1.0.8-bin from https://cache.nix-ci.com Progress: 0 of 7 built, 14 of 40 downloaded from cache (13 downloading) Progress: 0 of 7 built, 15 of 40 downloaded from cache (12 downloading) Downloading cached gnugrep from https://cache.nix-ci.com Progress: 0 of 7 built, 16 of 40 downloaded from cache (12 downloading) Progress: 0 of 7 built, 17 of 40 downloaded from cache (11 downloading) Progress: 0 of 6 built, 18 of 40 downloaded from cache (10 downloading) Downloading cached gnutar from https://cache.nix-ci.com Progress: 0 of 6 built, 19 of 40 downloaded from cache (10 downloading) Progress: 0 of 6 built, 20 of 40 downloaded from cache (9 downloading) Progress: 0 of 5 built, 21 of 40 downloaded from cache (8 downloading) Progress: 0 of 5 built, 22 of 40 downloaded from cache (7 downloading) Progress: 0 of 5 built, 23 of 40 downloaded from cache (6 downloading) Progress: 0 of 5 built, 24 of 40 downloaded from cache (5 downloading) Progress: 0 of 5 built, 25 of 40 downloaded from cache (4 downloading) Downloading cached glibc-2.35-163-dev from https://cache.nix-ci.com Progress: 0 of 5 built, 26 of 40 downloaded from cache (4 downloading) Downloading cached binutils from https://cache.nix-ci.com Downloading cached patchelf from https://cache.nix-ci.com Downloading cached gmp-with-cxx-stage4 from https://cache.nix-ci.com Progress: 0 of 5 built, 27 of 40 downloaded from cache (6 downloading) Progress: 0 of 5 built, 28 of 40 downloaded from cache (5 downloading) Progress: 0 of 5 built, 29 of 40 downloaded from cache (4 downloading) Progress: 0 of 5 built, 30 of 40 downloaded from cache (3 downloading) Downloading cached gcc from https://cache.nix-ci.com Progress: 0 of 5 built, 31 of 40 downloaded from cache (3 downloading) Downloading cached coreutils from https://cache.nix-ci.com Progress: 0 of 5 built, 32 of 40 downloaded from cache (3 downloading) Downloading cached diffutils from https://cache.nix-ci.com Downloading cached findutils from https://cache.nix-ci.com Progress: 0 of 5 built, 33 of 40 downloaded from cache (4 downloading) Progress: 0 of 5 built, 34 of 40 downloaded from cache (3 downloading) Downloading cached stdenv-linux from https://cache.nix-ci.com Progress: 0 of 5 built, 35 of 40 downloaded from cache (3 downloading) Progress: 0 of 4 built, 36 of 40 downloaded from cache (2 downloading) Downloading cached binutils-wrapper from https://cache.nix-ci.com Progress: 0 of 4 built, 37 of 40 downloaded from cache (2 downloading) Progress: 0 of 3 built, 38 of 40 downloaded from cache (1 downloading) Downloading cached gcc-wrapper from https://cache.nix-ci.com Progress: 0 of 3 built, 39 of 40 downloaded from cache (1 downloading) Progress: 0 of 2 built, 40 of 40 downloaded from cache Building go-tests [go-tests] Phase: unpackPhase [go-tests] unpacking sources [go-tests] unpacking source archive /nix/store/j11bnjhkzffrlvsq6j4arzvrq9dgdsic-source [go-tests] source root is source [go-tests] Phase: patchPhase [go-tests] patching sources [go-tests] Phase: configurePhase [go-tests] configuring [go-tests] no configure script, doing nothing [go-tests] Phase: buildPhase [go-tests] building [go-tests] patching script interpreter paths in ./dev-scripts [go-tests] ./dev-scripts/check-bash: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/2ispfz80kmwrsvwndxkxs56irn86h43p-bash-5.1-p16/bin/bash" [go-tests] ./dev-scripts/git-hooks/pre-commit: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/2ispfz80kmwrsvwndxkxs56irn86h43p-bash-5.1-p16/bin/bash" [go-tests] ./dev-scripts/check-trailing-newline: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/2ispfz80kmwrsvwndxkxs56irn86h43p-bash-5.1-p16/bin/bash" [go-tests] ./dev-scripts/run-go-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/2ispfz80kmwrsvwndxkxs56irn86h43p-bash-5.1-p16/bin/bash" [go-tests] ./dev-scripts/check-trailing-whitespace: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/2ispfz80kmwrsvwndxkxs56irn86h43p-bash-5.1-p16/bin/bash" [go-tests] ./dev-scripts/check-go-formatting: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/2ispfz80kmwrsvwndxkxs56irn86h43p-bash-5.1-p16/bin/bash" [go-tests] ./dev-scripts/update-scripts: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/2ispfz80kmwrsvwndxkxs56irn86h43p-bash-5.1-p16/bin/bash" [go-tests] ./dev-scripts/enable-git-hooks: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/2ispfz80kmwrsvwndxkxs56irn86h43p-bash-5.1-p16/bin/bash" [go-tests] + set -o pipefail [go-tests] + full_test= [go-tests] + go_test_flags=("-tags=netgo,osusergo") [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 = \-\-\f\u\l\l ]] [go-tests] + full_test=1 [go-tests] + go_test_flags+=("-v") [go-tests] + go_test_flags+=("-race") [go-tests] + go_test_flags+=("--coverprofile=${COVERAGE_FILE_RAW}") [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 -v -race --coverprofile=.coverage.out ./... [go-tests] === RUN TestAuthenticate [go-tests] === RUN TestAuthenticate/authenticates_when_password_is_valid [go-tests] === RUN TestAuthenticate/returns_ErrIncorrectPassword_when_password_is_invalid [go-tests] === RUN TestAuthenticate/returns_ErrUserNotFound_when_user_is_not_found [go-tests] --- PASS: TestAuthenticate (0.00s) [go-tests]  --- PASS: TestAuthenticate/authenticates_when_password_is_valid (0.00s) [go-tests]  --- PASS: TestAuthenticate/returns_ErrIncorrectPassword_when_password_is_invalid (0.00s) [go-tests]  --- PASS: TestAuthenticate/returns_ErrUserNotFound_when_user_is_not_found (0.00s) [go-tests] PASS [go-tests] coverage: 50.0% of statements [go-tests] ok codeberg.org/mtlynch/simpleauth/v3/auth 0.027s coverage: 50.0% of statements [go-tests] === RUN TestCreateAndLoadSession [go-tests] --- PASS: TestCreateAndLoadSession (0.00s) [go-tests] === RUN TestRequireUserRedirectsWithoutSession [go-tests] --- PASS: TestRequireUserRedirectsWithoutSession (0.00s) [go-tests] === RUN TestLoadUserIgnoresExpiredSession [go-tests] --- PASS: TestLoadUserIgnoresExpiredSession (0.00s) [go-tests] PASS [go-tests] coverage: 66.7% of statements [go-tests] ok codeberg.org/mtlynch/simpleauth/v3/sessions 0.030s coverage: 66.7% of statements [go-tests] + [[ -n 1 ]] [go-tests] + go tool cover -html .coverage.out -o .coverage.html [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.4.6 [go-tests] + STATICCHECK_VERSION=v0.4.6 [go-tests] + [[ ! -f /build/go/bin/staticcheck ]] [go-tests] + /build/go/bin/staticcheck ./... [go-tests] ++ go env GOPATH [go-tests] + ERRCHECK_PATH=/build/go/bin/errcheck [go-tests] + readonly ERRCHECK_PATH [go-tests] + readonly ERRCHECK_VERSION=v1.6.2 [go-tests] + ERRCHECK_VERSION=v1.6.2 [go-tests] + [[ ! -f /build/go/bin/errcheck ]] [go-tests] + /build/go/bin/errcheck -ignoretests ./... [go-tests] Phase: installPhase [go-tests] installing [go-tests] Phase: fixupPhase [go-tests] post-installation fixup [go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/cb9gs4m1qmap89h513whlkj0vgpq5c8m-go-tests-0.0.0 [go-tests] strip is /nix/store/hk75004j435l09ij4gawlkzg4wfs839w-binutils-wrapper-2.39/bin/strip [go-tests] patching script interpreter paths in /nix/store/cb9gs4m1qmap89h513whlkj0vgpq5c8m-go-tests-0.0.0 [go-tests] checking for references to /build/ in /nix/store/cb9gs4m1qmap89h513whlkj0vgpq5c8m-go-tests-0.0.0... [post-build-hook] Uploading to the NixCI cache: /nix/store/cb9gs4m1qmap89h513whlkj0vgpq5c8m-go-tests-0.0.0 [post-build-hook] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead [post-build-hook] copying 1 paths... [post-build-hook] copying path '/nix/store/cb9gs4m1qmap89h513whlkj0vgpq5c8m-go-tests-0.0.0' to 'https://cache.nix-ci.com'... [post-build-hook] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead [post-build-hook] copying 2 paths... [post-build-hook] copying path '/nix/store/925ml4yrm3l2kqdwwjzcww8izzzkak8z-simpleauth-go-modules-0.0.0-go-modules.drv' to 'https://cache.nix-ci.com'... [post-build-hook] copying path '/nix/store/w49gjqfnj90xcs9j4ip4ac3w8knlxjn6-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'... Progress: 1 of 2 built, 40 of 40 downloaded from cache