these 2 derivations will be built: /nix/store/kdp1rplf3vyv309a1gr1fphvzzfwxgk2-niks3-tests-1.15.0-go-modules.drv /nix/store/280abs2slw8lz4wxdfm7ksqprnaa8qi5-niks3-tests-1.15.0.drv building '/nix/store/280abs2slw8lz4wxdfm7ksqprnaa8qi5-niks3-tests-1.15.0.drv' niks3-tests-1.15.0> tribuchet: building on mac02 niks3-tests-1.15.0> Running phase: unpackPhase niks3-tests-1.15.0> unpacking source archive /nix/store/1bw3k2jkdz67p5j8li4c0zb9w547svnj-source niks3-tests-1.15.0> source root is source niks3-tests-1.15.0> Running phase: patchPhase niks3-tests-1.15.0> Running phase: updateAutotoolsGnuConfigScriptsPhase niks3-tests-1.15.0> Running phase: configurePhase niks3-tests-1.15.0> Running phase: buildPhase niks3-tests-1.15.0> client/oidclogin/store.go:97:2: SA4023(related information): the lhs of the comparison is the 2nd return value of this function call (staticcheck) niks3-tests-1.15.0> lock, err := m.lock(ctx, server) niks3-tests-1.15.0> ^ niks3-tests-1.15.0> client/oidclogin/store.go:98:5: SA4023: this comparison is always true (staticcheck) niks3-tests-1.15.0> if err != nil { niks3-tests-1.15.0> ^ niks3-tests-1.15.0> client/oidclogin/store.go:145:2: SA4023(related information): the lhs of the comparison is the 2nd return value of this function call (staticcheck) niks3-tests-1.15.0> lock, err := m.lock(ctx, server) niks3-tests-1.15.0> ^ niks3-tests-1.15.0> client/oidclogin/store.go:146:5: SA4023: this comparison is always true (staticcheck) niks3-tests-1.15.0> if err != nil { niks3-tests-1.15.0> ^ niks3-tests-1.15.0> client/oidclogin/store.go:169:2: SA4023(related information): the lhs of the comparison is the 2nd return value of this function call (staticcheck) niks3-tests-1.15.0> lock, err := m.lock(ctx, server) niks3-tests-1.15.0> ^ niks3-tests-1.15.0> client/oidclogin/store.go:170:5: SA4023: this comparison is always true (staticcheck) niks3-tests-1.15.0> if err != nil { niks3-tests-1.15.0> ^ niks3-tests-1.15.0> client/oidclogin/store.go:243:19: SA4023(related information): (*github.com/Mic92/niks3/client/oidclogin.Manager).lock never returns a nil interface value (staticcheck) niks3-tests-1.15.0> func (m *Manager) lock(ctx context.Context, server string) (io.Closer, error) { niks3-tests-1.15.0> ^ niks3-tests-1.15.0> 7 issues: niks3-tests-1.15.0> * staticcheck: 7 error: Cannot build '/nix/store/280abs2slw8lz4wxdfm7ksqprnaa8qi5-niks3-tests-1.15.0.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/lynxy4s0f9s23ki6qbgg908xzs4aiqp2-niks3-tests-1.15.0 Last 25 log lines: > Running phase: configurePhase > Running phase: buildPhase > client/oidclogin/store.go:97:2: SA4023(related information): the lhs of the comparison is the 2nd return value of this function call (staticcheck) > lock, err := m.lock(ctx, server) > ^ > client/oidclogin/store.go:98:5: SA4023: this comparison is always true (staticcheck) > if err != nil { > ^ > client/oidclogin/store.go:145:2: SA4023(related information): the lhs of the comparison is the 2nd return value of this function call (staticcheck) > lock, err := m.lock(ctx, server) > ^ > client/oidclogin/store.go:146:5: SA4023: this comparison is always true (staticcheck) > if err != nil { > ^ > client/oidclogin/store.go:169:2: SA4023(related information): the lhs of the comparison is the 2nd return value of this function call (staticcheck) > lock, err := m.lock(ctx, server) > ^ > client/oidclogin/store.go:170:5: SA4023: this comparison is always true (staticcheck) > if err != nil { > ^ > client/oidclogin/store.go:243:19: SA4023(related information): (*github.com/Mic92/niks3/client/oidclogin.Manager).lock never returns a nil interface value (staticcheck) > func (m *Manager) lock(ctx context.Context, server string) (io.Closer, error) { > ^ > 7 issues: > * staticcheck: 7 For full logs, run: nix log /nix/store/280abs2slw8lz4wxdfm7ksqprnaa8qi5-niks3-tests-1.15.0.drv