Skip to content

ipn/auto: elaborate err msgs #973

ipn/auto: elaborate err msgs

ipn/auto: elaborate err msgs #973

Triggered via push November 22, 2024 00:36
Status Failure
Total duration 5m 16s
Artifacts

go.yml

on: push
🧬 Build
5m 7s
🧬 Build
🔐 Security checker
35s
🔐 Security checker
🧭 Lint
38s
🧭 Lint
Fit to window
Zoom out
Zoom in

Annotations

17 errors, 11 warnings, and 1 notice
🧭 Lint: intra/ipn/proxies.go#L85
var errUnreachable is unused (U1000)
🧭 Lint
Process completed with exit code 1.
🧭 Lint
Cannot open: File exists
🧭 Lint
Cannot open: File exists
🧭 Lint
Cannot open: File exists
🧭 Lint
Cannot open: File exists
🧭 Lint
Cannot open: File exists
🧭 Lint
Cannot open: File exists
🧭 Lint
Cannot open: File exists
🧭 Lint
Cannot open: File exists
🧭 Lint
Cannot open: File exists
🧭 Lint
Cannot open: File exists
🧬 Build: intra/ipn/proxy.go#L320
error: Potential nil panic detected. Observed nil flow from source to dereference point:
🧬 Build
literal `nil` returned from `pinID()` in position 0 when the error return in position 1 is not guaranteed to be non-nil through all paths
🧬 Build
result 0 of `pinID()` passed as arg `p` to `hasroute()` via the assignment(s):
🧬 Build
function parameter `p` called `Router()`
🧬 Build
Process completed with exit code 3.
🧭 Lint
The following actions use a deprecated Node.js version and will be forced to run on node20: golangci/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
🧭 Lint
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
🧭 Lint: intra/backend/core_iptree.go#L7
package-comments: should have a package comment (revive)
🧭 Lint: intra/backend/core_iptree.go#L23
var-naming: type IpTree should be IPTree (revive)
🧭 Lint: intra/backend/core_iptree.go#L68
exported: exported const Vsep should have comment (or a comment on this block) or be unexported (revive)
🧭 Lint: intra/backend/core_iptree.go#L79
var-naming: func NewIpTree should be NewIPTree (revive)
🧭 Lint: intra/backend/core_iptree.go#L98
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
🧭 Lint: intra/backend/core_iptree.go#L148
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
🧭 Lint: intra/backend/core_iptree.go#L233
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
🧭 Lint: intra/backend/core_iptree.go#L281
unused-parameter: parameter 'v' seems to be unused, consider removing or renaming it as _ (revive)
🧭 Lint: intra/backend/core_iptree.go#L300
unused-parameter: parameter 'k' seems to be unused, consider removing or renaming it as _ (revive)
🧬 Build
success