build packages.x86_64-linux.go-tests
- 0.04 s
$ /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
- 0.07 s
error (ignored): SQLite database '/var/cache/private/nix-ci-worker/eval-cache-v6/f4f90020e3057bf647f4edc9a487851d2926b4ab750452d97c207e91c1487ca6.sqlite' is busy
- 0.07 s
- 0.07 s
Downloading cached source from https://cache.nix-ci.com
- 3.41 s
Progress: 1 of 1 downloaded from cache
- 4.76 s
- 4.77 s
Downloading cached simpleauth-go-modules-0.0.0-go-modules from https://cache.nix-ci.com
- 4.77 s
Downloading cached iana-etc from https://cache.nix-ci.com
- 4.77 s
Downloading cached errcheck from https://cache.nix-ci.com
- 4.77 s
Downloading cached linux-headers from https://cache.nix-ci.com
- 4.77 s
Downloading cached glibc-2.35 from https://cache.nix-ci.com
- 4.81 s
Progress: 0 of 10 built, 1 of 40 downloaded from cache (4 downloading)
- 4.82 s
Progress: 0 of 9 built, 2 of 40 downloaded from cache (3 downloading)
- 4.98 s
Progress: 0 of 9 built, 3 of 40 downloaded from cache (2 downloading)
- 5.30 s
Progress: 0 of 8 built, 4 of 40 downloaded from cache (1 downloading)
- 6.50 s
Progress: 0 of 8 built, 5 of 40 downloaded from cache
- 6.50 s
Downloading cached attr from https://cache.nix-ci.com
- 6.50 s
Downloading cached bash-5.1-p16 from https://cache.nix-ci.com
- 6.50 s
Downloading cached bzip2 from https://cache.nix-ci.com
- 6.50 s
Downloading cached ed from https://cache.nix-ci.com
- 6.50 s
Downloading cached expand-response-params from https://cache.nix-ci.com
- 6.50 s
Downloading cached gawk from https://cache.nix-ci.com
- 6.50 s
Downloading cached glibc-2.35-163-bin from https://cache.nix-ci.com
- 6.50 s
Downloading cached gnumake from https://cache.nix-ci.com
- 6.50 s
Downloading cached gnused from https://cache.nix-ci.com
- 6.50 s
Downloading cached gzip from https://cache.nix-ci.com
- 6.50 s
Downloading cached gcc-11.3.0-lib from https://cache.nix-ci.com
- 6.50 s
Downloading cached pcre from https://cache.nix-ci.com
- 6.50 s
Downloading cached staticcheck from https://cache.nix-ci.com
- 6.50 s
Downloading cached zlib from https://cache.nix-ci.com
- 6.50 s
Downloading cached xz from https://cache.nix-ci.com
- 6.56 s
Progress: 0 of 8 built, 6 of 40 downloaded from cache (14 downloading)
- 6.56 s
Downloading cached file from https://cache.nix-ci.com
- 6.60 s
Progress: 0 of 8 built, 7 of 40 downloaded from cache (14 downloading)
- 6.64 s
Progress: 0 of 8 built, 8 of 40 downloaded from cache (13 downloading)
- 6.64 s
Downloading cached xz-5.2.6-bin from https://cache.nix-ci.com
- 6.67 s
Progress: 0 of 8 built, 9 of 40 downloaded from cache (13 downloading)
- 6.67 s
Downloading cached patch from https://cache.nix-ci.com
- 6.68 s
Progress: 0 of 8 built, 10 of 40 downloaded from cache (13 downloading)
- 6.68 s
Downloading cached acl from https://cache.nix-ci.com
- 6.68 s
Progress: 0 of 8 built, 11 of 40 downloaded from cache (13 downloading)
- 6.68 s
Progress: 0 of 8 built, 12 of 40 downloaded from cache (12 downloading)
- 6.68 s
Downloading cached bash-5.1-p16-dev from https://cache.nix-ci.com
- 6.68 s
Downloading cached go from https://cache.nix-ci.com
- 6.69 s
Progress: 0 of 7 built, 13 of 40 downloaded from cache (13 downloading)
- 6.69 s
Downloading cached bzip2-1.0.8-bin from https://cache.nix-ci.com
- 6.76 s
Progress: 0 of 7 built, 14 of 40 downloaded from cache (13 downloading)
- 6.76 s
Progress: 0 of 7 built, 15 of 40 downloaded from cache (12 downloading)
- 6.76 s
Downloading cached gnugrep from https://cache.nix-ci.com
- 6.77 s
Progress: 0 of 7 built, 16 of 40 downloaded from cache (12 downloading)
- 6.79 s
Progress: 0 of 7 built, 17 of 40 downloaded from cache (11 downloading)
- 6.81 s
Progress: 0 of 6 built, 18 of 40 downloaded from cache (10 downloading)
- 6.81 s
Downloading cached gnutar from https://cache.nix-ci.com
- 6.82 s
Progress: 0 of 6 built, 19 of 40 downloaded from cache (10 downloading)
- 6.83 s
Progress: 0 of 6 built, 20 of 40 downloaded from cache (9 downloading)
- 6.86 s
Progress: 0 of 5 built, 21 of 40 downloaded from cache (8 downloading)
- 6.87 s
Progress: 0 of 5 built, 22 of 40 downloaded from cache (7 downloading)
- 6.88 s
Progress: 0 of 5 built, 23 of 40 downloaded from cache (6 downloading)
- 6.88 s
Progress: 0 of 5 built, 24 of 40 downloaded from cache (5 downloading)
- 6.88 s
Progress: 0 of 5 built, 25 of 40 downloaded from cache (4 downloading)
- 6.88 s
Downloading cached glibc-2.35-163-dev from https://cache.nix-ci.com
- 6.96 s
Progress: 0 of 5 built, 26 of 40 downloaded from cache (4 downloading)
- 6.96 s
Downloading cached binutils from https://cache.nix-ci.com
- 6.96 s
Downloading cached patchelf from https://cache.nix-ci.com
- 6.96 s
Downloading cached gmp-with-cxx-stage4 from https://cache.nix-ci.com
- 7.03 s
Progress: 0 of 5 built, 27 of 40 downloaded from cache (6 downloading)
- 7.15 s
Progress: 0 of 5 built, 28 of 40 downloaded from cache (5 downloading)
- 7.16 s
Progress: 0 of 5 built, 29 of 40 downloaded from cache (4 downloading)
- 7.18 s
Progress: 0 of 5 built, 30 of 40 downloaded from cache (3 downloading)
- 7.18 s
Downloading cached gcc from https://cache.nix-ci.com
- 7.20 s
Progress: 0 of 5 built, 31 of 40 downloaded from cache (3 downloading)
- 7.20 s
Downloading cached coreutils from https://cache.nix-ci.com
- 7.53 s
Progress: 0 of 5 built, 32 of 40 downloaded from cache (3 downloading)
- 7.53 s
Downloading cached diffutils from https://cache.nix-ci.com
- 7.53 s
Downloading cached findutils from https://cache.nix-ci.com
- 7.78 s
Progress: 0 of 5 built, 33 of 40 downloaded from cache (4 downloading)
- 7.84 s
Progress: 0 of 5 built, 34 of 40 downloaded from cache (3 downloading)
- 7.84 s
Downloading cached stdenv-linux from https://cache.nix-ci.com
- 8.06 s
Progress: 0 of 5 built, 35 of 40 downloaded from cache (3 downloading)
- 8.10 s
Progress: 0 of 4 built, 36 of 40 downloaded from cache (2 downloading)
- 8.10 s
Downloading cached binutils-wrapper from https://cache.nix-ci.com
- 8.39 s
Progress: 0 of 4 built, 37 of 40 downloaded from cache (2 downloading)
- 15.06 s
Progress: 0 of 3 built, 38 of 40 downloaded from cache (1 downloading)
- 15.10 s
Downloading cached gcc-wrapper from https://cache.nix-ci.com
- 15.68 s
Progress: 0 of 3 built, 39 of 40 downloaded from cache (1 downloading)
- 26.08 s
Progress: 0 of 2 built, 40 of 40 downloaded from cache
- 26.17 s
Building go-tests
- 26.22 s
[go-tests] Phase: unpackPhase
- 26.22 s
[go-tests] unpacking sources
- 26.22 s
[go-tests] unpacking source archive /nix/store/j11bnjhkzffrlvsq6j4arzvrq9dgdsic-source
- 26.23 s
[go-tests] source root is source
- 26.24 s
[go-tests] Phase: patchPhase
- 26.24 s
[go-tests] patching sources
- 26.24 s
[go-tests] Phase: configurePhase
- 26.24 s
[go-tests] configuring
- 26.25 s
[go-tests] no configure script, doing nothing
- 26.25 s
[go-tests] Phase: buildPhase
- 26.25 s
[go-tests] building
- 26.26 s
[go-tests] patching script interpreter paths in ./dev-scripts
- 26.26 s
[go-tests] ./dev-scripts/check-bash: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/2ispfz80kmwrsvwndxkxs56irn86h43p-bash-5.1-p16/bin/bash"
- 26.26 s
[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"
- 26.27 s
[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"
- 26.27 s
[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"
- 26.28 s
[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"
- 26.28 s
[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"
- 26.29 s
[go-tests] ./dev-scripts/update-scripts: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/2ispfz80kmwrsvwndxkxs56irn86h43p-bash-5.1-p16/bin/bash"
- 26.30 s
[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"
- 26.31 s
[go-tests] + set -o pipefail
- 26.31 s
[go-tests] + full_test=
- 26.31 s
[go-tests] + go_test_flags=("-tags=netgo,osusergo")
- 26.31 s
[go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
- 26.31 s
[go-tests] + COVERAGE_FILE_RAW=.coverage.out
- 26.31 s
[go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
- 26.31 s
[go-tests] + COVERAGE_FILE_HTML=.coverage.html
- 26.31 s
[go-tests] + [[ --full = \-\-\f\u\l\l ]]
- 26.31 s
[go-tests] + full_test=1
- 26.31 s
[go-tests] + go_test_flags+=("-v")
- 26.31 s
[go-tests] + go_test_flags+=("-race")
- 26.31 s
[go-tests] + go_test_flags+=("--coverprofile=${COVERAGE_FILE_RAW}")
- 26.31 s
[go-tests] + set -u
- 26.31 s
[go-tests] +++ dirname ./dev-scripts/run-go-tests
- 26.32 s
[go-tests] ++ cd ./dev-scripts
- 26.32 s
[go-tests] ++ pwd
- 26.32 s
[go-tests] + SCRIPT_DIR=/build/source/dev-scripts
- 26.32 s
[go-tests] + readonly SCRIPT_DIR
- 26.32 s
[go-tests] + cd /build/source/dev-scripts/..
- 26.32 s
[go-tests] + go test -tags=netgo,osusergo -v -race --coverprofile=.coverage.out ./...
- 31.20 s
[go-tests] === RUN TestAuthenticate
- 31.24 s
[go-tests] === RUN TestAuthenticate/authenticates_when_password_is_valid
- 31.24 s
[go-tests] === RUN TestAuthenticate/returns_ErrIncorrectPassword_when_password_is_invalid
- 31.24 s
[go-tests] === RUN TestAuthenticate/returns_ErrUserNotFound_when_user_is_not_found
- 31.24 s
[go-tests] --- PASS: TestAuthenticate (0.00s)
- 31.24 s
[go-tests] --- PASS: TestAuthenticate/authenticates_when_password_is_valid (0.00s)
- 31.24 s
[go-tests] --- PASS: TestAuthenticate/returns_ErrIncorrectPassword_when_password_is_invalid (0.00s)
- 31.24 s
[go-tests] --- PASS: TestAuthenticate/returns_ErrUserNotFound_when_user_is_not_found (0.00s)
- 31.24 s
[go-tests] PASS
- 31.24 s
[go-tests] coverage: 50.0% of statements
- 31.24 s
[go-tests] ok codeberg.org/mtlynch/simpleauth/v3/auth 0.027s coverage: 50.0% of statements
- 34.21 s
[go-tests] === RUN TestCreateAndLoadSession
- 34.21 s
[go-tests] --- PASS: TestCreateAndLoadSession (0.00s)
- 34.21 s
[go-tests] === RUN TestRequireUserRedirectsWithoutSession
- 34.21 s
[go-tests] --- PASS: TestRequireUserRedirectsWithoutSession (0.00s)
- 34.21 s
[go-tests] === RUN TestLoadUserIgnoresExpiredSession
- 34.21 s
[go-tests] --- PASS: TestLoadUserIgnoresExpiredSession (0.00s)
- 34.21 s
[go-tests] PASS
- 34.21 s
[go-tests] coverage: 66.7% of statements
- 34.21 s
[go-tests] ok codeberg.org/mtlynch/simpleauth/v3/sessions 0.030s coverage: 66.7% of statements
- 34.26 s
[go-tests] + [[ -n 1 ]]
- 34.26 s
[go-tests] + go tool cover -html .coverage.out -o .coverage.html
- 34.37 s
[go-tests] + go vet ./...
- 36.91 s
[go-tests] ++ go env GOPATH
- 36.95 s
[go-tests] + STATICCHECK_PATH=/build/go/bin/staticcheck
- 36.95 s
[go-tests] + readonly STATICCHECK_PATH
- 36.95 s
[go-tests] + readonly STATICCHECK_VERSION=v0.4.6
- 36.95 s
[go-tests] + STATICCHECK_VERSION=v0.4.6
- 36.95 s
[go-tests] + [[ ! -f /build/go/bin/staticcheck ]]
- 36.95 s
[go-tests] + /build/go/bin/staticcheck ./...
- 38.92 s
[go-tests] ++ go env GOPATH
- 38.92 s
[go-tests] + ERRCHECK_PATH=/build/go/bin/errcheck
- 38.92 s
[go-tests] + readonly ERRCHECK_PATH
- 38.92 s
[go-tests] + readonly ERRCHECK_VERSION=v1.6.2
- 38.92 s
[go-tests] + ERRCHECK_VERSION=v1.6.2
- 38.92 s
[go-tests] + [[ ! -f /build/go/bin/errcheck ]]
- 38.92 s
[go-tests] + /build/go/bin/errcheck -ignoretests ./...
- 39.57 s
[go-tests] Phase: installPhase
- 39.57 s
[go-tests] installing
- 39.58 s
[go-tests] Phase: fixupPhase
- 39.58 s
[go-tests] post-installation fixup
- 39.58 s
[go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/cb9gs4m1qmap89h513whlkj0vgpq5c8m-go-tests-0.0.0
- 39.58 s
[go-tests] strip is /nix/store/hk75004j435l09ij4gawlkzg4wfs839w-binutils-wrapper-2.39/bin/strip
- 39.59 s
[go-tests] patching script interpreter paths in /nix/store/cb9gs4m1qmap89h513whlkj0vgpq5c8m-go-tests-0.0.0
- 39.59 s
[go-tests] checking for references to /build/ in /nix/store/cb9gs4m1qmap89h513whlkj0vgpq5c8m-go-tests-0.0.0...
- 39.67 s
[post-build-hook] Uploading to the NixCI cache: /nix/store/cb9gs4m1qmap89h513whlkj0vgpq5c8m-go-tests-0.0.0
- 39.70 s
[post-build-hook] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
- 39.71 s
[post-build-hook] copying 1 paths...
- 39.71 s
[post-build-hook] copying path '/nix/store/cb9gs4m1qmap89h513whlkj0vgpq5c8m-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
- 39.90 s
[post-build-hook] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
- 40.25 s
[post-build-hook] copying 2 paths...
- 40.25 s
[post-build-hook] copying path '/nix/store/925ml4yrm3l2kqdwwjzcww8izzzkak8z-simpleauth-go-modules-0.0.0-go-modules.drv' to 'https://cache.nix-ci.com'...
- 40.46 s
[post-build-hook] copying path '/nix/store/w49gjqfnj90xcs9j4ip4ac3w8knlxjn6-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
- 40.69 s
Progress: 1 of 2 built, 40 of 40 downloaded from cache