Skip to content

dns53/ipmapper: rmv unused fn #952

dns53/ipmapper: rmv unused fn

dns53/ipmapper: rmv unused fn #952

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

go.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

20 errors, 11 warnings, and 1 notice
🧭 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/dnscrypt/multiserver.go#L88
error: Potential nil panic detected. Observed nil flow from source to dereference point:
🧬 Build
literal `nil` assigned into global variable `NoIPPort`
🧬 Build
global variable `NoIPPort` returned from `addr2ipp()` in position 0
🧬 Build
result 0 of `addr2ipp()` returned from `IPPorts()` in position 0
🧬 Build
result 0 of `IPPorts()` passed as arg `s` to `chooseAny()`
🧬 Build
function parameter `s` sliced into
🧬 Build: intra/dnscrypt/multiserver.go#L88
error: Potential nil panic detected. Observed nil flow from source to dereference point:
🧬 Build
unassigned variable `ipps` returned from `addr2ipp()` via named return `ipps`
🧬 Build
result 0 of `addr2ipp()` returned from `IPPorts()` in position 0
🧬 Build
result 0 of `IPPorts()` passed as arg `s` to `chooseAny()`
🧭 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