Failed with: quic-go doesn't build on Go 1.18 yet.

This issue has been created since 2022-03-26.

xcaddy: from development branch
go version go1.18 linux/amd64

The same issue as it was in 4216

xcaddy successfully compiled, but command xcaddy list-modules failed with error on following:

go/pkg/mod/github.com/lucas-clemente/[email protected]/internal/qtls/go118.go:5:13: cannot use "quic-go doesn't build on Go 1.18 yet." (untyped string constant) as int value in variable declaration
francislavoie wrote this answer on 2022-03-26

The latest stable version of Caddy was released before Go 1.18 was released, so it doesn't support it. We made fixes on the master branch to support Go 1.18, so if you absolutely need to build with 1.18, you should build from master for now. Otherwise, please downgrade to 1.17 in the meantime until Caddy's next stable release.

tyler71 wrote this answer on 2022-06-29

If you build with docker and can't easily downgrade your go version, caddy:2.4.1-builder worked fine

francislavoie wrote this answer on 2022-06-29

@tyler71 Use v2.5.1. Not v2.4.1. That's an outdated version.

Either way, this is a long-since-fixed issue.

More Details About Repo
Owner Name caddyserver
Repo Name xcaddy
Full Name caddyserver/xcaddy
Language Go
Created Date 2020-03-21
Updated Date 2022-09-22
Star Count 381
Watcher Count 14
Fork Count 72
Issue Count 3

YOU MAY BE INTERESTED

Issue Title Created Date Comment Count Updated Date
Not Showing Tokens in the Borrowing List 1 2022-06-17 2022-08-03
Regression: no mouse square in Center of grid 2 2022-03-20 2022-07-21
Feature request: outline color for normal & grid mode 4 2022-03-20 2022-09-12
capslock as modifier? 5 2022-03-20 2022-09-26
Generated TS files fail to compile 20 2020-08-28 2022-09-12
Can CLOG be run without Clack? 3 2021-10-19 2022-08-20
Newest Version of klipper breaking extras module 7 2022-02-11 2022-08-26
ERCP: Buffer_Wheel does not "fit" into Buffer_Cross cavity 6 2022-03-16 2022-09-19
Error pin P1.0 used multiple times in config 4 2022-04-04 2022-08-26
Missing Attribute definations 5 2022-07-05 2022-09-02
not clear how btcrecover supports My Ether Wallet 2 2021-03-09 2022-07-12
Error in installing xshell and xftp 2 2022-06-04 2022-09-20
在Snipaste中多种方式拷贝图像,其边框与阴影的效果跟预设的都不一样,如图 2 2022-05-01 2022-09-26
using `cumsum` with `mutate_epi` 2 2022-01-28 2022-08-21
Move theme context call back into subcomponents styled-components 0 2021-06-28 2022-09-12
Integrate Comitizen, husky, and semantic-release to match foundry-react-ui 0 2021-06-15 2022-09-16
Foundry-UI splash screen 0 2021-06-15 2022-07-19
Add validation for about page fields 0 2021-12-17 2022-07-31
interaction=no kills contents of A 0 2022-04-06 2022-09-09
Check @attribute = '' comparison 1 2022-03-30 2022-09-17
aw-watcher-web-firefox reports hostname as unknown, while other watchers have correct hostname of machine 3 2021-04-06 2022-09-11
Smart/dynamic team membership 0 2021-11-05 2022-09-24
Cannot get certain playlist's tracks 3 2021-03-15 2022-09-27
Create admin user config in values.yaml not working 3 2021-10-27 2022-07-24
Unable to open bitcoin-qt when incoming connections disabled in settings 8 2022-03-22 2022-09-14
Privacy/Security concern: make it clear that a report file is uploaded to https://semaphoreci.com/ 2 2020-04-25 2022-09-01
Function log's parameter is wrong in .d.ts 0 2021-03-05 2022-09-23
Gauge is not taking screen shots when tests are run in Linux - Ubuntu container in a headless mode #2167 tried this, the issue still exists. 4 2021-11-19 2022-09-17
Attach Any File to HTML Report 0 2021-11-02 2022-09-17
Enhancement - f$req_sign_in() which can apply to the whole app 1 2021-10-07 2022-09-22
Telescope error, not an editor command 5 2022-04-22 2022-09-02
Update clay_lump.lua 0 2021-11-25 2022-02-06
bagisto:generete product - infinite loop 6 2021-10-02 2022-08-08
Algorithm used to search for a package in the EnvironmentPackageCache is suboptimal 0 2022-06-30 2022-09-11
Convert to normal certificate when I pass the chain certificate string. 11 2022-02-18 2022-09-27
OpenSSL::SSL::SSLContext::DEFAULT_CERT_STORE is not shareable across ractors 1 2022-06-28 2022-09-27
Notebook server fails to launch: failed calling webhook "admission-webhook.kubeflow.org" 4 2021-08-31 2022-09-14
remove Page title in front page 1 2021-05-31 2022-09-06
Remote write compliance: TestRemoteWrite/otelcollector/Histogram 2 2021-04-20 2022-09-27
Add demo for multi-language support 18 2019-05-30 2022-09-27
Problem of get_velocity of walker 1 2021-10-21 2022-09-20
Publish does not publish sub packages 3 2022-06-22 2022-09-21
File without extension sometimes default to ruby 0 2022-02-11 2022-09-06
2.2.0 causes LoadError 105 2019-08-28 2022-09-13
Linker errors on FreeBSD (-lm missing) 1 2020-08-23 2022-09-24
Crash at startup with local mount 6 2022-03-29 2022-09-26
Troubleshooting trin startup issue after discv5 version bump 1 2021-07-01 2022-09-23
doom/sudo-this-file does not work, neither does /sudo: (tramp) 3 2021-08-10 2022-08-23
[VisualDiagnostics] RectangleAdorner is broken 0 2022-07-13 2022-09-25
Separate Window Management from IApplication 0 2022-07-19 2022-09-22