Build Logs

zio/zio-cli • scheduled_3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY

Errors

0

Warnings

82

Total Lines

288

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