Build Logs
zio/zio-cli • 3.8.0-RC2:2025-11-25
Errors
0
Warnings
82
Total Lines
289
1##################################
2Clonning https://github.com/zio/zio-cli.git into /build/repo using revision v0.7.4
3##################################
4Note: switching to '407a3c8503de759a32215cb3488b709bf69c7c80'.
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.3.7
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/BuildHelper.scala
34Pattern: val Scala3 = "3.3.7"
35Replacement: val Scala3 = "3.8.0-RC2"
36Starting compilation server
37Compiling project (Scala 3.7.3, JVM (21))
38Compiled project (Scala 3.7.3, JVM (21))
39Successfully applied pattern 'val Scala3 = "3.3.7"' in project/BuildHelper.scala
40----
41Starting build for 3.8.0-RC2
42Execute tests: false
43sbt project found:
44No prepare script found for project zio/zio-cli
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: dev.zio%examples dev.zio%zio-cli dev.zio%zio-cli-testkit
49Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"21"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[{"path":"project/BuildHelper.scala","pattern":"val Scala3 = \"3.3.7\"","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 = '21'
55[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_21/rt.jar'
56# Executing command line:
57java
58-Dcats.effect.stackTracingMode=full
59-Dfile.encoding=UTF8
60-Xms256M
61-Xmx6G
62-XX:+UseG1GC
63-Dcommunitybuild.scala=3.8.0-RC2
64-Dcommunitybuild.project.dependencies.add=
65-Xmx7G
66-Xms4G
67-Xss8M
68-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
69-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_21
70-jar
71/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
72"setCrossScalaVersions 3.8.0-RC2"
73"++3.8.0-RC2 -v"
74"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
75"set every credentials := Nil"
76"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
77"removeScalacOptionsStartingWith -P:wartremover"
78
79moduleMappings
80"runBuild 3.8.0-RC2 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"21"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[{"path":"project/BuildHelper.scala","pattern":"val Scala3 = \"3.3.7\"","replaceWith":"val Scala3 = \"<SCALA_VERSION>\""}]}""" dev.zio%examples dev.zio%zio-cli dev.zio%zio-cli-testkit"
81
82[info] [launcher] getting org.scala-sbt sbt 1.11.7 (this may take some time)...
83[info] welcome to sbt 1.11.7 (Eclipse Adoptium Java 21)
84[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
85[info] loading project definition from /build/repo/project
86[info] compiling 3 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
87[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
88[info] Compilation completed in 8.515s.
89[info] done compiling
90[info] loading settings for project root from build.sbt...
91[info] resolving key references (14848 settings) ...
92[info] set current project to root (in build file:/build/repo/)
93[warn] there are 27 keys that are not used by any other settings/tasks:
94[warn]
95[warn] * examplesJS / buildInfoKeys
96[warn] +- /build/repo/project/BuildHelper.scala:19
97[warn] * examplesJS / buildInfoObject
98[warn] +- /build/repo/project/BuildHelper.scala:21
99[warn] * examplesJS / buildInfoPackage
100[warn] +- /build/repo/project/BuildHelper.scala:20
101[warn] * examplesJVM / buildInfoKeys
102[warn] +- /build/repo/project/BuildHelper.scala:19
103[warn] * examplesJVM / buildInfoObject
104[warn] +- /build/repo/project/BuildHelper.scala:21
105[warn] * examplesJVM / buildInfoPackage
106[warn] +- /build/repo/project/BuildHelper.scala:20
107[warn] * examplesNative / buildInfoKeys
108[warn] +- /build/repo/project/BuildHelper.scala:19
109[warn] * examplesNative / buildInfoObject
110[warn] +- /build/repo/project/BuildHelper.scala:21
111[warn] * examplesNative / buildInfoPackage
112[warn] +- /build/repo/project/BuildHelper.scala:20
113[warn] * testkitJS / buildInfoKeys
114[warn] +- /build/repo/project/BuildHelper.scala:19
115[warn] * testkitJS / buildInfoObject
116[warn] +- /build/repo/project/BuildHelper.scala:21
117[warn] * testkitJS / buildInfoPackage
118[warn] +- /build/repo/project/BuildHelper.scala:20
119[warn] * testkitJVM / buildInfoKeys
120[warn] +- /build/repo/project/BuildHelper.scala:19
121[warn] * testkitJVM / buildInfoObject
122[warn] +- /build/repo/project/BuildHelper.scala:21
123[warn] * testkitJVM / buildInfoPackage
124[warn] +- /build/repo/project/BuildHelper.scala:20
125[warn] * testkitNative / buildInfoKeys
126[warn] +- /build/repo/project/BuildHelper.scala:19
127[warn] * testkitNative / buildInfoObject
128[warn] +- /build/repo/project/BuildHelper.scala:21
129[warn] * testkitNative / buildInfoPackage
130[warn] +- /build/repo/project/BuildHelper.scala:20
131[warn] * zioCliJS / buildInfoKeys
132[warn] +- /build/repo/project/BuildHelper.scala:19
133[warn] * zioCliJS / buildInfoObject
134[warn] +- /build/repo/project/BuildHelper.scala:21
135[warn] * zioCliJS / buildInfoPackage
136[warn] +- /build/repo/project/BuildHelper.scala:20
137[warn] * zioCliJVM / buildInfoKeys
138[warn] +- /build/repo/project/BuildHelper.scala:19
139[warn] * zioCliJVM / buildInfoObject
140[warn] +- /build/repo/project/BuildHelper.scala:21
141[warn] * zioCliJVM / buildInfoPackage
142[warn] +- /build/repo/project/BuildHelper.scala:20
143[warn] * zioCliNative / buildInfoKeys
144[warn] +- /build/repo/project/BuildHelper.scala:19
145[warn] * zioCliNative / buildInfoObject
146[warn] +- /build/repo/project/BuildHelper.scala:21
147[warn] * zioCliNative / buildInfoPackage
148[warn] +- /build/repo/project/BuildHelper.scala:20
149[warn]
150[warn] note: a setting might still be used by a command; to exclude a key from this `lintUnused` check
151[warn] either append it to `Global / excludeLintKeys` or call .withRank(KeyRanks.Invisible) on the key
152Execute setCrossScalaVersions: 3.8.0-RC2
153OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in testkitJS/crossScalaVersions
154OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in examplesJVM/crossScalaVersions
155OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in examplesJS/crossScalaVersions
156OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in zioCliNative/crossScalaVersions
157OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in testkitNative/crossScalaVersions
158OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in zioCliJS/crossScalaVersions
159OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in testkitJVM/crossScalaVersions
160OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in zioCliJVM/crossScalaVersions
161OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in examplesNative/crossScalaVersions
162OpenCB::Limitting incorrect crossVersions List() -> List(2.13.17) in root/crossScalaVersions
163[info] set current project to root (in build file:/build/repo/)
164[info] Setting Scala version to 3.8.0-RC2 on 9 projects.
165[info] Switching Scala version on:
166[info] examplesNative (2.12.20, 2.13.17, 3.8.0-RC2)
167[info] zioCliJS (2.12.20, 2.13.17, 3.8.0-RC2)
168[info] testkitNative (2.12.20, 2.13.17, 3.8.0-RC2)
169[info] zioCliNative (2.12.20, 2.13.17, 3.8.0-RC2)
170[info] testkitJS (2.12.20, 2.13.17, 3.8.0-RC2)
171[info] zioCliJVM (2.12.20, 2.13.17, 3.8.0-RC2)
172[info] examplesJS (2.12.20, 2.13.17, 3.8.0-RC2)
173[info] examplesJVM (2.12.20, 2.13.17, 3.8.0-RC2)
174[info] testkitJVM (2.12.20, 2.13.17, 3.8.0-RC2)
175[info] Excluding projects:
176[info] * root (2.13.17)
177[info] docs (2.13.17)
178[info] sbtZioCli (2.12.20)
179[info] Reapplying settings...
180[info] set current project to root (in build file:/build/repo/)
181Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
182[info] Reapplying settings...
183[info] set current project to root (in build file:/build/repo/)
184[info] Defining Global / credentials, credentials and 10 others.
185[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 96 others.
186[info] Run `last` for details.
187[info] Reapplying settings...
188[info] set current project to root (in build file:/build/repo/)
189Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
190[info] Reapplying settings...
191OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
192
193 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:336)
194 Did you mean sbtZioCli / allExcludeDependencies ?
195 , retry without global scopes
196[info] Reapplying settings...
197[info] set current project to root (in build file:/build/repo/)
198Execute removeScalacOptionsStartingWith: -P:wartremover
199[info] Reapplying settings...
200[info] set current project to root (in build file:/build/repo/)
201[success] Total time: 0 s, completed Nov 25, 2025, 4:47:26 PM
202Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"21"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[{"path":"project/BuildHelper.scala","pattern":"val Scala3 = \"3.3.7\"","replaceWith":"val Scala3 = \"<SCALA_VERSION>\""}]}
203Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
204Starting build...
205Projects: Set(examplesJVM, zioCliJVM, testkitJVM)
206Starting build for ProjectRef(file:/build/repo/,examplesJVM) (examples)... [0/3]
207OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
208OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
209OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
210Compile scalacOptions: -encoding, UTF-8, -unchecked, -noindent, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
211[info] compiling 48 Scala sources to /build/repo/zio-cli/jvm/target/scala-3.8.0-RC2/classes ...
212[warn] -- Warning: /build/repo/zio-cli/shared/src/main/scala/zio/cli/Command.scala:128:34
213[warn] 128 | .map(CommandDirective.BuiltIn)
214[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^
215[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `zio.cli.CommandDirective.BuiltIn.apply` explicitly.
216[warn] -- [E147] Syntax Warning: /build/repo/zio-cli/shared/src/main/scala/zio/cli/oauth2/TokenType.scala:15:2
217[warn] 15 | final case object Bearer extends TokenType
218[warn] | ^^^^^
219[warn] | Modifier final is redundant for this definition
220[warn] -- [E147] Syntax Warning: /build/repo/zio-cli/shared/src/main/scala/zio/cli/oauth2/TokenType.scala:16:2
221[warn] 16 | final case object Mac extends TokenType
222[warn] | ^^^^^
223[warn] | Modifier final is redundant for this definition
224[warn] -- [E121] Pattern Match Warning: /build/repo/zio-cli/shared/src/main/scala/zio/cli/Options.scala:709:15
225[warn] 709 | case _ => acc
226[warn] | ^
227[warn] |Unreachable case except for null (if this is intentional, consider writing case null => instead).
228[warn] four warnings found
229[info] done compiling
230[info] compiling 4 Scala sources to /build/repo/examples/jvm/target/scala-3.8.0-RC2/classes ...
231[warn] -- Warning: /build/repo/examples/jvm/src/main/scala/zio/cli/examples/GitExample.scala:45:90
232[warn] 45 | Command("remove", Args.text("name")).withHelp(remoteRemoveHelp).map(Subcommand.Remote.Remove)
233[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^
234[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `zio.cli.examples.GitExample.Subcommand.Remote.Remove.apply` explicitly.
235[warn] there was 1 deprecation warning; re-run with -deprecation for details
236[warn] two warnings found
237[info] done compiling
238Starting build for ProjectRef(file:/build/repo/,zioCliJVM) (zio-cli)... [1/3]
239Compile scalacOptions: -encoding, UTF-8, -unchecked, -noindent, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
240[info] compiling 19 Scala sources to /build/repo/zio-cli/jvm/target/scala-3.8.0-RC2/test-classes ...
241[info] done compiling
242Starting build for ProjectRef(file:/build/repo/,testkitJVM) (zio-cli-testkit)... [2/3]
243Compile scalacOptions: -encoding, UTF-8, -unchecked, -noindent, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
244[info] compiling 5 Scala sources to /build/repo/zio-cli-testkit/jvm/target/scala-3.8.0-RC2/classes ...
245[info] done compiling
246[info] compiling 2 Scala sources to /build/repo/zio-cli-testkit/jvm/target/scala-3.8.0-RC2/test-classes ...
247[info] done compiling
248
249************************
250Build summary:
251[{
252 "module": "examples",
253 "compile": {"status": "ok", "tookMs": 23787, "warnings": 1, "errors": 0, "sourceVersion": "3.8"},
254 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
255 "test-compile": {"status": "ok", "tookMs": 197, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
256 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
257 "publish": {"status": "skipped", "tookMs": 0},
258 "metadata": {
259 "crossScalaVersions": ["2.12.20", "2.13.17", "3.3.7"]
260}
261},{
262 "module": "zio-cli",
263 "compile": {"status": "ok", "tookMs": 84, "warnings": 4, "errors": 0, "sourceVersion": "3.8"},
264 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
265 "test-compile": {"status": "ok", "tookMs": 6872, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
266 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
267 "publish": {"status": "skipped", "tookMs": 0},
268 "metadata": {
269 "crossScalaVersions": ["2.12.20", "2.13.17", "3.3.7"]
270}
271},{
272 "module": "zio-cli-testkit",
273 "compile": {"status": "ok", "tookMs": 1407, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
274 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
275 "test-compile": {"status": "ok", "tookMs": 793, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
276 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
277 "publish": {"status": "skipped", "tookMs": 0},
278 "metadata": {
279 "crossScalaVersions": ["2.12.20", "2.13.17", "3.3.7"]
280}
281}]
282************************
283[success] Total time: 46 s, completed Nov 25, 2025, 4:48:12 PM
284[0JChecking patch project/plugins.sbt...
285Checking patch project/BuildHelper.scala...
286Checking patch build.sbt...
287Applied patch project/plugins.sbt cleanly.
288Applied patch project/BuildHelper.scala cleanly.
289Applied patch build.sbt cleanly.