Go 1.21 changed stack traces to include the ID of the parent goroutine in a goroutine's stack trace, e.g.
goroutine 18 [running]:
< ... stack frames ... >
created by main.main in goroutine 1
(see https://go.dev/cl/435337). This release fixes stack parsing so that "in goroutine N" is not included in the name of the function which created the goroutine.