Build Logs

sfxcode/sapphire-data • scala/scala3:release-3.8.0_backport-24855:2025-12-30

Errors

0

Warnings

126

Total Lines

278

1##################################
2Clonning https://github.com/sfxcode/sapphire-data.git into /build/repo using revision v2.0.3
3##################################
4Note: switching to '9df12f6a5339b8ffdc6a10fbf91f582ef86f3941'.
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-RC4-bin-20251230-fab225a
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-RC4-bin-20251230-fab225a
32Execute tests: false
33sbt project found:
34Sbt version 1.8.0 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 sfxcode/sapphire-data
37##################################
38Scala version: 3.8.0-RC4-bin-20251230-fab225a
39Targets: com.sfxcode.sapphire%sapphire-data
40Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","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-Dfile.encoding=UTF-8
51-Dcommunitybuild.scala=3.8.0-RC4-bin-20251230-fab225a
52-Dcommunitybuild.project.dependencies.add=
53-Xmx7G
54-Xms4G
55-Xss8M
56-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
57-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
58-jar
59/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
60"setCrossScalaVersions 3.8.0-RC4-bin-20251230-fab225a"
61"++3.8.0-RC4-bin-20251230-fab225a -v"
62"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
63"set every credentials := Nil"
64"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
65"removeScalacOptionsStartingWith -P:wartremover"
66
67moduleMappings
68"runBuild 3.8.0-RC4-bin-20251230-fab225a """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[]}""" com.sfxcode.sapphire%sapphire-data"
69
70[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
71[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
72[info] loading project definition from /build/repo/project
73[info] compiling 2 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
74[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
75[info] Compilation completed in 8.019s.
76[info] done compiling
77/build/repo/version.sbt:1: warning: method in in trait ScopingSetting is deprecated (since 1.5.0): `in` is deprecated; migrate to slash syntax - https://www.scala-sbt.org/1.x/docs/Migrating-from-sbt-013x.html#slash
78version in ThisBuild := "2.0.3"
79 ^
80[info] loading settings for project sapphire-data from build.sbt, release.sbt, version.sbt...
81[info] set current project to sapphire-data (in build file:/build/repo/)
82Execute setCrossScalaVersions: 3.8.0-RC4-bin-20251230-fab225a
83OpenCB::Changing crossVersion 3.2.1 -> 3.8.0-RC4-bin-20251230-fab225a in sapphire-data/crossScalaVersions
84[info] set current project to sapphire-data (in build file:/build/repo/)
85[info] Setting Scala version to 3.8.0-RC4-bin-20251230-fab225a on 1 projects.
86[info] Switching Scala version on:
87[info] * sapphire-data (3.8.0-RC4-bin-20251230-fab225a, 2.13.10, 2.12.13)
88[info] Excluding projects:
89[info] Reapplying settings...
90[info] set current project to sapphire-data (in build file:/build/repo/)
91Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
92[info] Reapplying settings...
93[info] set current project to sapphire-data (in build file:/build/repo/)
94[info] Defining Global / credentials, credentials
95[info] The new values will be used by ThisBuild / scalafixSbtResolversAsCoursierRepositories, allCredentials and 4 others.
96[info] Run `last` for details.
97[info] Reapplying settings...
98[info] set current project to sapphire-data (in build file:/build/repo/)
99Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
100[info] Reapplying settings...
101OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
102
103 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
104 Did you mean allExcludeDependencies ?
105 , retry without global scopes
106[info] Reapplying settings...
107[info] set current project to sapphire-data (in build file:/build/repo/)
108Execute removeScalacOptionsStartingWith: -P:wartremover
109[info] Reapplying settings...
110[info] set current project to sapphire-data (in build file:/build/repo/)
111[success] Total time: 0 s, completed Dec 30, 2025, 9:20:57 PM
112Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[]}
113Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
114Starting build...
115Projects: Set(sapphire-data)
116Starting build for ProjectRef(file:/build/repo/,sapphire-data) (sapphire-data)... [0/1]
117OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
118OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
119Compile scalacOptions: -Wconf:msg=can be rewritten automatically under:s, -source:3.8
120[info] Formatting 13 Scala sources ProjectRef(uri("file:/build/repo/"), "sapphire-data")(compile) ...
121[info] compiling 14 Scala sources to /build/repo/target/scala-3.8.0-RC4-bin-20251230-fab225a/classes ...
122[warn] -- [E190] Potential Issue Warning: /build/repo/src/main/scala/com/sfxcode/sapphire/data/reflect/ReflectionTools.scala:51:8
123[warn] 51 | field
124[warn] | ^^^^^
125[warn] |Discarded non-Unit value of type java.lang.reflect.Field. Add `: Unit` to discard silently.
126[warn] |
127[warn] | longer explanation available when compiling with `-explain`
128[warn] -- [E121] Pattern Match Warning: /build/repo/src/main/scala/com/sfxcode/sapphire/data/ValueHelper.scala:16:11
129[warn] 16 | case _ => defaultValue
130[warn] | ^
131[warn] |Unreachable case except for null (if this is intentional, consider writing case null => instead).
132[warn] -- [E121] Pattern Match Warning: /build/repo/src/main/scala/com/sfxcode/sapphire/data/ValueHelper.scala:23:11
133[warn] 23 | case _ => defaultValue
134[warn] | ^
135[warn] |Unreachable case except for null (if this is intentional, consider writing case null => instead).
136[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/src/main/scala/com/sfxcode/sapphire/data/DataAdapter.scala:33:11
137[warn] 33 | case map: scala.collection.Map[String, Any] => map(key)
138[warn] | ^
139[warn] |the type test for scala.collection.Map[String, Any] cannot be checked at runtime because its type arguments can't be determined from T
140[warn] |
141[warn] | longer explanation available when compiling with `-explain`
142[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/src/main/scala/com/sfxcode/sapphire/data/DataAdapter.scala:34:11
143[warn] 34 | case javaMap: java.util.Map[String, Any] => javaMap.get(key)
144[warn] | ^
145[warn] |the type test for java.util.Map[String, Any] cannot be checked at runtime because its type arguments can't be determined from T
146[warn] |
147[warn] | longer explanation available when compiling with `-explain`
148[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/src/main/scala/com/sfxcode/sapphire/data/DataAdapter.scala:74:11
149[warn] 74 | case map: mutable.Map[String, Any] =>
150[warn] | ^
151[warn] |the type test for scala.collection.mutable.Map[String, Any] cannot be checked at runtime because its type arguments can't be determined from T
152[warn] |
153[warn] | longer explanation available when compiling with `-explain`
154[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/src/main/scala/com/sfxcode/sapphire/data/DataAdapter.scala:77:11
155[warn] 77 | case javaMap: java.util.Map[String, Any] =>
156[warn] | ^
157[warn] |the type test for java.util.Map[String, Any] cannot be checked at runtime because its type arguments can't be determined from T
158[warn] |
159[warn] | longer explanation available when compiling with `-explain`
160[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/src/main/scala/com/sfxcode/sapphire/data/DataAdapter.scala:153:11
161[warn] 153 | case javaMap: java.util.Map[String, Any] => javaMap.size()
162[warn] | ^
163[warn] |the type test for java.util.Map[String, Any] cannot be checked at runtime because its type arguments can't be determined from T
164[warn] |
165[warn] | longer explanation available when compiling with `-explain`
166[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/src/main/scala/com/sfxcode/sapphire/data/DataAdapter.scala:162:11
167[warn] 162 | case map: scala.collection.Map[String, _] => map.contains(key.toString)
168[warn] | ^
169[warn] |the type test for scala.collection.Map[String, _] @_ cannot be checked at runtime because its type arguments can't be determined from T
170[warn] |
171[warn] | longer explanation available when compiling with `-explain`
172[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/src/main/scala/com/sfxcode/sapphire/data/DataAdapter.scala:163:11
173[warn] 163 | case javaMap: java.util.Map[String, Any] => javaMap.containsKey(key)
174[warn] | ^
175[warn] |the type test for java.util.Map[String, Any] cannot be checked at runtime because its type arguments can't be determined from T
176[warn] |
177[warn] | longer explanation available when compiling with `-explain`
178[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/src/main/scala/com/sfxcode/sapphire/data/DataAdapter.scala:170:11
179[warn] 170 | case javaMap: java.util.Map[String, Any] => javaMap.containsValue(value)
180[warn] | ^
181[warn] |the type test for java.util.Map[String, Any] cannot be checked at runtime because its type arguments can't be determined from T
182[warn] |
183[warn] | longer explanation available when compiling with `-explain`
184[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/src/main/scala/com/sfxcode/sapphire/data/DataAdapter.scala:180:11
185[warn] 180 | case map: mutable.Map[String, Any] => map.remove(key.toString)
186[warn] | ^
187[warn] |the type test for scala.collection.mutable.Map[String, Any] cannot be checked at runtime because its type arguments can't be determined from T
188[warn] |
189[warn] | longer explanation available when compiling with `-explain`
190[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/src/main/scala/com/sfxcode/sapphire/data/DataAdapter.scala:181:11
191[warn] 181 | case javaMap: java.util.Map[String, Any] => javaMap.remove(key)
192[warn] | ^
193[warn] |the type test for java.util.Map[String, Any] cannot be checked at runtime because its type arguments can't be determined from T
194[warn] |
195[warn] | longer explanation available when compiling with `-explain`
196[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/src/main/scala/com/sfxcode/sapphire/data/DataAdapter.scala:192:11
197[warn] 192 | case map: mutable.Map[String, Any] => map.clear()
198[warn] | ^
199[warn] |the type test for scala.collection.mutable.Map[String, Any] cannot be checked at runtime because its type arguments can't be determined from T
200[warn] |
201[warn] | longer explanation available when compiling with `-explain`
202[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/src/main/scala/com/sfxcode/sapphire/data/DataAdapter.scala:193:11
203[warn] 193 | case javaMap: java.util.Map[String, Any] => javaMap.clear()
204[warn] | ^
205[warn] |the type test for java.util.Map[String, Any] cannot be checked at runtime because its type arguments can't be determined from T
206[warn] |
207[warn] | longer explanation available when compiling with `-explain`
208[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/src/main/scala/com/sfxcode/sapphire/data/DataAdapter.scala:198:9
209[warn] 198 | case map: scala.collection.Map[String, Any] => map.keySet.asJava
210[warn] | ^
211[warn] |the type test for scala.collection.Map[String, Any] cannot be checked at runtime because its type arguments can't be determined from T
212[warn] |
213[warn] | longer explanation available when compiling with `-explain`
214[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/src/main/scala/com/sfxcode/sapphire/data/DataAdapter.scala:199:9
215[warn] 199 | case javaMap: java.util.Map[String, Any] => javaMap.keySet
216[warn] | ^
217[warn] |the type test for java.util.Map[String, Any] cannot be checked at runtime because its type arguments can't be determined from T
218[warn] |
219[warn] | longer explanation available when compiling with `-explain`
220[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/src/main/scala/com/sfxcode/sapphire/data/DataAdapter.scala:205:11
221[warn] 205 | case map: scala.collection.Map[String, Any] => map.values.asJavaCollection
222[warn] | ^
223[warn] |the type test for scala.collection.Map[String, Any] cannot be checked at runtime because its type arguments can't be determined from T
224[warn] |
225[warn] | longer explanation available when compiling with `-explain`
226[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/src/main/scala/com/sfxcode/sapphire/data/DataAdapter.scala:206:11
227[warn] 206 | case javaMap: java.util.Map[String, Any] => javaMap.values()
228[warn] | ^
229[warn] |the type test for java.util.Map[String, Any] cannot be checked at runtime because its type arguments can't be determined from T
230[warn] |
231[warn] | longer explanation available when compiling with `-explain`
232[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/src/main/scala/com/sfxcode/sapphire/data/el/Expressions.scala:42:35
233[warn] 42 | if (result.isDefined && result.get.isInstanceOf[T])
234[warn] | ^^^^^^^^^^
235[warn] |the type test for T cannot be checked at runtime because it refers to an abstract type member or type parameter
236[warn] |
237[warn] | longer explanation available when compiling with `-explain`
238[warn] -- [E123] Syntax Warning: /build/repo/src/main/scala/com/sfxcode/sapphire/data/el/Expressions.scala:65:47
239[warn] 65 | if (bean.isDefined && bean.get.isInstanceOf[T])
240[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^
241[warn] |This type test will never return a result since the scrutinee type (bean.get : => Nothing) does not contain any value.
242[warn] -- Warning: /build/repo/src/main/scala/com/sfxcode/sapphire/data/DataAdapter.scala:135:8
243[warn] 135 | return true
244[warn] | ^^^^^^^^^^^
245[warn] |Non local returns are no longer supported; use `boundary` and `boundary.break` in `scala.util` instead
246[warn] 22 warnings found
247[info] done compiling
248[info] Formatting 11 Scala sources ProjectRef(uri("file:/build/repo/"), "sapphire-data")(test) ...
249[info] compiling 1 Scala source to /build/repo/target/scala-3.8.0-RC4-bin-20251230-fab225a/classes ...
250[info] done compiling
251[info] compiling 11 Scala sources and 1 Java source to /build/repo/target/scala-3.8.0-RC4-bin-20251230-fab225a/test-classes ...
252[info] done compiling
253[info] compiling 1 Scala source to /build/repo/target/scala-3.8.0-RC4-bin-20251230-fab225a/classes ...
254[info] done compiling
255[info] compiling 1 Scala source to /build/repo/target/scala-3.8.0-RC4-bin-20251230-fab225a/classes ...
256[info] done compiling
257
258************************
259Build summary:
260[{
261 "module": "sapphire-data",
262 "compile": {"status": "ok", "tookMs": 10111, "warnings": 22, "errors": 0, "sourceVersion": "3.8"},
263 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
264 "test-compile": {"status": "ok", "tookMs": 4409, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
265 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
266 "publish": {"status": "skipped", "tookMs": 0},
267 "metadata": {
268 "crossScalaVersions": ["3.2.1", "2.13.10", "2.12.13"]
269}
270}]
271************************
272[success] Total time: 50 s, completed Dec 30, 2025, 9:21:47 PM
273[0JChecking patch project/plugins.sbt...
274Checking patch project/build.properties...
275Checking patch build.sbt...
276Applied patch project/plugins.sbt cleanly.
277Applied patch project/build.properties cleanly.
278Applied patch build.sbt cleanly.