Build Logs
blackdoor/jose • 3.7.4:2025-11-06
Errors
12
Warnings
61
Total Lines
330
1##################################
2Clonning https://github.com/blackdoor/jose.git into /build/repo using revision 0.4.6
3##################################
4Note: switching to '03a7e7061761386b2f5aa348ea08c69ca6555875'.
5
6You are in 'detached HEAD' state. You can look around, make experimental
7changes and commit them, and you can discard any commits you make in this
8state without impacting any branches by switching back to a branch.
9
10If you want to create a new branch to retain commits you create, you may
11do so (now or later) by using -c with the switch command. Example:
12
13 git switch -c <new-branch-name>
14
15Or undo this operation with:
16
17 git switch -
18
19Turn off this advice by setting config variable advice.detachedHead to false
20
21Using target Scala version for migration: 3.7.4-RC2
22Migrating project for -source:3.4 using Scala 3.7.4-RC2
23----
24Preparing build for 3.7.4-RC2
25Would try to apply common scalacOption (best-effort, sbt/mill only):
26Append: -rewrite,REQUIRE:-source:3.4-migration
27Remove: -indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
28----
29Starting build for 3.7.4-RC2
30Execute tests: false
31Mill project found:
32Found explicit mill version 0.9.8 in ./mill-version
33Detected mill version=0.9.8, binary version: 0.9
34No prepare script found for project blackdoor/jose
35No mill build directory found
36Apply scalafix rules to ./build.sc
37Successfully applied pattern 'package build\n' in /build/repo/MillCommunityBuild.sc
38Successfully applied pattern 'import CommunityBuildCore.' in /build/repo/MillCommunityBuild.sc
39Successfully applied pattern 'import MillVersionCompat.' in /build/repo/MillCommunityBuild.sc
40##################################
41Scala version: 3.7.4-RC2
42Targets: black.door%jose black.door%jose-json-circe
43Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.4"],"sourcePatches":[]}
44##################################
45 % Total % Received % Xferd Average Speed Time Time Time Current
46 Dload Upload Total Spent Left Speed
47
48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
50
51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
52
53 99 60.3M 99 60.2M 0 0 79.4M 0 --:--:-- --:--:-- --:--:-- 79.4M
54100 60.3M 100 60.3M 0 0 79.4M 0 --:--:-- --:--:-- --:--:-- 94.9M
55Preparing Java 17.0.8 runtime; this may take a minute or two ...
56Downloading https://repo1.maven.org/maven2/com/lihaoyi/upickle_2.13/3.0.0/upickle_2.13-3.0.0.pom
57Downloaded https://repo1.maven.org/maven2/com/lihaoyi/upickle_2.13/3.0.0/upickle_2.13-3.0.0.pom
58Downloading https://repo1.maven.org/maven2/com/lihaoyi/upack_2.13/3.0.0/upack_2.13-3.0.0.pom
59Downloading https://repo1.maven.org/maven2/com/lihaoyi/ujson_2.13/3.0.0/ujson_2.13-3.0.0.pom
60Downloading https://repo1.maven.org/maven2/com/lihaoyi/upickle-implicits_2.13/3.0.0/upickle-implicits_2.13-3.0.0.pom
61Downloaded https://repo1.maven.org/maven2/com/lihaoyi/upack_2.13/3.0.0/upack_2.13-3.0.0.pom
62Downloaded https://repo1.maven.org/maven2/com/lihaoyi/ujson_2.13/3.0.0/ujson_2.13-3.0.0.pom
63Downloaded https://repo1.maven.org/maven2/com/lihaoyi/upickle-implicits_2.13/3.0.0/upickle-implicits_2.13-3.0.0.pom
64Downloading https://repo1.maven.org/maven2/com/lihaoyi/upickle-core_2.13/3.0.0/upickle-core_2.13-3.0.0.pom
65Downloaded https://repo1.maven.org/maven2/com/lihaoyi/upickle-core_2.13/3.0.0/upickle-core_2.13-3.0.0.pom
66Downloading https://repo1.maven.org/maven2/com/lihaoyi/ujson_2.13/3.0.0/ujson_2.13-3.0.0-sources.jar
67Downloading https://repo1.maven.org/maven2/com/lihaoyi/upack_2.13/3.0.0/upack_2.13-3.0.0-sources.jar
68Downloading https://repo1.maven.org/maven2/com/lihaoyi/upack_2.13/3.0.0/upack_2.13-3.0.0.jar
69Downloading https://repo1.maven.org/maven2/com/lihaoyi/upickle_2.13/3.0.0/upickle_2.13-3.0.0-sources.jar
70Downloading https://repo1.maven.org/maven2/com/lihaoyi/upickle-core_2.13/3.0.0/upickle-core_2.13-3.0.0.jar
71Downloading https://repo1.maven.org/maven2/com/lihaoyi/upickle-core_2.13/3.0.0/upickle-core_2.13-3.0.0-sources.jar
72Downloaded https://repo1.maven.org/maven2/com/lihaoyi/upickle-core_2.13/3.0.0/upickle-core_2.13-3.0.0-sources.jar
73Downloading https://repo1.maven.org/maven2/com/lihaoyi/upickle-implicits_2.13/3.0.0/upickle-implicits_2.13-3.0.0.jar
74Downloaded https://repo1.maven.org/maven2/com/lihaoyi/ujson_2.13/3.0.0/ujson_2.13-3.0.0-sources.jar
75Downloading https://repo1.maven.org/maven2/com/lihaoyi/upickle-implicits_2.13/3.0.0/upickle-implicits_2.13-3.0.0-sources.jar
76Downloaded https://repo1.maven.org/maven2/com/lihaoyi/upack_2.13/3.0.0/upack_2.13-3.0.0-sources.jar
77Downloading https://repo1.maven.org/maven2/com/lihaoyi/upickle_2.13/3.0.0/upickle_2.13-3.0.0.jar
78Downloaded https://repo1.maven.org/maven2/com/lihaoyi/upack_2.13/3.0.0/upack_2.13-3.0.0.jar
79Downloading https://repo1.maven.org/maven2/com/lihaoyi/ujson_2.13/3.0.0/ujson_2.13-3.0.0.jar
80Downloaded https://repo1.maven.org/maven2/com/lihaoyi/upickle_2.13/3.0.0/upickle_2.13-3.0.0-sources.jar
81Downloaded https://repo1.maven.org/maven2/com/lihaoyi/upickle-core_2.13/3.0.0/upickle-core_2.13-3.0.0.jar
82Downloaded https://repo1.maven.org/maven2/com/lihaoyi/upickle-implicits_2.13/3.0.0/upickle-implicits_2.13-3.0.0-sources.jar
83Downloaded https://repo1.maven.org/maven2/com/lihaoyi/upickle_2.13/3.0.0/upickle_2.13-3.0.0.jar
84Downloaded https://repo1.maven.org/maven2/com/lihaoyi/upickle-implicits_2.13/3.0.0/upickle-implicits_2.13-3.0.0.jar
85Downloaded https://repo1.maven.org/maven2/com/lihaoyi/ujson_2.13/3.0.0/ujson_2.13-3.0.0.jar
86Compiling /build/repo/MillVersionCompat.sc
87Compiling /build/repo/CommunityBuildCore.sc
88Compiling /build/repo/MillCommunityBuild.sc
89Compiling /build/repo/build.sc
90[1/1] resolve
91Try build using ./mill
92Build config: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.4"],"sourcePatches":[]}
93Parsed config: ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly)
94OpenCB::Use cross-version 3.7.4-RC2 instead of 3.0.0
95
96Starting build for jose - [0/2]
97Failed to resolve scalaVersion, assume it's Scala 3 project
98OpenCB::Filter out '-Xfatal-warnings', matches setting pattern '^-?-Xfatal-warnings'
99OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
100OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
101[info] compiling 20 Scala sources to /build/repo/out/jose/3.7.4-RC2/compile/dest/classes ...
102[warn] -- Warning: /build/repo/jose/src/black/door/jose/jws/Jws.scala:44:38 -----------
103[warn] 44 | .andThen(encoder.encodeToString _)
104[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^
105[warn] |The syntax `<function> _` is no longer supported;
106[warn] |you can simply leave out the trailing ` _`
107[warn] |This construct can be rewritten automatically under -rewrite -source 3.4-migration.
108[warn] -- Warning: /build/repo/jose/src/black/door/jose/jwt/JwtValidator.scala:32:55 --
109[warn] 32 | validators.fold(fromSync(PartialFunction.empty))(_ orElse _)
110[warn] | ^^^^^^
111[warn] |Alphanumeric method orElse is not declared infix; it should not be used as infix operator.
112[warn] |Instead, use method syntax .orElse(...) or backticked identifier `orElse`.
113[warn] |The latter can be rewritten automatically under -rewrite -source 3.4-migration.
114[info] [patched file /build/repo/jose/src/black/door/jose/jwt/JwtValidator.scala]
115[info] [patched file /build/repo/jose/src/black/door/jose/jws/Jws.scala]
116[warn] two warnings found
117[info] done compiling
118Successfully evaluated jose[3.7.4-RC2].compile
119[info] compiling 20 Scala sources to /build/repo/out/jose/3.7.4-RC2/compile/dest/classes ...
120[info] done compiling
121Skipping unused scalacOptions: -source, -rewrite
122Flag -classpath set repeatedly
123-- Warning: jose/src/black/door/jose/adopted/DerTools.scala:22:6 ---------------
12422 | def transcodeSignatureToConcat(derSignature: Array[Byte], outputLength: Int): Array[Byte] = {
125 | ^
126 | Couldn't resolve a member for the given link query: SignatureException
127-- Warning: jose/src/black/door/jose/adopted/DerTools.scala:73:6 ---------------
12873 | def transcodeSignatureToDER(jwsSignature: Array[Byte]): Array[Byte] = {
129 | ^
130 | Couldn't resolve a member for the given link query: SignatureException
1313 warnings found
132Successfully evaluated jose[3.7.4-RC2].docJar
133[info] compiling 4 Scala sources to /build/repo/out/jose/3.7.4-RC2/test/compile/dest/classes ...
134[warn] -- Warning: /build/repo/jose/test/src/black/door/jose/JwtSpec.scala:38:64 ------
135[warn] 38 | val Array(headerC, payloadC, signatureC, _*) = compact.split('.')
136[warn] | ^^^^^^^^^^^^^^^^^^
137[warn] |pattern's type String* does not match the right hand side expression's type String
138[warn] |
139[warn] |If the narrowing is intentional, this can be communicated by adding `: @unchecked` after the expression,
140[warn] |which may result in a MatchError at runtime.
141[warn] |This patch can be rewritten automatically under -rewrite -source 3.2-migration.
142[info] [patched file /build/repo/jose/test/src/black/door/jose/JwtSpec.scala]
143[warn] there were 10 deprecation warnings; re-run with -deprecation for details
144[warn] two warnings found
145[info] done compiling
146Successfully evaluated jose[3.7.4-RC2].test.compile
147Failed to evaluated jose[3.7.4-RC2].publishLocal: Exception(java.util.NoSuchElementException,mill.api.Result$OuterStack@a52c680f)
148
149Starting build for jose-json-circe - [1/2]
150Failed to resolve scalaVersion, assume it's Scala 3 project
151[info] compiling 5 Scala sources to /build/repo/out/json/circe/3.7.4-RC2/compile/dest/classes ...
152[warn] -- Warning: /build/repo/json/circe/src/black/door/jose/json/circe/jwt/JwtJsonSupport.scala:15:25
153[warn] 15 | implicit private[this] val instantEncoder: Encoder[Instant] =
154[warn] | ^
155[warn] |Ignoring [this] qualifier.
156[warn] |This syntax will be deprecated in the future; it should be dropped.
157[warn] |See: https://docs.scala-lang.org/scala3/reference/dropped-features/this-qualifier.html
158[warn] |This construct can be rewritten automatically under -rewrite -source 3.4-migration.
159[warn] -- Warning: /build/repo/json/circe/src/black/door/jose/json/circe/jwt/JwtJsonSupport.scala:18:25
160[warn] 18 | implicit private[this] val instantDecoder: Decoder[Instant] =
161[warn] | ^
162[warn] |Ignoring [this] qualifier.
163[warn] |This syntax will be deprecated in the future; it should be dropped.
164[warn] |See: https://docs.scala-lang.org/scala3/reference/dropped-features/this-qualifier.html
165[warn] |This construct can be rewritten automatically under -rewrite -source 3.4-migration.
166[info] [patched file /build/repo/json/circe/src/black/door/jose/json/circe/jwt/JwtJsonSupport.scala]
167[warn] two warnings found
168[info] done compiling
169Successfully evaluated json.circe[3.7.4-RC2].compile
170[info] compiling 5 Scala sources to /build/repo/out/json/circe/3.7.4-RC2/compile/dest/classes ...
171[info] done compiling
172Skipping unused scalacOptions: -source, -rewrite
173Flag -classpath set repeatedly
1741 warning found
175Successfully evaluated json.circe[3.7.4-RC2].docJar
176[info] compiling 4 Scala sources to /build/repo/out/jose/3.7.4-RC2/test/compile/dest/classes ...
177[warn] there were 10 deprecation warnings; re-run with -deprecation for details
178[warn] one warning found
179[info] done compiling
180[info] compiling 3 Scala sources to /build/repo/out/json/circe/3.7.4-RC2/test/compile/dest/classes ...
181[warn] -- Warning: /build/repo/json/circe/test/src/black/door/jose/CirceJwkSpec.scala:11:38
182[warn] 11 | def jwkDeserializer = json => decode(json)(Decoder[Jwk]).left.map(_.toString)
183[warn] | ^^^^^^^^^^^^
184[warn] |Context bounds will map to context parameters.
185[warn] |A `using` clause is needed to pass explicit arguments to them.
186[warn] |This code can be rewritten automatically under -rewrite -source 3.4-migration.
187[info] [patched file /build/repo/json/circe/test/src/black/door/jose/CirceJwkSpec.scala]
188[warn] one warning found
189[info] done compiling
190Successfully evaluated json.circe[3.7.4-RC2].test.compile
191Failed to evaluated json.circe[3.7.4-RC2].publishLocal: Exception(java.util.NoSuchElementException,mill.api.Result$OuterStack@88244ec0)
192
193************************
194Build summary:
195[{
196 "module": "jose",
197 "compile": {"status": "ok", "tookMs": 13065, "warnings": 0, "errors": 0},
198 "doc": {"status": "ok", "tookMs": 15031, "files": 1, "totalSizeKb": 2820},
199 "test-compile": {"status": "ok", "tookMs": 9188, "warnings": 0, "errors": 0},
200 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
201 "publish": {"status": "skipped", "failureContext": {"type": "buildError", "reasons": ["java.util.NoSuchElementException"]}, "tookMs": 363},
202 "metadata": {
203 "crossScalaVersions": ["2.12.13", "3.0.0", "2.13.5"]
204}
205},{
206 "module": "jose-json-circe",
207 "compile": {"status": "ok", "tookMs": 8204, "warnings": 0, "errors": 0},
208 "doc": {"status": "ok", "tookMs": 11017, "files": 1, "totalSizeKb": 2664},
209 "test-compile": {"status": "ok", "tookMs": 15404, "warnings": 0, "errors": 0},
210 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
211 "publish": {"status": "skipped", "failureContext": {"type": "buildError", "reasons": ["java.util.NoSuchElementException"]}, "tookMs": 258},
212 "metadata": {
213 "crossScalaVersions": ["2.12.13", "3.0.0", "2.13.5"]
214}
215}]
216************************"
217
218Checking patch build.sc...
219Applied patch build.sc cleanly.
220Commit migration rewrites
221Switched to a new branch 'opencb/migrate-source-3.4'
222[opencb/migrate-source-3.4 ee54686] Apply Scala compiler rewrites using -source:3.4-migration using Scala 3.7.4-RC2
223 5 files changed, 6 insertions(+), 6 deletions(-)
224----
225Preparing build for 3.7.4
226Scala binary version found: 3.7
227Implicitly using source version 3.7
228Scala binary version found: 3.7
229Implicitly using source version 3.7
230Would try to apply common scalacOption (best-effort, sbt/mill only):
231Append: ,REQUIRE:-source:3.7
232Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
233----
234Starting build for 3.7.4
235Execute tests: false
236Mill project found:
237Found explicit mill version 0.9.8 in ./mill-version
238Detected mill version=0.9.8, binary version: 0.9
239No prepare script found for project blackdoor/jose
240No mill build directory found
241Apply scalafix rules to ./build.sc
242Successfully applied pattern 'package build\n' in /build/repo/MillCommunityBuild.sc
243Successfully applied pattern 'import CommunityBuildCore.' in /build/repo/MillCommunityBuild.sc
244Successfully applied pattern 'import MillVersionCompat.' in /build/repo/MillCommunityBuild.sc
245##################################
246Scala version: 3.7.4
247Targets: black.door%jose black.door%jose-json-circe
248Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.4"],"sourcePatches":[]}
249##################################
250Compiling /build/repo/build.sc
251[1/1] resolve
252Try build using ./mill
253Build config: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.4"],"sourcePatches":[]}
254Parsed config: ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly)
255OpenCB::Use cross-version 3.7.4 instead of 3.0.0
256
257Starting build for jose - [0/2]
258Failed to resolve scalaVersion, assume it's Scala 3 project
259OpenCB::Filter out '-Xfatal-warnings', matches setting pattern '^-?-Xfatal-warnings'
260OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
261OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
262[info] compiling 20 Scala sources to /build/repo/out/jose/3.7.4/compile/dest/classes ...
263[warn] -- Warning: /build/repo/jose/src/black/door/jose/jwt/Jwt.scala:110:10 ----------
264[warn] 110 | payloadDeserializer,
265[warn] | ^^^^^^^^^^^^^^^^^^^
266[warn] |Implicit parameters should be provided with a `using` clause.
267[warn] |This code can be rewritten automatically under -rewrite -source 3.7-migration.
268[warn] |To disable the warning, please use the following option:
269[warn] | "-Wconf:msg=Implicit parameters should be provided with a `using` clause:s"
270[warn] one warning found
271[info] done compiling
272Successfully evaluated jose[3.7.4].compile
273Flag -classpath set repeatedly
274-- Warning: jose/src/black/door/jose/adopted/DerTools.scala:22:6 ---------------
27522 | def transcodeSignatureToConcat(derSignature: Array[Byte], outputLength: Int): Array[Byte] = {
276 | ^
277 | Couldn't resolve a member for the given link query: SignatureException
278-- Warning: jose/src/black/door/jose/adopted/DerTools.scala:73:6 ---------------
27973 | def transcodeSignatureToDER(jwsSignature: Array[Byte]): Array[Byte] = {
280 | ^
281 | Couldn't resolve a member for the given link query: SignatureException
2823 warnings found
283Successfully evaluated jose[3.7.4].docJar
284[info] compiling 4 Scala sources to /build/repo/out/jose/3.7.4/test/compile/dest/classes ...
285[warn] there were 10 deprecation warnings; re-run with -deprecation for details
286[warn] one warning found
287[info] done compiling
288Successfully evaluated jose[3.7.4].test.compile
289Failed to evaluated jose[3.7.4].publishLocal: Exception(java.util.NoSuchElementException,mill.api.Result$OuterStack@a52c680f)
290
291Starting build for jose-json-circe - [1/2]
292Failed to resolve scalaVersion, assume it's Scala 3 project
293[info] compiling 5 Scala sources to /build/repo/out/json/circe/3.7.4/compile/dest/classes ...
294[info] done compiling
295Successfully evaluated json.circe[3.7.4].compile
296Flag -classpath set repeatedly
2971 warning found
298Successfully evaluated json.circe[3.7.4].docJar
299[info] compiling 3 Scala sources to /build/repo/out/json/circe/3.7.4/test/compile/dest/classes ...
300[info] done compiling
301Successfully evaluated json.circe[3.7.4].test.compile
302Failed to evaluated json.circe[3.7.4].publishLocal: Exception(java.util.NoSuchElementException,mill.api.Result$OuterStack@88244ec0)
303
304************************
305Build summary:
306[{
307 "module": "jose",
308 "compile": {"status": "ok", "tookMs": 11614, "warnings": 0, "errors": 0},
309 "doc": {"status": "ok", "tookMs": 5775, "files": 1, "totalSizeKb": 2820},
310 "test-compile": {"status": "ok", "tookMs": 8876, "warnings": 0, "errors": 0},
311 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
312 "publish": {"status": "skipped", "failureContext": {"type": "buildError", "reasons": ["java.util.NoSuchElementException"]}, "tookMs": 338},
313 "metadata": {
314 "crossScalaVersions": ["2.12.13", "3.0.0", "2.13.5"]
315}
316},{
317 "module": "jose-json-circe",
318 "compile": {"status": "ok", "tookMs": 7398, "warnings": 0, "errors": 0},
319 "doc": {"status": "ok", "tookMs": 3339, "files": 1, "totalSizeKb": 2664},
320 "test-compile": {"status": "ok", "tookMs": 6396, "warnings": 0, "errors": 0},
321 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
322 "publish": {"status": "skipped", "failureContext": {"type": "buildError", "reasons": ["java.util.NoSuchElementException"]}, "tookMs": 272},
323 "metadata": {
324 "crossScalaVersions": ["2.12.13", "3.0.0", "2.13.5"]
325}
326}]
327************************"
328
329Checking patch build.sc...
330Applied patch build.sc cleanly.