Skip to content

Bump github.com/NVIDIA/go-nvml from 0.12.0-3 to 0.12.0-4 #87

Bump github.com/NVIDIA/go-nvml from 0.12.0-3 to 0.12.0-4

Bump github.com/NVIDIA/go-nvml from 0.12.0-3 to 0.12.0-4 #87

Triggered via pull request April 18, 2024 12:00
Status Failure
Total duration 1m 21s
Artifacts

golang.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

21 errors
Unit test: internal/nvml/nvml.go#L29
cannot use (*nvmlDevice)(nil) (value of type *nvmlDevice) as Device value in variable declaration: *nvmlDevice does not implement Device (type *nvmlDevice is pointer to interface, not interface)
Unit test: internal/nvml/nvml.go#L30
cannot use (*nvmlGpuInstance)(nil) (value of type *nvmlGpuInstance) as GpuInstance value in variable declaration: *nvmlGpuInstance does not implement GpuInstance (type *nvmlGpuInstance is pointer to interface, not interface)
Unit test: internal/nvml/nvml.go#L31
cannot use (*nvmlComputeInstance)(nil) (value of type *nvmlComputeInstance) as ComputeInstance value in variable declaration: *nvmlComputeInstance does not implement ComputeInstance (type *nvmlComputeInstance is pointer to interface, not interface)
Unit test: internal/nvml/nvml.go#L57
cannot use nvmlDevice(d) (value of type nvmlDevice) as Device value in return statement: nvmlDevice does not implement Device (wrong type for method CreateGpuInstance)
Unit test: internal/nvml/nvml.go#L62
cannot use nvmlDevice(d) (value of type nvmlDevice) as Device value in return statement: nvmlDevice does not implement Device (wrong type for method CreateGpuInstance)
Unit test: internal/nvml/nvml.go#L67
cannot use nvmlDevice(d) (value of type nvmlDevice) as Device value in return statement: nvmlDevice does not implement Device (wrong type for method CreateGpuInstance)
Unit test: internal/nvml/nvml.go#L70
invalid receiver type nvmlDevice (pointer or interface type)
Unit test: internal/nvml/nvml.go#L75
invalid receiver type nvmlDevice (pointer or interface type)
Unit test: internal/nvml/nvml.go#L80
invalid receiver type nvmlDevice (pointer or interface type)
Unit test: internal/nvml/nvml.go#L85
invalid receiver type nvmlDevice (pointer or interface type)
check: internal/nvml/consts.go#L1
: # github.com/NVIDIA/mig-parted/internal/nvml
check: internal/nvml/nvml.go#L29
cannot use (*nvmlDevice)(nil) (value of type *nvmlDevice) as Device value in variable declaration: *nvmlDevice does not implement Device (type *nvmlDevice is pointer to interface, not interface)
check: internal/nvml/nvml.go#L30
cannot use (*nvmlGpuInstance)(nil) (value of type *nvmlGpuInstance) as GpuInstance value in variable declaration: *nvmlGpuInstance does not implement GpuInstance (type *nvmlGpuInstance is pointer to interface, not interface)
check: internal/nvml/nvml.go#L31
cannot use (*nvmlComputeInstance)(nil) (value of type *nvmlComputeInstance) as ComputeInstance value in variable declaration: *nvmlComputeInstance does not implement ComputeInstance (type *nvmlComputeInstance is pointer to interface, not interface)
check: internal/nvml/nvml.go#L57
cannot use nvmlDevice(d) (value of type nvmlDevice) as Device value in return statement: nvmlDevice does not implement Device (wrong type for method CreateGpuInstance)
check: internal/nvml/nvml.go#L62
cannot use nvmlDevice(d) (value of type nvmlDevice) as Device value in return statement: nvmlDevice does not implement Device (wrong type for method CreateGpuInstance)
check: internal/nvml/nvml.go#L67
cannot use nvmlDevice(d) (value of type nvmlDevice) as Device value in return statement: nvmlDevice does not implement Device (wrong type for method CreateGpuInstance)
check: internal/nvml/nvml.go#L70
invalid receiver type nvmlDevice (pointer or interface type)
check: internal/nvml/nvml.go#L75
invalid receiver type nvmlDevice (pointer or interface type)
check: internal/nvml/nvml.go#L80
invalid receiver type nvmlDevice (pointer or interface type)
build
Process completed with exit code 2.