tools-build 2021-10-27

Hi, I’ve started to use tools.build for building uberjars for my services/apps but occasionally building fails with different errors like

Syntax error (IllegalAccessError) compiling at (clojure/tools/reader.clj:1:1).
read-char is not public
or
Syntax error (IllegalAccessError) compiling at (clojure/tools/reader.clj:1:1).
indexing-reader? does not exist
I am typically building in a dockerfile if that matters and typically the build succeeds when I retry. Are errors like these something anyone recognize?

There is/was a potential race condition in how the S3 wagon related bits load code which result in that kind of thing

There is an http://ask.clojure.org question that goes into specifics, which I cannot find, but if you require clojure.tools.deps.alpha.util.s3-transporter at the top of your build.clj it will likely fix it

It may also be fixed in more recent versions of tools.deps if you aren't on the most recent version

Alex Miller (Clojure team) 2021-10-27T14:27:45.097300Z

no changes related to that yet