build: adapt to the latest quic-go and update version to support Go 1.21 and 1.22 #22
Annotations
9 errors and 3 warnings
staticcheck
undefined: tls.AlertError\nnote: module requires Go 1.21","code":{"value":"compile","url":"https://staticcheck.io/docs/checks#compile"},"location":{"path":"","range":{"start":{"line":0,"column":0},"end":{"line":0,"column":0}}},"related_locations":[],"severity":"ERROR"}
|
staticcheck
too many errors\nnote: module requires Go 1.21","code":{"value":"compile","url":"https://staticcheck.io/docs/checks#compile"},"location":{"path":"","range":{"start":{"line":0,"column":0},"end":{"line":0,"column":0}}},"related_locations":[],"severity":"ERROR"}
|
staticcheck
undefined: max\nnote: module requires Go 1.21","code":{"value":"compile","url":"https://staticcheck.io/docs/checks#compile"},"location":{"path":"","range":{"start":{"line":0,"column":0},"end":{"line":0,"column":0}}},"related_locations":[],"severity":"ERROR"}
|
staticcheck
[staticcheck] reported by reviewdog 🐶
# github.com/quic-go/quic-go/internal/qerr
/root/go/pkg/mod/github.com/quic-go/[email protected]/internal/qerr/error_codes.go:42:13: undefined: tls.AlertError
note: module requires Go 1.21
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"# github.com/quic-go/quic-go/internal/qerr\n/root/go/pkg/mod/github.com/quic-go/[email protected]/internal/qerr/error_codes.go:42:13: undefined: tls.AlertError\nnote: module requires Go 1.21","code":{"value":"compile","url":"https://staticcheck.io/docs/checks#compile"},"location":{"path":"","range":{"start":{"line":0,"column":0},"end":{"line":0,"column":0}}},"related_locations":[],"severity":"ERROR"}
|
staticcheck
[staticcheck] reported by reviewdog 🐶
# github.com/quic-go/quic-go/internal/qtls
/root/go/pkg/mod/github.com/quic-go/[email protected]/internal/qtls/qtls.go:20:14: conf.DecryptTicket undefined (type *tls.Config has no field or method DecryptTicket)
/root/go/pkg/mod/github.com/quic-go/[email protected]/internal/qtls/qtls.go:26:26: conf.WrapSession undefined (type *tls.Config has no field or method WrapSession)
/root/go/pkg/mod/github.com/quic-go/[email protected]/internal/qtls/qtls.go:27:61: undefined: tls.SessionState
/root/go/pkg/mod/github.com/quic-go/[email protected]/internal/qtls/qtls.go:90:13: undefined: tls.QUICConfig
/root/go/pkg/mod/github.com/quic-go/[email protected]/internal/qtls/qtls.go:105:59: undefined: tls.QUICEncryptionLevel
/root/go/pkg/mod/github.com/quic-go/[email protected]/internal/qtls/qtls.go:120:35: undefined: tls.QUICEncryptionLevel
/root/go/pkg/mod/github.com/quic-go/[email protected]/internal/qtls/client_session_cache.go:25:27: cs.ResumptionState undefined (type *tls.ClientSessionState has no field or method ResumptionState)
/root/go/pkg/mod/github.com/quic-go/[email protected]/internal/qtls/client_session_cache.go:31:20: undefined: tls.NewResumptionState
/root/go/pkg/mod/github.com/quic-go/[email protected]/internal/qtls/client_session_cache.go:48:27: cs.ResumptionState undefined (type *tls.ClientSessionState has no field or method ResumptionState)
/root/go/pkg/mod/github.com/quic-go/[email protected]/internal/qtls/client_session_cache.go:62:22: undefined: tls.NewResumptionState
/root/go/pkg/mod/github.com/quic-go/[email protected]/internal/qtls/qtls.go:27:61: too many errors
note: module requires Go 1.21
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"# github.com/quic-go/quic-go/internal/qtls\n/root/go/pkg/mod/github.com/quic-go/[email protected]/internal/qtls/qtls.go:20:14: conf.DecryptTicket undefined (type *tls.Config has no field or method DecryptTicket)\n/root/go/pkg/mod/github.com/quic-go/[email protected]/internal/qtls/qtls.go:26:26: conf.WrapSession undefined (type *tls.Config has no field or method WrapSession)\n/root/go/pkg/mod/github.com/quic-go/[email protected]/internal/qtls/qtls.go:27:61: undefined: tls.SessionState\n/root/go/pkg/mod/github.com/quic-go/[email protected]/internal/qtls/qtls.go:90:13: undefined: tls.QUICConfig\n/root/go/pkg/mod/github.com/quic-go/[email protected]/internal/qtls/qtls.go:105:59: undefined: tls.QUICEncryptionLevel\n/root/go/pkg/mod/github.com/quic-go/[email protected]/internal/qtls/qtls.go:120:35: undefined: tls.QUICEncryptionLevel\n/root/go/pkg/mod/github.com/quic-go/[email protected]/internal/qtls/client_session_cache.go:25:27: cs.ResumptionState undefined (type *tls.ClientSessionState has no field or method ResumptionState)\n/root/go/pkg/mod/github.com/quic-go/[email protected]/internal/qtls/client_session_cache.go:31:20: undefined: tls.NewResumptionState\n/root/go/pkg/mod/github.com/quic-go/[email protected]/internal/qtls/client_session_cache.go:48:27: cs.ResumptionState undefined (type *tls.ClientSessionState has no field or method ResumptionState)\n/root/go/pkg/mod/github.com/quic-go/[email protected]/internal/qtls/client_session_cache.go:62:22: undefined: tls.NewResumptionState\n/root/go/pkg/mod/github.com/quic-go/[email protected]/internal/qtls/qtls.go:27:61: too many errors\nnote: module requires Go 1.21","code":{"value":"compile","url":"https://staticcheck.io/docs/checks#compile"},"location":{"path":"","range":{"start":{"line":0,"column":0},"end":{"line":0,"column":0}}},"related_locations":[],"severity":"ERROR"}
|
staticcheck
[staticcheck] reported by reviewdog 🐶
# github.com/quic-go/quic-go/internal/utils
/root/go/pkg/mod/github.com/quic-go/[email protected]/internal/utils/minmax.go:19:9: undefined: min
/root/go/pkg/mod/github.com/quic-go/[email protected]/internal/utils/rtt_stats.go:58:27: undefined: max
/root/go/pkg/mod/github.com/quic-go/[email protected]/internal/utils/rtt_stats.go:129:20: undefined: max
/root/go/pkg/mod/github.com/quic-go/[email protected]/internal/utils/rtt_stats.go:130:18: undefined: max
note: module requires Go 1.21
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"# github.com/quic-go/quic-go/internal/utils\n/root/go/pkg/mod/github.com/quic-go/[email protected]/internal/utils/minmax.go:19:9: undefined: min\n/root/go/pkg/mod/github.com/quic-go/[email protected]/internal/utils/rtt_stats.go:58:27: undefined: max\n/root/go/pkg/mod/github.com/quic-go/[email protected]/internal/utils/rtt_stats.go:129:20: undefined: max\n/root/go/pkg/mod/github.com/quic-go/[email protected]/internal/utils/rtt_stats.go:130:18: undefined: max\nnote: module requires Go 1.21","code":{"value":"compile","url":"https://staticcheck.io/docs/checks#compile"},"location":{"path":"","range":{"start":{"line":0,"column":0},"end":{"line":0,"column":0}}},"related_locations":[],"severity":"ERROR"}
|
staticcheck:
root/go/pkg/mod/github.com/quic-go/[email protected]/http3/client.go#L8
[staticcheck] reported by reviewdog 🐶
package log/slog is not in GOROOT (/opt/hostedtoolcache/go/1.19.13/x64/src/log/slog)
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"package log/slog is not in GOROOT (/opt/hostedtoolcache/go/1.19.13/x64/src/log/slog)","code":{"value":"compile","url":"https://staticcheck.io/docs/checks#compile"},"location":{"path":"/root/go/pkg/mod/github.com/quic-go/[email protected]/http3/client.go","range":{"start":{"line":8,"column":2},"end":{"line":0,"column":0}}},"related_locations":[],"severity":"ERROR"}
|
staticcheck:
root/go/pkg/mod/github.com/quic-go/[email protected]/internal/wire/transport_parameters.go#L10
[staticcheck] reported by reviewdog 🐶
package slices is not in GOROOT (/opt/hostedtoolcache/go/1.19.13/x64/src/slices)
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"package slices is not in GOROOT (/opt/hostedtoolcache/go/1.19.13/x64/src/slices)","code":{"value":"compile","url":"https://staticcheck.io/docs/checks#compile"},"location":{"path":"/root/go/pkg/mod/github.com/quic-go/[email protected]/internal/wire/transport_parameters.go","range":{"start":{"line":10,"column":2},"end":{"line":0,"column":0}}},"related_locations":[],"severity":"ERROR"}
|
staticcheck
Process completed with exit code 1.
|
lint
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
staticcheck
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
compliant
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|