Build Logs

inkytonik/kiama • 3.8.0-RC2:2025-11-27

Errors

0

Warnings

55

Total Lines

242

1##################################
2Clonning https://github.com/inkytonik/kiama.git into /build/repo using revision v2.5.1
3##################################
4Note: switching to '61750c32ccd51eee31271a78713fd94809a61928'.
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-RC2
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
31Try apply source patch:
32Path: .sbtopts
33Pattern: -J-XX:+CMSClassUnloadingEnabled
34Replacement:
35Starting compilation server
36Compiling project (Scala 3.7.3, JVM (17))
37Compiled project (Scala 3.7.3, JVM (17))
38Successfully applied pattern '-J-XX:+CMSClassUnloadingEnabled' in .sbtopts
39----
40Starting build for 3.8.0-RC2
41Execute tests: false
42sbt project found:
43Sbt version 1.9.2 is not supported, minimal supported version is 1.11.5
44Enforcing usage of sbt in version 1.11.5
45No prepare script found for project inkytonik/kiama
46##################################
47Scala version: 3.8.0-RC2
48Targets: org.bitbucket.inkytonik.kiama%kiama org.bitbucket.inkytonik.kiama%kiama-extras
49Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[{"path":".sbtopts","pattern":"-J-XX:+CMSClassUnloadingEnabled","replaceWith":""}]}
50##################################
51Using extra scalacOptions: ,REQUIRE:-source:3.8
52Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
53[sbt_options] declare -a sbt_options=()
54[process_args] java_version = '17'
55[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
56# Executing command line:
57java
58-Dfile.encoding=UTF-8
59-Xms2G
60-Xmx2G
61-XX:+UseParallelGC
62-Dcommunitybuild.scala=3.8.0-RC2
63-Dcommunitybuild.project.dependencies.add=
64-Xmx7G
65-Xms4G
66-Xss8M
67-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
68-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
69-jar
70/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
71"setCrossScalaVersions 3.8.0-RC2"
72"++3.8.0-RC2 -v"
73"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
74"set every credentials := Nil"
75"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
76"removeScalacOptionsStartingWith -P:wartremover"
77
78moduleMappings
79"runBuild 3.8.0-RC2 """{"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[{"path":".sbtopts","pattern":"-J-XX:+CMSClassUnloadingEnabled","replaceWith":""}]}""" org.bitbucket.inkytonik.kiama%kiama org.bitbucket.inkytonik.kiama%kiama-extras"
80
81[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
82[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
83[info] loading project definition from /build/repo/project
84[info] compiling 2 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
85[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
86[info] Compilation completed in 8.504s.
87[info] done compiling
88/build/repo/build.sbt:46: warning: method sonatypeOssRepos in class ResolverFunctions is deprecated (since 1.11.2): Sonatype OSS Repository Hosting (OSSRH) was sunset on 2025-06-30; remove this resolver. If snapshots are required, use:
89 resolvers += Resolver.sonatypeCentralSnapshots
90ThisBuild/resolvers ++= Resolver.sonatypeOssRepos("releases")
91 ^
92/build/repo/build.sbt:47: warning: method sonatypeOssRepos in class ResolverFunctions is deprecated (since 1.11.2): Sonatype OSS Repository Hosting (OSSRH) was sunset on 2025-06-30; remove this resolver. If snapshots are required, use:
93 resolvers += Resolver.sonatypeCentralSnapshots
94ThisBuild/resolvers ++= Resolver.sonatypeOssRepos("snapshots")
95 ^
96[info] loading settings for project root from build.sbt...
97[info] set current project to root (in build file:/build/repo/)
98Execute setCrossScalaVersions: 3.8.0-RC2
99OpenCB::Changing crossVersion 3.1.3 -> 3.8.0-RC2 in core/crossScalaVersions
100OpenCB::Changing crossVersion 3.0.2 -> 3.8.0-RC2 in core/crossScalaVersions
101OpenCB::Changing crossVersion 3.1.3 -> 3.8.0-RC2 in extras/crossScalaVersions
102OpenCB::Changing crossVersion 3.0.2 -> 3.8.0-RC2 in extras/crossScalaVersions
103OpenCB::Changing crossVersion 3.1.3 -> 3.8.0-RC2 in root/crossScalaVersions
104OpenCB::Changing crossVersion 3.0.2 -> 3.8.0-RC2 in root/crossScalaVersions
105[info] set current project to root (in build file:/build/repo/)
106[info] Setting Scala version to 3.8.0-RC2 on 3 projects.
107[info] Switching Scala version on:
108[info] * root (2.13.7, 3.8.0-RC2, 2.12.18, 2.11.12)
109[info] core (2.13.7, 3.8.0-RC2, 2.12.18, 2.11.12)
110[info] extras (2.13.7, 3.8.0-RC2, 2.12.18, 2.11.12)
111[info] Excluding projects:
112[info] Reapplying settings...
113[info] set current project to 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 root (in build file:/build/repo/)
117[info] Defining Global / credentials, core / credentials and 1 others.
118[info] The new values will be used by Global / pgpSelectPassphrase, allCredentials and 13 others.
119[info] Run `last` for details.
120[info] Reapplying settings...
121[info] set current project to 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 root (in build file:/build/repo/)
131Execute removeScalacOptionsStartingWith: -P:wartremover
132[info] Reapplying settings...
133[info] set current project to root (in build file:/build/repo/)
134[success] Total time: 0 s, completed Nov 27, 2025, 9:17:50 PM
135Build config: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[{"path":".sbtopts","pattern":"-J-XX:+CMSClassUnloadingEnabled","replaceWith":""}]}
136Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
137Starting build...
138Projects: Set(core, extras)
139Starting build for ProjectRef(file:/build/repo/,core) (kiama)... [0/2]
140OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.13.7 module Scope(Select(BuildRef(file:/build/repo/)), Zero, Zero, Zero)
141OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
142OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
143OpenCB::Filter out '-Xfatal-warnings', matches setting pattern '^-?-Xfatal-warnings'
144Compile scalacOptions: -language:higherKinds, -sourcepath, /build/repo, -unchecked, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
145[info] Formatting 41 Scala sources ProjectRef(uri("file:/build/repo/"), "core")(compile) ...
146[info] compiling 41 Scala sources to /build/repo/core/target/scala-3.8.0-RC2/classes ...
147[warn] -- Warning: /build/repo/core/src/main/scala/org/bitbucket/inkytonik/kiama/rewriting/Rewriter.scala:570:32
148[warn] 570 | return None
149[warn] | ^^^^^^^^^^^
150[warn] |Non local returns are no longer supported; use `boundary` and `boundary.break` in `scala.util` instead
151[warn] -- Warning: /build/repo/core/src/main/scala/org/bitbucket/inkytonik/kiama/rewriting/Rewriter.scala:597:32
152[warn] 597 | return None
153[warn] | ^^^^^^^^^^^
154[warn] |Non local returns are no longer supported; use `boundary` and `boundary.break` in `scala.util` instead
155[warn] -- Warning: /build/repo/core/src/main/scala/org/bitbucket/inkytonik/kiama/rewriting/Rewriter.scala:624:32
156[warn] 624 | return None
157[warn] | ^^^^^^^^^^^
158[warn] |Non local returns are no longer supported; use `boundary` and `boundary.break` in `scala.util` instead
159[warn] -- Warning: /build/repo/core/src/main/scala/org/bitbucket/inkytonik/kiama/rewriting/Rewriter.scala:650:32
160[warn] 650 | return None
161[warn] | ^^^^^^^^^^^
162[warn] |Non local returns are no longer supported; use `boundary` and `boundary.break` in `scala.util` instead
163[warn] -- Warning: /build/repo/core/src/main/scala/org/bitbucket/inkytonik/kiama/rewriting/Rewriter.scala:703:24
164[warn] 703 | return Some(r)
165[warn] | ^^^^^^^^^^^^^^
166[warn] |Non local returns are no longer supported; use `boundary` and `boundary.break` in `scala.util` instead
167[warn] -- Warning: /build/repo/core/src/main/scala/org/bitbucket/inkytonik/kiama/rewriting/Rewriter.scala:706:24
168[warn] 706 | return Some(r.reconstruct(newchildren))
169[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
170[warn] |Non local returns are no longer supported; use `boundary` and `boundary.break` in `scala.util` instead
171[warn] -- Warning: /build/repo/core/src/main/scala/org/bitbucket/inkytonik/kiama/rewriting/Rewriter.scala:722:24
172[warn] 722 | return Some(p)
173[warn] | ^^^^^^^^^^^^^^
174[warn] |Non local returns are no longer supported; use `boundary` and `boundary.break` in `scala.util` instead
175[warn] -- Warning: /build/repo/core/src/main/scala/org/bitbucket/inkytonik/kiama/rewriting/Rewriter.scala:726:24
176[warn] 726 | return Some(dup(p, newchildren))
177[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
178[warn] |Non local returns are no longer supported; use `boundary` and `boundary.break` in `scala.util` instead
179[warn] -- Warning: /build/repo/core/src/main/scala/org/bitbucket/inkytonik/kiama/rewriting/Rewriter.scala:746:32
180[warn] 746 | return Some(t)
181[warn] | ^^^^^^^^^^^^^^
182[warn] |Non local returns are no longer supported; use `boundary` and `boundary.break` in `scala.util` instead
183[warn] -- Warning: /build/repo/core/src/main/scala/org/bitbucket/inkytonik/kiama/rewriting/Rewriter.scala:777:32
184[warn] 777 | return Some(t)
185[warn] | ^^^^^^^^^^^^^^
186[warn] |Non local returns are no longer supported; use `boundary` and `boundary.break` in `scala.util` instead
187[warn] -- Warning: /build/repo/core/src/main/scala/org/bitbucket/inkytonik/kiama/rewriting/Rewriter.scala:993:32
188[warn] 993 | return None
189[warn] | ^^^^^^^^^^^
190[warn] |Non local returns are no longer supported; use `boundary` and `boundary.break` in `scala.util` instead
191[warn] there was 1 deprecation warning; re-run with -deprecation for details
192[warn] 12 warnings found
193[info] done compiling
194Starting build for ProjectRef(file:/build/repo/,extras) (kiama-extras)... [1/2]
195Compile scalacOptions: -language:higherKinds, -sourcepath, /build/repo, -unchecked, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
196[info] Formatting 7 Scala sources ProjectRef(uri("file:/build/repo/"), "extras")(compile) ...
197[info] compiling 7 Scala sources to /build/repo/extras/target/scala-3.8.0-RC2/classes ...
198[info] done compiling
199[info] Formatting 221 Scala sources ProjectRef(uri("file:/build/repo/"), "extras")(test) ...
200[info] compiling 221 Scala sources to /build/repo/extras/target/scala-3.8.0-RC2/test-classes ...
201[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/extras/src/test/scala/org/bitbucket/inkytonik/kiama/attribution/AttributionTests.scala:813:29
202[warn] 813 | case node : AstBase if aggregateValuesAttr(node) > threshold =>
203[warn] | ^
204[warn] |the type test for AstBase cannot be checked at runtime because it's a local class
205[warn] |
206[warn] | longer explanation available when compiling with `-explain`
207[warn] one warning found
208[info] done compiling
209
210************************
211Build summary:
212[{
213 "module": "kiama",
214 "compile": {"status": "ok", "tookMs": 17637, "warnings": 11, "errors": 0, "sourceVersion": "3.8"},
215 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
216 "test-compile": {"status": "ok", "tookMs": 245, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
217 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
218 "publish": {"status": "skipped", "tookMs": 0},
219 "metadata": {
220 "crossScalaVersions": ["3.1.3", "3.0.2", "2.13.7", "2.12.18", "2.11.12"]
221}
222},{
223 "module": "kiama-extras",
224 "compile": {"status": "ok", "tookMs": 2270, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
225 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
226 "test-compile": {"status": "ok", "tookMs": 45956, "warnings": 1, "errors": 0, "sourceVersion": "3.8"},
227 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
228 "publish": {"status": "skipped", "tookMs": 0},
229 "metadata": {
230 "crossScalaVersions": ["3.1.3", "3.0.2", "2.13.7", "2.12.18", "2.11.12"]
231}
232}]
233************************
234[success] Total time: 90 s (0:01:30.0), completed Nov 27, 2025, 9:19:20 PM
235[0JChecking patch project/plugins.sbt...
236Checking patch project/build.properties...
237Checking patch build.sbt...
238Checking patch .sbtopts...
239Applied patch project/plugins.sbt cleanly.
240Applied patch project/build.properties cleanly.
241Applied patch build.sbt cleanly.
242Applied patch .sbtopts cleanly.