Skip to content

perf: use zap's Check() to prevent useless allocs #4622

perf: use zap's Check() to prevent useless allocs

perf: use zap's Check() to prevent useless allocs #4622

Triggered via pull request September 4, 2024 22:06
Status Failure
Total duration 1m 5s
Artifacts

lint.yml

on: pull_request
govulncheck
25s
govulncheck
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 1 warning
lint (linux): listen_unix.go#L154
G115: integer overflow conversion uintptr -> int (gosec)
lint (linux): listeners.go#L216
G115: integer overflow conversion uint -> int (gosec)
lint (linux): logging.go#L727
G115: integer overflow conversion uintptr -> int (gosec)
lint (linux): replacer.go#L302
G115: integer overflow conversion uint -> int (gosec)
lint (linux): replacer.go#L306
G115: integer overflow conversion uint64 -> int (gosec)
lint (linux): internal/sockets.go#L43
G115: integer overflow conversion uint64 -> uint32 (gosec)
lint (linux): modules/caddyhttp/app.go#L347
G115: integer overflow conversion uint -> int (gosec)
lint (linux): modules/caddyhttp/celmatcher.go#L400
G602: slice index out of range (gosec)
lint (linux): modules/caddyhttp/celmatcher.go#L404
G602: slice index out of range (gosec)
lint (linux): modules/caddyhttp/celmatcher.go#L393
G602: slice index out of range (gosec)
lint (mac)
The job was canceled because "linux" failed.
lint (mac)
The operation was canceled.
lint (windows)
The job was canceled because "linux" failed.
lint (windows)
The operation was canceled.
lint (mac)
Failed to restore: "/opt/homebrew/bin/gtar" failed with error: The process '/opt/homebrew/bin/gtar' failed with exit code 2