Skip to content

Do not use github.com/nspcc-dev/neofs-api-go/v2 where unnecessary #7291

Do not use github.com/nspcc-dev/neofs-api-go/v2 where unnecessary

Do not use github.com/nspcc-dev/neofs-api-go/v2 where unnecessary #7291

Triggered via pull request December 18, 2024 18:40
Status Failure
Total duration 3m 6s
Artifacts

go.yml

on: pull_request
Matrix: Unit tests
Fit to window
Zoom out
Zoom in

Annotations

25 errors and 6 warnings
Lint / Lint: pkg/services/object/get/v2/util.go#L665
cannot use *idSig (variable of type "github.com/nspcc-dev/neofs-api-go/v2/refs/grpc".Signature) as "github.com/nspcc-dev/neofs-api-go/v2/refs".Signature value in argument to sig.ReadFromV2
Lint / Lint: pkg/services/object/get/v2/util.go#L672
impossible type switch case: *objectV2.SplitInfo
Lint / Lint: pkg/services/object/get/v2/util.go#L679
cannot use hdr (variable of type *"github.com/nspcc-dev/neofs-api-go/v2/object/grpc".Header) as *"github.com/nspcc-dev/neofs-api-go/v2/object".Header value in argument to objv2.SetHeader
Lint / Lint: pkg/services/object/get/v2/util.go#L680
cannot use idSig (variable of type *"github.com/nspcc-dev/neofs-api-go/v2/refs/grpc".Signature) as *"github.com/nspcc-dev/neofs-api-go/v2/refs".Signature value in argument to objv2.SetSignature
Lint / Lint: pkg/services/object/get/v2/util.go#L665
cannot use *idSig (variable of type "github.com/nspcc-dev/neofs-api-go/v2/refs/grpc".Signature) as "github.com/nspcc-dev/neofs-api-go/v2/refs".Signature value in argument to sig.ReadFromV2
Lint / Lint: pkg/services/object/get/v2/util.go#L672
impossible type switch case: *objectV2.SplitInfo
Lint / Lint: pkg/services/object/get/v2/util.go#L679
cannot use hdr (variable of type *"github.com/nspcc-dev/neofs-api-go/v2/object/grpc".Header) as *"github.com/nspcc-dev/neofs-api-go/v2/object".Header value in argument to objv2.SetHeader
Lint / Lint: pkg/services/object/get/v2/util.go#L680
cannot use idSig (variable of type *"github.com/nspcc-dev/neofs-api-go/v2/refs/grpc".Signature) as *"github.com/nspcc-dev/neofs-api-go/v2/refs".Signature value in argument to objv2.SetSignature)
Lint / Lint
issues found
Coverage: pkg/services/object/get/v2/util.go#L665
cannot use *idSig (variable of type "github.com/nspcc-dev/neofs-api-go/v2/refs/grpc".Signature) as "github.com/nspcc-dev/neofs-api-go/v2/refs".Signature value in argument to sig.ReadFromV2
Coverage: pkg/services/object/get/v2/util.go#L672
impossible type switch case: *objectV2.SplitInfo
Coverage: pkg/services/object/get/v2/util.go#L679
cannot use hdr (variable of type *"github.com/nspcc-dev/neofs-api-go/v2/object/grpc".Header) as *"github.com/nspcc-dev/neofs-api-go/v2/object".Header value in argument to objv2.SetHeader
Coverage: pkg/services/object/get/v2/util.go#L680
cannot use idSig (variable of type *"github.com/nspcc-dev/neofs-api-go/v2/refs/grpc".Signature) as *"github.com/nspcc-dev/neofs-api-go/v2/refs".Signature value in argument to objv2.SetSignature
Coverage
Process completed with exit code 1.
Unit tests (macos-14, 1.23): pkg/services/object/get/v2/util.go#L665
cannot use *idSig (variable of type "github.com/nspcc-dev/neofs-api-go/v2/refs/grpc".Signature) as "github.com/nspcc-dev/neofs-api-go/v2/refs".Signature value in argument to sig.ReadFromV2
Unit tests (macos-14, 1.23): pkg/services/object/get/v2/util.go#L672
impossible type switch case: *objectV2.SplitInfo
Unit tests (macos-14, 1.23): pkg/services/object/get/v2/util.go#L679
cannot use hdr (variable of type *"github.com/nspcc-dev/neofs-api-go/v2/object/grpc".Header) as *"github.com/nspcc-dev/neofs-api-go/v2/object".Header value in argument to objv2.SetHeader
Unit tests (macos-14, 1.23): pkg/services/object/get/v2/util.go#L680
cannot use idSig (variable of type *"github.com/nspcc-dev/neofs-api-go/v2/refs/grpc".Signature) as *"github.com/nspcc-dev/neofs-api-go/v2/refs".Signature value in argument to objv2.SetSignature
Unit tests (macos-14, 1.23)
Process completed with exit code 1.
Unit tests (ubuntu-22.04, 1.22)
The job was canceled because "macos-14_1_23" failed.
Unit tests (ubuntu-22.04, 1.22): pkg/services/object/get/v2/util.go#L665
cannot use *idSig (variable of type "github.com/nspcc-dev/neofs-api-go/v2/refs/grpc".Signature) as "github.com/nspcc-dev/neofs-api-go/v2/refs".Signature value in argument to sig.ReadFromV2
Unit tests (ubuntu-22.04, 1.22): pkg/services/object/get/v2/util.go#L672
impossible type switch case: *objectV2.SplitInfo
Unit tests (ubuntu-22.04, 1.22): pkg/services/object/get/v2/util.go#L679
cannot use hdr (variable of type *"github.com/nspcc-dev/neofs-api-go/v2/object/grpc".Header) as *"github.com/nspcc-dev/neofs-api-go/v2/object".Header value in argument to objv2.SetHeader
Unit tests (ubuntu-22.04, 1.22): pkg/services/object/get/v2/util.go#L680
cannot use idSig (variable of type *"github.com/nspcc-dev/neofs-api-go/v2/refs/grpc".Signature) as *"github.com/nspcc-dev/neofs-api-go/v2/refs".Signature value in argument to objv2.SetSignature
Unit tests (ubuntu-22.04, 1.22)
Process completed with exit code 1.
Lint / Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Coverage
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Coverage
Restore cache failed: Dependencies file is not found in /home/runner/work/neofs-node/neofs-node. Supported file pattern: go.sum
Unit tests (macos-14, 1.23)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unit tests (macos-14, 1.23)
Restore cache failed: Dependencies file is not found in /home/runner/work/neofs-node/neofs-node. Supported file pattern: go.sum
Unit tests (ubuntu-22.04, 1.22)
Restore cache failed: Dependencies file is not found in /home/runner/work/neofs-node/neofs-node. Supported file pattern: go.sum