Skip to content

Update Go version to 1.20 #25170

Update Go version to 1.20

Update Go version to 1.20 #25170

Triggered via pull request July 15, 2023 01:16
Status Failure
Total duration 29m 32s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

ci.yml

on: pull_request
Create Dynamic Test Matrix
1m 36s
Create Dynamic Test Matrix
Tidy
4m 35s
Tidy
ShellCheck
6s
ShellCheck
Localnet Compatibility Tests With Flow-CLI Client and Observer
18m 57s
Localnet Compatibility Tests With Flow-CLI Client and Observer
Matrix: Lint
Matrix: Integration Tests
Matrix: Unit Tests (Modules)
Matrix: unit-test
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 11 warnings
Lint (./): ledger/common/testutils/testutils.go#L209
SA1019: rand.Read has been deprecated since Go 1.20 because it shouldn't be used: For almost all use cases, crypto/rand.Read is more appropriate. (staticcheck)
Lint (./): engine/access/state_stream/backend_executiondata_test.go#L68
SA1019: rand.Seed has been deprecated since Go 1.20 and an alternative has been available since Go 1.0: Programs that call Seed and then expect a specific sequence of results from the global random source (using functions such as Int) can be broken when a dependency changes how much it consumes from the global random source. To avoid such breakages, programs that need a specific result sequence should use NewRand(NewSource(seed)) to obtain a random generator that other packages cannot access. (staticcheck)
Lint (./): fvm/crypto/hash_test.go#L52
SA1019: rand.Read has been deprecated since Go 1.20 because it shouldn't be used: For almost all use cases, crypto/rand.Read is more appropriate. (staticcheck)
Lint (./): fvm/crypto/hash_test.go#L68
SA1019: rand.Read has been deprecated since Go 1.20 because it shouldn't be used: For almost all use cases, crypto/rand.Read is more appropriate. (staticcheck)
Lint (./)
issues found
Unit Tests (network)
Final attempt failed. Child_process exited with error code 2
ShellCheck
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ShellCheck
ignore is deprecated. Please use ignore_paths instead
ShellCheck
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ShellCheck
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ShellCheck
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ShellCheck
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Create Dynamic Test Matrix
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Integration Tests (make -C integration execution-tests)
Attempt 1 failed. Reason: Child_process exited with error code 2
Integration Tests (make -C integration bft-tests)
Attempt 1 failed. Reason: Child_process exited with error code 2
Unit Tests (network)
Attempt 1 failed. Reason: Child_process exited with error code 2
Unit Tests (network)
Attempt 2 failed. Reason: Child_process exited with error code 2