Skip to content

Update module github.com/crossplane/function-sdk-go to v0.4.0 #92

Update module github.com/crossplane/function-sdk-go to v0.4.0

Update module github.com/crossplane/function-sdk-go to v0.4.0 #92

Triggered via pull request December 16, 2024 22:14
Status Failure
Total duration 3m 28s
Artifacts

ci.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

19 errors
build (arm64)
buildx failed with: ERROR: failed to solve: process "/bin/sh -c go mod download" did not complete successfully: exit code: 1
build (amd64)
buildx failed with: ERROR: failed to solve: process "/bin/sh -c go mod download" did not complete successfully: exit code: 1
unit-test: fn.go#L30
cannot use req (variable of type *"github.com/crossplane/function-sdk-go/proto/v1beta1".RunFunctionRequest) as *"github.com/crossplane/function-sdk-go/proto/v1".RunFunctionRequest value in argument to response.To
unit-test: fn.go#L33
cannot use req (variable of type *"github.com/crossplane/function-sdk-go/proto/v1beta1".RunFunctionRequest) as *"github.com/crossplane/function-sdk-go/proto/v1".RunFunctionRequest value in argument to request.GetInput
unit-test: fn.go#L35
cannot use rsp (variable of type *"github.com/crossplane/function-sdk-go/proto/v1".RunFunctionResponse) as *"github.com/crossplane/function-sdk-go/proto/v1beta1".RunFunctionResponse value in return statement
unit-test: fn.go#L45
cannot use rsp (variable of type *"github.com/crossplane/function-sdk-go/proto/v1".RunFunctionResponse) as *"github.com/crossplane/function-sdk-go/proto/v1beta1".RunFunctionResponse value in return statement
unit-test: fn.go#L50
cannot use rsp (variable of type *"github.com/crossplane/function-sdk-go/proto/v1".RunFunctionResponse) as *"github.com/crossplane/function-sdk-go/proto/v1beta1".RunFunctionResponse value in return statement
unit-test: main.go#L27
cannot use &Function{…} (value of type *Function) as "github.com/crossplane/function-sdk-go/proto/v1".FunctionRunnerServiceServer value in argument to function.Serve: *Function does not implement "github.com/crossplane/function-sdk-go/proto/v1".FunctionRunnerServiceServer (wrong type for method RunFunction)
unit-test
Process completed with exit code 1.
lint: fn.go#L1
: # github.com/crossplane-contrib/function-dummy [github.com/crossplane-contrib/function-dummy.test]
lint: fn.go#L30
cannot use req (variable of type *"github.com/crossplane/function-sdk-go/proto/v1beta1".RunFunctionRequest) as *"github.com/crossplane/function-sdk-go/proto/v1".RunFunctionRequest value in argument to response.To
lint: fn.go#L33
cannot use req (variable of type *"github.com/crossplane/function-sdk-go/proto/v1beta1".RunFunctionRequest) as *"github.com/crossplane/function-sdk-go/proto/v1".RunFunctionRequest value in argument to request.GetInput
lint: fn.go#L35
cannot use rsp (variable of type *"github.com/crossplane/function-sdk-go/proto/v1".RunFunctionResponse) as *"github.com/crossplane/function-sdk-go/proto/v1beta1".RunFunctionResponse value in return statement
lint: fn.go#L45
cannot use rsp (variable of type *"github.com/crossplane/function-sdk-go/proto/v1".RunFunctionResponse) as *"github.com/crossplane/function-sdk-go/proto/v1beta1".RunFunctionResponse value in return statement
lint: fn.go#L50
cannot use rsp (variable of type *"github.com/crossplane/function-sdk-go/proto/v1".RunFunctionResponse) as *"github.com/crossplane/function-sdk-go/proto/v1beta1".RunFunctionResponse value in return statement
lint: main.go#L27
cannot use &Function{…} (value of type *Function) as "github.com/crossplane/function-sdk-go/proto/v1".FunctionRunnerServiceServer value in argument to function.Serve: *Function does not implement "github.com/crossplane/function-sdk-go/proto/v1".FunctionRunnerServiceServer (wrong type for method RunFunction)
lint: ../../../go/pkg/mod/k8s.io/[email protected]/pkg/apis/meta/v1/micro_time.go#L181
t.UTC undefined (type MicroTime has no field or method UTC) (typecheck)
lint: ../../../go/pkg/mod/k8s.io/[email protected]/pkg/apis/meta/v1/micro_time.go#L188
t.UTC undefined (type MicroTime has no field or method UTC) (typecheck)
lint: ../../../go/pkg/mod/k8s.io/[email protected]/pkg/apis/meta/v1/micro_time.go#L208
t.UTC undefined (type MicroTime has no field or method UTC) (typecheck)