Build Logs

chatwork/scala-jwk • 3.8.0-RC2:2025-11-28

Errors

0

Warnings

14

Total Lines

206

1##################################
2Clonning https://github.com/chatwork/scala-jwk.git into /build/repo using revision v1.2.24
3##################################
4Note: switching to '77f5805cc37663ceba0d9b3a95b08906e2dead21'.
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.0.2
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/Dependencies.scala
34Pattern: val scala3Version = "3.0.2"
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.0.2"' in project/Dependencies.scala
40----
41Starting build for 3.8.0-RC2
42Execute tests: true
43sbt project found:
44Sbt version 1.5.5 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 chatwork/scala-jwk
47##################################
48Scala version: 3.8.0-RC2
49Targets: com.chatwork%scala-jwk
50Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"project/Dependencies.scala","pattern":"val scala3Version = \"3.0.2\"","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":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"project/Dependencies.scala","pattern":"val scala3Version = \"3.0.2\"","replaceWith":"val scala3Version = \"<SCALA_VERSION>\""}]}""" com.chatwork%scala-jwk"
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 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.946s.
85[info] done compiling
86/build/repo/build.sbt:48: warning: method sonatypeRepo in class ResolverFunctions is deprecated (since 1.7.0): Sonatype OSS Repository Hosting (OSSRH) was sunset on 2025-06-30; remove this resolver. If snapshots are required, use:
87 resolvers += Resolver.sonatypeCentralSnapshots
88
89 Resolver.sonatypeRepo("snapshots")
90 ^
91/build/repo/build.sbt:63: warning: value scalafixScalaBinaryVersion in object autoImport is deprecated (since 0.12.1): scalafixScalaBinaryVersion now follows scalaVersion by default
92 ThisBuild / scalafixScalaBinaryVersion := (CrossVersion.partialVersion(scalaVersion.value) match {
93 ^
94[info] loading settings for project root from build.sbt...
95[info] set current project to scala-jwk-root (in build file:/build/repo/)
96[warn] there's a key that's not used by any other settings/tasks:
97[warn]
98[warn] * ThisBuild / scalafixScalaBinaryVersion
99[warn] +- /build/repo/build.sbt:63
100[warn]
101[warn] note: a setting might still be used by a command; to exclude a key from this `lintUnused` check
102[warn] either append it to `Global / excludeLintKeys` or call .withRank(KeyRanks.Invisible) on the key
103Execute setCrossScalaVersions: 3.8.0-RC2
104OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in library/crossScalaVersions
105OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in root/crossScalaVersions
106[info] set current project to scala-jwk-root (in build file:/build/repo/)
107[info] Setting Scala version to 3.8.0-RC2 on 2 projects.
108[info] Switching Scala version on:
109[info] * root (2.12.13, 2.13.6, 3.8.0-RC2)
110[info] library (2.12.13, 2.13.6, 3.8.0-RC2)
111[info] Excluding projects:
112[info] Reapplying settings...
113[info] set current project to scala-jwk-root (in build file:/build/repo/)
114Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
115[info] Reapplying settings...
116[info] set current project to scala-jwk-root (in build file:/build/repo/)
117[info] Defining Global / credentials, credentials, library / credentials
118[info] The new values will be used by Global / pgpSelectPassphrase, Global / pgpSigningKey and 10 others.
119[info] Run `last` for details.
120[info] Reapplying settings...
121[info] set current project to scala-jwk-root (in build file:/build/repo/)
122Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
123[info] Reapplying settings...
124OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
125
126 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
127 Did you mean allExcludeDependencies ?
128 , retry without global scopes
129[info] Reapplying settings...
130[info] set current project to scala-jwk-root (in build file:/build/repo/)
131Execute removeScalacOptionsStartingWith: -P:wartremover
132[info] Reapplying settings...
133[info] set current project to scala-jwk-root (in build file:/build/repo/)
134[success] Total time: 0 s, completed Nov 28, 2025, 1:14:02 PM
135Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"project/Dependencies.scala","pattern":"val scala3Version = \"3.0.2\"","replaceWith":"val scala3Version = \"<SCALA_VERSION>\""}]}
136Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
137Starting build...
138Projects: Set(library)
139Starting build for ProjectRef(file:/build/repo/,library) (scala-jwk)... [0/1]
140OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
141OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
142OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
143OpenCB::Filter out '-language:_', matches setting pattern '^-?-language:_'
144OpenCB::Filter out '-source:3.0-migration', matches setting pattern '^-?-source(:.*)?'
145Compile scalacOptions: -unchecked, -encoding, UTF-8, -Xignore-scala2-macros, -Xsemanticdb, -semanticdb-target, /build/repo/library/target/scala-3.8.0-RC2/meta, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
146[info] compiling 28 Scala sources to /build/repo/library/target/scala-3.8.0-RC2/classes ...
147[info] done compiling
148[info] compiling 4 Scala sources to /build/repo/library/target/scala-3.8.0-RC2/test-classes ...
149[warn] -- [E030] Match case Unreachable Warning: /build/repo/library/src/test/scala/com/chatwork/scala/jwk/ECJWKSpec.scala:56:13
150[warn] 56 | case Left(_) =>
151[warn] | ^^^^^^^
152[warn] | Unreachable case
153[warn] one warning found
154[info] done compiling
155[info] JWKSetSpec:
156[info] JWKSet
157[info] - should be able to parse JWKSet
158[info] ECJWKSpec:
159[info] ECJWK
160[info] - key size
161[info] - supported Curves Constant
162[info] - unknown Curve
163[info] - testP256
164[info] - testP384
165[info] - testP521
166[info] RSAJWKSpec:
167[info] RSAJWK
168[info] - should be able to full construct & serialization
169[info] - should be able to export & import RSAPublicKey
170[info] - should be able to export & import RSAPrivateKey
171[info] - should be able to export & import PublicKey
172[info] - should be able to export PrivateKey
173[info] - should be able to parse some key
174[info] - should be able to key conversion of round trip
175[info] - should be able to parse cookbook example
176[info] - should be able to parse cookbook example2
177[info] - should be able to compute a thumbprint
178[info] KeyIdSpec:
179[info] KeyId
180[info] - should be able to construct
181[info] - should be able to create from RSA PublicKey params
182[info] - should be able to create from RSA PublicKey
183
184************************
185Build summary:
186[{
187 "module": "scala-jwk",
188 "compile": {"status": "ok", "tookMs": 13762, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
189 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
190 "test-compile": {"status": "ok", "tookMs": 6020, "warnings": 1, "errors": 0, "sourceVersion": "3.8"},
191 "test": {"status": "ok", "tookMs": 950, "passed": 20, "failed": 0, "ignored": 0, "skipped": 0, "total": 20, "byFramework": [{"framework": "unknown", "stats": {"passed": 20, "failed": 0, "ignored": 0, "skipped": 0, "total": 20}}]},
192 "publish": {"status": "skipped", "tookMs": 0},
193 "metadata": {
194 "crossScalaVersions": ["2.12.13", "2.13.6", "3.0.2"]
195}
196}]
197************************
198[success] Total time: 32 s, completed Nov 28, 2025, 1:14:34 PM
199[0JChecking patch project/plugins.sbt...
200Checking patch project/build.properties...
201Checking patch project/Dependencies.scala...
202Checking patch build.sbt...
203Applied patch project/plugins.sbt cleanly.
204Applied patch project/build.properties cleanly.
205Applied patch project/Dependencies.scala cleanly.
206Applied patch build.sbt cleanly.