You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got an error while I tring to compile my project with machinery/v1
Here is the log:
external/com_google_cloud_go_pubsub/message.go:42:42: impossible type assertion:
*psAckHandler does not implement "cloud.google.com/go/internal/pubsub".AckHandler (missing OnAckWithResult method)
external/com_google_cloud_go_pubsub/message.go:70:27: cannot use ackh (type *psAckHandler) as type "cloud.google.com/go/internal/pubsub".AckHandler in argument to "cloud.google.com/go/internal/pubsub".NewMessage:
*psAckHandler does not implement "cloud.google.com/go/internal/pubsub".AckHandler (missing OnAckWithResult method)
compilepkg: error running subcommand external/go_sdk/pkg/tool/linux_amd64/compile: exit status 2
Target //workflow/cmd:workflow failed to build
And then, I found that Machinery depends on cloud.google.com/[email protected], but my project depends on v0.105.0.
The different between this two version is about a interface in cloud.google.com/go/internal/pubsub/message.go
type AckHandler interface {
// both declare in v0.76.0 and v0.105.0
OnAck()
OnNack()
// only declare in v0.105.0
OnAckWithResult() *AckResult
OnNackWithResult() *AckResult
}
What should I do with this error? Beg for reply, thanks a lot
The text was updated successfully, but these errors were encountered:
I got an error while I tring to compile my project with machinery/v1
Here is the log:
And then, I found that Machinery depends on cloud.google.com/[email protected], but my project depends on v0.105.0.
The different between this two version is about a interface in
cloud.google.com/go/internal/pubsub/message.go
What should I do with this error? Beg for reply, thanks a lot
The text was updated successfully, but these errors were encountered: