ameshkov/godnsbench

"The version of quic-go you're using can't be built on Go 1.20 yet."

Closed this issue · 1 comments

I'm unable to install using both go install github.com/ameshkov/godnsbench@latest and brew install ameshkov/tap/godnsbench due to the following errors. I have tried on macOS Monterey 12.6.6 and Alpine 3.8. Downloading and running the binary from 'Releases' works perfectly. I'm opening this Issue in case it's of some help to you, but the error suggests (to my untrained eye) that it's a case of waiting on the upstream dependency (quic-go) to catch up?

macOS Monterey 12.6.6

$ brew install ameshkov/tap/godnsbench
==> Downloading https://formulae.brew.sh/api/formula.jws.json
############################################################################################# 100.0%
==> Fetching ameshkov/tap/godnsbench
==> Cloning https://github.com/ameshkov/godnsbench.git
Cloning into '/Users/me/Library/Caches/Homebrew/godnsbench--git'...
==> Checking out tag v1.6
HEAD is now at 17d7a15 fix #3, added {random}
==> Installing godnsbench from ameshkov/tap
==> go build -ldflags -X main.VersionString=1.6
Last 15 lines from /Users/me/Library/Logs/Homebrew/godnsbench/01.go:
go: downloading golang.org/x/sys v0.0.0-20220829200755-d48e67d00261
go: downloading github.com/andres-erbsen/clock v0.0.0-20160526145045-9e14626cd129
go: downloading github.com/ameshkov/dnscrypt/v2 v2.2.5
go: downloading github.com/ameshkov/dnsstamps v1.0.3
go: downloading github.com/lucas-clemente/quic-go v0.29.0
go: downloading golang.org/x/net v0.0.0-20220826154423-83b083e8dc8b
go: downloading golang.org/x/crypto v0.0.0-20220829220503-c86fa9a7ed90
go: downloading github.com/marten-seemann/qpack v0.2.1
go: downloading golang.org/x/text v0.3.7
go: downloading github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da
go: downloading github.com/aead/poly1305 v0.0.0-20180717145839-3fee0db0b635
go: downloading golang.org/x/exp v0.0.0-20220827204233-334a2380cb91
go: downloading github.com/marten-seemann/qtls-go1-19 v0.1.0
# github.com/lucas-clemente/quic-go/internal/qtls
/Users/me/Library/Caches/Homebrew/go_mod_cache/pkg/mod/github.com/lucas-clemente/quic-go@v0.29.0/internal/qtls/go120.go:5:13: cannot use "The version of quic-go you're using can't be built on Go 1.20 yet. For more details, please see https://github.com/lucas-clemente/quic-go/wiki/quic-go-and-Go-versions." (untyped string constant "The version of quic-go you're using can't be built on Go 1.20 yet. F...) as int value in variable declaration

If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):
  https://github.com/ameshkov/homebrew-tap/issues

Alpine 3.18

# go install github.com/ameshkov/godnsbench@latest
# github.com/lucas-clemente/quic-go/internal/qtls
go/pkg/mod/github.com/lucas-clemente/quic-go@v0.29.0/internal/qtls/go120.go:5:13: cannot use "The version of quic-go you're using can't be built on Go 1.20 yet. For more details, please see https://github.com/lucas-clemente/quic-go/wiki/quic-go-and-Go-versions." (untyped string constant "The version of quic-go you're using can't be built on Go 1.20 yet. F...) as int value in variable declaration

Thank you! The issue's fixed now, homebrew is also updated.