Update module github.com/crossplane/function-sdk-go to v0.3.0 #88
Triggered via pull request
September 19, 2024 01:24
Status
Failure
Total duration
3m 45s
Artifacts
–
ci.yml
on: pull_request
Matrix: build
lint
1m 1s
unit-test
1m 1s
push
0s
Annotations
21 errors
build (arm64)
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#L42
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#L45
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#L47
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#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:
fn.go#L68
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#L96
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#L32
cannot use fn (variable 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#L42
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#L45
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#L47
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#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
|
lint:
fn.go#L68
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#L96
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#L32
cannot use fn (variable 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
t.UTC undefined (type MicroTime has no field or method UTC) (typecheck)
|
lint
t.UTC undefined (type MicroTime has no field or method UTC) (typecheck)
|
lint
t.Format undefined (type Time has no field or method Format) (typecheck)
|
build (amd64)
The job was canceled because "arm64" failed.
|
build (amd64)
The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.
|