Build Logs

zio/zio-json • 3.8.0-RC2:2025-11-28

Errors

0

Warnings

27

Total Lines

985

1##################################
2Clonning https://github.com/zio/zio-json.git into /build/repo using revision v0.7.45
3##################################
4Note: switching to 'bd1b40fb9cca051c66619da817e77f605e563f3f'.
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.7
22----
23Preparing build for 3.8.0-RC2
24Scala binary version found: 3.8
25Implicitly using source version 3.8
26Scala binary version found: 3.8
27Implicitly using source version 3.8
28Would try to apply common scalacOption (best-effort, sbt/mill only):
29Append: ,REQUIRE:-source:3.8
30Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
31
32Try apply source patch:
33Path: project/BuildHelper.scala
34Pattern: val Scala3: String = "3.3.7"
35Replacement: val Scala3: String = "3.8.0-RC2"
36Starting compilation server
37Compiling project (Scala 3.7.3, JVM (21))
38Compiled project (Scala 3.7.3, JVM (21))
39Successfully applied pattern 'val Scala3: String = "3.3.7"' in project/BuildHelper.scala
40----
41Starting build for 3.8.0-RC2
42Execute tests: true
43sbt project found:
44No prepare script found for project zio/zio-json
45##################################
46Scala version: 3.8.0-RC2
47Targets: dev.zio%zio-json dev.zio%zio-json-golden dev.zio%zio-json-interop-http4s dev.zio%zio-json-interop-refined dev.zio%zio-json-yaml
48Project projectConfig: {"projects":{"exclude":[],"overrides":{"zio-json-interop-refined":{"tests":"disabled"}}},"java":{"version":"21"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"project/BuildHelper.scala","pattern":"val Scala3: String = \"3.3.7\"","replaceWith":"val Scala3: String = \"<SCALA_VERSION>\""}]}
49##################################
50Using extra scalacOptions: ,REQUIRE:-source:3.8
51Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
52[sbt_options] declare -a sbt_options=()
53[process_args] java_version = '21'
54[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_21/rt.jar'
55# Executing command line:
56java
57-Xmx6g
58-Xss2m
59-XX:+UseG1GC
60-XX:InitialCodeCacheSize=512m
61-XX:ReservedCodeCacheSize=512m
62-Dfile.encoding=UTF8
63-Dcommunitybuild.scala=3.8.0-RC2
64-Dcommunitybuild.project.dependencies.add=
65-Xmx7G
66-Xms4G
67-Xss8M
68-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
69-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_21
70-jar
71/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
72"setCrossScalaVersions 3.8.0-RC2"
73"++3.8.0-RC2 -v"
74"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
75"set every credentials := Nil"
76"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
77"removeScalacOptionsStartingWith -P:wartremover"
78
79moduleMappings
80"runBuild 3.8.0-RC2 """{"projects":{"exclude":[],"overrides":{"zio-json-interop-refined":{"tests":"disabled"}}},"java":{"version":"21"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"project/BuildHelper.scala","pattern":"val Scala3: String = \"3.3.7\"","replaceWith":"val Scala3: String = \"<SCALA_VERSION>\""}]}""" dev.zio%zio-json dev.zio%zio-json-golden dev.zio%zio-json-interop-http4s dev.zio%zio-json-interop-refined dev.zio%zio-json-yaml"
81
82[info] [launcher] getting org.scala-sbt sbt 1.11.7 (this may take some time)...
83[info] welcome to sbt 1.11.7 (Eclipse Adoptium Java 21)
84[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
85[info] loading project definition from /build/repo/project
86[info] compiling 4 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
87[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
88[info] Compilation completed in 7.828s.
89[info] done compiling
90[info] loading settings for project zioJsonRoot from build.sbt...
91[info] resolving key references (22898 settings) ...
92[info] set current project to zioJsonRoot (in build file:/build/repo/)
93Execute setCrossScalaVersions: 3.8.0-RC2
94OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in zioJsonNative/crossScalaVersions
95OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in zioJsonInteropRefinedNative/crossScalaVersions
96OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in zioJsonInteropRefinedJS/crossScalaVersions
97OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in zioJsonInteropRefinedJVM/crossScalaVersions
98OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in zioJsonJVM/crossScalaVersions
99OpenCB::Limitting incorrect crossVersions List() -> List(2.13.17) in zioJsonRoot/crossScalaVersions
100OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in zioJsonInteropHttp4s/crossScalaVersions
101OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in zioJsonGolden/crossScalaVersions
102OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in zioJsonYaml/crossScalaVersions
103OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in zioJsonJS/crossScalaVersions
104[info] set current project to zioJsonRoot (in build file:/build/repo/)
105[info] Setting Scala version to 3.8.0-RC2 on 9 projects.
106[info] Switching Scala version on:
107[info] zioJsonJS (2.12.20, 2.13.17, 3.8.0-RC2)
108[info] zioJsonInteropRefinedNative (2.12.20, 2.13.17, 3.8.0-RC2)
109[info] zioJsonInteropHttp4s (2.12.20, 2.13.17, 3.8.0-RC2)
110[info] zioJsonYaml (2.12.20, 2.13.17, 3.8.0-RC2)
111[info] zioJsonInteropRefinedJS (2.12.20, 2.13.17, 3.8.0-RC2)
112[info] zioJsonNative (2.12.20, 2.13.17, 3.8.0-RC2)
113[info] zioJsonGolden (2.12.20, 2.13.17, 3.8.0-RC2)
114[info] zioJsonJVM (2.12.20, 2.13.17, 3.8.0-RC2)
115[info] zioJsonInteropRefinedJVM (2.12.20, 2.13.17, 3.8.0-RC2)
116[info] Excluding projects:
117[info] zioJsonMacrosJVM (2.12.20, 2.13.17)
118[info] docs (2.13.17)
119[info] * zioJsonRoot (2.13.17)
120[info] zioJsonMacrosNative (2.12.20, 2.13.17)
121[info] zioJsonInteropScalaz7xJVM (2.12.20, 2.13.17)
122[info] zioJsonInteropScalaz7xJS (2.12.20, 2.13.17)
123[info] zioJsonInteropScalaz7xNative (2.12.20, 2.13.17)
124[info] zioJsonMacrosJS (2.12.20, 2.13.17)
125[info] Reapplying settings...
126[info] set current project to zioJsonRoot (in build file:/build/repo/)
127Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
128[info] Reapplying settings...
129[info] set current project to zioJsonRoot (in build file:/build/repo/)
130[info] Defining Global / credentials, credentials and 15 others.
131[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 156 others.
132[info] Run `last` for details.
133[info] Reapplying settings...
134[info] set current project to zioJsonRoot (in build file:/build/repo/)
135Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
136[info] Reapplying settings...
137OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
138
139 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
140 Did you mean zioJsonInteropScalaz7xNative / allExcludeDependencies ?
141 , retry without global scopes
142[info] Reapplying settings...
143[info] set current project to zioJsonRoot (in build file:/build/repo/)
144Execute removeScalacOptionsStartingWith: -P:wartremover
145[info] Reapplying settings...
146[info] set current project to zioJsonRoot (in build file:/build/repo/)
147[success] Total time: 0 s, completed Nov 28, 2025, 12:35:37 PM
148Build config: {"projects":{"exclude":[],"overrides":{"zio-json-interop-refined":{"tests":"disabled"}}},"java":{"version":"21"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"project/BuildHelper.scala","pattern":"val Scala3: String = \"3.3.7\"","replaceWith":"val Scala3: String = \"<SCALA_VERSION>\""}]}
149Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map(zio-json-interop-refined -> ProjectOverrides(Some(Disabled)))),Full,List()))
150Starting build...
151Projects: Set(zioJsonInteropHttp4s, zioJsonYaml, zioJsonGolden, zioJsonJVM, zioJsonInteropRefinedJVM)
152Starting build for ProjectRef(file:/build/repo/,zioJsonInteropHttp4s) (zio-json-interop-http4s)... [0/5]
153OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
154OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
155OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
156Compile scalacOptions: -encoding, UTF-8, -unchecked, -language:implicitConversions, -Xignore-scala2-macros, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
157[info] compiling 36 Scala sources to /build/repo/zio-json/jvm/target/scala-3.8.0-RC2/classes ...
158[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/zio-json/shared/src/main/scala-3/zio/json/union_derivation.scala:53:13
159[warn] 53 | case o: Constant if o <:< bound && o.isSingleton =>
160[warn] | ^
161[warn] |the type test for x$1.reflect.Constant cannot be checked at runtime because it refers to an abstract type member or type parameter
162[warn] |
163[warn] | longer explanation available when compiling with `-explain`
164[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/zio-json/shared/src/main/scala/zio/json/ast/JsonCursor.scala:24:32
165[warn] 24 | case JsonCursor.DownField(oldParent: JsonCursor[To, Json.Obj], name) =>
166[warn] | ^
167[warn] |the type test for zio.json.ast.JsonCursor[To, zio.json.ast.Json.Obj] cannot be checked at runtime because its type arguments can't be determined from zio.json.ast.JsonCursor[?, zio.json.ast.Json.Obj]
168[warn] |
169[warn] | longer explanation available when compiling with `-explain`
170[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/zio-json/shared/src/main/scala/zio/json/ast/JsonCursor.scala:27:34
171[warn] 27 | case JsonCursor.DownElement(oldParent: JsonCursor[To, Json.Arr], index) =>
172[warn] | ^
173[warn] |the type test for zio.json.ast.JsonCursor[To, zio.json.ast.Json.Arr] cannot be checked at runtime because its type arguments can't be determined from zio.json.ast.JsonCursor[?, zio.json.ast.Json.Arr]
174[warn] |
175[warn] | longer explanation available when compiling with `-explain`
176[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/zio-json/shared/src/main/scala/zio/json/ast/JsonCursor.scala:30:33
177[warn] 30 | case JsonCursor.FilterType(oldParent: JsonCursor[To, _], tpe) =>
178[warn] | ^
179[warn] |the type test for zio.json.ast.JsonCursor[To, _] @_ cannot be checked at runtime because its type arguments can't be determined from zio.json.ast.JsonCursor[?, ? <: zio.json.ast.Json]
180[warn] |
181[warn] | longer explanation available when compiling with `-explain`
182[warn] four warnings found
183[info] done compiling
184[info] compiling 6 Scala sources to /build/repo/zio-json-interop-http4s/target/scala-3.8.0-RC2/classes ...
185[info] done compiling
186[info] compiling 1 Scala source to /build/repo/zio-json-interop-http4s/target/scala-3.8.0-RC2/test-classes ...
187[info] done compiling
188+ json instances
189 + jsonOf
190 + returns MalformedMessageBodyFailure when json is invalid
191 + returns MalformedMessageBodyFailure when message body is not a json
192 + returns MalformedMessageBodyFailure when json is empty
193 + returns an EntityDecoder that can decode for the given effect and type
194 + jsonEncoderOf
195 + returns an EntityEncoder that can encode for the given effect and type
1965 tests passed. 0 tests failed. 0 tests ignored.
197
198Executed in 1 s 740 ms
199
200Starting build for ProjectRef(file:/build/repo/,zioJsonYaml) (zio-json-yaml)... [1/5]
201Compile scalacOptions: -encoding, UTF-8, -unchecked, -language:implicitConversions, -Xignore-scala2-macros, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
202[info] compiling 4 Scala sources to /build/repo/zio-json-yaml/target/scala-3.8.0-RC2/classes ...
203[info] done compiling
204[info] compiling 2 Scala sources to /build/repo/zio-json-yaml/target/scala-3.8.0-RC2/test-classes ...
205[info] done compiling
206+ YamlEncoderSpec
207 + object root
208 + object root, with extension method
209 + object root with object in a sequence
210 + scalar root
211 + special characters in string
212 + large number
213 + multiline string
214 + multiline string quoted
215 + nonprintable string escape
216 + sequence root
217 + nonprintable string binary
218 + indentation settings
219+ YamlDecoderSpec
220 + scalar root
221 + float root
222 + object root
223 + object root, different indentation
224 + bool root
225 + sequence root
22618 tests passed. 0 tests failed. 0 tests ignored.
227
228Executed in 444 ms
229
230Starting build for ProjectRef(file:/build/repo/,zioJsonInteropRefinedJVM) (zio-json-interop-refined)... [2/5]
231Compile scalacOptions: -encoding, UTF-8, -unchecked, -language:implicitConversions, -Xignore-scala2-macros, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
232[info] compiling 2 Scala sources to /build/repo/zio-json-interop-refined/jvm/target/scala-3.8.0-RC2/classes ...
233[info] done compiling
234[info] compiling 1 Scala source to /build/repo/zio-json-interop-refined/jvm/target/scala-3.8.0-RC2/test-classes ...
235[info] done compiling
236Starting build for ProjectRef(file:/build/repo/,zioJsonGolden) (zio-json-golden)... [3/5]
237Compile scalacOptions: -encoding, UTF-8, -unchecked, -language:implicitConversions, -Xignore-scala2-macros, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
238[info] compiling 5 Scala sources to /build/repo/zio-json-golden/target/scala-3.8.0-RC2/classes ...
239[info] done compiling
240[info] compiling 1 Scala source to /build/repo/zio-json-golden/target/scala-3.8.0-RC2/test-classes ...
241[info] done compiling
242+ GoldenSpec
243 + golden test for SumType
244 + golden test for Int
245 + golden test for Int
246 + golden test for SumType
247 + golden test for RecordType
248 + golden test for RecordType
249 + golden test for FilteredGenType
2507 tests passed. 0 tests failed. 0 tests ignored.
251
252Executed in 765 ms
253
254Starting build for ProjectRef(file:/build/repo/,zioJsonJVM) (zio-json)... [4/5]
255Compile scalacOptions: -encoding, UTF-8, -unchecked, -language:implicitConversions, -Xignore-scala2-macros, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
256[info] compiling 24 Scala sources to /build/repo/zio-json/jvm/target/scala-3.8.0-RC2/test-classes ...
257[warn] there were 6 deprecation warnings; re-run with -deprecation for details
258[warn] one warning found
259[info] done compiling
260+ CodecSpec
261 + Codec regressions
262 + option in recursive structure
263 + Decoding
264 + empty
265 + primitives
266 + java.util.Currency
267 + eithers
268 + parameterless products
269 + sum encoding
270 + sum encoding with hint names
271 + no extra fields
272 + key transformation - except native
273 + unicode
274 + sum alternative encoding
275 + sum alternative encoding with hint names
276 + key transformation
277 + Seq
278 + Vector
279 + SortedSet
280 + HashSet
281 + Set
282 + Map
283 + zio.Chunk
284 + ListMap
285 + Encode -> Decode
286 + control chars
287 + tab
288 + carriage return
289 + newline
290 + form feed
291 + backspace
292 + escape
293 + quote
294+ JsonTestSuite
295 - passes all tests - ignored: 1
296+ FieldEncoder
297 + encodeOrDefault
298 + for a case class
299 + should encode case classes with empty collections when withExplicitEmptyCollections is true
300 + should encode case classes with empty collections when withExplicitEmptyCollections is false
301 + should encode case classes with empty options when withExplicitEmptyCollections is false, even when withExplicitNulls is true
302 + OptionEncoder
303 + should use the default encoding None when withExplicitNulls is false
304 + should encode None when withExplicitNulls is true
305 + CollectionEncoder
306 + should encode empty collections when withExplicitEmptyCollections is true
307 + should not encode empty collections when withExplicitEmptyCollections is false
308+ DecoderVersionSpecific
309 + fromJsonAST
310 + ArraySeq
311 + fromJson
312 + ArraySeq
313 + Derives for a product type
314 + Derives for a sum enum Enumeration type with enumValuesAsStrings = false
315 + Derives for a sum enum Enumeration type
316 + Derives for a sum sealed trait Enumeration type
317 + Derives for a sum sealed trait Enumeration type with enumValuesAsStrings = false
318 + Derives for a sum sealed trait Enumeration type with discriminator
319 + skip JSON encoded in a string value
320 + Derives for a recursive sum ADT type
321 + Derives and decodes for a union of string-based literals
322 + Derives and decodes for a custom map key string-based union type
323+ GeneratorSpec
324 + generates case classes from JSON strings
325 + simple object
326 + nested objects
327 + parse types
328 + parses LocalDate and LocalDateTime and ZonedDateTime
329 + unify types
330 + unify nulls and present keys to Option
331 + unify missing keys to Option
332 + unify Long and Int to Long
333 + unify double and int to double
334+ StringMatrix
335 + basic positive succeeds
336 + trivial
337 + exact match is a substring
338 + first resolves to field index
339 + substring fails
340 + negative fails
341 + positive succeeds
342 + alias trivial
343 + alias exact match is a substring
344 + alias positive succeeds
345 + alias negative fails
346 + alias substring fails
347 + alias first resolves to aliased field index
348+ Decoder
349 + excessively nested structures
350 + googleMapsCompact
351 + googleMapsNormal
352 + googleMapsExtra
353 + googleMapsError
354 + googleMapsAst
355 + twitter
356 + geojson1 alt
357 + geojson2
358 + geojson1
359 + geojson2 lowlevel
360 + ZIO Streams integration
361 + decodes an encoded stream of bytes
362 + decodes a stream of chars
363 + combinators
364 + test JsonDecoder.orElse
365 + test hand-coded alternative in `orElse` comment
366 + helpers in zio.json
367 + readJsonLines reads from files
368 + readJsonLines reads from URLs
369 + decodeJsonPipeline
370 + Newline delimited
371 + accepts trailing NL
372 + decodes multiple elements when fed in smaller chunks
373 + decodes single elements
374 + errors
375 + is interruptible
376 + decodes multiple elements
377 + Array delimited
378 + decodes single elements
379 + handles whitespace leniently
380 + empty array
381 + decodes multiple elements
382 + jawn
383 + bar
384 + bla2
385 + foo
386 + countries.geo
387 + qux1
388 + qux2
389 + dkw-sample
390 + bla25
391 + ugh10k
392+ ConfigurableDeriveCodecSpec
393 + override AST defaults
394 + should override field name mapping
395 + should specify discriminator
396 + should prevent extra fields
397 + use explicit null values
398 - fail on decoding missing explicit nulls - ignored: 1
399 + do not write empty collections
400 + defaults
401 + should not map field names by default
402 + should not use discriminator by default
403 + should allow extra fields by default
404 + do not fail on missing null values
405 + write empty collections by default
406 + fail on decoding missing empty collections by default
407 + do not write nulls by default
408 + override defaults
409 + should override sum type mapping
410 + should prevent extra fields
411 + use explicit null values
412 + do not write empty collections
413 + should override field name mapping
414 + should specify discriminator
415 + decode missing empty collections with defaults
416 + AST defaults
417 + should not map field names by default
418 + should not use discriminator by default
419 + should allow extra fields by default
420 + do not write nulls by default
421 + write empty collections by default
422 + fail on decoding missing empty collections by default
423 + explicit empty collections
424 + should fill in missing empty collections and write empty collections
425 + for an array
426 + for a seq
427 + for a chunk
428 + for an indexed seq
429 + for a list
430 + for a linear seq
431 + for a list set
432 + for a tree set
433 + for a vector
434 + for a set
435 + for a hash set
436 + for a sorted set
437 + for a hash map
438 + for a mutable map
439 + for a sorted map
440 + for a list map
441 + for a transform collection
442 + for a transformOrFail collection
443 + for a map
444 + should not write empty collections and fail missing empty collections
445 + for an array
446 + for a seq
447 + for a chunk
448 + for an indexed seq
449 + for a linear seq
450 + for a list set
451 + for a treeSet
452 + for a list
453 + for a vector
454 + for a set
455 + for a hash set
456 + for a sorted set
457 + for a sorted map
458 + for a list map
459 + for a transform collection
460 + for a transformOrFail collection
461 + for a map
462 + for a hashMap
463 + for a mutable map
464+ EncoderVesionSpecific
465 + toJsonAST
466 + collections
467 + toJson
468 + collections
469 + IArray
470 + Derives for a product type
471 + Derives for a sum enum Enumeration type
472 + Derives for a sum enum Enumeration type with enumValuesAsStrings = false
473 + Derives for a sum enum Enumeration type with discriminator
474 + Derives for a sum sealed trait Enumeration type
475 + Derives for a sum ADT type
476 + Derives and encodes for a union of string-based literals
477 + Derives and encodes for a custom map key string-based union type
478+ Carter
479 + simple left
480 + simple right
481 + case class 1 field
482 + https://github.com/zio/zio-json/issues/209
483 + whitespace showing no retract call
484+ Json
485 + hashCode
486 + objects with the same elements regardless of order have the same hashCode
487 + equals
488 + mismatched Json subtypes
489 + object order does not matter for equality
490 + equality fails for different objects of the same size with different keys
491 + equality fails for different objects of different sizes
492 + delete
493 + scalar
494 + success
495 + failure
496 + nested
497 + success
498 + failure
499 + foldUp
500 + folds the structure bottom-up (starting at the leaves)
501 + apply
502 + Num()
503 + Bool()
504 + ()
505 + (Chunk.empty)
506 + Obj()
507 + foldDown
508 + folds the structure top-down (starting at the root)
509 + arrays with the same elements in a different order will not have the same hashCode
510 + arrays with the same elements in the same order will have the same hashCode
511 + merge
512 + object + object
513 + object, deep
514 + array
515 + scalar
516 + relocate
517 + nested
518 + success
519 + failure - from
520 + failure - to
521 + get
522 + downField
523 + downElement
524 + filterType
525 + >>>, object
526 + >>>, array, filterType
527 + >>>, array, filterType (second operand of >>> is complex)
528 + >>>, combination of some methods of JsonCursor (second operand of >>> is complex)
529 + >>>, identity
530 + intersect
531 + object + object
532 + object, deep
533 + array
534 + array - duplicates
535 + scalar
536 + transformAt
537 + scalar
538 + success
539 + failure
540 + nested
541 + success
542 + failure
543+ SafeNumbers
544 + BigDecimal
545 + invalid edge cases
546 + valid
547 + valid edge cases
548 + invalid (text)
549 + BigInteger
550 + valid edge cases
551 + invalid edge cases
552 + valid
553 + invalid (text)
554 + BigInt
555 + valid edge cases
556 + invalid edge cases
557 + valid
558 + invalid (text)
559 + Byte
560 + ByteNone
561 + valid
562 + invalid (numbers)
563 + invalid (text)
564 + Int
565 + valid edge cases
566 + valid
567 + invalid (edge cases)
568 + invalid (out of range)
569 + IntNone
570 + invalid (text)
571 + Long
572 + valid edge cases
573 + invalid (edge cases)
574 + valid
575 + invalid (out of range)
576 + LongNone
577 + invalid (text)
578 + Double
579 + valid
580 + valid (from Int)
581 + valid (from Long)
582 + valid (from BigDecimal)
583 + valid magic doubles
584 + invalid edge cases
585 + valid edge cases
586 + invalid doubles (text)
587 + DoubleNone
588 + Float
589 + large mantissa
590 + valid
591 + valid (from Int)
592 + valid (from Long)
593 + invalid edge cases
594 + valid edge cases
595 + valid (from Double)
596 + valid (from BigDecimal)
597 + FloatNone
598 + invalid float (text)
599 + Short
600 + ShortNone
601 + valid
602 + invalid (out of range)
603 + invalid (text)
604+ CodecVersionSpecific
605 + ArraySeq
606 + Derives for a product type
607 + Derives for a sum type
608 + Derives and encodes for a union of string-based literals
609 + Custom codec for union of standard types using an internal API
610+ Decoder
611 + fromJsonAST
612 + boolean
613 + string
614 + char
615 + byte
616 + short
617 + int
618 + long
619 + float
620 + double
621 + BigDecimal
622 + java.math.BigDecimal
623 + BigInteger
624 + BigInt
625 + eithers
626 + parameterless products
627 + no extra fields
628 + preserve error path
629 + errors are consistent with direct decoding
630 + default field value
631 + product with more than 64 fields
632 + aliases
633 + sum encoding
634 + sum alternative encoding
635 + dynamic default value
636 + Seq
637 + IndexedSeq
638 + LinearSeq
639 + ListSet
640 + TreeSet
641 + Vector
642 + SortedSet
643 + HashSet
644 + Set
645 + Map
646 + SortedMap
647 + ListMap
648 + Map, custom keys
649 + zio.Chunk
650 + zio.NonEmptyChunk
651 + java.util.UUID
652 + fromJson
653 + string
654 + char
655 + boolean
656 + byte
657 + short
658 + int
659 + long
660 + float
661 + double
662 + BigDecimal
663 + java.math.BigDecimal
664 + BigInteger
665 + BigInt
666 + collections
667 + eithers
668 + tuples
669 + tuples - ast
670 + parameterless products
671 + typical
672 + no extra fields
673 + aliases
674 + aliases - alias collides with field name
675 + aliases - alias collides with another alias
676 + aliases - double alias
677 + option
678 + option - fromJsonAST
679 + default field value
680 + dynamic default value
681 + sum encoding
682 + sum encoding with enumValuesAsStrings = true
683 + sum encoding with enumValuesAsStrings = false
684 + sum encoding with hint names
685 + sum alternative encoding
686 + sum alternative encoding with hint names
687 + sum with more than 64 cases
688 + unicode
689 + Option: .map on derived JsonDecoder with missing value
690 + Seq
691 + sum with duplicated case names
692 + Vector
693 + SortedSet
694 + HashSet
695 + Set
696 + Map
697 + Map with unicode keys
698 + Map with Int keys
699 + Map with Long keys
700 + Map with UUID keys
701 + zio.Chunk
702 + zio.NonEmptyChunk
703 + java.util.UUID
704 + java.util.Currency
705 + java.time.Duration
706 + zio.NonEmptyChunk failure
707 + option custom codec
708 + java.time.ZonedDateTime
709 + bothWith
710 + bothWith - ast
711+ AnnotationsCodecSpec
712 + annotations overrides
713 + should override field name mapping
714 + should specify discriminator
715 + should override sum type mapping
716 + should prevent extra fields
717 + use explicit null values
718 + do not write empty collections
719 + annotations overrides AST
720 + should override field name mapping
721 + should specify discriminator
722 + should prevent extra fields
723 + use explicit null values
724 + do not write empty collections
725 + explicit empty collections
726 + should fill in missing empty collections and write empty collections
727 + for an array
728 + for a seq
729 + for a chunk
730 + for an indexed seq
731 + for a linear seq
732 + for a list set
733 + for a tree set
734 + for a list
735 + for a vector
736 + for a set
737 + for a hash set
738 + for a sorted set
739 + for a map
740 + for a hash map
741 + for a mutable map
742 + for a sorted map
743 + for a list map
744 + should not write empty collections and fail missing empty collections
745 + for an array
746 + for a seq
747 + for a chunk
748 + for an indexed seq
749 + for a linear seq
750 + for a list set
751 + for a treeSet
752 + for a list
753 + for a vector
754 + for a set
755 + for a hash set
756 + for a sorted set
757 + for a map
758 + for a hashMap
759 + for a mutable map
760 + for a sorted map
761 + for a list map
762+ Encoder
763 + toJsonAST
764 + options
765 + eithers
766 + collections
767 + primitives
768 + strings
769 + boolean
770 + char
771 + numerics
772 + java.util.UUID
773 + parameterless products
774 + tuples
775 + products
776 + sum encoding
777 + sum encoding with hint names
778 + sum alternative encoding
779 + sum alternative encoding with hint names
780 + alias
781 + toJson
782 + strings
783 + BigInt
784 + BigDecimal
785 + options
786 + eithers
787 + collections
788 + primitives
789 + boolean
790 + char
791 + byte
792 + short
793 + int
794 + long
795 + float
796 + double
797 + Map, custom keys
798 + Map, UUID keys
799 + java.util.UUID
800 + java.util.Currency
801 + parameterless products
802 + tuples
803 + products
804 + sum encoding
805 + sum encoding with enumValuesAsStrings = true
806 + sum encoding with enumValuesAsStrings = false
807 + sum alternative encoding
808 + exclude fields
809 + aliases
810+ Encoder
811 + roundtrip
812 + google_maps_api_response
813 + twitter_api_response
814 + che.geo
815 + helpers in zio.json
816 + writeJsonLines writes JSON lines
817 + ZIO Streams integration
818 + encodes into a ZStream of Char
819 + encodeJsonLinesPipeline handles elements which take up > DefaultChunkSize to encode
820 + encodes values that yield a result of length > DefaultChunkSize
821 + encodeJsonArrayPipeline XYZ
822 + encodeJsonLinesPipeline
823 + encodeJsonArrayPipeline, empty stream
824+ java.time
825 + Decoder Sad Path
826 + Duration
827 + Instant
828 + LocalDate
829 + LocalDateTime
830 + LocalTime
831 + MonthDay
832 + OffsetDateTime
833 + OffsetTime
834 + Period
835 + Year
836 + YearMonth
837 + ZonedDateTime
838 + ZoneId
839 + ZoneOffset
840 + Decoder
841 + DayOfWeek fromJson
842 + DayOfWeek fromJsonAST
843 + Duration
844 + Instant
845 + LocalDate
846 + LocalDateTime
847 + LocalTime
848 + Month fromJson
849 + Month fromJsonAST
850 + MonthDay
851 + OffsetDateTime
852 + OffsetTime
853 + Period
854 + Year
855 + YearMonth
856 + ZonedDateTime
857 + ZoneId
858 + ZoneOffset
859 + Encoder
860 + DayOfWeek toJson
861 + DayOfWeek toJsonAST
862 + Duration toJson
863 + Duration toJsonAST
864 + Instant toJson
865 + Instant toJsonAST
866 + LocalDate toJson
867 + LocalDate toJsonAST
868 + LocalDateTime toJson
869 + LocalDateTime toJsonAST
870 + LocalTime toJson
871 + LocalTime toJsonAST
872 + Month toJson
873 + Month toJsonAST
874 + MonthDay toJson
875 + MonthDay toJsonAST
876 + OffsetDateTime toJson
877 + OffsetDateTime toJsonAST
878 + OffsetTime toJson
879 + OffsetTime toJsonAST
880 + Period toJson
881 + Period toJsonAST
882 + Year toJson
883 + Year toJsonAST
884 + YearMonth toJson
885 + YearMonth toJsonAST
886 + ZonedDateTime toJson
887 + ZonedDateTime toJsonAST
888 + ZoneId toJson
889 + ZoneId toJsonAST
890 + ZoneOffset toJson
891 + ZoneOffset toJsonAST
892+ RoundTrip
893 + booleans
894 + bytes
895 + shorts
896 + ints
897 + longs
898 + bigInts
899 + AST
900 + floats
901 + bigDecimals
902 + doubles
903 + java.time
904 + DayOfWeek
905 + LocalDate
906 + LocalTime
907 + Month
908 + MonthDay
909 + Duration
910 + Instant
911 + OffsetDateTime
912 + Year
913 + OffsetTime
914 + YearMonth
915 + ZoneId
916 + ZoneOffset
917 + Period
918 + LocalDateTime
919 + ZonedDateTime
920567 tests passed. 0 tests failed. 2 tests ignored.
921
922Executed in 27 s 413 ms
923
924
925************************
926Build summary:
927[{
928 "module": "zio-json-interop-http4s",
929 "compile": {"status": "ok", "tookMs": 26220, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
930 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
931 "test-compile": {"status": "ok", "tookMs": 2351, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
932 "test": {"status": "ok", "tookMs": 2614, "passed": 5, "failed": 0, "ignored": 0, "skipped": 0, "total": 5, "byFramework": [{"framework": "unknown", "stats": {"passed": 5, "failed": 0, "ignored": 0, "skipped": 0, "total": 5}}]},
933 "publish": {"status": "skipped", "tookMs": 0},
934 "metadata": {
935 "crossScalaVersions": ["2.12.20", "2.13.17", "3.3.7"]
936}
937},{
938 "module": "zio-json-yaml",
939 "compile": {"status": "ok", "tookMs": 916, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
940 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
941 "test-compile": {"status": "ok", "tookMs": 1943, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
942 "test": {"status": "ok", "tookMs": 1000, "passed": 18, "failed": 0, "ignored": 0, "skipped": 0, "total": 18, "byFramework": [{"framework": "unknown", "stats": {"passed": 18, "failed": 0, "ignored": 0, "skipped": 0, "total": 18}}]},
943 "publish": {"status": "skipped", "tookMs": 0},
944 "metadata": {
945 "crossScalaVersions": ["2.12.20", "2.13.17", "3.3.7"]
946}
947},{
948 "module": "zio-json-interop-refined",
949 "compile": {"status": "ok", "tookMs": 675, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
950 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
951 "test-compile": {"status": "skipped", "tookMs": 0, "warnings": 0, "errors": 0},
952 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
953 "publish": {"status": "skipped", "tookMs": 0},
954 "metadata": {
955 "crossScalaVersions": ["2.12.20", "2.13.17", "3.3.7"]
956}
957},{
958 "module": "zio-json-golden",
959 "compile": {"status": "ok", "tookMs": 1144, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
960 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
961 "test-compile": {"status": "ok", "tookMs": 2048, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
962 "test": {"status": "ok", "tookMs": 1423, "passed": 7, "failed": 0, "ignored": 0, "skipped": 0, "total": 7, "byFramework": [{"framework": "unknown", "stats": {"passed": 7, "failed": 0, "ignored": 0, "skipped": 0, "total": 7}}]},
963 "publish": {"status": "skipped", "tookMs": 0},
964 "metadata": {
965 "crossScalaVersions": ["2.12.20", "2.13.17", "3.3.7"]
966}
967},{
968 "module": "zio-json",
969 "compile": {"status": "ok", "tookMs": 76, "warnings": 4, "errors": 0, "sourceVersion": "3.8"},
970 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
971 "test-compile": {"status": "ok", "tookMs": 35699, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
972 "test": {"status": "ok", "tookMs": 28383, "passed": 567, "failed": 0, "ignored": 2, "skipped": 0, "total": 569, "byFramework": [{"framework": "unknown", "stats": {"passed": 567, "failed": 0, "ignored": 2, "skipped": 0, "total": 569}}]},
973 "publish": {"status": "skipped", "tookMs": 0},
974 "metadata": {
975 "crossScalaVersions": ["2.12.20", "2.13.17", "3.3.7"]
976}
977}]
978************************
979[success] Total time: 144 s (0:02:24.0), completed Nov 28, 2025, 12:38:01 PM
980[0JChecking patch project/plugins.sbt...
981Checking patch project/BuildHelper.scala...
982Checking patch build.sbt...
983Applied patch project/plugins.sbt cleanly.
984Applied patch project/BuildHelper.scala cleanly.
985Applied patch build.sbt cleanly.