Skip to content

nilaway: ipn/proxy.go, ipn/proxies.go #974

nilaway: ipn/proxy.go, ipn/proxies.go

nilaway: ipn/proxy.go, ipn/proxies.go #974

Triggered via push November 22, 2024 01:01
Status Failure
Total duration 5m 2s
Artifacts

go.yml

on: push
🧬 Build
4m 52s
🧬 Build
🔐 Security checker
26s
🔐 Security checker
🧭 Lint
46s
🧭 Lint
Fit to window
Zoom out
Zoom in

Annotations

22 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/dns53/dot.go#L293
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()` returned from `ProxyTo()` in position 0
🧬 Build
returned as result 0 from interface method `Proxies.ProxyTo()` (implemented by `proxifier.ProxyTo()`)
🧬 Build
result 0 of `ProxyTo()` called `ID()` via the assignment(s):
🧬 Build: intra/dnscrypt/servers.go#L444
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()` returned from `ProxyTo()` in position 0
🧬 Build
returned as result 0 from interface method `Proxies.ProxyTo()` (implemented by `proxifier.ProxyTo()`)
🧬 Build
result 0 of `ProxyTo()` called `ID()` via the assignment(s):
🧭 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