Build Logs
guizmaii-opensource/scala-nimbus-jose-jwt • 3.8.0-RC4:2025-12-22
Errors
0
Warnings
15
Total Lines
280
1##################################
2Clonning https://github.com/guizmaii-opensource/scala-nimbus-jose-jwt.git into /build/repo using revision v3.0.0
3##################################
4Note: switching to '145b8d909746abbdaa1b016698ff854adfa98729'.
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
21----
22Preparing build for 3.8.0-RC4
23Scala binary version found: 3.8
24Implicitly using source version 3.8
25Scala binary version found: 3.8
26Implicitly using source version 3.8
27Would try to apply common scalacOption (best-effort, sbt/mill only):
28Append: ,REQUIRE:-source:3.8
29Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
30----
31Starting build for 3.8.0-RC4
32Execute tests: true
33sbt project found:
34No prepare script found for project guizmaii-opensource/scala-nimbus-jose-jwt
35##################################
36Scala version: 3.8.0-RC4
37Targets: com.guizmaii%scala-nimbus-jose-jwt com.guizmaii%scala-nimbus-jose-jwt-auth0 com.guizmaii%scala-nimbus-jose-jwt-cognito
38Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"25"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}
39##################################
40Using extra scalacOptions: ,REQUIRE:-source:3.8
41Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
42[sbt_options] declare -a sbt_options=()
43[process_args] java_version = '25'
44[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_25/rt.jar'
45# Executing command line:
46java
47-Dfile.encoding=UTF-8
48-Dcommunitybuild.scala=3.8.0-RC4
49-Dcommunitybuild.project.dependencies.add=
50-Xmx7G
51-Xms4G
52-Xss8M
53-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
54-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_25
55-jar
56/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
57"setCrossScalaVersions 3.8.0-RC4"
58"++3.8.0-RC4 -v"
59"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
60"set every credentials := Nil"
61"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
62"removeScalacOptionsStartingWith -P:wartremover"
63
64moduleMappings
65"runBuild 3.8.0-RC4 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"25"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}""" com.guizmaii%scala-nimbus-jose-jwt com.guizmaii%scala-nimbus-jose-jwt-auth0 com.guizmaii%scala-nimbus-jose-jwt-cognito"
66
67[info] [launcher] getting org.scala-sbt sbt 1.11.7 (this may take some time)...
68WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
69WARNING: sun.misc.Unsafe::arrayBaseOffset has been called by net.openhft.hashing.UnsafeAccess (file:/root/.sbt/boot/scala-2.12.20/org.scala-sbt/sbt/1.11.7/zero-allocation-hashing-0.16.jar)
70WARNING: Please consider reporting this to the maintainers of class net.openhft.hashing.UnsafeAccess
71WARNING: sun.misc.Unsafe::arrayBaseOffset will be removed in a future release
72WARNING: A restricted method in java.lang.System has been called
73WARNING: java.lang.System::load has been called by com.sun.jna.Native in an unnamed module (file:/root/.sbt/boot/scala-2.12.20/org.scala-sbt/sbt/1.11.7/jna-5.12.0.jar)
74WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
75WARNING: Restricted methods will be blocked in a future release unless native access is enabled
76
77[info] welcome to sbt 1.11.7 (Eclipse Adoptium Java 25)
78[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
79[info] loading project definition from /build/repo/project
80[info] compiling 3 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
81[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
82[info] Compilation completed in 7.903s.
83[info] done compiling
84[info] loading settings for project scala-nimbus-jose-jwt from build.sbt...
85[info] set current project to scala-nimbus-jose-jwt (in build file:/build/repo/)
86[warn] there's a key that's not used by any other settings/tasks:
87[warn]
88[warn] * ThisBuild / name
89[warn] +- /build/repo/build.sbt:7
90[warn]
91[warn] note: a setting might still be used by a command; to exclude a key from this `lintUnused` check
92[warn] either append it to `Global / excludeLintKeys` or call .withRank(KeyRanks.Invisible) on the key
93Execute setCrossScalaVersions: 3.8.0-RC4
94OpenCB::Changing crossVersion 3.3.7 -> 3.8.0-RC4 in scala-nimbus-jose-jwt/crossScalaVersions
95OpenCB::Limitting incorrect crossVersions List() -> List(3.8.0-RC4) in scala-nimbus-jose-jwt/crossScalaVersions
96OpenCB::Changing crossVersion 3.3.7 -> 3.8.0-RC4 in cognito/crossScalaVersions
97OpenCB::Changing crossVersion 3.3.7 -> 3.8.0-RC4 in core/crossScalaVersions
98OpenCB::Changing crossVersion 3.3.7 -> 3.8.0-RC4 in auth0/crossScalaVersions
99[info] set current project to scala-nimbus-jose-jwt (in build file:/build/repo/)
100[info] Setting Scala version to 3.8.0-RC4 on 4 projects.
101[info] Switching Scala version on:
102[info] * scala-nimbus-jose-jwt (3.8.0-RC4)
103[info] core (3.8.0-RC4)
104[info] auth0 (3.8.0-RC4)
105[info] cognito (3.8.0-RC4)
106[info] Excluding projects:
107[info] Reapplying settings...
108[info] set current project to scala-nimbus-jose-jwt (in build file:/build/repo/)
109Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
110[info] Reapplying settings...
111[info] set current project to scala-nimbus-jose-jwt (in build file:/build/repo/)
112[info] Defining Global / credentials, auth0 / credentials and 2 others.
113[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 35 others.
114[info] Run `last` for details.
115[info] Reapplying settings...
116[info] set current project to scala-nimbus-jose-jwt (in build file:/build/repo/)
117Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
118[info] Reapplying settings...
119OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
120
121 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
122 Did you mean allExcludeDependencies ?
123 , retry without global scopes
124[info] Reapplying settings...
125[info] set current project to scala-nimbus-jose-jwt (in build file:/build/repo/)
126Execute removeScalacOptionsStartingWith: -P:wartremover
127[info] Reapplying settings...
128[info] set current project to scala-nimbus-jose-jwt (in build file:/build/repo/)
129[success] Total time: 0 s, completed Dec 22, 2025, 5:51:41 PM
130Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"25"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}
131Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
132Starting build...
133Projects: Set(scala-nimbus-jose-jwt, auth0, cognito, core)
134Starting build for ProjectRef(file:/build/repo/,scala-nimbus-jose-jwt) (scala-nimbus-jose-jwt)... [0/4]
135OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
136OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
137OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
138OpenCB::Filter out '-Xfatal-warnings', matches setting pattern '^-?-Xfatal-warnings'
139Compile scalacOptions: -encoding, utf8, -unchecked, -language:experimental.macros, -language:higherKinds, -language:implicitConversions, -Xkind-projector, -Wvalue-discard, -Wnonunit-statement, -Wunused:implicits, -Wunused:explicits, -Wunused:imports, -Wunused:locals, -Wunused:params, -Wunused:privates, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
140Starting build for ProjectRef(file:/build/repo/,auth0) (scala-nimbus-jose-jwt-auth0)... [1/4]
141Compile scalacOptions: -encoding, utf8, -unchecked, -language:experimental.macros, -language:higherKinds, -language:implicitConversions, -Xkind-projector, -Wvalue-discard, -Wnonunit-statement, -Wunused:implicits, -Wunused:explicits, -Wunused:imports, -Wunused:locals, -Wunused:params, -Wunused:privates, -no-indent, -language:noAutoTupling, -release:17, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
142[info] scalafmt: Formatting 3 Scala sources (/build/repo/core)...
143[info] scalafmt: Formatting 1 Scala sources (/build/repo/auth0)...
144[info] scalafmt: Formatting 3 Scala sources (/build/repo/auth0)...
145[info] scalafmt: Formatting 5 Scala sources (/build/repo/core)...
146[info] compiling 5 Scala sources to /build/repo/core/target/scala-3.8.0-RC4/classes ...
147[info] done compiling
148[info] compiling 3 Scala sources to /build/repo/auth0/target/scala-3.8.0-RC4/classes ...
149[info] done compiling
150[info] compiling 3 Scala sources to /build/repo/core/target/scala-3.8.0-RC4/test-classes ...
151[info] done compiling
152[info] compiling 1 Scala source to /build/repo/auth0/target/scala-3.8.0-RC4/test-classes ...
153[info] done compiling
154[info] Auth0JwtValidatorSpec:
155[info] true
156[info] - not be false
157[info] Auth0JwtValidator
158[info] validates the audience, the issuer and the token expiration
159[info] - when all claims are fine
160[info] when the audience is wrong
161[info] - when the claim is absent
162[info] - when the claim value is empty
163[info] - when the claim value is wrong
164[info] when the issuer is wrong
165[info] - when the claim is absent
166[info] - when the claim value is empty
167[info] - when the claim value is wrong
168[info] when the expiration is wrong
169[info] - when the claim is absent
170[info] - when the claim value is empty
171[info] - when the claim value is wrong
172Starting build for ProjectRef(file:/build/repo/,cognito) (scala-nimbus-jose-jwt-cognito)... [2/4]
173Compile scalacOptions: -encoding, utf8, -unchecked, -language:experimental.macros, -language:higherKinds, -language:implicitConversions, -Xkind-projector, -Wvalue-discard, -Wnonunit-statement, -Wunused:implicits, -Wunused:explicits, -Wunused:imports, -Wunused:locals, -Wunused:params, -Wunused:privates, -no-indent, -language:noAutoTupling, -release:17, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
174[info] scalafmt: Formatting 3 Scala sources (/build/repo/cognito)...
175[info] compiling 3 Scala sources to /build/repo/cognito/target/scala-3.8.0-RC4/classes ...
176[info] done compiling
177Starting build for ProjectRef(file:/build/repo/,core) (scala-nimbus-jose-jwt)... [3/4]
178Compile scalacOptions: -encoding, utf8, -unchecked, -language:experimental.macros, -language:higherKinds, -language:implicitConversions, -Xkind-projector, -Wvalue-discard, -Wnonunit-statement, -Wunused:implicits, -Wunused:explicits, -Wunused:imports, -Wunused:locals, -Wunused:params, -Wunused:privates, -no-indent, -language:noAutoTupling, -release:17, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
179[info] ConfigurableJwtValidatorSpec:
180[info] true
181[info] - not be false
182[info] #validate
183[info] when the JSON Web Token is an empty String
184[info] - returns Left(EmptyJwtTokenContent)
185[info] when the JWT is invalid
186[info] - returns Left(InvalidToken(Signed JWT rejected: Invalid signature))
187[info] when the JWT was signed with another key
188[info] - returns Left(InvalidJwtToken)
189[info] when the `exp` claim
190[info] is not required but present
191[info] but expired
192[info] - returns Left(InvalidToken: Expired JWT)
193[info] and valid
194[info] - returns Right(token -> claimSet)
195[info] is required
196[info] but not present
197[info] - returns Left(InvalidToken: JWT missing required claims: [exp])
198[info] and present
199[info] but expired
200[info] - returns Left(InvalidToken: Expired JWT)
201[info] and valide
202[info] - returns Right(token -> claimSet)
203[info] when the `use` claim is required
204[info] but not present
205[info] - returns Left(InvalidToken: JWT missing required claims: [token_use])
206[info] present but not the one expected
207[info] - returns Left(InvalidToken: JWT missing required claims: [token_use])
208[info] present and valid
209[info] - returns Right(token -> claimSet)
210[info] when the `iss` claim is required
211[info] but not present
212[info] - returns Left(InvalidToken: JWT missing required claims: [iss])
213[info] and present but not the one expected
214[info] - returns Left(InvalidToken: JWT iss claim value rejected)
215[info] present and valid
216[info] - returns Right(token -> claimSet)
217[info] when the `sub` claim is required
218[info] when not present
219[info] - returns Left(InvalidToken: JWT missing required claims: [sub])
220[info] when present but empty
221[info] - returns Left(JWT sub claim value rejected)
222[info] when present and valid
223[info] - returns Right(token -> claimSet)
224[info] when the `aud` claim is required
225[info] when not present
226[info] - returns Left(InvalidToken: JWT missing required aud claim)
227[info] when present and invalid
228[info] - returns Left(InvalidToken: JWT aud claim rejected)
229[info] when present and valid
230[info] - returns Right(token -> claimSet)
231
232************************
233Build summary:
234[{
235 "module": "scala-nimbus-jose-jwt",
236 "compile": {"status": "ok", "tookMs": 3169, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
237 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
238 "test-compile": {"status": "ok", "tookMs": 120, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
239 "test": {"status": "ok", "tookMs": 108, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
240 "publish": {"status": "ok", "tookMs": 4},
241 "metadata": {
242 "crossScalaVersions": []
243}
244},{
245 "module": "scala-nimbus-jose-jwt-auth0",
246 "compile": {"status": "ok", "tookMs": 8343, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
247 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
248 "test-compile": {"status": "ok", "tookMs": 5834, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
249 "test": {"status": "ok", "tookMs": 9593, "passed": 11, "failed": 0, "ignored": 0, "skipped": 0, "total": 11, "byFramework": [{"framework": "unknown", "stats": {"passed": 11, "failed": 0, "ignored": 0, "skipped": 0, "total": 11}}]},
250 "publish": {"status": "skipped", "tookMs": 0},
251 "metadata": {
252 "crossScalaVersions": ["3.3.7"]
253}
254},{
255 "module": "scala-nimbus-jose-jwt-cognito",
256 "compile": {"status": "ok", "tookMs": 564, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
257 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
258 "test-compile": {"status": "ok", "tookMs": 156, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
259 "test": {"status": "ok", "tookMs": 158, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
260 "publish": {"status": "skipped", "tookMs": 0},
261 "metadata": {
262 "crossScalaVersions": ["3.3.7"]
263}
264},{
265 "module": "scala-nimbus-jose-jwt",
266 "compile": {"status": "ok", "tookMs": 52, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
267 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
268 "test-compile": {"status": "ok", "tookMs": 98, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
269 "test": {"status": "ok", "tookMs": 8850, "passed": 21, "failed": 0, "ignored": 0, "skipped": 0, "total": 21, "byFramework": [{"framework": "unknown", "stats": {"passed": 21, "failed": 0, "ignored": 0, "skipped": 0, "total": 21}}]},
270 "publish": {"status": "skipped", "tookMs": 0},
271 "metadata": {
272 "crossScalaVersions": ["3.3.7"]
273}
274}]
275************************
276[success] Total time: 53 s, completed Dec 22, 2025, 5:52:35 PM
277[0JChecking patch project/plugins.sbt...
278Checking patch build.sbt...
279Applied patch project/plugins.sbt cleanly.
280Applied patch build.sbt cleanly.