Skip to content

make sure AddRuntime uses a runtime builder function #7385

make sure AddRuntime uses a runtime builder function

make sure AddRuntime uses a runtime builder function #7385

Triggered via push February 8, 2024 14:27
Status Failure
Total duration 1m 59s
Artifacts 3

pr-test-lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

28 errors and 3 warnings
go-test: providers/builtin.go#L38
cannot use &mockProviderService{…} (value of type *mockProviderService) as "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin".ProviderPlugin value in struct literal: *mockProviderService does not implement "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin".ProviderPlugin (missing method Disconnect)
go-test: providers/coordinator.go#L168
impossible type assertion: x.Runtime.Plugin.(*mockProviderService)
go-test: providers/runtime.go#L494
impossible type assertion: r.Provider.Instance.Plugin.(*mockProviderService)
go-test: providers/builtin.go#L38
cannot use &mockProviderService{…} (value of type *mockProviderService) as "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin".ProviderPlugin value in struct literal: *mockProviderService does not implement "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin".ProviderPlugin (missing method Disconnect)
go-test: providers/coordinator.go#L168
impossible type assertion: x.Runtime.Plugin.(*mockProviderService)
go-test: providers/runtime.go#L494
impossible type assertion: r.Provider.Instance.Plugin.(*mockProviderService)
go-test
Process completed with exit code 2.
golangci-lint
Cannot open: File exists
golangci-lint
Cannot open: File exists
golangci-lint
Cannot open: File exists
golangci-lint
Cannot open: File exists
golangci-lint
Cannot open: File exists
golangci-lint
Cannot open: File exists
golangci-lint
Cannot open: File exists
golangci-lint
Cannot open: File exists
golangci-lint
Cannot open: File exists
golangci-lint
Cannot open: File exists
go-test-cli: providers/builtin.go#L38
cannot use &mockProviderService{…} (value of type *mockProviderService) as "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin".ProviderPlugin value in struct literal: *mockProviderService does not implement "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin".ProviderPlugin (missing method Disconnect)
go-test-cli: providers/coordinator.go#L168
impossible type assertion: x.Runtime.Plugin.(*mockProviderService)
go-test-cli: providers/runtime.go#L494
impossible type assertion: r.Provider.Instance.Plugin.(*mockProviderService)
go-test-cli: providers/builtin.go#L38
cannot use &mockProviderService{…} (value of type *mockProviderService) as "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin".ProviderPlugin value in struct literal: *mockProviderService does not implement "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin".ProviderPlugin (missing method Disconnect)
go-test-cli: providers/coordinator.go#L168
impossible type assertion: x.Runtime.Plugin.(*mockProviderService)
go-test-cli: providers/runtime.go#L494
impossible type assertion: r.Provider.Instance.Plugin.(*mockProviderService)
go-test-cli
Process completed with exit code 2.
go-bench
No benchmark result was found in /home/runner/work/cnquery/cnquery/benchmark.txt. Benchmark output was ''
go-bench: providers/builtin.go#L38
cannot use &mockProviderService{…} (value of type *mockProviderService) as "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin".ProviderPlugin value in struct literal: *mockProviderService does not implement "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin".ProviderPlugin (missing method Disconnect)
go-bench: providers/coordinator.go#L168
impossible type assertion: x.Runtime.Plugin.(*mockProviderService)
go-bench: providers/runtime.go#L494
impossible type assertion: r.Provider.Instance.Plugin.(*mockProviderService)
license-check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: hashicorp/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
golangci-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: golangci/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
golangci-lint
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2

Artifacts

Produced during runtime
Name Size
Event File Expired
2.15 KB
test-results Expired
4.43 KB
test-results-cli Expired
229 Bytes