Build Logs

janlisse/zio-jwt-validator • 3.8.0-RC2:2025-11-28

Errors

3

Warnings

7

Total Lines

166

1##################################
2Clonning https://github.com/janlisse/zio-jwt-validator.git into /build/repo using revision v0.1.0
3##################################
4Note: switching to '037595380446565220e2f38799a140039e3cd459'.
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-RC2
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-RC2
32Execute tests: true
33sbt project found:
34Sbt version 1.6.1 is not supported, minimal supported version is 1.11.5
35Enforcing usage of sbt in version 1.11.5
36No prepare script found for project janlisse/zio-jwt-validator
37##################################
38Scala version: 3.8.0-RC2
39Targets: io.github.janlisse%zio-jwt-validator
40Project projectConfig: {"tests":null}
41##################################
42Using extra scalacOptions: ,REQUIRE:-source:3.8
43Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
44[sbt_options] declare -a sbt_options=()
45[process_args] java_version = '17'
46[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
47# Executing command line:
48java
49-Dfile.encoding=UTF-8
50-Dcommunitybuild.scala=3.8.0-RC2
51-Dcommunitybuild.project.dependencies.add=
52-Xmx7G
53-Xms4G
54-Xss8M
55-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
56-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
57-jar
58/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
59"setCrossScalaVersions 3.8.0-RC2"
60"++3.8.0-RC2 -v"
61"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
62"set every credentials := Nil"
63"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
64"removeScalacOptionsStartingWith -P:wartremover"
65
66moduleMappings
67"runBuild 3.8.0-RC2 """{"tests":null}""" io.github.janlisse%zio-jwt-validator"
68
69[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
70[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
71[info] loading project definition from /build/repo/project
72[info] compiling 4 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
73[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
74[info] Compilation completed in 8.694s.
75[info] done compiling
76[info] loading settings for project root from build.sbt, version.sbt...
77[info] set current project to zio-jwt-validator (in build file:/build/repo/)
78Execute setCrossScalaVersions: 3.8.0-RC2
79OpenCB::Changing crossVersion 3.2.1 -> 3.8.0-RC2 in root/crossScalaVersions
80[info] set current project to zio-jwt-validator (in build file:/build/repo/)
81[info] Setting Scala version to 3.8.0-RC2 on 1 projects.
82[info] Switching Scala version on:
83[info] * root (3.8.0-RC2)
84[info] Excluding projects:
85[info] Reapplying settings...
86[info] set current project to zio-jwt-validator (in build file:/build/repo/)
87Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
88[info] Reapplying settings...
89[info] set current project to zio-jwt-validator (in build file:/build/repo/)
90[info] Defining Global / credentials, credentials
91[info] The new values will be used by Global / pgpSelectPassphrase, Global / pgpSigningKey and 4 others.
92[info] Run `last` for details.
93[info] Reapplying settings...
94[info] set current project to zio-jwt-validator (in build file:/build/repo/)
95Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
96[info] Reapplying settings...
97OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
98
99 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
100 Did you mean allExcludeDependencies ?
101 , retry without global scopes
102[info] Reapplying settings...
103[info] set current project to zio-jwt-validator (in build file:/build/repo/)
104Execute removeScalacOptionsStartingWith: -P:wartremover
105[info] Reapplying settings...
106[info] set current project to zio-jwt-validator (in build file:/build/repo/)
107[success] Total time: 0 s, completed Nov 28, 2025, 3:06:56 PM
108Build config: {"tests":null}
109Parsed config: Failure(sjsonnew.DeserializationException: Expected String as JString, but got JNull)
110Starting build...
111Projects: Set(root)
112Starting build for ProjectRef(file:/build/repo/,root) (zio-jwt-validator)... [0/1]
113Compile scalacOptions: -Wconf:msg=can be rewritten automatically under:s, -source:3.8
114[info] compiling 8 Scala sources to /build/repo/target/scala-3.8.0-RC2/classes ...
115[info] done compiling
116[info] compiling 3 Scala sources to /build/repo/target/scala-3.8.0-RC2/test-classes ...
117[warn] -- [E181] Potential Issue Warning: /build/repo/src/test/scala/zio/jwt/SpecUtil.scala:8:38
118[warn] 8 | val source = Source.fromInputStream(getClass.getResourceAsStream(fileName))
119[warn] | ^^^^^^^^
120[warn] | Suspicious top-level unqualified call to getClass
121[warn] |
122[warn] | longer explanation available when compiling with `-explain`
123[warn] one warning found
124[info] done compiling
125+ JwtValidatorSpec
126timestamp=2025-11-28T14:07:27.832864425Z level=ERROR thread=#zio-fiber-122 message="" cause="Exception in thread "zio-fiber-122" zio.jwt.JwtParsingError: JwtParsingError(Invalid token format)
127 at zio.jwt.JwtValidatorLive.parseHeader(JwtValidator.scala:68)
128 at zio.jwt.JwtValidatorLive.validate(JwtValidator.scala:37)
129 at zio.jwt.JwtValidatorSpec.spec(JwtValidatorSpec.scala:35)
130 at zio.jwt.JwtValidatorSpec.spec(JwtValidatorSpec.scala:36)
131 at zio.jwt.JwtValidatorSpec.spec(JwtValidatorSpec.scala:37)" location=zio.jwt.JwtValidatorLive.validate file=JwtValidator.scala line=37
132timestamp=2025-11-28T14:07:27.832848635Z level=ERROR thread=#zio-fiber-120 message="" cause="Exception in thread "zio-fiber-120" zio.jwt.ClaimValidationErrors: ClaimValidationErrors(NonEmptyChunk(InvalidIssuer, InvalidAudience))
133 at zio.jwt.JwtValidatorLive.validateClaim(JwtValidator.scala:88)
134 at zio.jwt.JwtValidatorLive.validateClaim(JwtValidator.scala:89)
135 at zio.jwt.JwtValidatorLive.validate(JwtValidator.scala:37)
136 at zio.jwt.JwtValidatorSpec.spec(JwtValidatorSpec.scala:50)
137 at zio.jwt.JwtValidatorSpec.spec(JwtValidatorSpec.scala:53)
138 at zio.jwt.JwtValidatorSpec.spec(JwtValidatorSpec.scala:54)" location=zio.jwt.JwtValidatorLive.validate file=JwtValidator.scala line=37
139 + return JwtParsingError for token with invalid header
140 + compose claim validation errors
141 + validate valid RS256 token successfully
142+ JwksParsingSpec
143 + parse RS256 keys successfully
144()
145
146************************
147Build summary:
148[{
149 "module": "zio-jwt-validator",
150 "compile": {"status": "ok", "tookMs": 10407, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
151 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
152 "test-compile": {"status": "ok", "tookMs": 1425, "warnings": 1, "errors": 0, "sourceVersion": "3.8"},
153 "test": {"status": "ok", "tookMs": 2227, "passed": 4, "failed": 0, "ignored": 0, "skipped": 0, "total": 4, "byFramework": [{"framework": "unknown", "stats": {"passed": 4, "failed": 0, "ignored": 0, "skipped": 0, "total": 4}}]},
154 "publish": {"status": "skipped", "tookMs": 0},
155 "metadata": {
156 "crossScalaVersions": ["3.2.1"]
157}
158}]
159************************
160[success] Total time: 31 s, completed Nov 28, 2025, 3:07:28 PM
161[0JChecking patch project/plugins.sbt...
162Checking patch project/build.properties...
163Checking patch build.sbt...
164Applied patch project/plugins.sbt cleanly.
165Applied patch project/build.properties cleanly.
166Applied patch build.sbt cleanly.