Build Logs

kiberstender/fjwt • 3.8.0-RC4:2025-12-22

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-RC4
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-RC4"
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-RC4
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-RC4
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-RC4
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-RC4"
70"++3.8.0-RC4 -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-RC4 """{"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 8.754s.
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-RC4
96OpenCB::Changing crossVersion 3.8.0-RC4 -> 3.8.0-RC4 in root/crossScalaVersions
97OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC4) in root/crossScalaVersions
98[info] set current project to fJWT (in build file:/build/repo/)
99[info] Setting Scala version to 3.8.0-RC4 on 1 projects.
100[info] Switching Scala version on:
101[info] * root (3.8.0-RC4)
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 Dec 22, 2025, 7:18:04 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-RC4/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-RC4/test-classes ...
147[info] done compiling
148[info] Instrumenting 50 classes to /build/repo/target/scala-3.8.0-RC4/jacoco/instrumented-classes
149[info] Instrumenting 50 classes to /build/repo/target/scala-3.8.0-RC4/jacoco/instrumented-classes
150[info] HS224EncoderTest:
151[info] HS224Encoder
152[info] - should encrypt a JWT Token
153[info] HS1EncoderTest:
154[info] HS1Encoder
155[info] - should encrypt a JWT Token
156[info] JWTDecoderNoValidationTest:
157[info] JWTDecoderNoValidation
158[info] - should decode a given token
159[info] + Given An encrypted token and its private key
160[info] + When Decoding this token
161[info] + Then It should return the correct Payload
162[info] - must decode a token with only two parts
163[info] - must fail to decode a token with less than 2 parts
164[info] JWTEncoderLongTest:
165[info] JWTEncoder
166[info] - should generate a JWT Token
167[info] - should also generate a JWT Token when expiration time is set
168[info] - should raise an exception when the private keys is empty
169[info] - should raise an exception when the private keys is null
170[info] JWTDecoderUseHeaderNoExpirationValidationTest:
171[info] JWTDecoderUseHeaderNoExpirationValidation
172[info] - should decode a given token
173[info] + Given An encrypted token and its private key
174[info] + When Decoding this token
175[info] + Then It should return the correct Payload
176[info] - must fail to decode a token with the wrong signature
177[info] - must fail to decode a token with less than 3 parts
178[info] - must fail to decode a token with less than 2 parts
179[info] - must fail to decode when the the private key is null
180[info] - must fail to decode when the the private key is empty
181[info] - must fail to decode when the token is null
182[info] - must fail to decode when the token is empty
183[info] JWTDecoderNoExpirationValidationTest:
184[info] JWTDecoderUseHeaderNoExpirationValidation
185[info] - should decode a given token
186[info] + Given An encrypted token and its private key
187[info] + When Decoding this token
188[info] + Then It should return the correct Payload
189[info] - must fail to decode a token with the wrong signature
190[info] - must fail to decode a token with less than 3 parts
191[info] - must fail to decode a token with less than 2 parts
192[info] - must fail to decode when the the private key is null
193[info] - must fail to decode when the the private key is empty
194[info] - must fail to decode when the token is null
195[info] - must fail to decode when the token is empty
196[info] JWTDecoderUseHeaderAllValidationsTest:
197[info] JWTDecoderUseHeaderAllValidations
198[info] - should decode a JWT token into a Payload object
199[info] + Given An encrypted token and its private key
200[info] + When Decoding this token
201[info] + Then It should return the correct Payload
202[info] - must fail to decode a JWT with less than 3 parts
203[info] - must fail to decode a JWT with an invalid signature
204[info] - must fail to decode the payload when it is corrupted in any way
205[info] - must fail to decode when the the token is expired
206[info] - must fail to decode when the the private key is null
207[info] - must fail to decode when the the private key is empty
208[info] - must fail to decode when the token is null
209[info] - must fail to decode when the token is empty
210[info] HS512EncoderTest:
211[info] HS512Encoder
212[info] - should encrypt a JWT Token
213[info] Base64DecoderTest:
214[info] Base64Decoder
215[info] - should decrypt the header
216[info] - must decrypt the payload
217[info] HS384EncoderTest:
218[info] HS384Encoder
219[info] - should encrypt a JWT Token
220[info] JWTEncoderLocalDateTimeTest:
221[info] JWTEncoder
222[info] - should generate a JWT Token
223[info] - should also generate a JWT Token when expiration time is set
224[info] - should raise an exception when the private keys is empty
225[info] - should raise an exception when the private keys is null
226[info] HS256EncoderTest:
227[info] HS256Encoder
228[info] - should encrypt a JWT Token
229[info] Base64EncoderTest:
230[info] Base64Encoder
231[info] - should encrypt the header
232[info] - must encrypt the payload
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-RC4/jacoco/instrumented-classes
245[info] Instrumenting 50 classes to /build/repo/target/scala-3.8.0-RC4/jacoco/instrumented-classes
246
247************************
248Build summary:
249[{
250 "module": "fjwt",
251 "compile": {"status": "ok", "tookMs": 10815, "warnings": 1, "errors": 0, "sourceVersion": "3.8"},
252 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
253 "test-compile": {"status": "ok", "tookMs": 5836, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
254 "test": {"status": "ok", "tookMs": 807, "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: 32 s, completed Dec 22, 2025, 7:18:36 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.