Build Logs

sellmerfud/optparse • 3.8.0-RC3:2025-12-04

Errors

1

Warnings

0

Total Lines

172

1##################################
2Clonning https://github.com/sellmerfud/optparse.git into /build/repo using revision master
3##################################
4----
5Preparing build for 3.8.0-RC3
6Scala binary version found: 3.8
7Implicitly using source version 3.8
8Scala binary version found: 3.8
9Implicitly using source version 3.8
10Would try to apply common scalacOption (best-effort, sbt/mill only):
11Append: ,REQUIRE:-source:3.8
12Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
13----
14Starting build for 3.8.0-RC3
15Execute tests: true
16sbt project found:
17Sbt version 1.8.2 is not supported, minimal supported version is 1.11.5
18Enforcing usage of sbt in version 1.11.5
19No prepare script found for project sellmerfud/optparse
20##################################
21Scala version: 3.8.0-RC3
22Targets: org.sellmerfud%optparse
23Project projectConfig: {"tests":null}
24##################################
25Using extra scalacOptions: ,REQUIRE:-source:3.8
26Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
27[sbt_options] declare -a sbt_options=()
28[process_args] java_version = '17'
29[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
30# Executing command line:
31java
32-Dfile.encoding=UTF-8
33-Dcommunitybuild.scala=3.8.0-RC3
34-Dcommunitybuild.project.dependencies.add=
35-Xmx7G
36-Xms4G
37-Xss8M
38-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
39-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
40-jar
41/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
42"setCrossScalaVersions 3.8.0-RC3"
43"++3.8.0-RC3 -v"
44"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
45"set every credentials := Nil"
46"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
47"removeScalacOptionsStartingWith -P:wartremover"
48
49moduleMappings
50"runBuild 3.8.0-RC3 """{"tests":null}""" org.sellmerfud%optparse"
51
52[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
53[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
54[info] loading project definition from /build/repo/project
55[info] compiling 2 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
56[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
57[info] Compilation completed in 8.704s.
58[info] done compiling
59[info] loading settings for project optparse from build.sbt...
60[info] set current project to optparse (in build file:/build/repo/)
61Execute setCrossScalaVersions: 3.8.0-RC3
62OpenCB::Changing crossVersion 3.2.2 -> 3.8.0-RC3 in optparse/crossScalaVersions
63[info] set current project to optparse (in build file:/build/repo/)
64[info] Setting Scala version to 3.8.0-RC3 on 1 projects.
65[info] Switching Scala version on:
66[info] * optparse (3.8.0-RC3, 2.13.10, 2.12.17)
67[info] Excluding projects:
68[info] Reapplying settings...
69[info] set current project to optparse (in build file:/build/repo/)
70Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
71[info] Reapplying settings...
72[info] set current project to optparse (in build file:/build/repo/)
73[info] Defining Global / credentials, credentials
74[info] The new values will be used by Global / pgpSelectPassphrase, Global / pgpSigningKey and 4 others.
75[info] Run `last` for details.
76[info] Reapplying settings...
77[info] set current project to optparse (in build file:/build/repo/)
78Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
79[info] Reapplying settings...
80OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
81
82 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
83 Did you mean allExcludeDependencies ?
84 , retry without global scopes
85[info] Reapplying settings...
86[info] set current project to optparse (in build file:/build/repo/)
87Execute removeScalacOptionsStartingWith: -P:wartremover
88[info] Reapplying settings...
89[info] set current project to optparse (in build file:/build/repo/)
90[success] Total time: 0 s, completed Dec 4, 2025, 4:03:10 PM
91Build config: {"tests":null}
92Parsed config: Failure(sjsonnew.DeserializationException: Expected String as JString, but got JNull)
93Starting build...
94Projects: Set(optparse)
95Starting build for ProjectRef(file:/build/repo/,optparse) (optparse)... [0/1]
96OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
97OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
98OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
99Compile scalacOptions: -unchecked, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
100[info] compiling 1 Scala source to /build/repo/target/scala-3.8.0-RC3/classes ...
101[info] done compiling
102[info] compiling 1 Scala source to /build/repo/target/scala-3.8.0-RC3/test-classes ...
103[info] done compiling
104[info] OptionParserSpec:
105[info] Defining switches
106[info] - should fail if both names are empty
107[info] - should fail if the short name is not specified correctly
108[info] - should fail if the long name is not specified correctly
109[info] - should accept the ARG to long switches in four different forms
110[info] - should pass as long as either name is specified
111[info] - should allow non-boolean switches to start with --no-
112[info] - should remove switches with identical names when adding a new switch
113[info] - should remove switches with identical names negated names when adding a new switch
114[info] - should detect attempts to add an option for a type with no argument parser
115[info] - should remove switches with integer short names when and int() swith is defined
116[info] - should remove int() switches when a switch with an integer short name is defined
117[info] Commmand line parsing
118[info] - should handle empty argv
119[info] - should handle arg list without any switches
120[info] - should handle switches that do not take arguments
121[info] - should detect invalid switches
122[info] - should handle partial names of long switches
123[info] - should handle boolean switches
124[info] - should handle switches where the argument is a comma separated list
125[info] - should reject needless arguments for long switches that don't take them
126[info] - should handle short switches with required arguments
127[info] - should allow short switches without argument and int() switches to be combined
128[info] - should handle long switches with required arguments
129[info] - should handle switches with String and File arguments
130[info] - should handle switches with Char arguments
131[info] - should handle switches with numeric argument types
132[info] - should terminate switch processing with --
133[info] - should allow '-' as an argument (ie. stdin)
134[info] - should handle short switches with optional arguments
135[info] - should handle long switches with optional arguments
136[info] - should interpret --name= to have a empty string argument
137[info] - should interpret following args that begin with a '-' correctly (short)
138[info] - should interpret following args that begin with a '-' correctly (long)
139[info] - should handle custom argument parsers
140[info] - should handle switches with a required value limited by a List of values
141[info] - should handle switches with an optional value limmited by a Map of values
142[info] Help Info
143[info] - should include a -h, --help option by default
144[info] - should allow auto_help to be disabled
145[info] - should work for switches without args.
146[info] - should work for boolean switches.
147[info] - should work for switches with required args.
148[info] - should work for switches with optional args.
149[info] - should use the ARG info from the long name if it has been specified for both names.
150[info] - should support the banner and separators.
151
152************************
153Build summary:
154[{
155 "module": "optparse",
156 "compile": {"status": "ok", "tookMs": 9625, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
157 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
158 "test-compile": {"status": "ok", "tookMs": 8276, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
159 "test": {"status": "ok", "tookMs": 788, "passed": 43, "failed": 0, "ignored": 0, "skipped": 0, "total": 43, "byFramework": [{"framework": "unknown", "stats": {"passed": 43, "failed": 0, "ignored": 0, "skipped": 0, "total": 43}}]},
160 "publish": {"status": "skipped", "tookMs": 0},
161 "metadata": {
162 "crossScalaVersions": ["3.2.2", "2.13.10", "2.12.17"]
163}
164}]
165************************
166[success] Total time: 34 s, completed Dec 4, 2025, 4:03:44 PM
167[0JChecking patch project/plugins.sbt...
168Checking patch project/build.properties...
169Checking patch build.sbt...
170Applied patch project/plugins.sbt cleanly.
171Applied patch project/build.properties cleanly.
172Applied patch build.sbt cleanly.