Build Logs

guizmaii-opensource/scala-nimbus-jose-jwt • 3.8.0-RC2:2025-11-28

Errors

0

Warnings

7

Total Lines

232

1##################################
2Clonning https://github.com/guizmaii-opensource/scala-nimbus-jose-jwt.git into /build/repo using revision v2.3.4
3##################################
4Note: switching to 'c3dbcf3b75491f19560350130b3354c59397a9da'.
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
21Would override fixed Scala version: 3.3.6
22----
23Preparing build for 3.8.0-RC2
24Scala binary version found: 3.8
25Implicitly using source version 3.8
26Scala binary version found: 3.8
27Implicitly using source version 3.8
28Would try to apply common scalacOption (best-effort, sbt/mill only):
29Append: ,REQUIRE:-source:3.8
30Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
31
32Try apply source patch:
33Path: build.sbt
34Pattern: val scala3 = "3.3.6"
35Replacement: val scala3 = "3.8.0-RC2"
36Starting compilation server
37Compiling project (Scala 3.7.3, JVM (17))
38Compiled project (Scala 3.7.3, JVM (17))
39Successfully applied pattern 'val scala3 = "3.3.6"' in build.sbt
40----
41Starting build for 3.8.0-RC2
42Execute tests: true
43sbt project found:
44Sbt version 1.11.2 is not supported, minimal supported version is 1.11.5
45Enforcing usage of sbt in version 1.11.5
46No prepare script found for project guizmaii-opensource/scala-nimbus-jose-jwt
47##################################
48Scala version: 3.8.0-RC2
49Targets: com.guizmaii%scala-nimbus-jose-jwt
50Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.3.6\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}
51##################################
52Using extra scalacOptions: ,REQUIRE:-source:3.8
53Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
54[sbt_options] declare -a sbt_options=()
55[process_args] java_version = '17'
56[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
57# Executing command line:
58java
59-Dfile.encoding=UTF-8
60-Dcommunitybuild.scala=3.8.0-RC2
61-Dcommunitybuild.project.dependencies.add=
62-Xmx7G
63-Xms4G
64-Xss8M
65-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
66-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
67-jar
68/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
69"setCrossScalaVersions 3.8.0-RC2"
70"++3.8.0-RC2 -v"
71"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
72"set every credentials := Nil"
73"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
74"removeScalacOptionsStartingWith -P:wartremover"
75
76moduleMappings
77"runBuild 3.8.0-RC2 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.3.6\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}""" com.guizmaii%scala-nimbus-jose-jwt"
78
79[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
80[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
81[info] loading project definition from /build/repo/project
82[info] compiling 2 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
83[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
84[info] Compilation completed in 9.288s.
85[info] done compiling
86[info] loading settings for project repo from build.sbt...
87[info] set current project to scala-nimbus-jose-jwt (in build file:/build/repo/)
88[warn] there's a key that's not used by any other settings/tasks:
89[warn]
90[warn] * ThisBuild / organization
91[warn] +- /build/repo/build.sbt:37
92[warn]
93[warn] note: a setting might still be used by a command; to exclude a key from this `lintUnused` check
94[warn] either append it to `Global / excludeLintKeys` or call .withRank(KeyRanks.Invisible) on the key
95Execute setCrossScalaVersions: 3.8.0-RC2
96OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in repo/crossScalaVersions
97[info] set current project to scala-nimbus-jose-jwt (in build file:/build/repo/)
98[info] Setting Scala version to 3.8.0-RC2 on 1 projects.
99[info] Switching Scala version on:
100[info] * repo (2.12.20, 2.13.16, 3.8.0-RC2)
101[info] Excluding projects:
102[info] Reapplying settings...
103[info] set current project to scala-nimbus-jose-jwt (in build file:/build/repo/)
104Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
105[info] Reapplying settings...
106[info] set current project to scala-nimbus-jose-jwt (in build file:/build/repo/)
107[info] Defining Global / credentials, credentials
108[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 8 others.
109[info] Run `last` for details.
110[info] Reapplying settings...
111[info] set current project to scala-nimbus-jose-jwt (in build file:/build/repo/)
112Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
113[info] Reapplying settings...
114OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
115
116 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
117 Did you mean allExcludeDependencies ?
118 , retry without global scopes
119[info] Reapplying settings...
120[info] set current project to scala-nimbus-jose-jwt (in build file:/build/repo/)
121Execute removeScalacOptionsStartingWith: -P:wartremover
122[info] Reapplying settings...
123[info] set current project to scala-nimbus-jose-jwt (in build file:/build/repo/)
124[success] Total time: 0 s, completed Nov 28, 2025, 2:24:09 PM
125Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.3.6\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}
126Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
127Starting build...
128Projects: Set(repo)
129Starting build for ProjectRef(file:/build/repo/,repo) (scala-nimbus-jose-jwt)... [0/1]
130OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
131OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
132OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
133OpenCB::Filter out '-Xfatal-warnings', matches setting pattern '^-?-Xfatal-warnings'
134Compile 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
135[info] scalafmt: Formatting 4 Scala sources (/build/repo)...
136[info] scalafmt: Formatting 5 Scala sources (/build/repo)...
137[info] compiling 5 Scala sources to /build/repo/target/scala-3.8.0-RC2/classes ...
138[info] done compiling
139[info] compiling 4 Scala sources to /build/repo/target/scala-3.8.0-RC2/test-classes ...
140[info] done compiling
141[info] Auth0JwtValidatorSpec:
142[info] true
143[info] - not be false
144[info] Auth0JwtValidator
145[info] validates the audience, the issuer and the token expiration
146[info] - when all claims are fine
147[info] when the audience is wrong
148[info] - when the claim is absent
149[info] - when the claim value is empty
150[info] - when the claim value is wrong
151[info] when the issuer is wrong
152[info] - when the claim is absent
153[info] - when the claim value is empty
154[info] - when the claim value is wrong
155[info] when the expiration is wrong
156[info] - when the claim is absent
157[info] - when the claim value is empty
158[info] - when the claim value is wrong
159[info] ConfigurableJwtValidatorSpec:
160[info] true
161[info] - not be false
162[info] #validate
163[info] when the JSON Web Token is an empty String
164[info] - returns Left(EmptyJwtTokenContent)
165[info] when the JWT is invalid
166[info] - returns Left(InvalidToken(Signed JWT rejected: Invalid signature))
167[info] when the JWT was signed with another key
168[info] - returns Left(InvalidJwtToken)
169[info] when the `exp` claim
170[info] is not required but present
171[info] but expired
172[info] - returns Left(InvalidToken: Expired JWT)
173[info] and valid
174[info] - returns Right(token -> claimSet)
175[info] is required
176[info] but not present
177[info] - returns Left(InvalidToken: JWT missing required claims: [exp])
178[info] and present
179[info] but expired
180[info] - returns Left(InvalidToken: Expired JWT)
181[info] and valide
182[info] - returns Right(token -> claimSet)
183[info] when the `use` claim is required
184[info] but not present
185[info] - returns Left(InvalidToken: JWT missing required claims: [token_use])
186[info] present but not the one expected
187[info] - returns Left(InvalidToken: JWT missing required claims: [token_use])
188[info] present and valid
189[info] - returns Right(token -> claimSet)
190[info] when the `iss` claim is required
191[info] but not present
192[info] - returns Left(InvalidToken: JWT missing required claims: [iss])
193[info] and present but not the one expected
194[info] - returns Left(InvalidToken: JWT iss claim has value <value>, must be <expected value>)
195[info] present and valid
196[info] - returns Right(token -> claimSet)
197[info] when the `sub` claim is required
198[info] when not present
199[info] - returns Left(InvalidToken: JWT missing required claims: [sub])
200[info] when present but empty
201[info] - returns Left(JWT sub claim has value '', must be `expectedSub`)
202[info] when present and valid
203[info] - returns Right(token -> claimSet)
204[info] when the `aud` claim is required
205[info] when not present
206[info] - returns Left(InvalidToken: JWT missing required audience)
207[info] when present and invalid
208[info] - returns Left(InvalidToken: JWT audience rejected: [<rejected value>])
209[info] when present and valid
210[info] - returns Right(token -> claimSet)
211
212************************
213Build summary:
214[{
215 "module": "scala-nimbus-jose-jwt",
216 "compile": {"status": "ok", "tookMs": 13932, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
217 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
218 "test-compile": {"status": "ok", "tookMs": 6136, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
219 "test": {"status": "ok", "tookMs": 13145, "passed": 32, "failed": 0, "ignored": 0, "skipped": 0, "total": 32, "byFramework": [{"framework": "unknown", "stats": {"passed": 32, "failed": 0, "ignored": 0, "skipped": 0, "total": 32}}]},
220 "publish": {"status": "skipped", "tookMs": 0},
221 "metadata": {
222 "crossScalaVersions": ["2.12.20", "2.13.16", "3.3.6"]
223}
224}]
225************************
226[success] Total time: 55 s, completed Nov 28, 2025, 2:25:04 PM
227[0JChecking patch project/plugins.sbt...
228Checking patch project/build.properties...
229Checking patch build.sbt...
230Applied patch project/plugins.sbt cleanly.
231Applied patch project/build.properties cleanly.
232Applied patch build.sbt cleanly.