Build Logs

gzoller/scala-reflection • dotty-staging/dotty:fix-23773:2025-11-22

Errors

0

Warnings

40

Total Lines

191

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.1-RC1-bin-20251120-60444cb
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.1-RC1-bin-20251120-60444cb
32Execute tests: false
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/opencb/project-builder/sbt/prepare-project.sh: line 107: /root/.ssh/config: No such file or directory
38##################################
39Scala version: 3.8.1-RC1-bin-20251120-60444cb
40Targets: co.blocke%scala-reflection
41Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"21"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[]}
42##################################
43Using extra scalacOptions: ,REQUIRE:-source:3.8
44Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
45[sbt_options] declare -a sbt_options=()
46[process_args] java_version = '21'
47[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_21/rt.jar'
48# Executing command line:
49java
50-Dfile.encoding=UTF-8
51-Dcommunitybuild.scala=3.8.1-RC1-bin-20251120-60444cb
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_21
58-jar
59/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
60"setCrossScalaVersions 3.8.1-RC1-bin-20251120-60444cb"
61"++3.8.1-RC1-bin-20251120-60444cb -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.1-RC1-bin-20251120-60444cb """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"21"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[]}""" co.blocke%scala-reflection"
69
70[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 21)
71[info] loading settings for project repo-build-build-build from metals.sbt...
72[info] loading project definition from /build/repo/project/project/project
73[info] loading settings for project repo-build-build from metals.sbt...
74[info] loading project definition from /build/repo/project/project
75[success] Generated .bloop/repo-build-build.json
76[success] Total time: 3 s, completed Nov 22, 2025, 5:48:40 PM
77[info] loading settings for project repo-build from akka.sbt, metals.sbt, plugins.sbt...
78[info] loading project definition from /build/repo/project
79[success] Generated .bloop/repo-build.json
80[info] compiling 2 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
81[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
82[info] Compilation completed in 8.506s.
83[info] done compiling
84[success] Total time: 22 s, completed Nov 22, 2025, 5:49:04 PM
85[info] loading settings for project root from build.sbt...
86[info] set current project to scala-reflection (in build file:/build/repo/)
87Execute setCrossScalaVersions: 3.8.1-RC1-bin-20251120-60444cb
88OpenCB::Changing crossVersion 3.5.2 -> 3.8.1-RC1-bin-20251120-60444cb in root/crossScalaVersions
89[info] set current project to scala-reflection (in build file:/build/repo/)
90[info] Setting Scala version to 3.8.1-RC1-bin-20251120-60444cb on 1 projects.
91[info] Switching Scala version on:
92[info] * root (3.8.1-RC1-bin-20251120-60444cb)
93[info] Excluding projects:
94[info] Reapplying settings...
95[info] set current project to scala-reflection (in build file:/build/repo/)
96Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
97[info] Reapplying settings...
98[info] set current project to scala-reflection (in build file:/build/repo/)
99[info] Defining Global / credentials, credentials
100[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 8 others.
101[info] Run `last` for details.
102[info] Reapplying settings...
103[info] set current project to scala-reflection (in build file:/build/repo/)
104Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
105[info] Reapplying settings...
106OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
107
108 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:336)
109 Did you mean allExcludeDependencies ?
110 , retry without global scopes
111[info] Reapplying settings...
112[info] set current project to scala-reflection (in build file:/build/repo/)
113Execute removeScalacOptionsStartingWith: -P:wartremover
114[info] Reapplying settings...
115[info] set current project to scala-reflection (in build file:/build/repo/)
116[success] Total time: 0 s, completed Nov 22, 2025, 5:49:13 PM
117Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"21"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[]}
118Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
119Starting build...
120Projects: Set(root)
121Starting build for ProjectRef(file:/build/repo/,root) (scala-reflection)... [0/1]
122OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
123OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
124OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
125Compile 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
126[info] compiling 86 Scala sources and 1 Java source to /build/repo/target/scala-3.8.1-RC1-bin-20251120-60444cb/classes ...
127[warn] -- [E198] Unused Symbol Warning: /build/repo/src/main/scala/co.blocke.scala_reflection/reflect/ReflectOnClass.scala:17:6
128[warn] 17 | appliedTob: List[quotes.reflect.TypeRepr] = Nil
129[warn] | ^^^^^^^^^^
130[warn] | unused explicit parameter
131[warn] -- [E198] Unused Symbol Warning: /build/repo/src/main/scala/co.blocke.scala_reflection/reflect/extractors/TupleExtractor.scala:5:15
132[warn] 5 |import Clazzes.*
133[warn] | ^
134[warn] | unused import
135[warn] -- [E198] Unused Symbol Warning: /build/repo/src/main/scala/co.blocke.scala_reflection/util/Pretty.scala:278:95
136[warn] 278 | val allClassesSeenUpToNow = t.fields.foldLeft(t.typedName.toString :: seenBefore) { (classesSeen, f) =>
137[warn] | ^^^^^^^^^^^
138[warn] | unused explicit parameter
139[warn] three warnings found
140[info] done compiling
141[info] compiling 15 Scala sources and 16 Java sources to /build/repo/target/scala-3.8.1-RC1-bin-20251120-60444cb/test-classes ...
142[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala/co.blocke.scala_reflection/models/BasicModels.scala:113:60
143[warn] 113 |class FoomNC(val a: Int, val b: String, @FieldAnno(idx = 0) c: Option[FoomNC]) {
144[warn] | ^
145[warn] | unused explicit parameter
146[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala/co.blocke.scala_reflection/models/BasicModels.scala:116:14
147[warn] 116 | private var cantSee: Boolean = true
148[warn] | ^^^^^^^
149[warn] | unused private member
150[warn] two warnings found
151[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
152[warn] return type requires unchecked conversion from java.util.HashMap to java.util.HashMap<java.lang.String,?>
153[warn] public class Person extends co.blocke.scala_reflection.models.SJCaptureJava {
154[warn] public Person() {}
155[warn]
156[warn] private String name;
157[warn] public String getName() { return name; }
158[warn] public void setName(String n) { name = n; }
159[warn]
160[warn] private int age;
161[warn] public int getAge() { return age; }
162[warn] public void setAge(int n) { age = n; }
163[warn]
164[warn] private int other;
165[warn] public int getOther() { return other; }
166[warn] public void setOther(int n) { other = n; }
167[warn] }
168[warn] ^
169[info] done compiling
170
171************************
172Build summary:
173[{
174 "module": "scala-reflection",
175 "compile": {"status": "ok", "tookMs": 22301, "warnings": 3, "errors": 0, "sourceVersion": "3.8"},
176 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
177 "test-compile": {"status": "ok", "tookMs": 8428, "warnings": 2, "errors": 0, "sourceVersion": "3.8"},
178 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
179 "publish": {"status": "skipped", "tookMs": 0},
180 "metadata": {
181 "crossScalaVersions": ["3.5.2"]
182}
183}]
184************************
185[success] Total time: 42 s, completed Nov 22, 2025, 5:49:55 PM
186[0JChecking patch project/plugins.sbt...
187Checking patch project/build.properties...
188Checking patch build.sbt...
189Applied patch project/plugins.sbt cleanly.
190Applied patch project/build.properties cleanly.
191Applied patch build.sbt cleanly.