Skip to content

Update module github.com/crossplane/function-sdk-go to v0.3.0 #134

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

Update module github.com/crossplane/function-sdk-go to v0.3.0 #134

Triggered via pull request November 17, 2024 17:01
Status Failure
Total duration 2m 4s
Artifacts

ci.yml

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

Annotations

14 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)
The job was canceled because "arm64" failed.
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: internal/function/fn.go#L48
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: internal/function/fn.go#L51
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: internal/function/fn.go#L53
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: internal/function/fn.go#L59
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: internal/function/fn.go#L94
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: internal/function/fn.go#L106
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: internal/function/fn.go#L109
cannot use toResponse(renderedManifest, req.GetMeta().GetTag()) (value of type *"github.com/crossplane/function-sdk-go/proto/v1beta1".RunFunctionResponse) as *"github.com/crossplane/function-sdk-go/proto/v1".RunFunctionResponse value in assignment
unit-test: internal/function/fn.go#L112
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: internal/function/fn.go#L115
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
Process completed with exit code 1.
lint
The runner has received a shutdown signal. This can happen when the runner service is stopped, or a manually started runner is canceled.