Skip to content

Update build to support Bazel 8/bzlmod #26

Update build to support Bazel 8/bzlmod

Update build to support Bazel 8/bzlmod #26

Triggered via pull request January 15, 2025 21:55
@bstollbstoll
synchronize #192
bstoll:bazel8
Status Failure
Total duration 2m 51s
Artifacts

go.yml

on: pull_request
Matrix: go / Build and Test
Fit to window
Zoom out
Zoom in

Annotations

33 errors and 4 warnings
go / staticcheck: cache/cache.go#L615
prefix.GetElement is deprecated: Marked as deprecated in github.com/openconfig/gnmi/proto/gnmi/gnmi.proto. (SA1019)
go / staticcheck: cache/cache.go#L619
prefix.GetElement is deprecated: Marked as deprecated in github.com/openconfig/gnmi/proto/gnmi/gnmi.proto. (SA1019)
go / staticcheck: cache/cache.go#L619
path.GetElement is deprecated: Marked as deprecated in github.com/openconfig/gnmi/proto/gnmi/gnmi.proto. (SA1019)
go / staticcheck: cache/cache_test.go#L400
printf-style function with dynamic format string and no further arguments should use print-style function instead (SA1006)
go / staticcheck: cli/cli.go#L125
this value of cancel is never used (SA4006)
go / staticcheck: client/cache.go#L109
error strings should not be capitalized (ST1005)
go / staticcheck: client/gnmi/client.go#L72
grpc.WithBlock is deprecated: this DialOption is not supported by NewClient. Will be supported throughout 1.x. (SA1019)
go / staticcheck: client/gnmi/client.go#L78
grpc.WithInsecure is deprecated: use WithTransportCredentials and insecure.NewCredentials() instead. Will be supported throughout 1.x. (SA1019)
go / staticcheck: client/gnmi/client.go#L105
grpc.DialContext is deprecated: use NewClient instead. Will be supported throughout 1.x. (SA1019)
go / staticcheck: client/gnmi/client.go#L296
u.Value is deprecated: Marked as deprecated in github.com/openconfig/gnmi/proto/gnmi/gnmi.proto. (SA1019)
go / Static Analysis
Process completed with exit code 1.
go / Static Analysis: cache/cache.go#L803
github.com/openconfig/gnmi/proto/gnmi.TypedValue_BoolVal struct literal uses unkeyed fields
go / Static Analysis: cache/cache.go#L807
github.com/openconfig/gnmi/proto/gnmi.TypedValue_IntVal struct literal uses unkeyed fields
go / Static Analysis: cache/cache.go#L811
github.com/openconfig/gnmi/proto/gnmi.TypedValue_StringVal struct literal uses unkeyed fields
go / Static Analysis: cache/cache_test.go#L665
github.com/openconfig/gnmi/proto/gnmi.TypedValue_StringVal struct literal uses unkeyed fields
go / Static Analysis: cache/cache_test.go#L666
github.com/openconfig/gnmi/proto/gnmi.TypedValue_StringVal struct literal uses unkeyed fields
go / Static Analysis: cache/cache_test.go#L667
github.com/openconfig/gnmi/proto/gnmi.TypedValue_StringVal struct literal uses unkeyed fields
go / Static Analysis: cache/cache_test.go#L814
github.com/openconfig/gnmi/proto/gnmi.TypedValue_StringVal struct literal uses unkeyed fields
go / Static Analysis: cache/cache_test.go#L842
github.com/openconfig/gnmi/proto/gnmi.TypedValue_StringVal struct literal uses unkeyed fields
go / Static Analysis: cache/cache_test.go#L860
github.com/openconfig/gnmi/proto/gnmi.TypedValue_StringVal struct literal uses unkeyed fields
go / Static Analysis: client/client_test.go#L489
ExampleClient_Once refers to unknown field or method: Client.Once
go / Static Analysis: collector/collector.go#L46
parameter 'ctx' seems to be unused, consider removing or renaming it as _
go / Static Analysis: cmd/gnmi_collector/gnmi_collector.go#L250
parameter 'ctx' seems to be unused, consider removing or renaming it as _
go / Static Analysis: cmd/gnmi_collector/gnmi_collector.go#L250
parameter 'tt' seems to be unused, consider removing or renaming it as _
go / Static Analysis: subscribe/subscribe_test.go#L722
parameter 'msg' seems to be unused, consider removing or renaming it as _
go / Static Analysis: subscribe/subscribe_test.go#L975
parameter 'msg' seems to be unused, consider removing or renaming it as _
go / Static Analysis: client/fake/fake.go#L82
parameter 'ctx' seems to be unused, consider removing or renaming it as _
go / Static Analysis: client/gnmi/client.go#L113
parameter 'ctx' seems to be unused, consider removing or renaming it as _
go / Static Analysis: client/gnmi/client.go#L113
parameter 'd' seems to be unused, consider removing or renaming it as _
go / Static Analysis: client/gnmi/credentials.go#L35
parameter 'ctx' seems to be unused, consider removing or renaming it as _
go / Static Analysis: client/gnmi/credentials.go#L35
parameter 'uri' seems to be unused, consider removing or renaming it as _
go / Build and Test (oldstable)
Process completed with exit code 1.
go / Build and Test (stable)
Process completed with exit code 1.
go / staticcheck
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
go / Static Analysis
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
go / Build and Test (oldstable)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
go / Build and Test (stable)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636