Skip to content

tunnel: fix build #1157

tunnel: fix build

tunnel: fix build #1157

Triggered via push May 11, 2025 14:45
Status Failure
Total duration 5m 16s
Artifacts

go.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

22 errors, 10 warnings, and 1 notice
🧭 Lint
Process completed with exit code 1.
🧭 Lint: intra/ipn/exit.go#L30
var fakeExitAddrPort is unused (U1000)
🧭 Lint: intra/dialers/retrier.go#L233
`strat` is a misspelling of `start` (misspell)
🧭 Lint: intra/dialers/retrier.go#L229
`strat` is a misspelling of `start` (misspell)
🧭 Lint: intra/dialers/retrier.go#L223
`strat` is a misspelling of `start` (misspell)
🧭 Lint: intra/dialers/retrier.go#L203
`Strat` is a misspelling of `Start` (misspell)
🧭 Lint: intra/dialers/retrier.go#L201
`Strat` is a misspelling of `Start` (misspell)
🧭 Lint: intra/dialers/retrier.go#L200
`strat` is a misspelling of `start` (misspell)
🧭 Lint: intra/dialers/retrier.go#L152
`Strat` is a misspelling of `Start` (misspell)
🧭 Lint: intra/dialers/direct_split.go#L31
`strat` is a misspelling of `start` (misspell)
🧭 Lint: intra/bootstrap.go#L235
Error return value of `prev.Stop` is not checked (errcheck)
🧭 Lint: intra/backend/dnsx_listener.go#L67
`wheter` is a misspelling of `whether` (misspell)
🧬 Build
unassigned variable `laddr` passed as arg `laddr` to `DialTCP()`
🧬 Build: intra/protect/xdial.go#L237
error: Potential nil panic detected. Observed nil flow from source to dereference point:
🧬 Build
function parameter `laddr` called `String()`
🧬 Build
function parameter `laddr` passed as arg `laddr` to `DialTCP()`
🧬 Build
literal `nil` passed as arg `laddr` to `DialTCP()`
🧬 Build: intra/protect/xdial.go#L237
error: Potential nil panic detected. Observed nil flow from source to dereference point:
🧬 Build
function parameter `laddr` called `String()`
🧬 Build
function parameter `laddr` passed as arg `laddr` to `DialTCP()`
🧬 Build
literal `nil` passed as arg `laddr` to `DialTCP()`
🧬 Build: intra/protect/xdial.go#L237
error: Potential nil panic detected. Observed nil flow from source to dereference point:
🧭 Lint: intra/backend/core_iptree.go#L299
unused-parameter: parameter 'k' seems to be unused, consider removing or renaming it as _ (revive)
🧭 Lint: intra/backend/core_iptree.go#L280
unused-parameter: parameter 'v' seems to be unused, consider removing or renaming it as _ (revive)
🧭 Lint: intra/backend/core_iptree.go#L232
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#L147
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#L97
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#L78
var-naming: func NewIpTree should be NewIPTree (revive)
🧭 Lint: intra/backend/core_iptree.go#L67
exported: exported const Vsep should have comment (or a comment on this block) or be unexported (revive)
🧭 Lint: intra/backend/core_iptree.go#L22
var-naming: type IpTree should be IPTree (revive)
🧭 Lint: intra/backend/core_iptree.go#L7
package-comments: should have a package comment (revive)
🧭 Lint
Failed to restore: Cache service responded with 422
🧬 Build
success