Build Logs
virtuslab/scala-yaml • 3.8.0-RC2:2025-11-28
Errors
0
Warnings
39
Total Lines
398
1##################################
2Clonning https://github.com/virtuslab/scala-yaml.git into /build/repo using revision v0.3.1
3##################################
4Note: switching to 'd7e14d844cdf6cfaf71b83ba0cc08c8e34d6df88'.
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-RC2
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
31Try apply source patch:
32Path: build.sbt
33Pattern: def scala3Version = "3.3.6"
34Replacement: def scala3Version = "3.8.0-RC2"
35Starting compilation server
36Compiling project (Scala 3.7.3, JVM (17))
37Compiled project (Scala 3.7.3, JVM (17))
38Successfully applied pattern 'def scala3Version = "3.3.6"' in build.sbt
39----
40Starting build for 3.8.0-RC2
41Execute tests: true
42sbt project found:
43No prepare script found for project virtuslab/scala-yaml
44##################################
45Scala version: 3.8.0-RC2
46Targets: org.virtuslab%scala-yaml
47Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"def scala3Version = \"3.3.6\"","replaceWith":"def scala3Version = \"<SCALA_VERSION>\""}]}
48##################################
49Using extra scalacOptions: ,REQUIRE:-source:3.8
50Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
51[sbt_options] declare -a sbt_options=()
52[process_args] java_version = '17'
53[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
54# Executing command line:
55java
56-Dfile.encoding=UTF-8
57-Dcommunitybuild.scala=3.8.0-RC2
58-Dcommunitybuild.project.dependencies.add=
59-Xmx7G
60-Xms4G
61-Xss8M
62-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
63-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
64-jar
65/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
66"setCrossScalaVersions 3.8.0-RC2"
67"++3.8.0-RC2 -v"
68"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
69"set every credentials := Nil"
70"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
71"removeScalacOptionsStartingWith -P:wartremover"
72
73moduleMappings
74"runBuild 3.8.0-RC2 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"def scala3Version = \"3.3.6\"","replaceWith":"def scala3Version = \"<SCALA_VERSION>\""}]}""" org.virtuslab%scala-yaml"
75
76[info] [launcher] getting org.scala-sbt sbt 1.11.6 (this may take some time)...
77[info] welcome to sbt 1.11.6 (Eclipse Adoptium Java 17.0.8)
78[info] loading settings for project repo-build from akka.sbt, plugin.sbt, plugins.sbt...
79[info] loading project definition from /build/repo/project
80[info] compiling 4 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.901s.
83[info] done compiling
84[info] loading settings for project repo from build.sbt...
85[info] set current project to repo (in build file:/build/repo/)
86Execute setCrossScalaVersions: 3.8.0-RC2
87OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in core/crossScalaVersions
88OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in repo/crossScalaVersions
89OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in integration/crossScalaVersions
90OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in coreJS/crossScalaVersions
91OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in coreNative/crossScalaVersions
92[info] set current project to repo (in build file:/build/repo/)
93[info] Setting Scala version to 3.8.0-RC2 on 5 projects.
94[info] Switching Scala version on:
95[info] integration (2.13.16, 3.8.0-RC2)
96[info] coreNative (2.13.16, 3.8.0-RC2)
97[info] coreJS (2.13.16, 3.8.0-RC2)
98[info] * repo (2.13.16, 3.8.0-RC2)
99[info] core (2.13.16, 3.8.0-RC2)
100[info] Excluding projects:
101[info] Reapplying settings...
102[info] set current project to repo (in build file:/build/repo/)
103Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-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, core / credentials and 3 others.
107[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 40 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 integration / 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 Nov 28, 2025, 12:42:11 PM
124Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"def scala3Version = \"3.3.6\"","replaceWith":"def scala3Version = \"<SCALA_VERSION>\""}]}
125Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
126Starting build...
127Projects: Set(core)
128Starting build for ProjectRef(file:/build/repo/,core) (scala-yaml)... [0/1]
129OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
130Compile scalacOptions: -Wconf:msg=can be rewritten automatically under:s, -source:3.8
131[info] compiling 33 Scala sources to /build/repo/core/jvm/target/scala-3.8.0-RC2/classes ...
132[warn] -- [E197] Potential Issue Warning: /build/repo/core/shared/src/main/scala-3/org/virtuslab/yaml/YamlEncoderCrossCompat.scala:14:4
133[warn] 14 | new YamlEncoder[T] {
134[warn] | ^
135[warn] | New anonymous class definition will be duplicated at each inline site
136[warn] |
137[warn] | longer explanation available when compiling with `-explain`
138[warn] -- [E197] Potential Issue Warning: /build/repo/core/shared/src/main/scala-3/org/virtuslab/yaml/YamlEncoderCrossCompat.scala:33:8
139[warn] 33 | new YamlEncoder[T]:
140[warn] | ^
141[warn] | New anonymous class definition will be duplicated at each inline site
142[warn] |
143[warn] | longer explanation available when compiling with `-explain`
144[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/core/shared/src/main/scala-3/org/virtuslab/yaml/YamlDecoderCrossCompat.scala:103:6
145[warn] 103 | (elemLabels, elemTypes) match
146[warn] | ^^^^^^^^^^^^^^^^^^^^^^^
147[warn] | match may not be exhaustive.
148[warn] |
149[warn] | It would fail on pattern case: (_, _)
150[warn] |
151[warn] | longer explanation available when compiling with `-explain`
152[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/core/shared/src/main/scala-3/org/virtuslab/yaml/YamlDecoderCrossCompat.scala:193:76
153[warn] 193 | idents.map { case (name, ref) => name -> ref.asExpr }.map { case (name, '{ $x }) =>
154[warn] | ^
155[warn] | match may not be exhaustive.
156[warn] |
157[warn] | It would fail on pattern case: (_, _)
158[warn] |
159[warn] | longer explanation available when compiling with `-explain`
160[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/core/shared/src/main/scala-3/org/virtuslab/yaml/YamlDecoderCrossCompat.scala:200:18
161[warn] 200 | case (name, '{ $x }) => '{ (${ Expr(name) }, () => $x) }
162[warn] | ^
163[warn] | match may not be exhaustive.
164[warn] |
165[warn] | It would fail on pattern case: (_, _)
166[warn] |
167[warn] | longer explanation available when compiling with `-explain`
168[warn] 5 warnings found
169[info] done compiling
170[info] compiling 23 Scala sources to /build/repo/core/jvm/target/scala-3.8.0-RC2/test-classes ...
171[warn] there were 4 deprecation warnings; re-run with -deprecation for details
172[warn] one warning found
173[info] done compiling
174org.virtuslab.yaml.tokenizer.TagSuite:
175 + tag directive: primary tag handle 0.067s
176 + tag directive: secondary tag handle 0.001s
177 + tag directive: named tag handle & global tag handle 0.001s
178 + tag directive: local tag 0.001s
179 + verbatim tag 0.005s
180 + primary shorthand tag 0.001s
181 + secondary shorthand tag 0.001s
182 + named shorthand tag, url decoding 0.001s
183 + non specific tag 0.001s
184 + plain scalar 0.001s
185 + tagged mapping values 0.008s
186 + tagged sequence values 0.004s
187 + tagged flow sequence 0.002s
188 + tagged flow sequence-1 0.001s
189 + tag with alias 0.0s
190 + secondary tag with alias 0.007s
191org.virtuslab.yaml.parser.AnchorSpec:
192 + in mapping 0.086s
193 + in mapping but with keys aliased 0.003s
194 + in sequence 0.005s
195 + as empty values 0.002s
196 + anchor in flow collections 0.006s
197 + anchor & alias 0.005s
198org.virtuslab.yaml.decoder.DecoderErrorsSuite:
199 + fail for invalid int 0.146s
200org.virtuslab.yaml.parser.ParserSuite:
201 + kubernetes config 0.1s
202 + Parsing error 0.016s
203 + issue 86 - parsing key with empty value 0.002s
204 + issue 313 - parsing elipsis in plain scalar 0.002s
205 + parsing keeps order of keys 0.013s
206 + parseYaml produces yaml node of document 0.011s
207 + parseManyYamls produces a node for each document 0.005s
208org.virtuslab.yaml.YamlPackageSuite:
209 + asMany fails on parse failure 0.001s
210 + asMany fails on first decoder failure 0.005s
211 + asMany succeeds with multiple valid documents 0.01s
212org.virtuslab.yaml.parser.TagSuite:
213 + two documents and global tag 0.005s
214 + scalar before directive 0.003s
215 + primary, secondary and named tag handle 0.005s
216 + plain scalar with non specific tag 0.001s
217 + ordered mapping tag 0.005s
218 + another named tag 0.001s
219 + invalid tag 0.01s
220org.virtuslab.yaml.decoder.DockerYamlDecoderSuite:
221 + derive construct for docker compose file 0.061s
222org.virtuslab.yaml.NodeCreationSuite:
223 + mapping node 0.019s
224 + sequence node 0.002s
225 + nested mapping 0.002s
226org.virtuslab.yaml.parser.ScalarSpec:
227 + plain value 0.0s
228 + single quote 0.0s
229 + double quote 0.005s
230 + folded value with clip indicator 0.002s
231 + folded value comment 0.001s
232 + indent literal 0.001s
233 + folded value with indentation indicator 0.001s
234 + unescaped colon 0.001s
235 + with new lines 0.001s
236 + plain multiline 0.001s
237 + single quote multiline 0.002s
238 + single quote multiline 2 0.0s
239 + dont escape in double quotes 0.0s
240 + double quote special characters 0.002s
241 + double quote escape "character 0.0s
242 + multiline folded 0.001s
243 + multiline folded skip lines 0.0s
244 + issue 60 - parsing final break style in folded scalar 0.003s
245 + folded indent scalar 0.0s
246 + multiline literal 1 0.001s
247 + multiline literal 2 0.002s
248 + multiline literal 3 keep lines 0.002s
249 + multiline literal 4 0.002s
250 + quoted integer and bool values 0.001s
251 + quoted values are read as String type 0.007s
252 + block scalars: folded style with clip indicator 0.001s
253 + block scalars: folded style with strip indicator 0.001s
254 + block scalars: folded style with keep indicator 0.001s
255 + block scalars: literal style with clip indicator 0.001s
256 + block scalars: literal style with strip indicator 0.011s
257 + block scalars: literal style with keep indicator 0.001s
258org.virtuslab.yaml.traverse.NodeVisitorSuite:
259 + should update ports for web 0.012s
260 + modify ports for web 0.009s
261 + remove ports and image 0.005s
262org.virtuslab.yaml.tokenizer.StringReaderSuite:
263 + count position 0.011s
264 + parse planin value with empty lines 0.001s
265org.virtuslab.yaml.ComposerSuite:
266 + sequence of scalars 0.001s
267 + mapping of scalars 0.005s
268 + mapping of sequences 0.007s
269 + sequence of mappings 0.004s
270 + multiple documents 0.001s
271org.virtuslab.yaml.parser.CommentSpec:
272 + ignore comment 0.001s
273 + empty document 0.001s
274 + comments in mapping 0.001s
275org.virtuslab.yaml.YamlEncoderSuite:
276 + plain value 0.001s
277 + sequence 0.002s
278 + sequence of mappings 0.005s
279 + sequence of sequences 0.003s
280 + mapping of mappings 0.009s
281 + map 0.002s
282 + set of boolean 0.009s
283 + enum case 0.022s
284 + nested case classes 0.011s
285 + option 0.003s
286 + complex kubernetes mapping 0.022s
287 + encoding of non-printable characters 0.002s
288org.virtuslab.yaml.ConstructSuite:
289 + derive construct for case class 0.005s
290 + derive construct for sealed trait 0.078s
291 + key must be scalar node 0.008s
292 + decode as Any 0.003s
293org.virtuslab.yaml.parser.SequenceSuite:
294 + basic sequence 0.001s
295 + sequence of sequences 0.074s
296 + sequence-of-mappings 0.002s
297 + indentation sequence 0.004s
298 + indentation less sequence 0.002s
299 + empty flow sequence 0.003s
300 + empty nested flow sequence 0.007s
301 + empty flow sequence with empty flow mapping 0.001s
302 + sequence of host:port 0.001s
303 + flow sequence with single pair 0.011s
304 + spec flow sequence 0.008s
305 + sequence with comma in value 0.0s
306 + sequence with double :: in value 0.001s
307 + flow mapping scalar 0.001s
308 + colon followed by comma 0.001s
309org.virtuslab.yaml.parser.DocumentStartEndSpec:
310 + explicit document start 0.011s
311 + parse empty document 0.0s
312 + explicit document end 0.003s
313 + implicit document end 0.001s
314 + document after document end marker 0.001s
315 + multiple documents with implicit start 0.004s
316 + multiple documents with explicit start 0.007s
317org.virtuslab.yaml.tokenizer.TokenizerSuite:
318 + scalar 0.0s
319 + block mapping 0.001s
320 + block-sequence 0.0s
321 + flow mapping 0.0s
322 + flow mapping implicit values 0.001s
323 + flow sequence 0.0s
324 + flow sequence mapping 0.001s
325 + flow sequence mapping-1 0.006s
326 + anchor & alias in mapping 0.001s
327 + anchor & alias in sequence 0.005s
328org.virtuslab.yaml.parser.MappingSuite:
329 + basic mapping 0.006s
330 + nested mapping 0.001s
331 + mapping of sequence 0.018s
332 + mappings of sequence 0.007s
333 + mapping quoted key 0.001s
334 + mapping single quoted key 0.001s
335 + mapping empty value 0.004s
336 + mapping empty value and comment 0.002s
337 + flow mapping 0.005s
338 + mapping with braces in value 0.001s
339==> i org.virtuslab.yaml.parser.MappingSuite.template value ignored 0.0s
340 + empty flow mapping 0.001s
341 + nested empty flow mapping 0.004s
342 + flow mapping with empty flow seq 0.009s
343 + mapping with scalar as value 0.002s
344 + mapping with flow mapping as value 0.001s
345 + flow mapping with flow seq as value 0.002s
346 + flow mapping with scalar kv pairs 0.001s
347 + implicit block key in sequence flow 0.009s
348 + mapping scalar with empty lines 0.003s
349 + double flow mapping 0.002s
350 + skip comment in flom mapping 0.001s
351 + mapping with folded value 0.005s
352 + invalid sequence as mapping value 0.004s
353org.virtuslab.yaml.decoder.DecoderSuite:
354 + numbers 0.03s
355 + option 0.012s
356 + sequence 0.02s
357 + mapping 0.083s
358 + mapping-2 0.016s
359 + case class 0.041s
360 + sequence of mappings 0.04s
361 + codec mapping 0.006s
362 + alias for scalar node 0.002s
363 + alias for sequence node 0.004s
364 + alias for value in sequence 0.003s
365 + alias for flow sequence node 0.003s
366 + alias for mapping node 0.005s
367 + alias for flow mapping node 0.012s
368 + decode into Map[Any, Any] 0.003s
369 + decode using custom tag 0.009s
370 + option-1 0.016s
371 + issue 222 - parse edge cases of booleans floats doubles and integers 0.024s
372 + issue 281 - parse multiline string 0.004s
373 + issue 258 - scala-yaml should not escape backslashes in single-quoted strings 0.001s
374 + issue 86 - parsing key with empty value 0.008s
375 + issue 314 - decoding doubles as Any loses precision 0.002s
376 + issue 120 - fail conversion of !!null to non-optional types 0.004s
377 + default parameters for case classes can be used when decoding 0.005s
378 + default parameters for case classes are evaluated lazily 0.005s
379 + default parameters are not evaluated when they are provided in yaml 0.006s
380 + Fails decoding -XXXinf as Float 0.001s
381
382************************
383Build summary:
384[{
385 "module": "scala-yaml",
386 "compile": {"status": "ok", "tookMs": 15992, "warnings": 5, "errors": 0, "sourceVersion": "3.8"},
387 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
388 "test-compile": {"status": "ok", "tookMs": 8273, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
389 "test": {"status": "ok", "tookMs": 1154, "passed": 186, "failed": 0, "ignored": 1, "skipped": 0, "total": 187, "byFramework": [{"framework": "munit", "stats": {"passed": 186, "failed": 0, "ignored": 1, "skipped": 0, "total": 187}}]},
390 "publish": {"status": "skipped", "tookMs": 0},
391 "metadata": {
392 "crossScalaVersions": ["2.13.16"]
393}
394}]
395************************
396[success] Total time: 63 s (0:01:03.0), completed Nov 28, 2025, 12:43:14 PM
397[0JChecking patch build.sbt...
398Applied patch build.sbt cleanly.