Build Logs
xuwei-k/optparse-applicative • 3.7.4:2025-11-06
Errors
0
Warnings
12
Total Lines
320
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-RC2
23Migrating project for -source:3.4 using Scala 3.7.4-RC2
24----
25Preparing build for 3.7.4-RC2
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-RC2"
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-RC2
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/opencb/project-builder/sbt/prepare-project.sh: line 107: /root/.ssh/config: No such file or directory
46##################################
47Scala version: 3.7.4-RC2
48Targets: com.github.xuwei-k%optparse-applicative
49Project 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>\""}]}
50##################################
51Using extra scalacOptions: -rewrite,REQUIRE:-source:3.4-migration
52Filtering out scalacOptions: -indent,-no-indent,-new-syntax,,-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.7.4-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.7.4-RC2"
69"++3.7.4-RC2 -v"
70"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""
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.7.4-RC2 """{"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"
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 3 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.635s.
84[info] done compiling
85[info] loading settings for project repo from build.sbt, version.sbt...
86[info] set current project to repo (in build file:/build/repo/)
87Execute setCrossScalaVersions: 3.7.4-RC2
88OpenCB::Changing crossVersion 3.7.4-RC2 -> 3.7.4-RC2 in example/crossScalaVersions
89OpenCB::Changing crossVersion 3.7.4-RC2 -> 3.7.4-RC2 in optparseApplicativeJS/crossScalaVersions
90OpenCB::Changing crossVersion 3.7.4-RC2 -> 3.7.4-RC2 in optparseApplicativeNative/crossScalaVersions
91OpenCB::Changing crossVersion 3.7.4-RC2 -> 3.7.4-RC2 in optparseApplicativeJVM/crossScalaVersions
92OpenCB::Changing crossVersion 3.7.4-RC2 -> 3.7.4-RC2 in repo/crossScalaVersions
93[info] set current project to repo (in build file:/build/repo/)
94[info] Setting Scala version to 3.7.4-RC2 on 5 projects.
95[info] Switching Scala version on:
96[info] optparseApplicativeNative (2.12.19, 2.13.13, 3.7.4-RC2)
97[info] optparseApplicativeJVM (2.12.19, 2.13.13, 3.7.4-RC2)
98[info] * repo (2.12.19, 2.13.13, 3.7.4-RC2)
99[info] example (2.12.19, 2.13.13, 3.7.4-RC2)
100[info] optparseApplicativeJS (2.12.19, 2.13.13, 3.7.4-RC2)
101[info] Excluding projects:
102[info] Reapplying settings...
103[info] set current project to repo (in build file:/build/repo/)
104Execute 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
105[info] Reapplying settings...
106[info] set current project to repo (in build file:/build/repo/)
107[info] Defining Global / credentials, credentials and 3 others.
108[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 39 others.
109[info] Run `last` for details.
110[info] Reapplying settings...
111[info] set current project to repo (in build file:/build/repo/)
112Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
113[info] Reapplying settings...
114OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
115
116 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:336)
117 Did you mean optparseApplicativeNative / allExcludeDependencies ?
118 , retry without global scopes
119[info] Reapplying settings...
120[info] set current project to repo (in build file:/build/repo/)
121Execute removeScalacOptionsStartingWith: -P:wartremover
122[info] Reapplying settings...
123[info] set current project to repo (in build file:/build/repo/)
124[success] Total time: 0 s, completed Nov 6, 2025, 12:32:14 AM
125Build 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>\""}]}
126Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
127Starting build...
128Projects: Set(optparseApplicativeJVM)
129Starting build for ProjectRef(file:/build/repo/,optparseApplicativeJVM) (optparse-applicative)... [0/1]
130OpenCB::Exclude Scala3 specific scalacOption `-rewrite` in Scala 2.12.20 module Global
131OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.4-migration` in Scala 2.12.20 module Global
132OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
133OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
134Compile scalacOptions: -unchecked, -language:existentials, -language:higherKinds, -language:implicitConversions, -Ykind-projector, -rewrite, -Wconf:msg=can be rewritten automatically under:s, -source:3.4-migration
135[info] compiling 35 Scala sources to /build/repo/core/jvm/target/scala-3.7.4-RC2/classes ...
136[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
137[info] [patched file /build/repo/core/shared/src/main/scala/optparse_applicative/helpdoc/Help.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/common/Common.scala]
140[info] [patched file /build/repo/core/shared/src/main/scala/optparse_applicative/types/Parser.scala]
141[info] [patched file /build/repo/core/shared/src/main/scala/optparse_applicative/builder/Builder.scala]
142[warn] one warning found
143[info] done compiling
144[info] compiling 9 Scala sources to /build/repo/core/jvm/target/scala-3.7.4-RC2/classes ...
145[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
146[warn] one warning found
147[info] done compiling
148[info] compiling 2 Scala sources to /build/repo/core/jvm/target/scala-3.7.4-RC2/test-classes ...
149[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
150[info] [patched file /build/repo/core/shared/src/test/scala/optparse_applicative/test/ChunkSpec.scala]
151[info] [patched file /build/repo/core/shared/src/test/scala/optparse_applicative/types/DocSpec.scala]
152[warn] one warning found
153[info] done compiling
154[info] compiling 2 Scala sources to /build/repo/core/jvm/target/scala-3.7.4-RC2/test-classes ...
155[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
156[warn] one warning found
157[info] done compiling
158
159************************
160Build summary:
161[{
162 "module": "optparse-applicative",
163 "compile": {"status": "ok", "tookMs": 13391, "warnings": 0, "errors": 0, "sourceVersion": "3.4-migration"},
164 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
165 "test-compile": {"status": "ok", "tookMs": 4217, "warnings": 0, "errors": 0, "sourceVersion": "3.4-migration"},
166 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
167 "publish": {"status": "skipped", "tookMs": 0},
168 "metadata": {
169 "crossScalaVersions": ["2.12.19", "2.13.13", "3.3.3"]
170}
171}]
172************************
173[success] Total time: 28 s, completed Nov 6, 2025, 12:32:42 AM
174[0JChecking patch project/plugins.sbt...
175Checking patch project/build.properties...
176Checking patch build.sbt...
177Applied patch project/plugins.sbt cleanly.
178Applied patch project/build.properties cleanly.
179Applied patch build.sbt cleanly.
180Commit migration rewrites
181Switched to a new branch 'opencb/migrate-source-3.4'
182[opencb/migrate-source-3.4 b618f79] Apply Scala compiler rewrites using -source:3.4-migration using Scala 3.7.4-RC2
183 7 files changed, 10 insertions(+), 10 deletions(-)
184----
185Preparing build for 3.7.4
186Scala binary version found: 3.7
187Implicitly using source version 3.7
188Scala binary version found: 3.7
189Implicitly using source version 3.7
190Would try to apply common scalacOption (best-effort, sbt/mill only):
191Append: ,REQUIRE:-source:3.7
192Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
193
194Try apply source patch:
195Path: build.sbt
196Pattern: val Scala3 = "3.3.3"
197Replacement: val Scala3 = "3.7.4"
198Successfully applied pattern 'val Scala3 = "3.3.3"' in build.sbt
199----
200Starting build for 3.7.4
201Execute tests: false
202sbt project found:
203Sbt version 1.9.9 is not supported, minimal supported version is 1.11.5
204Enforcing usage of sbt in version 1.11.5
205No prepare script found for project xuwei-k/optparse-applicative
206/opencb/project-builder/sbt/prepare-project.sh: line 107: /root/.ssh/config: No such file or directory
207##################################
208Scala version: 3.7.4
209Targets: com.github.xuwei-k%optparse-applicative
210Project 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>\""}]}
211##################################
212Using extra scalacOptions: ,REQUIRE:-source:3.7
213Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
214[sbt_options] declare -a sbt_options=()
215[process_args] java_version = '17'
216[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
217# Executing command line:
218java
219-Dfile.encoding=UTF-8
220-Dcommunitybuild.scala=3.7.4
221-Dcommunitybuild.project.dependencies.add=
222-Xmx7G
223-Xms4G
224-Xss8M
225-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
226-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
227-jar
228/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
229"setCrossScalaVersions 3.7.4"
230"++3.7.4 -v"
231"mapScalacOptions ",REQUIRE:-source:3.7,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
232"set every credentials := Nil"
233"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
234"removeScalacOptionsStartingWith -P:wartremover"
235
236moduleMappings
237"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"
238
239[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
240[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
241[info] loading project definition from /build/repo/project
242[info] loading settings for project repo from build.sbt, version.sbt...
243[info] set current project to repo (in build file:/build/repo/)
244Execute setCrossScalaVersions: 3.7.4
245OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in example/crossScalaVersions
246OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in optparseApplicativeJS/crossScalaVersions
247OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in optparseApplicativeNative/crossScalaVersions
248OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in optparseApplicativeJVM/crossScalaVersions
249OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in repo/crossScalaVersions
250[info] set current project to repo (in build file:/build/repo/)
251[info] Setting Scala version to 3.7.4 on 5 projects.
252[info] Switching Scala version on:
253[info] optparseApplicativeNative (2.12.19, 2.13.13, 3.7.4)
254[info] optparseApplicativeJVM (2.12.19, 2.13.13, 3.7.4)
255[info] * repo (2.12.19, 2.13.13, 3.7.4)
256[info] example (2.12.19, 2.13.13, 3.7.4)
257[info] optparseApplicativeJS (2.12.19, 2.13.13, 3.7.4)
258[info] Excluding projects:
259[info] Reapplying settings...
260[info] set current project to repo (in build file:/build/repo/)
261Execute mapScalacOptions: ,REQUIRE:-source:3.7,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
262[info] Reapplying settings...
263[info] set current project to repo (in build file:/build/repo/)
264[info] Defining Global / credentials, credentials and 3 others.
265[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 39 others.
266[info] Run `last` for details.
267[info] Reapplying settings...
268[info] set current project to repo (in build file:/build/repo/)
269Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
270[info] Reapplying settings...
271OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
272
273 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:336)
274 Did you mean optparseApplicativeNative / allExcludeDependencies ?
275 , retry without global scopes
276[info] Reapplying settings...
277[info] set current project to repo (in build file:/build/repo/)
278Execute removeScalacOptionsStartingWith: -P:wartremover
279[info] Reapplying settings...
280[info] set current project to repo (in build file:/build/repo/)
281[success] Total time: 0 s, completed Nov 6, 2025, 12:32:57 AM
282Build 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>\""}]}
283Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
284Starting build...
285Projects: Set(optparseApplicativeJVM)
286Starting build for ProjectRef(file:/build/repo/,optparseApplicativeJVM) (optparse-applicative)... [0/1]
287OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.7` in Scala 2.12.20 module Global
288OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
289OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
290Compile scalacOptions: -unchecked, -language:existentials, -language:higherKinds, -language:implicitConversions, -Ykind-projector, -Wconf:msg=can be rewritten automatically under:s, -source:3.7
291[info] compiling 35 Scala sources to /build/repo/core/jvm/target/scala-3.7.4/classes ...
292[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
293[warn] one warning found
294[info] done compiling
295[info] compiling 2 Scala sources to /build/repo/core/jvm/target/scala-3.7.4/test-classes ...
296[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
297[warn] one warning found
298[info] done compiling
299
300************************
301Build summary:
302[{
303 "module": "optparse-applicative",
304 "compile": {"status": "ok", "tookMs": 13634, "warnings": 0, "errors": 0, "sourceVersion": "3.7"},
305 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
306 "test-compile": {"status": "ok", "tookMs": 1457, "warnings": 0, "errors": 0, "sourceVersion": "3.7"},
307 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
308 "publish": {"status": "skipped", "tookMs": 0},
309 "metadata": {
310 "crossScalaVersions": ["2.12.19", "2.13.13", "3.3.3"]
311}
312}]
313************************
314[success] Total time: 23 s, completed Nov 6, 2025, 12:33:20 AM
315[0JChecking patch project/plugins.sbt...
316Checking patch project/build.properties...
317Checking patch build.sbt...
318Applied patch project/plugins.sbt cleanly.
319Applied patch project/build.properties cleanly.
320Applied patch build.sbt cleanly.