Build Logs

xuwei-k/jwt-scala • 3.8.0-RC2:2025-11-28

Errors

0

Warnings

0

Total Lines

169

1##################################
2Clonning https://github.com/xuwei-k/jwt-scala.git into /build/repo using revision v3.0.0
3##################################
4Note: switching to '40eefdf43131453871b89807e882c8f0dc3ea811'.
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.9.7 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 xuwei-k/jwt-scala
37##################################
38Scala version: 3.8.0-RC2
39Targets: com.github.xuwei-k%jwt-scala
40Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}
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 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}""" com.github.xuwei-k%jwt-scala"
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 2 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.387s.
75[info] done compiling
76[info] loading settings for project repo from build.sbt, version.sbt...
77[info] set current project to jwt-scala (in build file:/build/repo/)
78Execute setCrossScalaVersions: 3.8.0-RC2
79OpenCB::Changing crossVersion 3.3.1 -> 3.8.0-RC2 in repo/crossScalaVersions
80[info] set current project to jwt-scala (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] * repo (2.12.18, 2.13.12, 3.8.0-RC2)
84[info] Excluding projects:
85[info] Reapplying settings...
86[info] set current project to jwt-scala (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 jwt-scala (in build file:/build/repo/)
90[info] Defining Global / credentials, credentials
91[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 7 others.
92[info] Run `last` for details.
93[info] Reapplying settings...
94[info] set current project to jwt-scala (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 jwt-scala (in build file:/build/repo/)
104Execute removeScalacOptionsStartingWith: -P:wartremover
105[info] Reapplying settings...
106[info] set current project to jwt-scala (in build file:/build/repo/)
107[success] Total time: 0 s, completed Nov 28, 2025, 1:05:41 PM
108Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}
109Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
110Starting build...
111Projects: Set(repo)
112Starting build for ProjectRef(file:/build/repo/,repo) (jwt-scala)... [0/1]
113OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
114OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
115OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
116Compile scalacOptions: -language:implicitConversions, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
117[info] compiling 6 Scala sources to /build/repo/target/scala-3.8.0-RC2/classes ...
118[info] done compiling
119[info] compiling 3 Scala sources to /build/repo/target/scala-3.8.0-RC2/test-classes ...
120[info] done compiling
121[info] JWTSpec:
122[info] - should JTWHeader.toJson.toString
123[info] encode
124[info] - should generate json web token
125[info] - should generate json web token with no provided secret
126[info] decode
127[info] - should decode token and verify it
128[info] - should return Invalid Signature if you try decode with incorrect token
129[info] - should throw TwoManySegments if you try decode token contain four parts
130[info] - should throw NotEnoughSegments if you try decode token contain one part
131[info] - should return EmptyJWT if you try decode empty string
132[info] - should decode a token encoded with no secret
133[info] - should decode a token encoded with no algorithm
134[info] - should return Invalid Signature if you try decode singed JWT with crafted None algorithm header
135[info] RSASpec:
136[info] encode
137[info] - should generate json web token
138[info] - should generate json web token with no provided secret
139[info] verify
140[info] - should prove a payload encoded with privateKey can be verified with publicKey
141[info] decode
142[info] - should decode token and verify it
143[info] - should return Invalid Signature if you try decode with a valid incorrect token
144[info] - should return throw an InvalidPrivateKey if you try encode with an invalid PrivateKey
145[info] - should return throw an InvalidPublicKey if you try encode with an invalid PublicKey
146[info] - should decode a token encoded with no secret
147[info] - should return Invalid Signature if you try decode RSXXX signed JWT with crafted HSXXX algorithm header
148
149************************
150Build summary:
151[{
152 "module": "jwt-scala",
153 "compile": {"status": "ok", "tookMs": 7895, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
154 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
155 "test-compile": {"status": "ok", "tookMs": 3466, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
156 "test": {"status": "ok", "tookMs": 1117, "passed": 20, "failed": 0, "ignored": 0, "skipped": 0, "total": 20, "byFramework": [{"framework": "unknown", "stats": {"passed": 20, "failed": 0, "ignored": 0, "skipped": 0, "total": 20}}]},
157 "publish": {"status": "skipped", "tookMs": 0},
158 "metadata": {
159 "crossScalaVersions": ["2.12.18", "2.13.12", "3.3.1"]
160}
161}]
162************************
163[success] Total time: 26 s, completed Nov 28, 2025, 1:06:07 PM
164[0JChecking patch project/plugins.sbt...
165Checking patch project/build.properties...
166Checking patch build.sbt...
167Applied patch project/plugins.sbt cleanly.
168Applied patch project/build.properties cleanly.
169Applied patch build.sbt cleanly.