caddyserver / caddy

Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
https://caddyserver.com
Apache License 2.0
56.98k stars 3.99k forks source link

cannot build on commit 5b9c850 #5721

Closed text01001 closed 1 year ago

text01001 commented 1 year ago

go build

CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GOAMD64=v2 xcaddy build 5b9c850ab36694cba5200f78e9f8286062062d66 --output /tmp/caddy --with github.com/mholt/caddy-webdav --with github.com/caddy-dns/cloudflare --with github.com/mholt/caddy-events-exec --with github.com/caddyserver/forwardproxy@caddy2=github.com/klzgrad/forwardproxy@naive --with github.com/WeidiDeng/caddy-cloudflare-ip --with github.com/imgk/caddy-trojan@master --with github.com/mholt/caddy-dynamicdns

go version

go version go1.21.0 linux/amd64

golang log:

# github.com/quic-go/quic-go/internal/handshake
/root/gopath/pkg/mod/github.com/quic-go/quic-go@v0.37.3/internal/handshake/crypto_setup.go:362:37: cannot use h.allow0RTT (variable of type bool) as tls.QUICSessionTicketOptions value in argument to h.conn.SendSessionTicket
mholt commented 1 year ago

Quic-go doesn't build on Go 1.21 yet because Go pushed a last-minute change before their release that didn't make it into quic-go. See discussion in https://github.com/caddyserver/caddy/pull/5719.