Skip to content

Fix rule marshal

Fix rule marshal #2917

Triggered via push November 6, 2024 09:30
Status Failure
Total duration 57s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Build: transport/trojan/mux.go#L17
SA1019: M.Metadata is deprecated: wtf is this? (staticcheck)
Build: transport/trojan/mux.go#L39
SA1019: M.Metadata is deprecated: wtf is this? (staticcheck)
Build: transport/trojan/mux.go#L46
SA1019: M.Metadata is deprecated: wtf is this? (staticcheck)
Build: transport/trojan/service.go#L19
SA1019: N.TCPConnectionHandler is deprecated: Use TCPConnectionHandlerEx instead. (staticcheck)
Build: transport/trojan/service.go#L20
SA1019: N.UDPConnectionHandler is deprecated: Use UDPConnectionHandlerEx instead. (staticcheck)
Build: transport/trojan/service.go#L27
SA1019: N.TCPConnectionHandler is deprecated: Use TCPConnectionHandlerEx instead. (staticcheck)
Build: transport/trojan/service.go#L31
SA1019: N.TCPConnectionHandler is deprecated: Use TCPConnectionHandlerEx instead. (staticcheck)
Build: protocol/hysteria/inbound.go#L67
ineffectual assignment to err (ineffassign)
Build: protocol/hysteria/outbound.go#L71
ineffectual assignment to err (ineffassign)
Build: route/route.go#L319
SA1012: do not pass a nil Context, even if a function permits it; pass context.TODO if you are unsure about which Context to use (staticcheck)