Build Logs
aaronp/code-template • dotty-staging/dotty:fix-23773:2025-11-22
Errors
1
Warnings
73
Total Lines
330
1##################################
2Clonning https://github.com/aaronp/code-template.git into /build/repo using revision v1.0.0
3##################################
4Note: switching to 'fd6c7a569db13f398c57bdda9c98360cd0cd2a7e'.
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.6.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 aaronp/code-template
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: com.github.aaronp%code-template
41Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{},"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 = '17'
47[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/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_17_0_8
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":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[]}""" com.github.aaronp%code-template"
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, metals.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.537s.
76[info] done compiling
77/build/repo/build.sbt:11: 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
78packageOptions in (Compile, packageBin) += Package.ManifestAttributes("git-sha" -> git.gitHeadCommit.value.getOrElse("unknown"))
79 ^
80/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
81version in ThisBuild := "1.0.0"
82 ^
83[info] loading settings for project repo from build.sbt, version.sbt...
84[info] _ _ _ _
85[info] | | | | | | | |
86[info] ___ ___ __| | ___ ______| |_ ___ _ __ ___ _ __ | | __ _| |_ ___
87[info] / __/ _ \ / _` |/ _ \______| __/ _ \ '_ ` _ \| '_ \| |/ _` | __/ _ \
88[info] | (_| (_) | (_| | __/ | || __/ | | | | | |_) | | (_| | || __/
89[info] \___\___/ \__,_|\___| \__\___|_| |_| |_| .__/|_|\__,_|\__\___|
90[info] | |
91[info] |_|
92[info]
93[info] code-template version 1.0.0
94[info]
95[info] Useful sbt tasks:
96[info] a. ~compile - Compile with file-watch enabled
97[info] b. ~test - Test with file-watch enabled
98[info] c. release - Release a new version (assumes you have ~/.sbt/.credentials set up)
99[warn] there are 2 keys that are not used by any other settings/tasks:
100[warn]
101[warn] * repo / ghpagesNoJekyll
102[warn] +- /build/repo/build.sbt:20
103[warn] * repo / gitRemoteRepo
104[warn] +- /build/repo/build.sbt:12
105[warn]
106[warn] note: a setting might still be used by a command; to exclude a key from this `lintUnused` check
107[warn] either append it to `Global / excludeLintKeys` or call .withRank(KeyRanks.Invisible) on the key
108[warn] sbt 0.13 shell syntax is deprecated; use slash syntax instead: Sbt / scalafmt
109[warn] Credentials file /root/.sbt/.credentials does not exist
110[warn] Credentials file /root/.sbt/.credentials does not exist
111[warn] Credentials file /root/.sbt/.credentials does not exist
112[info] Formatting 2 Scala sources in repo:sbt ...
113[success] Total time: 57 s, completed Nov 22, 2025, 4:49:16 PM
114Execute setCrossScalaVersions: 3.8.1-RC1-bin-20251120-60444cb
115OpenCB::Changing crossVersion 3.1.0 -> 3.8.1-RC1-bin-20251120-60444cb in repo/crossScalaVersions
116OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.1-RC1-bin-20251120-60444cb) in repo/crossScalaVersions
117[info] _ _ _ _
118[info] | | | | | | | |
119[info] ___ ___ __| | ___ ______| |_ ___ _ __ ___ _ __ | | __ _| |_ ___
120[info] / __/ _ \ / _` |/ _ \______| __/ _ \ '_ ` _ \| '_ \| |/ _` | __/ _ \
121[info] | (_| (_) | (_| | __/ | || __/ | | | | | |_) | | (_| | || __/
122[info] \___\___/ \__,_|\___| \__\___|_| |_| |_| .__/|_|\__,_|\__\___|
123[info] | |
124[info] |_|
125[info]
126[info] code-template version 1.0.0
127[info]
128[info] Useful sbt tasks:
129[info] a. ~compile - Compile with file-watch enabled
130[info] b. ~test - Test with file-watch enabled
131[info] c. release - Release a new version (assumes you have ~/.sbt/.credentials set up)
132[warn] sbt 0.13 shell syntax is deprecated; use slash syntax instead: Sbt / scalafmt
133[warn] Credentials file /root/.sbt/.credentials does not exist
134[warn] Credentials file /root/.sbt/.credentials does not exist
135[warn] Credentials file /root/.sbt/.credentials does not exist
136[success] Total time: 0 s, completed Nov 22, 2025, 4:49:16 PM
137[info] Setting Scala version to 3.8.1-RC1-bin-20251120-60444cb on 1 projects.
138[info] Switching Scala version on:
139[info] * repo (3.8.1-RC1-bin-20251120-60444cb)
140[info] Excluding projects:
141[info] Reapplying settings...
142[info] _ _ _ _
143[info] | | | | | | | |
144[info] ___ ___ __| | ___ ______| |_ ___ _ __ ___ _ __ | | __ _| |_ ___
145[info] / __/ _ \ / _` |/ _ \______| __/ _ \ '_ ` _ \| '_ \| |/ _` | __/ _ \
146[info] | (_| (_) | (_| | __/ | || __/ | | | | | |_) | | (_| | || __/
147[info] \___\___/ \__,_|\___| \__\___|_| |_| |_| .__/|_|\__,_|\__\___|
148[info] | |
149[info] |_|
150[info]
151[info] code-template version 1.0.0
152[info]
153[info] Useful sbt tasks:
154[info] a. ~compile - Compile with file-watch enabled
155[info] b. ~test - Test with file-watch enabled
156[info] c. release - Release a new version (assumes you have ~/.sbt/.credentials set up)
157[warn] sbt 0.13 shell syntax is deprecated; use slash syntax instead: Sbt / scalafmt
158[warn] Credentials file /root/.sbt/.credentials does not exist
159[warn] Credentials file /root/.sbt/.credentials does not exist
160[warn] Credentials file /root/.sbt/.credentials does not exist
161[success] Total time: 6 s, completed Nov 22, 2025, 4:49:23 PM
162Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
163[info] Reapplying settings...
164[info] _ _ _ _
165[info] | | | | | | | |
166[info] ___ ___ __| | ___ ______| |_ ___ _ __ ___ _ __ | | __ _| |_ ___
167[info] / __/ _ \ / _` |/ _ \______| __/ _ \ '_ ` _ \| '_ \| |/ _` | __/ _ \
168[info] | (_| (_) | (_| | __/ | || __/ | | | | | |_) | | (_| | || __/
169[info] \___\___/ \__,_|\___| \__\___|_| |_| |_| .__/|_|\__,_|\__\___|
170[info] | |
171[info] |_|
172[info]
173[info] code-template version 1.0.0
174[info]
175[info] Useful sbt tasks:
176[info] a. ~compile - Compile with file-watch enabled
177[info] b. ~test - Test with file-watch enabled
178[info] c. release - Release a new version (assumes you have ~/.sbt/.credentials set up)
179[warn] sbt 0.13 shell syntax is deprecated; use slash syntax instead: Sbt / scalafmt
180[warn] Credentials file /root/.sbt/.credentials does not exist
181[warn] Credentials file /root/.sbt/.credentials does not exist
182[warn] Credentials file /root/.sbt/.credentials does not exist
183[success] Total time: 0 s, completed Nov 22, 2025, 4:49:23 PM
184[info] Defining Global / credentials, credentials
185[info] The new values will be used by Global / pgpSelectPassphrase, allCredentials and 4 others.
186[info] Run `last` for details.
187[info] Reapplying settings...
188[info] _ _ _ _
189[info] | | | | | | | |
190[info] ___ ___ __| | ___ ______| |_ ___ _ __ ___ _ __ | | __ _| |_ ___
191[info] / __/ _ \ / _` |/ _ \______| __/ _ \ '_ ` _ \| '_ \| |/ _` | __/ _ \
192[info] | (_| (_) | (_| | __/ | || __/ | | | | | |_) | | (_| | || __/
193[info] \___\___/ \__,_|\___| \__\___|_| |_| |_| .__/|_|\__,_|\__\___|
194[info] | |
195[info] |_|
196[info]
197[info] code-template version 1.0.0
198[info]
199[info] Useful sbt tasks:
200[info] a. ~compile - Compile with file-watch enabled
201[info] b. ~test - Test with file-watch enabled
202[info] c. release - Release a new version (assumes you have ~/.sbt/.credentials set up)
203[warn] sbt 0.13 shell syntax is deprecated; use slash syntax instead: Sbt / scalafmt
204[success] Total time: 0 s, completed Nov 22, 2025, 4:49:24 PM
205Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
206[info] Reapplying settings...
207OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
208
209 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:336)
210 Did you mean allExcludeDependencies ?
211 , retry without global scopes
212[info] Reapplying settings...
213[info] _ _ _ _
214[info] | | | | | | | |
215[info] ___ ___ __| | ___ ______| |_ ___ _ __ ___ _ __ | | __ _| |_ ___
216[info] / __/ _ \ / _` |/ _ \______| __/ _ \ '_ ` _ \| '_ \| |/ _` | __/ _ \
217[info] | (_| (_) | (_| | __/ | || __/ | | | | | |_) | | (_| | || __/
218[info] \___\___/ \__,_|\___| \__\___|_| |_| |_| .__/|_|\__,_|\__\___|
219[info] | |
220[info] |_|
221[info]
222[info] code-template version 1.0.0
223[info]
224[info] Useful sbt tasks:
225[info] a. ~compile - Compile with file-watch enabled
226[info] b. ~test - Test with file-watch enabled
227[info] c. release - Release a new version (assumes you have ~/.sbt/.credentials set up)
228[warn] sbt 0.13 shell syntax is deprecated; use slash syntax instead: Sbt / scalafmt
229[success] Total time: 1 s, completed Nov 22, 2025, 4:49:25 PM
230Execute removeScalacOptionsStartingWith: -P:wartremover
231[info] Reapplying settings...
232[info] _ _ _ _
233[info] | | | | | | | |
234[info] ___ ___ __| | ___ ______| |_ ___ _ __ ___ _ __ | | __ _| |_ ___
235[info] / __/ _ \ / _` |/ _ \______| __/ _ \ '_ ` _ \| '_ \| |/ _` | __/ _ \
236[info] | (_| (_) | (_| | __/ | || __/ | | | | | |_) | | (_| | || __/
237[info] \___\___/ \__,_|\___| \__\___|_| |_| |_| .__/|_|\__,_|\__\___|
238[info] | |
239[info] |_|
240[info]
241[info] code-template version 1.0.0
242[info]
243[info] Useful sbt tasks:
244[info] a. ~compile - Compile with file-watch enabled
245[info] b. ~test - Test with file-watch enabled
246[info] c. release - Release a new version (assumes you have ~/.sbt/.credentials set up)
247[warn] sbt 0.13 shell syntax is deprecated; use slash syntax instead: Sbt / scalafmt
248[success] Total time: 0 s, completed Nov 22, 2025, 4:49:26 PM
249[success] Total time: 0 s, completed Nov 22, 2025, 4:49:26 PM
250Build config: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[]}
251Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
252Starting build...
253Projects: Set(repo)
254Starting build for ProjectRef(file:/build/repo/,repo) (code-template)... [0/1]
255OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
256Compile scalacOptions: -Wconf:msg=can be rewritten automatically under:s, -source:3.8
257[info] Formatting 7 Scala sources in repo:compile ...
258[info] compiling 7 Scala sources and 1 Java source to /build/repo/target/scala-3.8.1-RC1-bin-20251120-60444cb/classes ...
259[warn] -- Warning: /build/repo/src/main/scala/codetemplate/model.scala:65:99 ----------
260[warn] 65 | implicit def msgEncoder[K: Encoder, V: Encoder]: Encoder[Message[K, V]] = Encoder[Message[K, V]] { msg =>
261[warn] | ^
262[warn] |Implicit parameters should be provided with a `using` clause.
263[warn] |To disable the warning, please use the following option:
264[warn] | "-Wconf:msg=Implicit parameters should be provided with a `using` clause:s"
265[warn] 66 | import io.circe.syntax.*
266[warn] 67 | import msg.*
267[warn] 68 | Json.obj(
268[warn] 69 | "content" -> Encoder[V].apply(content),
269[warn] 70 | "key" -> Encoder[K].apply(key),
270[warn] 71 | "timestamp" -> timestamp.asJson,
271[warn] 72 | "headers" -> headers.asJson,
272[warn] 73 | "topic" -> topic.asJson,
273[warn] 74 | "offset" -> offset.asJson,
274[warn] 75 | "partition" -> partition.asJson
275[warn] 76 | )
276[warn] 77 | }
277[warn] -- Warning: /build/repo/src/main/scala/codetemplate/model.scala:78:99 ----------
278[warn] 78 | implicit def msgDecoder[K: Decoder, V: Decoder]: Decoder[Message[K, V]] = Decoder[Message[K, V]] { cursor =>
279[warn] | ^
280[warn] |Implicit parameters should be provided with a `using` clause.
281[warn] |To disable the warning, please use the following option:
282[warn] | "-Wconf:msg=Implicit parameters should be provided with a `using` clause:s"
283[warn] 79 | for {
284[warn] 80 | content <- cursor.downField("content").as[V]
285[warn] 81 | key <- cursor.downField("key").as[K]
286[warn] 82 | timestamp <- cursor.downField("timestamp").as[Long]
287[warn] 83 | headers <- cursor.downField("headers").as[Map[String, String]]
288[warn] 84 | topic <- cursor.downField("topic").as[String]
289[warn] 85 | offset <- cursor.downField("offset").as[Long]
290[warn] 86 | partition <- cursor.downField("partition").as[Int]
291[warn] 87 | } yield Message(content, key, timestamp, headers, topic, offset, partition)
292[warn] 88 | }
293[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/src/main/scala/codetemplate/CodeTemplate.scala:100:13
294[warn] 100 | case expr: Thunk => Try(Compiled(script, inputType, expr))
295[warn] | ^
296[warn] |the type test for Thunk cannot be checked at runtime because its type arguments can't be determined from Object
297[warn] |
298[warn] | longer explanation available when compiling with `-explain`
299[warn] three warnings found
300[info] /build/repo/src/main/java/codetemplate/Enums.java: Enums.java uses unchecked or unsafe operations.
301[info] /build/repo/src/main/java/codetemplate/Enums.java: Recompile with -Xlint:unchecked for details.
302[info] done compiling
303[info] Formatting 6 Scala sources in repo:test ...
304[warn] /build/repo/src/test/scala/codetemplate/BaseTest.scala:6: error: ; expected but : found
305[warn] abstract class BaseTest extends AnyWordSpec with Matchers:
306[warn] ^
307[info] compiling 6 Scala sources to /build/repo/target/scala-3.8.1-RC1-bin-20251120-60444cb/test-classes ...
308[info] done compiling
309
310************************
311Build summary:
312[{
313 "module": "code-template",
314 "compile": {"status": "ok", "tookMs": 11426, "warnings": 3, "errors": 0, "sourceVersion": "3.8"},
315 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
316 "test-compile": {"status": "ok", "tookMs": 3380, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
317 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
318 "publish": {"status": "skipped", "tookMs": 0},
319 "metadata": {
320 "crossScalaVersions": ["2.12.20"]
321}
322}]
323************************
324[success] Total time: 15 s, completed Nov 22, 2025, 4:49:41 PM
325[0JChecking patch project/plugins.sbt...
326Checking patch project/build.properties...
327Checking patch build.sbt...
328Applied patch project/plugins.sbt cleanly.
329Applied patch project/build.properties cleanly.
330Applied patch build.sbt cleanly.