$ /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=overhaul-sessions&rev=c24699c6093b89f375bb51d35691ad06e479fb5e#packages.x86_64-linux.go-tests --print-build-logs  Building go-tests [go-tests] Phase: unpackPhase [go-tests] unpacking sources [go-tests] unpacking source archive /nix/store/wz97g3vw7iawlpj4c07kxccc6p8ydx5g-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/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-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] ./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/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] + 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 ./... === RUN TestNewUserIDRejectsEmptyString --- PASS: TestNewUserIDRejectsEmptyString (0.00s) === RUN TestNewUserIDReturnsUserID --- PASS: TestNewUserIDReturnsUserID (0.00s) PASS coverage: 100.0% of statements ok codeberg.org/mtlynch/simpleauth/v3 0.024s coverage: 100.0% of statements === RUN TestAuthenticate === RUN TestAuthenticate/authenticates_when_password_is_valid === RUN TestAuthenticate/returns_ErrIncorrectPassword_when_password_is_invalid === RUN TestAuthenticate/returns_ErrUserNotFound_when_user_is_not_found --- PASS: TestAuthenticate (0.00s) --- PASS: TestAuthenticate/authenticates_when_password_is_valid (0.00s) --- PASS: TestAuthenticate/returns_ErrIncorrectPassword_when_password_is_invalid (0.00s) --- PASS: TestAuthenticate/returns_ErrUserNotFound_when_user_is_not_found (0.00s) PASS coverage: 50.0% of statements ok codeberg.org/mtlynch/simpleauth/v3/auth 0.024s coverage: 50.0% of statements === RUN TestCreateAndLoadSession --- PASS: TestCreateAndLoadSession (0.00s) === RUN TestRequireSessionRedirectsWithoutSession --- PASS: TestRequireSessionRedirectsWithoutSession (0.00s) PASS coverage: 58.9% of statements ok codeberg.org/mtlynch/simpleauth/v3/sessions 0.025s coverage: 58.9% of statements + [[ -n 1 ]] + go tool cover -html .coverage.out -o .coverage.html + go vet ./... ++ go env GOPATH + STATICCHECK_PATH=/build/go/bin/staticcheck + readonly STATICCHECK_PATH + readonly STATICCHECK_VERSION=v0.4.6 + STATICCHECK_VERSION=v0.4.6 + [[ ! -f /build/go/bin/staticcheck ]] + /build/go/bin/staticcheck ./... ++ go env GOPATH + ERRCHECK_PATH=/build/go/bin/errcheck + readonly ERRCHECK_PATH + readonly ERRCHECK_VERSION=v1.6.2 + ERRCHECK_VERSION=v1.6.2 + [[ ! -f /build/go/bin/errcheck ]] + /build/go/bin/errcheck -ignoretests ./... Phase: installPhase installing Phase: fixupPhase post-installation fixup shrinking RPATHs of ELF executables and libraries in /nix/store/gi4nld6aa62d2iwq185jkblvp582irc2-go-tests-0.0.0 strip is /nix/store/hk75004j435l09ij4gawlkzg4wfs839w-binutils-wrapper-2.39/bin/strip patching script interpreter paths in /nix/store/gi4nld6aa62d2iwq185jkblvp582irc2-go-tests-0.0.0 checking for references to /build/ in /nix/store/gi4nld6aa62d2iwq185jkblvp582irc2-go-tests-0.0.0... [post-build-hook] Uploading paths from nix-ci to the NixCI cache /nix/store/gi4nld6aa62d2iwq185jkblvp582irc2-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/gi4nld6aa62d2iwq185jkblvp582irc2-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/x5w0fjbvncrrhvnpwbrzphwinc4mg2ff-simpleauth-go-modules-0.0.0-go-modules.drv' to 'https://cache.nix-ci.com'... [post-build-hook] copying path '/nix/store/qs8rm1gkx1cxx6jcrrb805zma50cq2pi-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...