nixbot

builds

failed niks3-tests-1.16.2 checks.aarch64-darwin.golangci-lint · build #480 · raw

1tribuchet: building on mac02
unpackPhase
2unpacking source archive /nix/store/p1vlkckv67lp4jxlk45b7ffvg9wdzn9q-source3source root is source
buildPhase
4client/upload.go:556:1: cyclomatic complexity 32 of func `(*Client).PushPaths` is high (> 30) (gocyclo)5func (c *Client) PushPaths(ctx context.Context, paths []string) ([]string, error) {6^7client/trust_push_test.go:38:11: G306: Expect WriteFile permissions to be 0600 or less (gosec)8 if err = os.WriteFile(filepath.Join(bin, "nix"), []byte("#!/bin/sh\ncat \"$NIKS3_TEST_PATH_INFO\"\n"), 0o700); err != nil {9 ^10client/trust_push_test.go:1:9: package should be `client_test` instead of `client` (testpackage)11package client12 ^133 issues:14* gocyclo: 115* gosec: 116* testpackage: 1