Build Logs
kiberstender/fjwt • 3.8.0-RC2:2025-11-28
Errors
4
Warnings
16
Total Lines
269
1##################################
2Clonning https://github.com/kiberstender/fjwt.git into /build/repo using revision v1.0.3
3##################################
4Note: switching to '5d9e8b4a22c1ad721a55bcf348e27e09b981a5ba'.
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.2.1
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: project/Common.scala
34Pattern: val scala3Version = "3.2.1"
35Replacement: val scala3Version = "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 scala3Version = "3.2.1"' in project/Common.scala
40----
41Starting build for 3.8.0-RC2
42Execute tests: true
43sbt project found:
44Sbt version 1.7.1 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 kiberstender/fjwt
47##################################
48Scala version: 3.8.0-RC2
49Targets: io.github.kiberStender%fjwt
50Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"project/Common.scala","pattern":"val scala3Version = \"3.2.1\"","replaceWith":"val scala3Version = \"<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":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"project/Common.scala","pattern":"val scala3Version = \"3.2.1\"","replaceWith":"val scala3Version = \"<SCALA_VERSION>\""}]}""" io.github.kiberStender%fjwt"
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, metals.sbt, plugins.sbt, sbt.sbt...
81[info] loading project definition from /build/repo/project
82[info] compiling 4 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.193s.
85[info] done compiling
86[info] loading settings for project root from build.sbt, version.sbt...
87[info] set current project to fJWT (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 / publishMavenStyle
91[warn] +- /build/repo/build.sbt:10
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 root/crossScalaVersions
97OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC2) in root/crossScalaVersions
98[info] set current project to fJWT (in build file:/build/repo/)
99[info] Setting Scala version to 3.8.0-RC2 on 1 projects.
100[info] Switching Scala version on:
101[info] * root (3.8.0-RC2)
102[info] Excluding projects:
103[info] Reapplying settings...
104[info] set current project to fJWT (in build file:/build/repo/)
105Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
106[info] Reapplying settings...
107[info] set current project to fJWT (in build file:/build/repo/)
108[info] Defining Global / credentials, ThisBuild / credentials, credentials
109[info] The new values will be used by Global / pgpSelectPassphrase, Global / pgpSigningKey and 5 others.
110[info] Run `last` for details.
111[info] Reapplying settings...
112[info] set current project to fJWT (in build file:/build/repo/)
113Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
114[info] Reapplying settings...
115OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
116
117 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
118 Did you mean allExcludeDependencies ?
119 , retry without global scopes
120[info] Reapplying settings...
121[info] set current project to fJWT (in build file:/build/repo/)
122Execute removeScalacOptionsStartingWith: -P:wartremover
123[info] Reapplying settings...
124[info] set current project to fJWT (in build file:/build/repo/)
125[success] Total time: 0 s, completed Nov 28, 2025, 2:43:01 PM
126Build config: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"project/Common.scala","pattern":"val scala3Version = \"3.2.1\"","replaceWith":"val scala3Version = \"<SCALA_VERSION>\""}]}
127Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
128Starting build...
129Projects: Set(root)
130Starting build for ProjectRef(file:/build/repo/,root) (fjwt)... [0/1]
131OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
132OpenCB::Filter out '-source:future', matches setting pattern '^-?-source(:.*)?'
133OpenCB::Filter out '-source:future-migration', matches setting pattern '^-?-source(:.*)?'
134Compile scalacOptions: -Wconf:msg=can be rewritten automatically under:s, -source:3.8
135[info] compiling 12 Scala sources to /build/repo/target/scala-3.8.0-RC2/classes ...
136[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/src/main/scala/io/github/kiberStender/fjwt/model/Alg.scala:28:50
137[warn] 28 | def toHmacAlgorithms: HmacEncoderAlgorithms = alg match {
138[warn] | ^^^
139[warn] |match may not be exhaustive.
140[warn] |
141[warn] |It would fail on pattern case: io.github.kiberStender.fjwt.model.Alg(_, _)
142[warn] |
143[warn] | longer explanation available when compiling with `-explain`
144[warn] one warning found
145[info] done compiling
146[info] compiling 15 Scala sources to /build/repo/target/scala-3.8.0-RC2/test-classes ...
147[info] done compiling
148[info] Instrumenting 50 classes to /build/repo/target/scala-3.8.0-RC2/jacoco/instrumented-classes
149[info] Instrumenting 50 classes to /build/repo/target/scala-3.8.0-RC2/jacoco/instrumented-classes
150[info] JWTEncoderLocalDateTimeTest:
151[info] JWTEncoder
152[info] - should generate a JWT Token
153[info] - should also generate a JWT Token when expiration time is set
154[info] - should raise an exception when the private keys is empty
155[info] - should raise an exception when the private keys is null
156[info] Base64EncoderTest:
157[info] Base64Encoder
158[info] - should encrypt the header
159[info] - must encrypt the payload
160[info] HS256EncoderTest:
161[info] HS256Encoder
162[info] - should encrypt a JWT Token
163[info] HS1EncoderTest:
164[info] HS1Encoder
165[info] - should encrypt a JWT Token
166[info] HS224EncoderTest:
167[info] HS224Encoder
168[info] - should encrypt a JWT Token
169[info] HS384EncoderTest:
170[info] HS384Encoder
171[info] - should encrypt a JWT Token
172[info] JWTDecoderNoExpirationValidationTest:
173[info] JWTDecoderUseHeaderNoExpirationValidation
174[info] - should decode a given token
175[info] + Given An encrypted token and its private key
176[info] + When Decoding this token
177[info] + Then It should return the correct Payload
178[info] - must fail to decode a token with the wrong signature
179[info] - must fail to decode a token with less than 3 parts
180[info] - must fail to decode a token with less than 2 parts
181[info] - must fail to decode when the the private key is null
182[info] - must fail to decode when the the private key is empty
183[info] - must fail to decode when the token is null
184[info] - must fail to decode when the token is empty
185[info] HS512EncoderTest:
186[info] HS512Encoder
187[info] - should encrypt a JWT Token
188[info] JWTEncoderLongTest:
189[info] JWTEncoder
190[info] - should generate a JWT Token
191[info] - should also generate a JWT Token when expiration time is set
192[info] - should raise an exception when the private keys is empty
193[info] - should raise an exception when the private keys is null
194[info] Base64DecoderTest:
195[info] Base64Decoder
196[info] - should decrypt the header
197[info] - must decrypt the payload
198[info] JWTDecoderUseHeaderNoExpirationValidationTest:
199[info] JWTDecoderUseHeaderNoExpirationValidation
200[info] - should decode a given token
201[info] + Given An encrypted token and its private key
202[info] + When Decoding this token
203[info] + Then It should return the correct Payload
204[info] - must fail to decode a token with the wrong signature
205[info] - must fail to decode a token with less than 3 parts
206[info] - must fail to decode a token with less than 2 parts
207[info] - must fail to decode when the the private key is null
208[info] - must fail to decode when the the private key is empty
209[info] - must fail to decode when the token is null
210[info] - must fail to decode when the token is empty
211[info] JWTDecoderNoValidationTest:
212[info] JWTDecoderNoValidation
213[info] - should decode a given token
214[info] + Given An encrypted token and its private key
215[info] + When Decoding this token
216[info] + Then It should return the correct Payload
217[info] - must decode a token with only two parts
218[info] - must fail to decode a token with less than 2 parts
219[info] JWTDecoderUseHeaderAllValidationsTest:
220[info] JWTDecoderUseHeaderAllValidations
221[info] - should decode a JWT token into a Payload object
222[info] + Given An encrypted token and its private key
223[info] + When Decoding this token
224[info] + Then It should return the correct Payload
225[info] - must fail to decode a JWT with less than 3 parts
226[info] - must fail to decode a JWT with an invalid signature
227[info] - must fail to decode the payload when it is corrupted in any way
228[info] - must fail to decode when the the token is expired
229[info] - must fail to decode when the the private key is null
230[info] - must fail to decode when the the private key is empty
231[info] - must fail to decode when the token is null
232[info] - must fail to decode when the token is empty
233[info] JWTDecoderAllValidationsTest:
234[info] JWTDecoderAllValidations
235[info] - should decode a JWT token into a Payload object
236[info] - must fail to decode a JWT with less than 3 parts
237[info] - must fail to decode a JWT with an invalid signature
238[info] - must fail to decode the payload when it is corrupted in any way
239[info] - must fail to decode when the the token is expired
240[info] - must fail to decode when the the private key is null
241[info] - must fail to decode when the the private key is empty
242[info] - must fail to decode when the token is null
243[info] - must fail to decode when the token is empty
244[info] Instrumenting 50 classes to /build/repo/target/scala-3.8.0-RC2/jacoco/instrumented-classes
245[info] Instrumenting 50 classes to /build/repo/target/scala-3.8.0-RC2/jacoco/instrumented-classes
246
247************************
248Build summary:
249[{
250 "module": "fjwt",
251 "compile": {"status": "ok", "tookMs": 11115, "warnings": 1, "errors": 0, "sourceVersion": "3.8"},
252 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
253 "test-compile": {"status": "ok", "tookMs": 6020, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
254 "test": {"status": "ok", "tookMs": 944, "passed": 54, "failed": 0, "ignored": 0, "skipped": 0, "total": 54, "byFramework": [{"framework": "unknown", "stats": {"passed": 54, "failed": 0, "ignored": 0, "skipped": 0, "total": 54}}]},
255 "publish": {"status": "skipped", "tookMs": 0},
256 "metadata": {
257 "crossScalaVersions": ["2.12.20", "3.2.1"]
258}
259}]
260************************
261[success] Total time: 33 s, completed Nov 28, 2025, 2:43:33 PM
262[0JChecking patch project/plugins.sbt...
263Checking patch project/build.properties...
264Checking patch project/Common.scala...
265Checking patch build.sbt...
266Applied patch project/plugins.sbt cleanly.
267Applied patch project/build.properties cleanly.
268Applied patch project/Common.scala cleanly.
269Applied patch build.sbt cleanly.