The package registers one module, http.handlers.web_bot_authwith caddy.RegisterModule(Handler{}) in init(), and New returns new(Handler). My guess is the Go version.
Could you check what the log says for that error ID? If it is the Go version, is a move to Go 1.27 planned for the scanner and the build server? I’d rather not downgrade dependencies just to register.
I found the issue. The error isn’t for a module in your code, rather in Caddy (this line). The workaround for now is to reduce the Caddy version in your go.mod to v2.11.5 or earlier.
The fix from our side requires supporting address-of composite literals, which I have locally but isn’t deployed.
@smilingfriends, I’ve deployed a fixed version of the site which should accept your module without necessary modifications. That said, I don’t generally recommend having latest Caddy in your go.mod because that forces builds to have that version as minimum, without any possible way to use lower version if they ever need to.