Build breaks: [...] crypto/elliptic # golang.org/x/sys/unix vendor/golang.org/x/sys/unix/syscall.go:83:16: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod) vendor/golang.org/x/sys/unix/syscall_unix.go:118:7: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod) crypto/internal/boring/bbig encoding/asn1 crypto/ed25519 crypto/rsa crypto/dsa vendor/golang.org/x/text/secure/bidirule encoding/csv github.com/xxxserxxx/gotop/v4/utils vendor/golang.org/x/net/idna crypto/x509/pkix vendor/golang.org/x/crypto/cryptobyte crypto/ecdsa vendor/golang.org/x/net/http/httpproxy net/textproto crypto/x509 vendor/golang.org/x/net/http/httpguts mime/multipart crypto/tls net/http/httptrace net/http github.com/xxxserxxx/lingo/v2 github.com/xxxserxxx/gotop/v4/termui github.com/xxxserxxx/gotop/v4/colorschemes *** Error code 2
This is an upstream issue, they need to either stick to the golang.org/x/sys/unix version that is buildable with go1.16 or update their go.mod.