metabigor icon indicating copy to clipboard operation
metabigor copied to clipboard

unsafe runtime due to `go4.org/unsafe/assume-no-moving-gc`

Open emadshanab opened this issue 2 years ago • 2 comments

echo "ASN1111" | metabigor netd --asn -o /tmp/result.txt

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.21 runtime. If you want to risk it, run with environment variable ASSUME_NO_MOVING_GC_UNSAFE_RISK_IT_WITH=go1.21 set. Notably, if go1.21 adds a moving garbage collector, this program is unsafe to use.

goroutine 1 [running]: go4.org/unsafe/assume-no-moving-gc.init.0() /root/go/pkg/mod/go4.org/unsafe/[email protected]/untested.go:25 +0x1da `

emadshanab avatar Dec 11 '23 22:12 emadshanab

Due to the outdated reliance on go4.org/unsafe/assume-no-moving-gc, this has been eliminated in the most recent version. Please download the latest binary from https://github.com/j3ssie/metabigor/releases, and this should resolve the issue.

j3ssie avatar Dec 15 '23 12:12 j3ssie