Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

5.4.6 release failed to build with go1.20 #1207

Closed
chenrui333 opened this issue Feb 3, 2023 · 0 comments · Fixed by #1216
Closed

5.4.6 release failed to build with go1.20 #1207

chenrui333 opened this issue Feb 3, 2023 · 0 comments · Fixed by #1216

Comments

@chenrui333
Copy link

👋 while regression testing go1.20 upgrade, I ran into the following error:

==> Checking out tag v5.4.6
HEAD is now at f6838597 fix e2e tests, especially in GitHub Actions (#1137)
HEAD is now at f6838597 fix e2e tests, especially in GitHub Actions (#1137)
==> go build -mod=readonly -ldflags=-s -w -X github.com/k3d-io/k3d/v5/version.Ve
panic: Something in this program imports go4.org/unsafe/assume-no-moving-gc to declare that it assumes a non-moving garbage collector, but your version of go4.org/unsafe/assume-no-moving-gc hasn't been updated to assert that it's safe against the go1.20 runtime. If you want to risk it, run with environment variable ASSUME_NO_MOVING_GC_UNSAFE_RISK_IT_WITH=go1.20 set. Notably, if go1.20 adds a moving garbage collector, this program is unsafe to use.

goroutine 1 [running]:
go4.org/unsafe/assume-no-moving-gc.init.0()
	go4.org/unsafe/assume-no-moving-gc@v0.0.0-20220617031537-928513b29760/untested.go:25 +0x178
Error: Failure while executing; `\{\"SHELL\"=\>\"bash\"\} /opt/homebrew/Cellar/k3d/5.4.6/bin/k3d completion bash` exited with 2. Here's the output:

full build log, https://pipelines.actions.githubusercontent.com/serviceHosts/d065b819-d194-4baa-bc84-7b4a294d8693/_apis/pipelines/1/runs/564571/signedlogcontent/19?urlExpires=2023-02-03T17%3A06%3A38.0355252Z&urlSigningMethod=HMACV1&urlSignature=pSX%2FY%2FAHvb9NFrLSm1xQHLgwZ%2FwQ5NinBMs1z6lh5sI%3D

@chenrui333 chenrui333 changed the title 5.4.7 release failed to build with go1.20 5.4.6 release failed to build with go1.20 Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant