Skip to content

Drop neofs-api-go dependency #1399

Drop neofs-api-go dependency

Drop neofs-api-go dependency #1399

Triggered via pull request May 31, 2024 10:37
Status Failure
Total duration 1m 55s
Artifacts

tests.yml

on: pull_request
Matrix: CodeQL
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

31 errors and 4 warnings
lint
issues found
Coverage: reputation/trust.go#L285
cannot use &ver (value of type *"github.com/nspcc-dev/neofs-api-go/v2/refs".Version) as *"github.com/nspcc-dev/neofs-sdk-go/api/refs".Version value in argument to version.Current().WriteToV2
Coverage: reputation/trust.go#L378
cannot use &sigv2 (value of type *"github.com/nspcc-dev/neofs-api-go/v2/refs".Signature) as *"github.com/nspcc-dev/neofs-sdk-go/api/refs".Signature value in argument to sig.WriteToV2
Coverage: reputation/trust.go#L405
cannot use *sigV2 (variable of type "github.com/nspcc-dev/neofs-api-go/v2/refs".Signature) as *"github.com/nspcc-dev/neofs-sdk-go/api/refs".Signature value in argument to sig.ReadFromV2
Coverage: object/fmt.go#L62
id.SetSHA256 undefined (type oid.ID has no field or method SetSHA256)
Coverage: object/fmt.go#L93
id.Equals undefined (type oid.ID has no field or method Equals)
Coverage: object/fmt.go#L109
oID.CalculateIDSignature undefined (type oid.ID has no field or method CalculateIDSignature)
Coverage: object/fmt.go#L124
assignment mismatch: 2 variables but oID.Marshal returns 1 value
Coverage: object/fmt.go#L145
cannot use *sigV2 (variable of type "github.com/nspcc-dev/neofs-api-go/v2/refs".Signature) as *"github.com/nspcc-dev/neofs-sdk-go/api/refs".Signature value in argument to sig.ReadFromV2
Coverage: object/link.go#L56
cannot use &idV2 (value of type *"github.com/nspcc-dev/neofs-api-go/v2/refs".ObjectID) as *"github.com/nspcc-dev/neofs-sdk-go/api/refs".ObjectID value in argument to id.WriteToV2
Coverage: object/link.go#L66
cannot use m.ID (variable of type "github.com/nspcc-dev/neofs-api-go/v2/refs".ObjectID) as *"github.com/nspcc-dev/neofs-sdk-go/api/refs".ObjectID value in argument to id.ReadFromV2
Tests (ubuntu-latest, 1.20): object/fmt.go#L62
id.SetSHA256 undefined (type oid.ID has no field or method SetSHA256)
Tests (ubuntu-latest, 1.20): object/fmt.go#L93
id.Equals undefined (type oid.ID has no field or method Equals)
Tests (ubuntu-latest, 1.20): object/fmt.go#L109
oID.CalculateIDSignature undefined (type oid.ID has no field or method CalculateIDSignature)
Tests (ubuntu-latest, 1.20): object/fmt.go#L124
assignment mismatch: 2 variables but oID.Marshal returns 1 value
Tests (ubuntu-latest, 1.20): object/fmt.go#L145
cannot use *sigV2 (variable of type "github.com/nspcc-dev/neofs-api-go/v2/refs".Signature) as *"github.com/nspcc-dev/neofs-sdk-go/api/refs".Signature value in argument to sig.ReadFromV2
Tests (ubuntu-latest, 1.20): object/link.go#L56
cannot use &idV2 (value of type *"github.com/nspcc-dev/neofs-api-go/v2/refs".ObjectID) as *"github.com/nspcc-dev/neofs-sdk-go/api/refs".ObjectID value in argument to id.WriteToV2
Tests (ubuntu-latest, 1.20): object/link.go#L66
cannot use m.ID (variable of type "github.com/nspcc-dev/neofs-api-go/v2/refs".ObjectID) as *"github.com/nspcc-dev/neofs-sdk-go/api/refs".ObjectID value in argument to id.ReadFromV2
Tests (ubuntu-latest, 1.20): object/lock.go#L44
cannot use idV2 (variable of type "github.com/nspcc-dev/neofs-api-go/v2/refs".ObjectID) as *"github.com/nspcc-dev/neofs-sdk-go/api/refs".ObjectID value in argument to buf[i].ReadFromV2
Tests (ubuntu-latest, 1.20): object/lock.go#L59
cannot use &members[i] (value of type *"github.com/nspcc-dev/neofs-api-go/v2/refs".ObjectID) as *"github.com/nspcc-dev/neofs-sdk-go/api/refs".ObjectID value in argument to ids[i].WriteToV2
Tests (ubuntu-latest, 1.20): object/object.go#L115
cannot use *v2.GetObjectID() (variable of type "github.com/nspcc-dev/neofs-api-go/v2/refs".ObjectID) as *"github.com/nspcc-dev/neofs-sdk-go/api/refs".ObjectID value in argument to v.ReadFromV2
Tests (ubuntu-latest, 1.21): reputation/trust.go#L285
cannot use &ver (value of type *"github.com/nspcc-dev/neofs-api-go/v2/refs".Version) as *"github.com/nspcc-dev/neofs-sdk-go/api/refs".Version value in argument to version.Current().WriteToV2
Tests (ubuntu-latest, 1.21): reputation/trust.go#L378
cannot use &sigv2 (value of type *"github.com/nspcc-dev/neofs-api-go/v2/refs".Signature) as *"github.com/nspcc-dev/neofs-sdk-go/api/refs".Signature value in argument to sig.WriteToV2
Tests (ubuntu-latest, 1.21): reputation/trust.go#L405
cannot use *sigV2 (variable of type "github.com/nspcc-dev/neofs-api-go/v2/refs".Signature) as *"github.com/nspcc-dev/neofs-sdk-go/api/refs".Signature value in argument to sig.ReadFromV2
Tests (ubuntu-latest, 1.21): object/fmt.go#L62
id.SetSHA256 undefined (type oid.ID has no field or method SetSHA256)
Tests (ubuntu-latest, 1.21): object/fmt.go#L93
id.Equals undefined (type oid.ID has no field or method Equals)
Tests (ubuntu-latest, 1.21): object/fmt.go#L109
oID.CalculateIDSignature undefined (type oid.ID has no field or method CalculateIDSignature)
Tests (ubuntu-latest, 1.21): object/fmt.go#L124
assignment mismatch: 2 variables but oID.Marshal returns 1 value
Tests (ubuntu-latest, 1.21): object/fmt.go#L145
cannot use *sigV2 (variable of type "github.com/nspcc-dev/neofs-api-go/v2/refs".Signature) as *"github.com/nspcc-dev/neofs-sdk-go/api/refs".Signature value in argument to sig.ReadFromV2
Tests (ubuntu-latest, 1.21): object/link.go#L56
cannot use &idV2 (value of type *"github.com/nspcc-dev/neofs-api-go/v2/refs".ObjectID) as *"github.com/nspcc-dev/neofs-sdk-go/api/refs".ObjectID value in argument to id.WriteToV2
Tests (ubuntu-latest, 1.21): object/link.go#L66
cannot use m.ID (variable of type "github.com/nspcc-dev/neofs-api-go/v2/refs".ObjectID) as *"github.com/nspcc-dev/neofs-sdk-go/api/refs".ObjectID value in argument to id.ReadFromV2
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
CodeQL (go)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: github/codeql-action/init@v2, github/codeql-action/autobuild@v2, github/codeql-action/analyze@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
CodeQL (go)
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/
CodeQL (go)
1 issue was detected with this workflow: Please specify an on.push hook to analyze and see code scanning alerts from the default branch on the Security tab.