Build Logs

gzoller/scala-reflection • 3.8.0-RC6:2026-01-08

Errors

5

Warnings

40

Total Lines

335

1##################################
2Clonning https://github.com/gzoller/scala-reflection.git into /build/repo using revision v2.0.16
3##################################
4Note: switching to '04aa576d9bb3ecb0aa8b9f126f7a5f5deed4af69'.
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-RC6
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-RC6
32Execute tests: true
33sbt project found:
34Sbt version 1.11.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 gzoller/scala-reflection
37##################################
38Scala version: 3.8.0-RC6
39Targets: co.blocke%scala-reflection
40Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"21"},"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 = '21'
46[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_21/rt.jar'
47# Executing command line:
48java
49-Dfile.encoding=UTF-8
50-Dcommunitybuild.scala=3.8.0-RC6
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_21
57-jar
58/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
59"setCrossScalaVersions 3.8.0-RC6"
60"++3.8.0-RC6 -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-RC6 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"21"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}""" co.blocke%scala-reflection"
68
69[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 21)
70[info] loading settings for project repo-build-build-build from metals.sbt...
71[info] loading project definition from /build/repo/project/project/project
72[info] loading settings for project repo-build-build from metals.sbt...
73[info] loading project definition from /build/repo/project/project
74[success] Generated .bloop/repo-build-build.json
75[success] Total time: 2 s, completed Jan 8, 2026, 1:41:32 AM
76[info] loading settings for project repo-build from akka.sbt, metals.sbt, plugins.sbt...
77[info] loading project definition from /build/repo/project
78[success] Generated .bloop/repo-build.json
79[info] compiling 2 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
80[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
81[info] Compilation completed in 8.101s.
82[info] done compiling
83[success] Total time: 21 s, completed Jan 8, 2026, 1:41:54 AM
84[info] loading settings for project root from build.sbt...
85[info] set current project to scala-reflection (in build file:/build/repo/)
86Execute setCrossScalaVersions: 3.8.0-RC6
87OpenCB::Changing crossVersion 3.5.2 -> 3.8.0-RC6 in root/crossScalaVersions
88[info] set current project to scala-reflection (in build file:/build/repo/)
89[info] Setting Scala version to 3.8.0-RC6 on 1 projects.
90[info] Switching Scala version on:
91[info] * root (3.8.0-RC6)
92[info] Excluding projects:
93[info] Reapplying settings...
94[info] set current project to scala-reflection (in build file:/build/repo/)
95Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
96[info] Reapplying settings...
97[info] set current project to scala-reflection (in build file:/build/repo/)
98[info] Defining Global / credentials, credentials
99[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 8 others.
100[info] Run `last` for details.
101[info] Reapplying settings...
102[info] set current project to scala-reflection (in build file:/build/repo/)
103Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
104[info] Reapplying settings...
105OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
106
107 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
108 Did you mean allExcludeDependencies ?
109 , retry without global scopes
110[info] Reapplying settings...
111[info] set current project to scala-reflection (in build file:/build/repo/)
112Execute removeScalacOptionsStartingWith: -P:wartremover
113[info] Reapplying settings...
114[info] set current project to scala-reflection (in build file:/build/repo/)
115[success] Total time: 0 s, completed Jan 8, 2026, 1:42:04 AM
116Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"21"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}
117Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
118Starting build...
119Projects: Set(root)
120Starting build for ProjectRef(file:/build/repo/,root) (scala-reflection)... [0/1]
121OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
122OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
123OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
124Compile scalacOptions: -encoding, UTF-8, -unchecked, -Wunused:implicits, -Wunused:explicits, -Wunused:imports, -Wunused:locals, -Wunused:params, -Wunused:privates, -Wvalue-discard, -Xkind-projector:underscores, --java-output-version:17, 8, -language:implicitConversions, utf8, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
125[info] compiling 86 Scala sources and 1 Java source to /build/repo/target/scala-3.8.0-RC6/classes ...
126[warn] -- [E198] Unused Symbol Warning: /build/repo/src/main/scala/co.blocke.scala_reflection/reflect/ReflectOnClass.scala:17:6
127[warn] 17 | appliedTob: List[quotes.reflect.TypeRepr] = Nil
128[warn] | ^^^^^^^^^^
129[warn] | unused explicit parameter
130[warn] -- [E198] Unused Symbol Warning: /build/repo/src/main/scala/co.blocke.scala_reflection/reflect/extractors/TupleExtractor.scala:5:15
131[warn] 5 |import Clazzes.*
132[warn] | ^
133[warn] | unused import
134[warn] -- [E198] Unused Symbol Warning: /build/repo/src/main/scala/co.blocke.scala_reflection/util/Pretty.scala:278:95
135[warn] 278 | val allClassesSeenUpToNow = t.fields.foldLeft(t.typedName.toString :: seenBefore) { (classesSeen, f) =>
136[warn] | ^^^^^^^^^^^
137[warn] | unused explicit parameter
138[warn] three warnings found
139[info] done compiling
140[info] compiling 15 Scala sources and 16 Java sources to /build/repo/target/scala-3.8.0-RC6/test-classes ...
141[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala/co.blocke.scala_reflection/models/BasicModels.scala:113:60
142[warn] 113 |class FoomNC(val a: Int, val b: String, @FieldAnno(idx = 0) c: Option[FoomNC]) {
143[warn] | ^
144[warn] | unused explicit parameter
145[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala/co.blocke.scala_reflection/models/BasicModels.scala:116:14
146[warn] 116 | private var cantSee: Boolean = true
147[warn] | ^^^^^^^
148[warn] | unused private member
149[warn] two warnings found
150[warn] /build/repo/src/test/java/co/blocke/reflect/Person.java:3:8: captured() in co.blocke.scala_reflection.models.SJCaptureJava implements captured() in co.blocke.scala_reflection.models.SJCapture
151[warn] return type requires unchecked conversion from java.util.HashMap to java.util.HashMap<java.lang.String,?>
152[warn] public class Person extends co.blocke.scala_reflection.models.SJCaptureJava {
153[warn] public Person() {}
154[warn]
155[warn] private String name;
156[warn] public String getName() { return name; }
157[warn] public void setName(String n) { name = n; }
158[warn]
159[warn] private int age;
160[warn] public int getAge() { return age; }
161[warn] public void setAge(int n) { age = n; }
162[warn]
163[warn] private int other;
164[warn] public int getOther() { return other; }
165[warn] public void setOther(int n) { other = n; }
166[warn] }
167[warn] ^
168[info] done compiling
169co.blocke.scala_reflection.LeftRight:
170 + Scala simple Either field 0.016s
171 + Scala Either having a self-reference 0.002s
172 + Scala Either with Option 0.001s
173 + Scala Either with Union type 0.001s
174 + Scala Either having a parameterized type 0.002s
175 + Scala Union type 0.001s
176 + Scala Intersection type with Option 0.001s
177 + Scala Intersection type with type parameters 0.0s
178 + opaque type alias is a union type 0.002s
179co.blocke.scala_reflection.Java:
180 + basic Java collections 0.004s
181 + Simple parameter substitution 0.002s
182 + Nested Java classes 0.0s
183 + Java collection types 0.002s
184 + Detect parameterized Java class 2.756s
185 + reflect basic with capture 0.001s
186 + Java parameterized class field member 0.001s
187 + Java parameterized class field member (Wildcard) 0.001s
188co.blocke.scala_reflection.Basic:
189 + Class of all primitives 0.007s
190 + Class of all time types 0.006s
191 + Class of all net types 0.002s
192 + Simple class having nested class as a parameter 0.0s
193 + Class having default values for its parameters 0.002s
194 + Class having self-referencing members 0.001s
195 + sealed trait with case classes 0.001s
196 + sealed trait with case objects 0.0s
197 + handle opaque type alias 0.001s
198 + Scala 2.x class 0.0s
199 + support value classes 0.001s
200 + Skip_Reflection annotation works 0.001s
201 + Self-referencing types (non-parameterized 0.0s
202 + Self-referencing types (parameterized 0.0s
203 + Simple non-case class 0.001s
204 + capture field and class annotations 0.001s
205 + sealed abstract class with case class 0.001s
206 + match / dependent types 0.0s
207 + Ensure caching (equals) works 0.001s
208 + Confirm we can reflecton externally-compiled Scala class (eg library class) 0.001s
209 + Ensure NeoType integration works 0.0s
210 + Sample ScalaJS support test (JSON) 0.001s
211 + var argument to class constructor works 0.0s
212co.blocke.scala_reflection.Enums:
213 + Java Enums 0.001s
214 + Scala Enums (old and new) 0.001s
215 + Scala Enum methods 0.0s
216 + Enum Json generation 0.001s
217 + Scala Enum ADT 0.0s
218 + Scala2 Enumeration methods 0.007s
219co.blocke.scala_reflection.Collections:
220 + Scala List 0.001s
221 + Scala Set 0.0s
222 + Scala Iterable 0.001s
223 + Scala Map 1 0.001s
224 + Scala Map 2 0.0s
225 + Scala mutable List 0.001s
226 + Scala mutable Set 0.0s
227 + Scala mutable Map 1 0.001s
228 + Scala mutable Map 2 0.0s
229 + Nested Collections 0.0s
230 + Tuples 0.002s
231 + Scala Arrays 0.0s
232co.blocke.scala_reflection.Options:
233 + Simple Option RType 0.0s
234 + java ArrayList of Option[String] 0.001s
235 + Scala optional field 0.0s
236 + Java optional field 0.001s
237 + Scala nested optional field 0.0s
238 + Scala option of a class with defaults 0.002s
239 + Java nested optional field 0.001s
240 + Scala optional parameterized field 0.0s
241 + Java optional parameterized field 0.0s
242 + Option of a union 0.001s
243co.blocke.scala_reflection.Inheritance:
244 + Inheritance and Annotations 0.001s
245 + Inheritance and Parameterized Classes 0.0s
246co.blocke.scala_reflection.Parameters:
247 + 0-level param substitution 0.001s
248 + 0-level Option substitution 0.001s
249 + 0-level Either substitution 0.0s
250 + 0-level Map substitution 0.001s
251 + 0-level List (Seq) substitution 0.0s
252 + 0-level Try substitution 0.001s
253 + 0-level Trait substitution 0.001s
254 + 0-level Tuple substitution 0.0s
255 + 0-level Union substitution 0.001s
256 + 0-level Intersection substitution 0.0s
257 + 1st level param substitution 0.0s
258 + 2nd level subsitution in a class field 0.001s
259 + 2nd level subsitution in a class field, with self-reference 0.001s
260 + 2nd level param substitution - Option 0.0s
261 + 3rd level param substitution - Option 0.0s
262 + 2nd and 3rd level param substitution - Either 0.001s
263 + Opaque type alias type substitution (rare) 0.0s
264 + 2nd level subsitution in a class field-1 0.001s
265 + List and Map subsitituion 0.0s
266 + Try type substitution 0.0s
267 + Trait type substitution 0.001s
268 + Union type substitution 0.0s
269 + Type member substitutions 0.001s
270==> X co.blocke.scala_reflection.Parameters.Nested trait substitutions (inTermsOf) 0.416s java.lang.VerifyError: Constructor must call super() or this() before return
271Exception Details:
272 Location:
273 scala/Int.<init>()V @0: return
274 Reason:
275 Error exists in the bytecode
276 Bytecode:
277 0000000: b1
278
279 at java.lang.Class.forName0(Native Method)
280 at java.lang.Class.forName(Class.java:421)
281 at java.lang.Class.forName(Class.java:412)
282 at co.blocke.scala_reflection.RType.clazz(RType.scala:10)
283 at co.blocke.scala_reflection.RType.clazz$(RType.scala:5)
284 at co.blocke.scala_reflection.rtypes.IntRType.clazz$lzyINIT8(PrimitiveRTypes.scala:47)
285 at co.blocke.scala_reflection.rtypes.IntRType.clazz(PrimitiveRTypes.scala:47)
286 at co.blocke.scala_reflection.RType.toType(RType.scala:12)
287 at co.blocke.scala_reflection.RType.toType$(RType.scala:5)
288 at co.blocke.scala_reflection.rtypes.IntRType.toType(PrimitiveRTypes.scala:47)
289 at co.blocke.scala_reflection.rtypes.TraitRType.$anonfun$1(TraitRType.scala:25)
290 at scala.collection.immutable.List.map(List.scala:240)
291 at co.blocke.scala_reflection.rtypes.TraitRType.toType(TraitRType.scala:24)
292 at co.blocke.scala_reflection.rtypes.TraitRType.$anonfun$1(TraitRType.scala:25)
293 at scala.collection.immutable.List.map(List.scala:240)
294 at co.blocke.scala_reflection.rtypes.TraitRType.toType(TraitRType.scala:24)
295 at co.blocke.scala_reflection.Parameters.$anonfun$1(Parameters.scala:347)
296 at co.blocke.scala_reflection.Parameters.$anonfun$3(Parameters.scala:347)
297 at scala.quoted.staging.QuoteCompiler$QuotedFrontend.runOn$$anonfun$1(QuoteCompiler.scala:87)
298 at scala.collection.immutable.List.flatMap(List.scala:287)
299 at scala.quoted.staging.QuoteCompiler$QuotedFrontend.runOn(QuoteCompiler.scala:69)
300 at dotty.tools.dotc.Run.runPhases$1$$anonfun$1(Run.scala:380)
301 at scala.collection.ArrayOps$.foreach$extension(ArrayOps.scala:1327)
302 at dotty.tools.dotc.Run.runPhases$1(Run.scala:373)
303 at dotty.tools.dotc.Run.compileUnits$$anonfun$1$$anonfun$2(Run.scala:420)
304 at dotty.tools.dotc.Run.compileUnits$$anonfun$1$$anonfun$adapted$1(Run.scala:420)
305 at scala.Function0.apply$mcV$sp(Function0.scala:45)
306 at dotty.tools.dotc.Run.showProgress(Run.scala:482)
307 at dotty.tools.dotc.Run.compileUnits$$anonfun$1(Run.scala:420)
308 at dotty.tools.dotc.Run.compileUnits$$anonfun$adapted$1(Run.scala:432)
309 at dotty.tools.dotc.util.Stats$.maybeMonitored(Stats.scala:69)
310 at dotty.tools.dotc.Run.compileUnits(Run.scala:432)
311 at dotty.tools.dotc.Run.compileUnits(Run.scala:325)
312 at scala.quoted.staging.QuoteCompiler$ExprRun.compileExpr(QuoteCompiler.scala:123)
313 at scala.quoted.staging.QuoteDriver.run(QuoteDriver.scala:46)
314 at scala.quoted.staging.Compiler$$anon$1.run(Compiler.scala:50)
315 at scala.quoted.staging.package$.run(staging.scala:19)
316 at co.blocke.scala_reflection.Parameters.$init$$$anonfun$24(Parameters.scala:347)
317
318************************
319Build summary:
320[{
321 "module": "scala-reflection",
322 "compile": {"status": "ok", "tookMs": 18533, "warnings": 3, "errors": 0, "sourceVersion": "3.8"},
323 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
324 "test-compile": {"status": "ok", "tookMs": 8368, "warnings": 2, "errors": 0, "sourceVersion": "3.8"},
325 "test": {"status": "failed", "tookMs": 3739, "passed": 93, "failed": 1, "ignored": 0, "skipped": 16, "total": 110, "byFramework": [{"framework": "munit", "stats": {"passed": 93, "failed": 1, "ignored": 0, "skipped": 16, "total": 110}}]},
326 "publish": {"status": "skipped", "tookMs": 0},
327 "metadata": {
328 "crossScalaVersions": ["3.5.2"]
329}
330}]
331************************
332[error] Scala3CommunityBuild$ProjectBuildFailureException: 1 module(s) finished with failures: scala-reflection
333[error] (Global / runBuild) Scala3CommunityBuild$ProjectBuildFailureException: 1 module(s) finished with failures: scala-reflection
334[error] Total time: 32 s, completed Jan 8, 2026, 1:42:36 AM
335[0JBuild failed, not retrying.