You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The build process fails during the installation of dependencies due to an outdated Go version. The error log indicates that the golang.org/x/crypto package requires Go version 1.23.0 or higher, but the system is running Go version 1.22.4.
To Reproduce
Steps to reproduce the behavior:
Go to the build environment for the project.
Run the build command (e.g., pre-commit install or similar).
Observe the error log.
Expected behavior
The build process should complete successfully without any errors.
Additional context
build attempt 1...
=> error
[INFO] Installing environment for https://github.com/thoughtworks/talisman.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
An unexpected error has occurred: CalledProcessError: command: ('/opt/go/bin/go', 'install', './...')
return code: 1
stdout: (none)
stderr:
go: downloading github.com/bmatcuk/doublestar v1.3.4
go: downloading github.com/sirupsen/logrus v1.8.1
go: downloading github.com/spf13/afero v1.6.0
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/olekukonko/tablewriter v0.0.5
go: downloading gopkg.in/yaml.v2 v2.4.0
go: downloading github.com/drhodes/golorem v0.0.0-20160418191928-ecccc744c2d9
go: downloading github.com/golang/mock v1.5.0
go: downloading github.com/AlecAivazis/survey/v2 v2.2.12
go: downloading github.com/fatih/color v1.12.0
go: downloading github.com/cheggaaa/pb/v3 v3.0.8
go: downloading github.com/common-nighthawk/go-figure v0.0.0-20200609044655-c4b36f998cf2
go: downloading golang.org/x/sys v0.30.0
go: downloading golang.org/x/text v0.22.0
go: downloading github.com/mattn/go-runewidth v0.0.12
go: downloading github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51
go: downloading golang.org/x/crypto v0.35.0
go: downloading github.com/mattn/go-colorable v0.1.8
go: downloading github.com/mattn/go-isatty v0.0.12
go: downloading github.com/VividCortex/ewma v1.1.1
go: downloading github.com/rivo/uniseg v0.2.0
go: downloading github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b
go: golang.org/x/[email protected] requires go >= 1.23.0 (running go 1.22.4)
Check the log at /pc/pre-commit.log
The text was updated successfully, but these errors were encountered:
Describe the bug
The build process fails during the installation of dependencies due to an outdated Go version. The error log indicates that the golang.org/x/crypto package requires Go version 1.23.0 or higher, but the system is running Go version 1.22.4.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The build process should complete successfully without any errors.
Additional context
build attempt 1...
=> error
[INFO] Installing environment for https://github.com/thoughtworks/talisman.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
An unexpected error has occurred: CalledProcessError: command: ('/opt/go/bin/go', 'install', './...')
return code: 1
stdout: (none)
stderr:
go: downloading github.com/bmatcuk/doublestar v1.3.4
go: downloading github.com/sirupsen/logrus v1.8.1
go: downloading github.com/spf13/afero v1.6.0
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/olekukonko/tablewriter v0.0.5
go: downloading gopkg.in/yaml.v2 v2.4.0
go: downloading github.com/drhodes/golorem v0.0.0-20160418191928-ecccc744c2d9
go: downloading github.com/golang/mock v1.5.0
go: downloading github.com/AlecAivazis/survey/v2 v2.2.12
go: downloading github.com/fatih/color v1.12.0
go: downloading github.com/cheggaaa/pb/v3 v3.0.8
go: downloading github.com/common-nighthawk/go-figure v0.0.0-20200609044655-c4b36f998cf2
go: downloading golang.org/x/sys v0.30.0
go: downloading golang.org/x/text v0.22.0
go: downloading github.com/mattn/go-runewidth v0.0.12
go: downloading github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51
go: downloading golang.org/x/crypto v0.35.0
go: downloading github.com/mattn/go-colorable v0.1.8
go: downloading github.com/mattn/go-isatty v0.0.12
go: downloading github.com/VividCortex/ewma v1.1.1
go: downloading github.com/rivo/uniseg v0.2.0
go: downloading github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b
go: golang.org/x/[email protected] requires go >= 1.23.0 (running go 1.22.4)
Check the log at /pc/pre-commit.log
The text was updated successfully, but these errors were encountered: