Build Logs
sbt/contraband • 3.8.0-RC2:2025-11-26
Errors
0
Warnings
63
Total Lines
217
1##################################
2Clonning https://github.com/sbt/contraband.git into /build/repo using revision v0.8.0
3##################################
4Note: switching to 'a7c6a560592593a8747d712a9a6426bac7b18acd'.
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
21Would override fixed Scala version: 3.7.2
22----
23Preparing build for 3.8.0-RC2
24Scala binary version found: 3.8
25Implicitly using source version 3.8
26Scala binary version found: 3.8
27Implicitly using source version 3.8
28Would try to apply common scalacOption (best-effort, sbt/mill only):
29Append: ,REQUIRE:-source:3.8
30Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
31
32Try apply source patch:
33Path: project/Dependencies.scala
34Pattern: val scala3 = "3.7.2"
35Replacement: val scala3 = "3.8.0-RC2"
36Starting compilation server
37Compiling project (Scala 3.7.3, JVM (17))
38Compiled project (Scala 3.7.3, JVM (17))
39Successfully applied pattern 'val scala3 = "3.7.2"' in project/Dependencies.scala
40----
41Starting build for 3.8.0-RC2
42Execute tests: false
43sbt project found:
44No prepare script found for project sbt/contraband
45/opencb/project-builder/sbt/prepare-project.sh: line 107: /root/.ssh/config: No such file or directory
46##################################
47Scala version: 3.8.0-RC2
48Targets: org.scala-sbt%contraband
49Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[{"path":"project/Dependencies.scala","pattern":"val scala3 = \"3.7.2\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}
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-Dcommunitybuild.scala=3.8.0-RC2
60-Dcommunitybuild.project.dependencies.add=
61-Xmx7G
62-Xms4G
63-Xss8M
64-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
65-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
66-jar
67/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
68"setCrossScalaVersions 3.8.0-RC2"
69"++3.8.0-RC2 -v"
70"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
71"set every credentials := Nil"
72"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
73"removeScalacOptionsStartingWith -P:wartremover"
74
75moduleMappings
76"runBuild 3.8.0-RC2 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[{"path":"project/Dependencies.scala","pattern":"val scala3 = \"3.7.2\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}""" org.scala-sbt%contraband"
77
78[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
79[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
80[info] loading project definition from /build/repo/project
81[info] compiling 6 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
82[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
83[info] Compilation completed in 8.936s.
84[info] done compiling
85[info] loading settings for project root from build.sbt...
86[info] set current project to contraband root (in build file:/build/repo/)
87Execute setCrossScalaVersions: 3.8.0-RC2
88OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in library/crossScalaVersions
89OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in plugin/crossScalaVersions
90OpenCB::Limitting incorrect crossVersions List() -> List(2.12.20) in root/crossScalaVersions
91[info] set current project to contraband root (in build file:/build/repo/)
92[info] Setting Scala version to 3.8.0-RC2 on 2 projects.
93[info] Switching Scala version on:
94[info] library (2.13.15, 2.12.20, 3.8.0-RC2)
95[info] plugin (2.12.20, 3.8.0-RC2)
96[info] Excluding projects:
97[info] * root (2.12.20)
98[info] Reapplying settings...
99[info] set current project to contraband root (in build file:/build/repo/)
100Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
101[info] Reapplying settings...
102[info] set current project to contraband root (in build file:/build/repo/)
103[info] Defining Global / credentials, credentials and 1 others.
104[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 23 others.
105[info] Run `last` for details.
106[info] Reapplying settings...
107[info] set current project to contraband root (in build file:/build/repo/)
108Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
109[info] Reapplying settings...
110OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
111
112 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:336)
113 Did you mean allExcludeDependencies ?
114 , retry without global scopes
115[info] Reapplying settings...
116[info] set current project to contraband root (in build file:/build/repo/)
117Execute removeScalacOptionsStartingWith: -P:wartremover
118[info] Reapplying settings...
119[info] set current project to contraband root (in build file:/build/repo/)
120[success] Total time: 0 s, completed Nov 26, 2025, 4:37:21 PM
121Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[{"path":"project/Dependencies.scala","pattern":"val scala3 = \"3.7.2\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}
122Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
123Starting build...
124Projects: Set(library)
125Starting build for ProjectRef(file:/build/repo/,library) (contraband)... [0/1]
126OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
127OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Scope(Select(BuildRef(file:/build/repo/)), Zero, Zero, Zero)
128Compile scalacOptions: -Xsource:3, -Xsemanticdb, -semanticdb-target, /build/repo/library/target/scala-3.8.0-RC2/meta, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
129[info] compiling 14 Scala sources to /build/repo/library/target/scala-3.8.0-RC2/classes ...
130[warn] bad option '-Xsource:3' was ignored
131[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/library/src/main/scala/sbt/contraband/JavaCodeGen.scala:147:50
132[warn] 147 | private def genRealTpe(tpe: ast.Type): String = tpe match {
133[warn] | ^^^
134[warn] | match may not be exhaustive.
135[warn] |
136[warn] | It would fail on pattern case: _: sbt.contraband.ast.Type
137[warn] |
138[warn] | longer explanation available when compiling with `-explain`
139[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/library/src/main/scala/sbt/contraband/JavaCodeGen.scala:266:8
140[warn] 266 | case f if provided contains f => s"_${f.name}"
141[warn] | ^
142[warn] |match may not be exhaustive.
143[warn] |
144[warn] |It would fail on pattern case: sbt.contraband.ast.FieldDefinition(_, _, _, _, _, _, _)
145[warn] |
146[warn] | longer explanation available when compiling with `-explain`
147[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/library/src/main/scala/sbt/contraband/JavaCodeGen.scala:271:8
148[warn] 271 | case f if provided contains f => s"${f.name} = _${f.name};"
149[warn] | ^
150[warn] |match may not be exhaustive.
151[warn] |
152[warn] |It would fail on pattern case: sbt.contraband.ast.FieldDefinition(_, _, _, _, _, _, _)
153[warn] |
154[warn] | longer explanation available when compiling with `-explain`
155[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/library/src/main/scala/sbt/contraband/JavaCodeGen.scala:286:12
156[warn] 286 | case f if (provided contains f) && f.fieldType.isOptionalType && !f.fieldType.isLazyType =>
157[warn] | ^
158[warn] |match may not be exhaustive.
159[warn] |
160[warn] |It would fail on pattern case: sbt.contraband.ast.FieldDefinition(_, _, _, _, _, _, _)
161[warn] |
162[warn] | longer explanation available when compiling with `-explain`
163[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/library/src/main/scala/sbt/contraband/JavaCodeGen.scala:294:14
164[warn] 294 | case f if (provided contains f) && f.fieldType.isOptionalType && !f.fieldType.isLazyType =>
165[warn] | ^
166[warn] |match may not be exhaustive.
167[warn] |
168[warn] |It would fail on pattern case: sbt.contraband.ast.FieldDefinition(_, _, _, _, _, _, _)
169[warn] |
170[warn] | longer explanation available when compiling with `-explain`
171[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/library/src/main/scala/sbt/contraband/ScalaCodeGen.scala:248:6
172[warn] 248 | tpe match {
173[warn] | ^^^
174[warn] | match may not be exhaustive.
175[warn] |
176[warn] | It would fail on pattern case: _: sbt.contraband.ast.Type
177[warn] |
178[warn] | longer explanation available when compiling with `-explain`
179[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/library/src/main/scala/sbt/contraband/ScalaCodeGen.scala:428:12
180[warn] 428 | case f if provided contains f => bq(f.name)
181[warn] | ^
182[warn] |match may not be exhaustive.
183[warn] |
184[warn] |It would fail on pattern case: sbt.contraband.ast.FieldDefinition(_, _, _, _, _, _, _)
185[warn] |
186[warn] | longer explanation available when compiling with `-explain`
187[warn] there was 1 deprecation warning; re-run with -deprecation for details
188[warn] 9 warnings found
189[info] done compiling
190[info] compiling 14 Scala sources to /build/repo/library/target/scala-3.8.0-RC2/test-classes ...
191[warn] bad option '-Xsource:3' was ignored
192[warn] there were 2 feature warnings; re-run with -feature for details
193[warn] there were 14 deprecation warnings; re-run with -deprecation for details
194[warn] three warnings found
195[info] done compiling
196
197************************
198Build summary:
199[{
200 "module": "contraband",
201 "compile": {"status": "ok", "tookMs": 25989, "warnings": 7, "errors": 0, "sourceVersion": "3.8"},
202 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
203 "test-compile": {"status": "ok", "tookMs": 6113, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
204 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
205 "publish": {"status": "skipped", "tookMs": 0},
206 "metadata": {
207 "crossScalaVersions": ["2.13.15", "2.12.20", "3.7.2"]
208}
209}]
210************************
211[success] Total time: 44 s, completed Nov 26, 2025, 4:38:04 PM
212[0JChecking patch project/plugins.sbt...
213Checking patch project/Dependencies.scala...
214Checking patch build.sbt...
215Applied patch project/plugins.sbt cleanly.
216Applied patch project/Dependencies.scala cleanly.
217Applied patch build.sbt cleanly.