2022-09-09T15:31:31.249+09:00 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.19 runtime. If you want to risk it, run with environment variable ASSUME_NO_MOVING_GC_UNSAFE_RISK_IT_WITH=go1.19 set. Notably, if go1.19 adds a moving garbage collector, this program is unsafe to use.
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.19 runtime. If you want to risk it, run with environment variable ASSUME_NO_MOVING_GC_UNSAFE_RISK_IT_WITH=go1.19 set. Notably, if go1.19 adds a moving garbage collector, this program is unsafe to use.
2022-09-09T15:31:31.249+09:00 goroutine 1 [running]:
2022-09-09T15:31:31.249+09:00 go4.org/unsafe/assume-no-moving-gc.init.0()
2022-09-09T15:31:31.249+09:00 /go/pkg/mod/go4.org/unsafe/assume-no-moving-gc@v0.0.0-20211027215541-db492cf91b37/untested.go:25 +0x1f4
2022-09-09T15:31:31.250+09:00 EXTENSION Name: datadog-agent State: Registered Events: [INVOKE,SHUTDOWN]
2022-09-09T15:31:31.285+09:00 LOGS Name: datadog-agent State: Already subscribed Types: [platform,function,extension]
Expected Behavior
Running on Go v 1.19 is supported without errors.
Actual Behavior
I found the program got an error about gc and it exited with a panic. It seems to be related to dependent module
dd-trace-go
.https://github.com/DataDog/datadog-lambda-go/blob/main/go.mod#L13
Please refer this resolved issue; https://github.com/DataDog/dd-trace-go/issues/1455
Specifications
Stacktrace