Skip to content

ipn/wg: egress is packetconn if hopping over netstack gonet #987

ipn/wg: egress is packetconn if hopping over netstack gonet

ipn/wg: egress is packetconn if hopping over netstack gonet #987

Triggered via push November 30, 2024 15:47
Status Failure
Total duration 5m 13s
Artifacts

go.yml

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

Annotations

20 errors, 10 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/ipn/warp/agw.go#L537
error: Potential nil panic detected. Observed nil flow from source to dereference point:
🧬 Build
unassigned variable `resp` returned from `do()` in position 0
🧬 Build
result 0 of `do()` returned from `Do()` in position 0
🧬 Build
result 0 of `Do()` accessed field `StatusCode` via the assignment(s):
🧬 Build: intra/ipn/wg/wgconn.go#L431
error: Potential nil panic detected. Observed nil flow from source to dereference point:
🧬 Build
literal `nil` assigned into field `ipv6`
🧬 Build
field `ipv6` called `WriteTo()` via the assignment(s):
🧬 Build: intra/ipn/wg/wgconn.go#L431
error: Potential nil panic detected. Observed nil flow from source to dereference point:
🧬 Build
literal `nil` assigned into field `ipv4`
🧬 Build
field `ipv4` called `WriteTo()` via the assignment(s):
🧭 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#L22
var-naming: type IpTree should be IPTree (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#L78
var-naming: func NewIpTree should be NewIPTree (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#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#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#L280
unused-parameter: parameter 'v' seems to be unused, consider removing or renaming it as _ (revive)
🧭 Lint: intra/backend/core_iptree.go#L299
unused-parameter: parameter 'k' seems to be unused, consider removing or renaming it as _ (revive)
🧬 Build
success