Skip to content

component_holder.go and more #625

component_holder.go and more

component_holder.go and more #625

Triggered via push December 29, 2023 15:14
Status Failure
Total duration 1m 50s
Artifacts

ci.yml

on: push
Matrix: test
releaser
0s
releaser
Fit to window
Zoom out
Zoom in

Annotations

19 errors
lint: pkg/edition/java/title/title.go#L1
: # go.minekube.com/gate/pkg/edition/java/title
lint: pkg/edition/java/title/title.go#L119
cannot use subtitle (variable of type component.Component) as chat.ComponentHolder value in struct literal
lint: pkg/edition/java/title/title.go#L136
cannot use ti (variable of type component.Component) as chat.ComponentHolder value in struct literal (typecheck)
lint: pkg/edition/java/proto/packet/PingIdentify.go#L1
: # go.minekube.com/gate/pkg/edition/java/proto/packet [go.minekube.com/gate/pkg/edition/java/proto/packet.test]
lint: pkg/edition/java/proto/packet/packet_test.go#L63
cannot use &component.Text{…} (value of type *component.Text) as *chat.ComponentHolder value in struct literal
lint: pkg/edition/java/proto/packet/packet_test.go#L64
cannot use &component.Text{…} (value of type *component.Text) as *chat.ComponentHolder value in struct literal
lint: pkg/edition/java/proto/packet/packet_test.go#L65
cannot use &component.Text{…} (value of type *component.Text) as *chat.ComponentHolder value in struct literal
lint: pkg/edition/java/proto/packet/packet_test.go#L110
cannot use `{"text":"sub title"}` (untyped string constant "{\"text\":\"sub title\"}") as chat.ComponentHolder value in struct literal
lint: pkg/edition/java/proto/packet/packet_test.go#L111
cannot use `{"text":"sub title"}` (untyped string constant "{\"text\":\"sub title\"}") as chat.ComponentHolder value in struct literal
lint: pkg/edition/java/proto/packet/packet_test.go#L112
cannot use `{"text":"action bar"}` (untyped string constant "{\"text\":\"action bar\"}") as chat.ComponentHolder value in struct literal
test (ubuntu-latest)
cannot use subtitle (variable of type component.Component) as chat.ComponentHolder value in struct literal
test (ubuntu-latest)
cannot use &component.Text{…} (value of type *component.Text) as *chat.ComponentHolder value in struct literal
test (ubuntu-latest)
Process completed with exit code 2.
test (windows-latest)
cannot use subtitle (variable of type component.Component) as chat.ComponentHolder value in struct literal
test (windows-latest)
cannot use &component.Text{…} (value of type *component.Text) as *chat.ComponentHolder value in struct literal
test (windows-latest)
Process completed with exit code 1.
test (macos-latest)
cannot use subtitle (variable of type component.Component) as chat.ComponentHolder value in struct literal
test (macos-latest)
cannot use &component.Text{…} (value of type *component.Text) as *chat.ComponentHolder value in struct literal
test (macos-latest)
Process completed with exit code 2.