Build Logs
swagger-akka-http/swagger-scala-module • 3.8.0-RC5:2025-12-31
Errors
6
Warnings
11
Total Lines
253
1##################################
2Clonning https://github.com/swagger-akka-http/swagger-scala-module.git into /build/repo using revision v2.14.0
3##################################
4Note: switching to 'f6addc01b118afec57db9f1e051eb73bf0e0ea66'.
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
21----
22Preparing build for 3.8.0-RC5
23Scala binary version found: 3.8
24Implicitly using source version 3.8
25Scala binary version found: 3.8
26Implicitly using source version 3.8
27Would try to apply common scalacOption (best-effort, sbt/mill only):
28Append: ,REQUIRE:-source:3.8
29Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
30----
31Starting build for 3.8.0-RC5
32Execute tests: true
33sbt project found:
34Sbt version 1.11.3 is not supported, minimal supported version is 1.11.5
35Enforcing usage of sbt in version 1.11.5
36No prepare script found for project swagger-akka-http/swagger-scala-module
37##################################
38Scala version: 3.8.0-RC5
39Targets: com.github.swagger-akka-http%swagger-scala-module
40Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}
41##################################
42Using extra scalacOptions: ,REQUIRE:-source:3.8
43Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
44[sbt_options] declare -a sbt_options=()
45[process_args] java_version = '17'
46[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
47# Executing command line:
48java
49-Dfile.encoding=UTF-8
50-Dcommunitybuild.scala=3.8.0-RC5
51-Dcommunitybuild.project.dependencies.add=
52-Xmx7G
53-Xms4G
54-Xss8M
55-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
56-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
57-jar
58/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
59"setCrossScalaVersions 3.8.0-RC5"
60"++3.8.0-RC5 -v"
61"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
62"set every credentials := Nil"
63"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
64"removeScalacOptionsStartingWith -P:wartremover"
65
66moduleMappings
67"runBuild 3.8.0-RC5 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}""" com.github.swagger-akka-http%swagger-scala-module"
68
69[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
70[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
71[info] loading project definition from /build/repo/project
72[info] compiling 3 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
73[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
74[info] Compilation completed in 8.64s.
75[info] done compiling
76[info] loading settings for project repo from build.sbt...
77[info] set current project to repo (in build file:/build/repo/)
78[warn] there's a key that's not used by any other settings/tasks:
79[warn]
80[warn] * repo / scalaMajorVersion
81[warn] +- /build/repo/build.sbt:52
82[warn]
83[warn] note: a setting might still be used by a command; to exclude a key from this `lintUnused` check
84[warn] either append it to `Global / excludeLintKeys` or call .withRank(KeyRanks.Invisible) on the key
85Execute setCrossScalaVersions: 3.8.0-RC5
86OpenCB::Changing crossVersion 3.3.6 -> 3.8.0-RC5 in repo/crossScalaVersions
87[info] set current project to repo (in build file:/build/repo/)
88[info] Setting Scala version to 3.8.0-RC5 on 1 projects.
89[info] Switching Scala version on:
90[info] * repo (2.11.12, 2.12.20, 2.13.16, 3.8.0-RC5)
91[info] Excluding projects:
92[info] Reapplying settings...
93[info] set current project to repo (in build file:/build/repo/)
94Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
95[info] Reapplying settings...
96[info] set current project to repo (in build file:/build/repo/)
97[info] Defining Global / credentials, credentials
98[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 7 others.
99[info] Run `last` for details.
100[info] Reapplying settings...
101[info] set current project to repo (in build file:/build/repo/)
102Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
103[info] Reapplying settings...
104OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
105
106 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
107 Did you mean allExcludeDependencies ?
108 , retry without global scopes
109[info] Reapplying settings...
110[info] set current project to repo (in build file:/build/repo/)
111Execute removeScalacOptionsStartingWith: -P:wartremover
112[info] Reapplying settings...
113[info] set current project to repo (in build file:/build/repo/)
114[success] Total time: 0 s, completed Dec 31, 2025, 8:58:18 PM
115Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}
116Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
117Starting build...
118Projects: Set(repo)
119Starting build for ProjectRef(file:/build/repo/,repo) (repo)... [0/1]
120OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
121OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.13.16 module Scope(Select(BuildRef(file:/build/repo/)), Zero, Zero, Zero)
122OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
123OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
124Compile scalacOptions: -encoding, UTF-8, -unchecked, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
125[info] compiling 5 Scala sources to /build/repo/target/scala-3.8.0-RC5/classes ...
126[warn] there were 3 deprecation warnings; re-run with -deprecation for details
127[warn] one warning found
128[info] done compiling
129[info] compiling 31 Scala sources and 1 Java source to /build/repo/target/scala-3.8.0-RC5/test-classes ...
130[warn] there were 2 deprecation warnings; re-run with -deprecation for details
131[warn] one warning found
132[info] done compiling
133[pool-19-thread-2-ScalaTest-running-ScalaModelTest] WARN com.github.swagger.scala.converter.SubtypeHelper$ - Failed to findSubtypes in scala.Enumeration$ValueOrdering$: java.util.NoSuchElementException: None.get
134[pool-19-thread-2-ScalaTest-running-ScalaModelTest] INFO com.github.swagger.scala.converter.ErasureHelper$ - Unable to get type info scala.Enumeration$ValueOrdering$
135[pool-19-thread-2-ScalaTest-running-ScalaModelTest] WARN com.github.swagger.scala.converter.SubtypeHelper$ - Failed to findSubtypes in scala.Enumeration$ValueSet$: java.util.NoSuchElementException: None.get
136[pool-19-thread-2-ScalaTest-running-ScalaModelTest] INFO com.github.swagger.scala.converter.ErasureHelper$ - Unable to get type info scala.Enumeration$ValueSet$
137[info] ScalaModelTest:
138[info] - should extract a scala enum
139[info] - should extract a scala enum (jackson annotated)
140[info] - should extract a scala enum with custom value names (jackson annotated)
141[info] - should extract a java enum
142[info] - should read a scala case class with properties
143[info] - should read a model with vector property
144[info] - should read a model with vector of ints
145[info] - should read a model with vector of booleans
146[pool-19-thread-2-ScalaTest-running-ModelPropertyParserTest] WARN com.github.swagger.scala.converter.SubtypeHelper$ - Failed to findSubtypes in com.github.swagger.scala.converter.ModelPropertyParserTest$$anon$8$TestModelWithBigDecimal: scala.MatchError: null
147[pool-19-thread-2-ScalaTest-running-ModelPropertyParserTest] INFO com.github.swagger.scala.converter.ErasureHelper$ - Unable to get type info com.github.swagger.scala.converter.ModelPropertyParserTest$$anon$8$TestModelWithBigDecimal
148[pool-19-thread-2-ScalaTest-running-ModelPropertyParserTest] WARN com.github.swagger.scala.converter.SubtypeHelper$ - Failed to findSubtypes in com.github.swagger.scala.converter.ModelPropertyParserTest$$anon$9$TestModelWithBigInt: scala.MatchError: null
149[pool-19-thread-2-ScalaTest-running-ModelPropertyParserTest] INFO com.github.swagger.scala.converter.ErasureHelper$ - Unable to get type info com.github.swagger.scala.converter.ModelPropertyParserTest$$anon$9$TestModelWithBigInt
150[pool-19-thread-2-ScalaTest-running-ModelPropertyParserTest] WARN com.github.swagger.scala.converter.SubtypeHelper$ - Failed to findSubtypes in models.NestingObject$NestedModelWOptionInt: java.util.NoSuchElementException: None.get
151[pool-19-thread-2-ScalaTest-running-ModelPropertyParserTest] INFO com.github.swagger.scala.converter.ErasureHelper$ - Unable to get type info models.NestingObject$NestedModelWOptionInt
152[pool-19-thread-2-ScalaTest-running-ModelPropertyParserTest] WARN com.github.swagger.scala.converter.SubtypeHelper$ - Failed to findSubtypes in models.NestingObject$NoProperties: java.util.NoSuchElementException: None.get
153[pool-19-thread-2-ScalaTest-running-ModelPropertyParserTest] INFO com.github.swagger.scala.converter.ErasureHelper$ - Unable to get type info models.NestingObject$NoProperties
154[info] ModelPropertyParserTest:
155[info] - should verify swagger-core bug 814
156[info] - should process Option[String] as string
157[info] - should process Option[Set[String]] as string
158[info] - should process Option[Seq[Long]] as string
159[info] - should process Seq[Option[Long]] as string
160[info] - should process Option[Seq[Option[Long]]] as string
161[info] - should process Option[Model] as Model
162[info] - should process Model with Scala BigDecimal as Number
163[info] - should process Model with Scala BigInt as Number
164[info] - should process Model with Scala Option BigDecimal
165[info] - should process Model with Scala Option BigInt
166[info] - should process Model with Scala Option Int
167[info] - should process Model with nested Scala Option Int
168[info] - should process AddRequest
169[info] - should process AddRequestOldStyleAnnotation
170[info] - should process Model without any properties
171[info] - should process Model with nested Scala Option Int with Schema Override
172[info] - should process Model with Scala Option Int with Schema Override
173[info] - should prioritize required as specified in annotation by default
174[info] - should prioritize required as specified in annotation and not based on default value
175[info] - should prioritize required based on (Option or not) type when `setRequiredBasedOnAnnotation` is set
176[info] - should prioritize required based on (Option or not) type when `setRequiredBasedOnAnnotation` and `requiredBasedDefaultValue` is set
177[info] - should consider fields that aren't optional required if `requiredBasedAnnotation == true`
178[info] - should consider fields that aren't optional required
179[info] - should process Model with Scala Option Long (Some Default)
180[info] - should process Model with Scala Option Long
181[info] - should process Model with Scala Option Long with Schema Override
182[info] - should process Model with Scala Option Long with Schema Int Override
183[info] - should process Model with Scala Option Boolean
184[info] - should process Model with Scala Option Boolean with Schema Override
185[info] - should process all properties as required barring Option[_] or if overridden in annotation
186[info] - should process all properties as required barring Option[_] or if overridden in annotation (Schema annotation)
187[info] - should process all properties as required barring Option[_] or if overridden in annotation (Schema annotation - old style)
188[info] - should ignore required()=false on Schema annotations when setRequiredBasedOnAnnotation(false)
189[info] - should handle null properties from converters later in the chain
190[info] - should process Model with Scala BigDecimal with annotation
191[info] - should map BigDecimal to schema type 'number'
192[info] - should map BigDecimal to schema type 'number' even when annotated
193[info] - should process Model with Scala BigDecimal with default value annotation
194[info] - should process Model with Scala BigDecimal with default value annotation (required=false)
195[info] - should process Model with Scala BigInt with annotation
196[info] - should process Model with Scala Enum with annotation
197[info] - should process ListReply Model
198[info] - should default to supplied schema if it can't be corrected
199[info] - should handle Option[Map[String, Long]]
200[info] - should process Model with Scala Seq
201[info] - should process Model with Scala Seq Int
202[info] - should process Model with Scala Seq Int (default provided in constructor)
203[info] - should process Model with Scala Seq Int (annotated)
204[info] - should process Model with Scala Seq Int (annotated - old style)
205[info] - should process Model with Scala Set
206[info] - should process Model with Java List
207[info] - should process Model with Scala Map
208[info] - should process Model with Java Map
209[info] - should process Model with Scala Map[Int, Long]
210[info] - should process Model with Scala IntMap[Long]
211[info] - should process EchoList
212[info] - should process ModelWGetFunction
213[info] - should process ModelWGetFunction with optional field
214[info] - should process ModelWJacksonAnnotatedGetFunction
215[info] - should process Array-Model with Scala nonOption Seq (annotated)
216[info] - should process Array-Model with forced required Scala Option Seq (annotated)
217[info] - should process scala Iterable[T] classes
218[info] - should process Array-Model with forced required Scala Option Seq
219[info] - should process case class with Duration field
220[info] - should process DataExampleClass
221[info] - should process sealed abstract class
222[pool-19-thread-2-ScalaTest-running-ErasureHelperTest] INFO com.github.swagger.scala.converter.ErasureHelper$ - Unable to get type info com.github.swagger.scala.converter.Nested$OptionSeqLong
223[info] ErasureHelperTest:
224[info] ErasureHelper
225[info] - should handle MyTrait
226[info] - should handle OptionLong
227[info] - should handle OptionSeqLong
228[info] - should handle Nested.OptionSeqLong
229[info] - should handle SeqOptionLong
230[info] - should handle OptionSeqOptionLong
231[info] - should handle OptionSetString
232
233************************
234Build summary:
235[{
236 "module": "repo",
237 "compile": {"status": "ok", "tookMs": 5979, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
238 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
239 "test-compile": {"status": "ok", "tookMs": 25320, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
240 "test": {"status": "ok", "tookMs": 9553, "passed": 82, "failed": 0, "ignored": 0, "skipped": 0, "total": 82, "byFramework": [{"framework": "unknown", "stats": {"passed": 82, "failed": 0, "ignored": 0, "skipped": 0, "total": 82}}]},
241 "publish": {"status": "skipped", "tookMs": 0},
242 "metadata": {
243 "crossScalaVersions": ["2.11.12", "2.12.20", "2.13.16", "3.3.6"]
244}
245}]
246************************
247[success] Total time: 43 s, completed Dec 31, 2025, 8:59:01 PM
248[0JChecking patch project/plugins.sbt...
249Checking patch project/build.properties...
250Checking patch build.sbt...
251Applied patch project/plugins.sbt cleanly.
252Applied patch project/build.properties cleanly.
253Applied patch build.sbt cleanly.