Build Logs

xuwei-k/optparse-applicative • 3.8.0-RC6:2026-01-08

Errors

0

Warnings

12

Total Lines

336

1##################################
2Clonning https://github.com/xuwei-k/optparse-applicative.git into /build/repo using revision v0.9.4
3##################################
4Note: switching to '5d63d4913d89d91076b119c2e3bdd1acbefd456d'.
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.3
22Using target Scala version for migration: 3.7.4
23Migrating project for -source:3.4 using Scala 3.7.4
24----
25Preparing build for 3.7.4
26Would try to apply common scalacOption (best-effort, sbt/mill only):
27Append: -rewrite,REQUIRE:-source:3.4-migration
28Remove: -indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
29
30Try apply source patch:
31Path: build.sbt
32Pattern: val Scala3 = "3.3.3"
33Replacement: val Scala3 = "3.7.4"
34Starting compilation server
35Compiling project (Scala 3.7.3, JVM (17))
36Compiled project (Scala 3.7.3, JVM (17))
37Successfully applied pattern 'val Scala3 = "3.3.3"' in build.sbt
38----
39Starting build for 3.7.4
40Execute tests: false
41sbt project found:
42Sbt version 1.9.9 is not supported, minimal supported version is 1.11.5
43Enforcing usage of sbt in version 1.11.5
44No prepare script found for project xuwei-k/optparse-applicative
45##################################
46Scala version: 3.7.4
47Targets: com.github.xuwei-k%optparse-applicative
48Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.4"],"sourcePatches":[{"path":"build.sbt","pattern":"val Scala3 = \"3.3.3\"","replaceWith":"val Scala3 = \"<SCALA_VERSION>\""}]}
49##################################
50Using extra scalacOptions: -rewrite,REQUIRE:-source:3.4-migration
51Filtering out scalacOptions: -indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
52[sbt_options] declare -a sbt_options=()
53[process_args] java_version = '17'
54[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
55# Executing command line:
56java
57-Dfile.encoding=UTF-8
58-Dcommunitybuild.scala=3.7.4
59-Dcommunitybuild.project.dependencies.add=
60-Xmx7G
61-Xms4G
62-Xss8M
63-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
64-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
65-jar
66/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
67"setCrossScalaVersions 3.7.4"
68"++3.7.4 -v"
69"mapScalacOptions "-rewrite,REQUIRE:-source:3.4-migration,-Wconf:msg=can be rewritten automatically under:s" "-indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
70"set every credentials := Nil"
71"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
72"removeScalacOptionsStartingWith -P:wartremover"
73
74moduleMappings
75"runBuild 3.7.4 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.4"],"sourcePatches":[{"path":"build.sbt","pattern":"val Scala3 = \"3.3.3\"","replaceWith":"val Scala3 = \"<SCALA_VERSION>\""}]}""" com.github.xuwei-k%optparse-applicative"
76
77[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
78[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
79[info] loading project definition from /build/repo/project
80[info] compiling 3 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
81[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
82[info] Compilation completed in 8.422s.
83[info] done compiling
84[info] loading settings for project repo from build.sbt, version.sbt...
85[info] set current project to repo (in build file:/build/repo/)
86Execute setCrossScalaVersions: 3.7.4
87OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in example/crossScalaVersions
88OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in optparseApplicativeJS/crossScalaVersions
89OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in optparseApplicativeNative/crossScalaVersions
90OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in optparseApplicativeJVM/crossScalaVersions
91OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in repo/crossScalaVersions
92[info] set current project to repo (in build file:/build/repo/)
93[info] Setting Scala version to 3.7.4 on 5 projects.
94[info] Switching Scala version on:
95[info] optparseApplicativeNative (2.12.19, 2.13.13, 3.7.4)
96[info] optparseApplicativeJVM (2.12.19, 2.13.13, 3.7.4)
97[info] * repo (2.12.19, 2.13.13, 3.7.4)
98[info] example (2.12.19, 2.13.13, 3.7.4)
99[info] optparseApplicativeJS (2.12.19, 2.13.13, 3.7.4)
100[info] Excluding projects:
101[info] Reapplying settings...
102[info] set current project to repo (in build file:/build/repo/)
103Execute mapScalacOptions: -rewrite,REQUIRE:-source:3.4-migration,-Wconf:msg=can be rewritten automatically under:s -indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
104[info] Reapplying settings...
105[info] set current project to repo (in build file:/build/repo/)
106[info] Defining Global / credentials, credentials and 3 others.
107[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 39 others.
108[info] Run `last` for details.
109[info] Reapplying settings...
110[info] set current project to repo (in build file:/build/repo/)
111Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
112[info] Reapplying settings...
113OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
114
115 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
116 Did you mean optparseApplicativeNative / allExcludeDependencies ?
117 , retry without global scopes
118[info] Reapplying settings...
119[info] set current project to repo (in build file:/build/repo/)
120Execute removeScalacOptionsStartingWith: -P:wartremover
121[info] Reapplying settings...
122[info] set current project to repo (in build file:/build/repo/)
123[success] Total time: 0 s, completed Jan 8, 2026, 1:47:31 AM
124Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.4"],"sourcePatches":[{"path":"build.sbt","pattern":"val Scala3 = \"3.3.3\"","replaceWith":"val Scala3 = \"<SCALA_VERSION>\""}]}
125Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
126Starting build...
127Projects: Set(optparseApplicativeJVM)
128Starting build for ProjectRef(file:/build/repo/,optparseApplicativeJVM) (optparse-applicative)... [0/1]
129OpenCB::Exclude Scala3 specific scalacOption `-rewrite` in Scala 2.12.20 module Global
130OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.4-migration` in Scala 2.12.20 module Global
131OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
132OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
133Compile scalacOptions: -unchecked, -language:existentials, -language:higherKinds, -language:implicitConversions, -Ykind-projector, -rewrite, -Wconf:msg=can be rewritten automatically under:s, -source:3.4-migration
134[info] compiling 35 Scala sources to /build/repo/core/jvm/target/scala-3.7.4/classes ...
135[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
136[info] [patched file /build/repo/core/shared/src/main/scala/optparse_applicative/builder/Builder.scala]
137[info] [patched file /build/repo/core/shared/src/main/scala/optparse_applicative/common/Common.scala]
138[info] [patched file /build/repo/core/shared/src/main/scala/optparse_applicative/internal/NondetT.scala]
139[info] [patched file /build/repo/core/shared/src/main/scala/optparse_applicative/helpdoc/Help.scala]
140[info] [patched file /build/repo/core/shared/src/main/scala/optparse_applicative/types/Parser.scala]
141[warn] one warning found
142[info] done compiling
143[info] compiling 9 Scala sources to /build/repo/core/jvm/target/scala-3.7.4/classes ...
144[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
145[warn] one warning found
146[info] done compiling
147[info] compiling 2 Scala sources to /build/repo/core/jvm/target/scala-3.7.4/test-classes ...
148[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
149[info] [patched file /build/repo/core/shared/src/test/scala/optparse_applicative/types/DocSpec.scala]
150[info] [patched file /build/repo/core/shared/src/test/scala/optparse_applicative/test/ChunkSpec.scala]
151[warn] one warning found
152[info] done compiling
153[info] compiling 2 Scala sources to /build/repo/core/jvm/target/scala-3.7.4/test-classes ...
154[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
155[warn] one warning found
156[info] done compiling
157
158************************
159Build summary:
160[{
161 "module": "optparse-applicative",
162 "compile": {"status": "ok", "tookMs": 12561, "warnings": 0, "errors": 0, "sourceVersion": "3.4-migration"},
163 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
164 "test-compile": {"status": "ok", "tookMs": 4069, "warnings": 0, "errors": 0, "sourceVersion": "3.4-migration"},
165 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
166 "publish": {"status": "skipped", "tookMs": 0},
167 "metadata": {
168 "crossScalaVersions": ["2.12.19", "2.13.13", "3.3.3"]
169}
170}]
171************************
172[success] Total time: 19 s, completed Jan 8, 2026, 1:47:50 AM
173[0JChecking patch project/plugins.sbt...
174Checking patch project/build.properties...
175Checking patch build.sbt...
176Applied patch project/plugins.sbt cleanly.
177Applied patch project/build.properties cleanly.
178Applied patch build.sbt cleanly.
179Commit migration rewrites
180Switched to a new branch 'opencb/migrate-source-3.4'
181[opencb/migrate-source-3.4 2aa46dc] Apply Scala compiler rewrites using -source:3.4-migration using Scala 3.7.4
182 7 files changed, 10 insertions(+), 10 deletions(-)
183----
184Preparing build for 3.8.0-RC6
185Scala binary version found: 3.8
186Implicitly using source version 3.8
187Scala binary version found: 3.8
188Implicitly using source version 3.8
189Would try to apply common scalacOption (best-effort, sbt/mill only):
190Append: ,REQUIRE:-source:3.8
191Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
192
193Try apply source patch:
194Path: build.sbt
195Pattern: val Scala3 = "3.3.3"
196Replacement: val Scala3 = "3.8.0-RC6"
197Successfully applied pattern 'val Scala3 = "3.3.3"' in build.sbt
198----
199Starting build for 3.8.0-RC6
200Execute tests: true
201sbt project found:
202Sbt version 1.9.9 is not supported, minimal supported version is 1.11.5
203Enforcing usage of sbt in version 1.11.5
204No prepare script found for project xuwei-k/optparse-applicative
205##################################
206Scala version: 3.8.0-RC6
207Targets: com.github.xuwei-k%optparse-applicative
208Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":["3.4"],"sourcePatches":[{"path":"build.sbt","pattern":"val Scala3 = \"3.3.3\"","replaceWith":"val Scala3 = \"<SCALA_VERSION>\""}]}
209##################################
210Using extra scalacOptions: ,REQUIRE:-source:3.8
211Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
212[sbt_options] declare -a sbt_options=()
213[process_args] java_version = '17'
214[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
215# Executing command line:
216java
217-Dfile.encoding=UTF-8
218-Dcommunitybuild.scala=3.8.0-RC6
219-Dcommunitybuild.project.dependencies.add=
220-Xmx7G
221-Xms4G
222-Xss8M
223-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
224-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
225-jar
226/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
227"setCrossScalaVersions 3.8.0-RC6"
228"++3.8.0-RC6 -v"
229"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
230"set every credentials := Nil"
231"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
232"removeScalacOptionsStartingWith -P:wartremover"
233
234moduleMappings
235"runBuild 3.8.0-RC6 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":["3.4"],"sourcePatches":[{"path":"build.sbt","pattern":"val Scala3 = \"3.3.3\"","replaceWith":"val Scala3 = \"<SCALA_VERSION>\""}]}""" com.github.xuwei-k%optparse-applicative"
236
237[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
238[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
239[info] loading project definition from /build/repo/project
240[info] loading settings for project repo from build.sbt, version.sbt...
241[info] set current project to repo (in build file:/build/repo/)
242Execute setCrossScalaVersions: 3.8.0-RC6
243OpenCB::Changing crossVersion 3.8.0-RC6 -> 3.8.0-RC6 in optparseApplicativeJS/crossScalaVersions
244OpenCB::Changing crossVersion 3.8.0-RC6 -> 3.8.0-RC6 in example/crossScalaVersions
245OpenCB::Changing crossVersion 3.8.0-RC6 -> 3.8.0-RC6 in optparseApplicativeNative/crossScalaVersions
246OpenCB::Changing crossVersion 3.8.0-RC6 -> 3.8.0-RC6 in optparseApplicativeJVM/crossScalaVersions
247OpenCB::Changing crossVersion 3.8.0-RC6 -> 3.8.0-RC6 in repo/crossScalaVersions
248[info] set current project to repo (in build file:/build/repo/)
249[info] Setting Scala version to 3.8.0-RC6 on 5 projects.
250[info] Switching Scala version on:
251[info] optparseApplicativeNative (2.12.19, 2.13.13, 3.8.0-RC6)
252[info] optparseApplicativeJVM (2.12.19, 2.13.13, 3.8.0-RC6)
253[info] * repo (2.12.19, 2.13.13, 3.8.0-RC6)
254[info] example (2.12.19, 2.13.13, 3.8.0-RC6)
255[info] optparseApplicativeJS (2.12.19, 2.13.13, 3.8.0-RC6)
256[info] Excluding projects:
257[info] Reapplying settings...
258[info] set current project to repo (in build file:/build/repo/)
259Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
260[info] Reapplying settings...
261[info] set current project to repo (in build file:/build/repo/)
262[info] Defining Global / credentials, credentials and 3 others.
263[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 39 others.
264[info] Run `last` for details.
265[info] Reapplying settings...
266[info] set current project to repo (in build file:/build/repo/)
267Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
268[info] Reapplying settings...
269OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
270
271 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
272 Did you mean optparseApplicativeNative / allExcludeDependencies ?
273 , retry without global scopes
274[info] Reapplying settings...
275[info] set current project to repo (in build file:/build/repo/)
276Execute removeScalacOptionsStartingWith: -P:wartremover
277[info] Reapplying settings...
278[info] set current project to repo (in build file:/build/repo/)
279[success] Total time: 0 s, completed Jan 8, 2026, 1:48:04 AM
280Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":["3.4"],"sourcePatches":[{"path":"build.sbt","pattern":"val Scala3 = \"3.3.3\"","replaceWith":"val Scala3 = \"<SCALA_VERSION>\""}]}
281Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
282Starting build...
283Projects: Set(optparseApplicativeJVM)
284Starting build for ProjectRef(file:/build/repo/,optparseApplicativeJVM) (optparse-applicative)... [0/1]
285OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
286OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
287OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
288Compile scalacOptions: -unchecked, -language:existentials, -language:higherKinds, -language:implicitConversions, -Ykind-projector, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
289[info] compiling 35 Scala sources to /build/repo/core/jvm/target/scala-3.8.0-RC6/classes ...
290[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
291[warn] one warning found
292[info] done compiling
293[info] compiling 2 Scala sources to /build/repo/core/jvm/target/scala-3.8.0-RC6/test-classes ...
294[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
295[warn] one warning found
296[info] done compiling
297
298optparse_applicative.test.ChunkSpec$
299+- extract 1 .................................................. Passed(100,0,LongSeed(343116093364)) 162ms
300+- extract 2 .................................................. Passed(100,0,LongSeed(343321752691)) 14ms
301+- fromList 1 .................................................. Passed(100,0,LongSeed(343335851992)) 133ms
302+- fromList 2 .................................................. Passed(100,0,LongSeed(343470089566)) 98ms
303+- fromString 1 .................................................. Passed(100,0,LongSeed(343568653344)) 60ms
304+- fromString 2 .................................................. Passed(100,0,LongSeed(343629448841)) 10ms
305`- paragraph .................................................. Passed(100,0,LongSeed(343641038692)) 8ms
306[info] optparse_applicative.test.ChunkSpec$ 546 ms
307
308optparse_applicative.types.DocSpec$
309+- nesting distributes .................................................. Passed(100,0,LongSeed(343714669933)) 38ms
310+- nesting law .................................................. Passed(100,0,LongSeed(343753584033)) 21ms
311+- nesting single line is noop .................................................. Passed(100,0,LongSeed(343774870266)) 17ms
312+- text append is same as concat of strings .................................................. Passed(100,0,LongSeed(343792161214)) 9ms
313`- zero nesting is id .................................................. Passed(100,0,LongSeed(343801023301)) 7ms
314[info] optparse_applicative.types.DocSpec$ 96 ms
315
316************************
317Build summary:
318[{
319 "module": "optparse-applicative",
320 "compile": {"status": "ok", "tookMs": 12775, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
321 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
322 "test-compile": {"status": "ok", "tookMs": 1187, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
323 "test": {"status": "ok", "tookMs": 1001, "passed": 12, "failed": 0, "ignored": 0, "skipped": 0, "total": 12, "byFramework": [{"framework": "unknown", "stats": {"passed": 12, "failed": 0, "ignored": 0, "skipped": 0, "total": 12}}]},
324 "publish": {"status": "skipped", "tookMs": 0},
325 "metadata": {
326 "crossScalaVersions": ["2.12.19", "2.13.13", "3.3.3"]
327}
328}]
329************************
330[success] Total time: 17 s, completed Jan 8, 2026, 1:48:22 AM
331[0JChecking patch project/plugins.sbt...
332Checking patch project/build.properties...
333Checking patch build.sbt...
334Applied patch project/plugins.sbt cleanly.
335Applied patch project/build.properties cleanly.
336Applied patch build.sbt cleanly.