Skip to content

Rename sorting method imported from avalanchego #768

Rename sorting method imported from avalanchego

Rename sorting method imported from avalanchego #768

Triggered via pull request July 18, 2023 13:28
Status Failure
Total duration 3m 6s
Artifacts

ci.yml

on: pull_request
Matrix: e2e
Matrix: test-race
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

20 errors
Lint: plugin/evm/export_tx.go#L121
cannot use utx.Ins (variable of type []EVMInput) as sort.Interface value in argument to utils.IsSortedAndUnique: []EVMInput does not implement sort.Interface (missing method Len) (typecheck)
Lint: plugin/evm/import_tx.go#L110
cannot use utx.ImportedInputs (variable of type []*avax.TransferableInput) as sort.Interface value in argument to utils.IsSortedAndUnique: []*avax.TransferableInput does not implement sort.Interface (missing method Len) (typecheck)
Lint: plugin/evm/import_tx.go#L115
cannot use utx.Outs (variable of type []EVMOutput) as sort.Interface value in argument to utils.IsSortedAndUnique: []EVMOutput does not implement sort.Interface (missing method Len) (typecheck)
Lint
issues found
Golang Unit Tests Race Detection v1.19 (ubuntu-20.04): plugin/evm/export_tx.go#L121
cannot use utx.Ins (variable of type []EVMInput) as type sort.Interface in argument to utils.IsSortedAndUnique:
Golang Unit Tests Race Detection v1.19 (ubuntu-20.04): plugin/evm/import_tx.go#L110
cannot use utx.ImportedInputs (variable of type []*avax.TransferableInput) as type sort.Interface in argument to utils.IsSortedAndUnique:
Golang Unit Tests Race Detection v1.19 (ubuntu-20.04): plugin/evm/import_tx.go#L115
cannot use utx.Outs (variable of type []EVMOutput) as type sort.Interface in argument to utils.IsSortedAndUnique:
Golang Unit Tests Race Detection v1.19 (ubuntu-20.04)
Process completed with exit code 2.
Golang Unit Tests v1.19 (ubuntu-20.04): plugin/evm/export_tx.go#L121
cannot use utx.Ins (variable of type []EVMInput) as type sort.Interface in argument to utils.IsSortedAndUnique:
Golang Unit Tests v1.19 (ubuntu-20.04): plugin/evm/import_tx.go#L110
cannot use utx.ImportedInputs (variable of type []*avax.TransferableInput) as type sort.Interface in argument to utils.IsSortedAndUnique:
Golang Unit Tests v1.19 (ubuntu-20.04): plugin/evm/import_tx.go#L115
cannot use utx.Outs (variable of type []EVMOutput) as type sort.Interface in argument to utils.IsSortedAndUnique:
Golang Unit Tests v1.19 (ubuntu-20.04)
Process completed with exit code 2.
Golang Unit Tests v1.19 (windows-latest)
The job was canceled because "_1_19_ubuntu-20_04" failed.
Golang Unit Tests v1.19 (windows-latest)
The operation was canceled.
Golang Unit Tests v1.19 (macos-11.0)
The job was canceled because "_1_19_ubuntu-20_04" failed.
Golang Unit Tests v1.19 (macos-11.0)
The operation was canceled.
Golang E2E Tests v1.19 (ubuntu-20.04): plugin/evm/export_tx.go#L121
cannot use utx.Ins (variable of type []EVMInput) as type sort.Interface in argument to utils.IsSortedAndUnique:
Golang E2E Tests v1.19 (ubuntu-20.04): plugin/evm/import_tx.go#L110
cannot use utx.ImportedInputs (variable of type []*avax.TransferableInput) as type sort.Interface in argument to utils.IsSortedAndUnique:
Golang E2E Tests v1.19 (ubuntu-20.04): plugin/evm/import_tx.go#L115
cannot use utx.Outs (variable of type []EVMOutput) as type sort.Interface in argument to utils.IsSortedAndUnique:
Golang E2E Tests v1.19 (ubuntu-20.04)
Process completed with exit code 2.