Error processing "go build"

its go version mistmatch ,

the mesage is recomending go version 1.19

but i think u got different version
frist check your go version using

go version

if its not matching with version then remove it

which go
rm go/path/from/last/command

then install new version
check following post, just replace goversion 1.22.8 with 1.19