nixbot

builds

failed niks3-tests-1.15.0 checks.aarch64-darwin.golangci-lint · build #420 · raw

1tribuchet: building on mac02
unpackPhase
2unpacking source archive /nix/store/1bw3k2jkdz67p5j8li4c0zb9w547svnj-source3source root is source
buildPhase
4client/oidclogin/store.go:97:2: SA4023(related information): the lhs of the comparison is the 2nd return value of this function call (staticcheck)5 lock, err := m.lock(ctx, server)6 ^7client/oidclogin/store.go:98:5: SA4023: this comparison is always true (staticcheck)8 if err != nil {9 ^10client/oidclogin/store.go:145:2: SA4023(related information): the lhs of the comparison is the 2nd return value of this function call (staticcheck)11 lock, err := m.lock(ctx, server)12 ^13client/oidclogin/store.go:146:5: SA4023: this comparison is always true (staticcheck)14 if err != nil {15 ^16client/oidclogin/store.go:169:2: SA4023(related information): the lhs of the comparison is the 2nd return value of this function call (staticcheck)17 lock, err := m.lock(ctx, server)18 ^19client/oidclogin/store.go:170:5: SA4023: this comparison is always true (staticcheck)20 if err != nil {21 ^22client/oidclogin/store.go:243:19: SA4023(related information): (*github.com/Mic92/niks3/client/oidclogin.Manager).lock never returns a nil interface value (staticcheck)23func (m *Manager) lock(ctx context.Context, server string) (io.Closer, error) {24 ^257 issues:26* staticcheck: 7