Build Logs
gochaorg/json4s3 • 3.8.0-RC5:2025-12-31
Errors
20
Warnings
31
Total Lines
964
1##################################
2Clonning https://github.com/gochaorg/json4s3.git into /build/repo using revision
3##################################
4Would override fixed Scala version: 3.4.1
5----
6Preparing build for 3.8.0-RC5
7Scala binary version found: 3.8
8Implicitly using source version 3.8
9Scala binary version found: 3.8
10Implicitly using source version 3.8
11Would try to apply common scalacOption (best-effort, sbt/mill only):
12Append: ,REQUIRE:-source:3.8
13Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
14
15Try apply source patch:
16Path: src/test/scala/xyz/cofe/json4s3/stream/token/LexerTest.scala
17Pattern: import scala.annotation.newMain
18Replacement:
19Starting compilation server
20Compiling project (Scala 3.7.3, JVM (17))
21Compiled project (Scala 3.7.3, JVM (17))
22Successfully applied pattern 'import scala.annotation.newMain' in src/test/scala/xyz/cofe/json4s3/stream/token/LexerTest.scala
23
24Try apply source patch:
25Path: build.sbt
26Pattern: val scala3Version = "3.4.1"
27Replacement: val scala3Version = "3.8.0-RC5"
28Successfully applied pattern 'val scala3Version = "3.4.1"' in build.sbt
29----
30Starting build for 3.8.0-RC5
31Execute tests: true
32sbt project found:
33Sbt version 1.9.9 is not supported, minimal supported version is 1.11.5
34Enforcing usage of sbt in version 1.11.5
35No prepare script found for project gochaorg/json4s3
36##################################
37Scala version: 3.8.0-RC5
38Targets: xyz.cofe%json4s3
39Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"src/test/scala/xyz/cofe/json4s3/stream/token/LexerTest.scala","pattern":"import scala.annotation.newMain","replaceWith":""},{"path":"build.sbt","pattern":"val scala3Version = \"3.4.1\"","replaceWith":"val scala3Version = \"<SCALA_VERSION>\""}]}
40##################################
41Using extra scalacOptions: ,REQUIRE:-source:3.8
42Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
43[sbt_options] declare -a sbt_options=()
44[process_args] java_version = '17'
45[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
46# Executing command line:
47java
48-Dfile.encoding=UTF-8
49-Dcommunitybuild.scala=3.8.0-RC5
50-Dcommunitybuild.project.dependencies.add=
51-Xmx7G
52-Xms4G
53-Xss8M
54-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
55-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
56-jar
57/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
58"setCrossScalaVersions 3.8.0-RC5"
59"++3.8.0-RC5 -v"
60"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
61"set every credentials := Nil"
62"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
63"removeScalacOptionsStartingWith -P:wartremover"
64
65moduleMappings
66"runBuild 3.8.0-RC5 """{"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"src/test/scala/xyz/cofe/json4s3/stream/token/LexerTest.scala","pattern":"import scala.annotation.newMain","replaceWith":""},{"path":"build.sbt","pattern":"val scala3Version = \"3.4.1\"","replaceWith":"val scala3Version = \"<SCALA_VERSION>\""}]}""" xyz.cofe%json4s3"
67
68[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
69[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
70[info] loading project definition from /build/repo/project
71[info] compiling 2 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
72[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
73[info] Compilation completed in 8.726s.
74[info] done compiling
75/build/repo/build.sbt:47: warning: method in in trait ScopingSetting is deprecated (since 1.5.0): `in` is deprecated; migrate to slash syntax - https://www.scala-sbt.org/1.x/docs/Migrating-from-sbt-013x.html#slash
76ThisBuild / publishArtifact in Test := false
77 ^
78/build/repo/build.sbt:52: warning: method in in trait ScopingSetting is deprecated (since 1.5.0): `in` is deprecated; migrate to slash syntax - https://www.scala-sbt.org/1.x/docs/Migrating-from-sbt-013x.html#slash
79publishTo in ThisBuild := {
80 ^
81[info] loading settings for project root from build.sbt...
82[info] loading settings for project jsn_analyzer from build.sbt...
83[info] set current project to json4s3 (in build file:/build/repo/)
84[warn] there are 2 keys that are not used by any other settings/tasks:
85[warn]
86[warn] * ThisBuild / pomIncludeRepository
87[warn] +- /build/repo/build.sbt:50
88[warn] * ThisBuild / publishMavenStyle
89[warn] +- /build/repo/build.sbt:46
90[warn]
91[warn] note: a setting might still be used by a command; to exclude a key from this `lintUnused` check
92[warn] either append it to `Global / excludeLintKeys` or call .withRank(KeyRanks.Invisible) on the key
93Execute setCrossScalaVersions: 3.8.0-RC5
94OpenCB::Changing crossVersion 3.2.0 -> 3.8.0-RC5 in jsn_analyzer/crossScalaVersions
95OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC5) in jsn_analyzer/crossScalaVersions
96OpenCB::Changing crossVersion 3.8.0-RC5 -> 3.8.0-RC5 in root/crossScalaVersions
97OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC5) in root/crossScalaVersions
98[info] set current project to json4s3 (in build file:/build/repo/)
99[info] Setting Scala version to 3.8.0-RC5 on 2 projects.
100[info] Switching Scala version on:
101[info] * root (3.8.0-RC5)
102[info] jsn_analyzer (3.8.0-RC5)
103[info] Excluding projects:
104[info] Reapplying settings...
105[info] set current project to json4s3 (in build file:/build/repo/)
106Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
107[info] Reapplying settings...
108[info] set current project to json4s3 (in build file:/build/repo/)
109[info] Defining Global / credentials, credentials, jsn_analyzer / credentials
110[info] The new values will be used by Global / pgpSelectPassphrase, Global / pgpSigningKey and 9 others.
111[info] Run `last` for details.
112[info] Reapplying settings...
113[info] set current project to json4s3 (in build file:/build/repo/)
114Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
115[info] Reapplying settings...
116OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
117
118 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
119 Did you mean allExcludeDependencies ?
120 , retry without global scopes
121[info] Reapplying settings...
122[info] set current project to json4s3 (in build file:/build/repo/)
123Execute removeScalacOptionsStartingWith: -P:wartremover
124[info] Reapplying settings...
125[info] set current project to json4s3 (in build file:/build/repo/)
126[success] Total time: 0 s, completed Dec 31, 2025, 10:00:05 PM
127Build config: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"src/test/scala/xyz/cofe/json4s3/stream/token/LexerTest.scala","pattern":"import scala.annotation.newMain","replaceWith":""},{"path":"build.sbt","pattern":"val scala3Version = \"3.4.1\"","replaceWith":"val scala3Version = \"<SCALA_VERSION>\""}]}
128Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
129Starting build...
130Projects: Set(root)
131Starting build for ProjectRef(file:/build/repo/,root) (json4s3)... [0/1]
132OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
133Compile scalacOptions: -Wconf:msg=can be rewritten automatically under:s, -source:3.8
134[info] compiling 35 Scala sources to /build/repo/target/scala-3.8.0-RC5/classes ...
135[warn] -- [E197] Potential Issue Warning: /build/repo/src/main/scala/xyz/cofe/json4s3/derv/FromJson.scala:53:4
136[warn] 53 | new FromJson[T] {
137[warn] | ^
138[warn] | New anonymous class definition will be duplicated at each inline site
139[warn] |
140[warn] | longer explanation available when compiling with `-explain`
141[warn] -- [E197] Potential Issue Warning: /build/repo/src/main/scala/xyz/cofe/json4s3/derv/ToJson.scala:44:4
142[warn] 44 | new ToJson[T] {
143[warn] | ^
144[warn] | New anonymous class definition will be duplicated at each inline site
145[warn] |
146[warn] | longer explanation available when compiling with `-explain`
147[warn] two warnings found
148[info] done compiling
149[info] compiling 26 Scala sources to /build/repo/target/scala-3.8.0-RC5/test-classes ...
150[warn] -- [E197] Potential Issue Warning: /build/repo/src/test/scala/xyz/cofe/json4s3/derv/sample/SampleDeriveTest.scala:20:4
151[warn] 20 | new Show[A] {
152[warn] | ^
153[warn] | New anonymous class definition will be duplicated at each inline site
154[warn] |
155[warn] | longer explanation available when compiling with `-explain`
156[warn] one warning found
157[info] done compiling
158One(1) to json
159============================================================
160{"One":{"a":1}}
161Some(IntNumber(0))
162xyz.cofe.json4s3.stream.token.TokenIteratorTest:
163 + read tokens 0.099s
164json to One
165============================================================
166Some(IntNumber(0))
167Some(FloatNumber(0.0))
168Some(FloatNumber(0.0))
169xyz.cofe.json4s3.stream.ast.ParserRandomTest:
170 + try parse 0.122s
171Left(xyz.cofe.json4s3.derv.errors.NestedParserError: did not match expected token CloseBrace, state=public abstract static class xyz.cofe.json4s3.stream.ast.Parser$State)
172===================
173=== show test ====
174-294113285720479764n
175Some(BigNumber(-294113285720479764))
176xyz.cofe.json4s3.stream.token.NumberTest:
177 + parse int 123 0.097s
178 + parse int 0 0.001s
179 + parse int -0 0.009s
180 + parse int -12 0.001s
181 + parse float 0. 0.002s
182 + parse float 0.0 0.004s
183 + parse float 10.5 0.001s
184 + parse float -1.5 0.0s
185 + parse float -.5 0.001s
186 + parse float 1.2e3 0.003s
187 + parse float 1.2e+4 0.0s
188 + parse float 1.2e-4 0.005s
189 + parse oct 0153 0.001s
190 + parse oct 0o153 0.0s
191 + parse oct 0O153 0.001s
192 + parse oct 0O153n 0.007s
193 + parse oct 0153n 0.0s
194 + parse hex 0xfa2 0.004s
195 + parse hex 0xfa2n 0.001s
196 + parse hex 0Xfa2n 0.006s
197 + parse hex 0Xfa 0.001s
198 + parse hex 0XFA 0.0s
199 + parse hex 0b110 0.001s
200 + parse hex 0B110 0.009s
201 + parse hex 0b110n 0.001s
202 + FloatNumber(0.4354165676733556) 0.001s
203 + BigInt(-294113285720479764) 0.006s
204Two(1,2) to json
205============================================================
206{"Two":{"a":1,"b":"abc"}}
207xyz.cofe.json4s3.derv.SumTypeTest:
208 + One(1) to json 0.101s
209==> X xyz.cofe.json4s3.derv.SumTypeTest.json to One 0.068s munit.FailException: /build/repo/src/test/scala/xyz/cofe/json4s3/derv/SumTypeTest.scala:39 assertion failed
21038:
21139: assert( resultEither == Right(SType.One(1)) )
21240: }
213 at munit.FunSuite.assert(FunSuite.scala:11)
214 at xyz.cofe.json4s3.derv.SumTypeTest.$init$$$anonfun$2(SumTypeTest.scala:39)
215 + Two(1,2) to json 0.008s
2165, 6, 1, 2, 3,
217xyz.cofe.json4s3.stream.token.ShowTest:
218 + show test 0.026s
219{
220 a : Sum(
221 2 > JsInt
222 1 > JsBool
223 )
224 b : Sum(
225 1 > JsInt
226 1 > {
227 x : JsInt
228 }
229 )
230 c : JsStr
231 d : JsArray
232}
233
234xyz.cofe.json4s3.desc.JsonDescribeTest:
235 + desc 0.03s
236Sample
237Identifier(null)
238type=product label=Sample labels=List(a, b) values=Map(a -> 1, b -> 2)
239ADT.Simbol
240xyz.cofe.json4s3.stream.token.NestedTokenIteratorTest:
241 + nested token test 0.011s
242 + nested atomic 0.001s
243type=product label=Simbol labels=List() values=Map()
244ADT
245json "eura","uyz" {false"xlqwziqih"null"pxpbjwz"-250460469916846230n false"vdo"true"lltygmre" "zfklxlzd":false false 0.23385797695146493"iknuhx"1895753072 -1189341298995232990n]0.9358139967667999[,"yzrtvf""tuoslhbzy"true"aoepxs""qisljiee""xra" -2400526537248560373n true -1803980501762161184n,[,["mywuh" "hoigwi" :true"kjshjfefn"-345479512 true"wutbj""wthwnrhpx" 87 true]"ortazt"null"xxcpkabag" "vc""mbjkdos","ewvacsf" 295991507546402850n false:"refk" "jfmkda"false false{ -667285154{
246type=sum label=ADT labels=List(Simbol, One, Two) values=Map(ord -> 0, show -> type=product label=Simbol labels=List() values=Map())
247ADT.One
248{"int":1,"float":2.5,"big":123456789012345678901234567890n,"null":null,"true":true,"false":false,"array":[1,2,3]}
249type=product label=One labels=List(a) values=Map(a -> 3)
250ADT
251true Str(eura) Str(eura)
252true Comma Comma
253true Str(uyz) Str(uyz)
254false OpenBrace WhiteSpace( )
255false WhiteSpace( ) OpenBrace
256true Identifier(false) Identifier(false)
257true Str(xlqwziqih) Str(xlqwziqih)
258true Identifier(null) Identifier(null)
259true Str(pxpbjwz) Str(pxpbjwz)
260true BigNumber(-250460469916846230) BigNumber(-250460469916846230)
261true WhiteSpace( ) WhiteSpace( )
262true Identifier(false) Identifier(false)
263xyz.cofe.json4s3.stream.ast.AST2JsonTest:
264==> X xyz.cofe.json4s3.stream.ast.AST2JsonTest.ast2json 0.004s munit.FailException: /build/repo/src/test/scala/xyz/cofe/json4s3/stream/ast/AST2JsonTest.scala:28 assertion failed
26527: val jsTreeEt = Parser.parseSeq(tokens)
26628: assert( jsTreeEt.isRight )
26729:
268 at munit.FunSuite.assert(FunSuite.scala:11)
269 at xyz.cofe.json4s3.stream.ast.AST2JsonTest.$init$$$anonfun$1(AST2JsonTest.scala:28)
270type=sum label=ADT labels=List(Simbol, One, Two) values=Map(ord -> 1, show -> type=product label=One labels=List(a) values=Map(a -> 3))
271xyz.cofe.json4s3.derv.sample.SampleDeriveTest:
272 + tst 0.028s
273true Str(vdo) Str(vdo)
274true Identifier(true) Identifier(true)
275true Str(lltygmre) Str(lltygmre)
276true WhiteSpace( ) WhiteSpace( )
277true Str(zfklxlzd) Str(zfklxlzd)
278true Colon Colon
279true Identifier(false) Identifier(false)
280true WhiteSpace( ) WhiteSpace( )
281true Identifier(false) Identifier(false)
282true WhiteSpace( ) WhiteSpace( )
283true FloatNumber(0.23385797695146493) FloatNumber(0.23385797695146493)
284true Str(iknuhx) Str(iknuhx)
285true IntNumber(1895753072) IntNumber(1895753072)
286true WhiteSpace( ) WhiteSpace( )
287true BigNumber(-1189341298995232990) BigNumber(-1189341298995232990)
288true CloseSquare CloseSquare
289false OpenSquare FloatNumber(0.9358139967667999)
290false FloatNumber(0.9358139967667999) OpenSquare
291true Comma Comma
292true Str(yzrtvf) Str(yzrtvf)
293true Str(tuoslhbzy) Str(tuoslhbzy)
294true Identifier(true) Identifier(true)
295true Str(aoepxs) Str(aoepxs)
296true Str(qisljiee) Str(qisljiee)
297true Str(xra) Str(xra)
298true WhiteSpace( ) WhiteSpace( )
299true BigNumber(-2400526537248560373) BigNumber(-2400526537248560373)
300true WhiteSpace( ) WhiteSpace( )
301true Identifier(true) Identifier(true)
302true WhiteSpace( ) WhiteSpace( )
303true BigNumber(-1803980501762161184) BigNumber(-1803980501762161184)
304true Comma Comma
305true OpenSquare OpenSquare
306true Comma Comma
307true OpenSquare OpenSquare
308true Str(mywuh) Str(mywuh)
309true WhiteSpace( ) WhiteSpace( )
310true Str(hoigwi) Str(hoigwi)
311false Colon WhiteSpace( )
312false WhiteSpace( ) Colon
313true Identifier(true) Identifier(true)
314true Str(kjshjfefn) Str(kjshjfefn)
315true IntNumber(-345479512) IntNumber(-345479512)
316true WhiteSpace( ) WhiteSpace( )
317true Identifier(true) Identifier(true)
318true Str(wutbj) Str(wutbj)
319true Str(wthwnrhpx) Str(wthwnrhpx)
320true WhiteSpace( ) WhiteSpace( )
321true IntNumber(87) IntNumber(87)
322true WhiteSpace( ) WhiteSpace( )
323false CloseSquare Identifier(true)
324false Identifier(true) CloseSquare
325true Str(ortazt) Str(ortazt)
326true Identifier(null) Identifier(null)
327true Str(xxcpkabag) Str(xxcpkabag)
328true WhiteSpace( ) WhiteSpace( )
329true Str(vc) Str(vc)
330true Str(mbjkdos) Str(mbjkdos)
331true Comma Comma
332true Str(ewvacsf) Str(ewvacsf)
333true WhiteSpace( ) WhiteSpace( )
334true BigNumber(295991507546402850) BigNumber(295991507546402850)
335true WhiteSpace( ) WhiteSpace( )
336false Colon Identifier(false)
337false Identifier(false) Colon
338true Str(refk) Str(refk)
339true WhiteSpace( ) WhiteSpace( )
340true Str(jfmkda) Str(jfmkda)
341true Identifier(false) Identifier(false)
342true WhiteSpace( ) WhiteSpace( )
343false OpenBrace Identifier(false)
344false Identifier(false) OpenBrace
345true WhiteSpace( ) WhiteSpace( )
346false OpenBrace IntNumber(-667285154)
347false IntNumber(-667285154) OpenBrace
348xyz.cofe.json4s3.stream.token.TokenizerRandomTest:
349==> X xyz.cofe.json4s3.stream.token.TokenizerRandomTest.parse random tokens 0.044s munit.FailException: /build/repo/src/test/scala/xyz/cofe/json4s3/stream/token/TokenizerRandomTest.scala:110 all matched ?
350109:
351110: assert(allMatched,"all matched ?")
352111: }
353 at munit.FunSuite.assert(FunSuite.scala:11)
354 at xyz.cofe.json4s3.stream.token.TokenizerRandomTest.$init$$$anonfun$1(TokenizerRandomTest.scala:110)
355MySuite:
356 + example test that succeeds 0.001s
357-------------
358Left(xyz.cofe.json4s3.derv.errors.NestedParserError: did not match expected token Comma, state=public abstract static class xyz.cofe.json4s3.stream.ast.Parser$State)
359========================================
360case class(a:Int, b:String)
361Some({"a":1,"b":"str"})
362xyz.cofe.json4s3.stream.ast.ParserIteratorTest:
363 + stream test 0.013s
364========================================
365case class( a:Option[Int], b:Boolean )
366xyz.cofe.json4s3.query.QueryTest:
367 + sample 0.012s
368{"b":true}
369Left(xyz.cofe.json4s3.derv.errors.NestedParserError: did not match expected token CloseBrace, state=public abstract static class xyz.cofe.json4s3.stream.ast.Parser$State)
370JsNull(2)
371Sum(
372 1 > JsNull
373 1 > JsStr
374)
375
376char='"' state Init => SimpleChar(",)
377char='a' state SimpleChar(",a) => SimpleChar(",a)
378char='b' state SimpleChar(",ab) => SimpleChar(",ab)
379char='c' state SimpleChar(",abc) => SimpleChar(",abc)
380char='"' state SimpleChar(",abc) => Finish(abc)
381end state Finish(abc) => Finish(abc)
382Sum(
383 3 > JsNull
384 1 > JsStr
385)
386
387prod merge
388============================================================
389matched input=""abc"" expect="abc" res"abc"
390char=''' state Init => SimpleChar(',)
391{
392 a : Sum(
393 1 > JsNull
394 1 > JsBool
395 )
396 b : JsInt
397 c : JsStr
398}
399
400char='a' state SimpleChar(',a) => SimpleChar(',a)
401char='b' state SimpleChar(',ab) => SimpleChar(',ab)
402char='c' state SimpleChar(',abc) => SimpleChar(',abc)
403char=''' state SimpleChar(',abc) => Finish(abc)
404end state Finish(abc) => Finish(abc)
405matched input="'abc'" expect="abc" res"abc"
406prod merge atom
407============================================================
408Sum(
409 1 > {
410 a : JsNull
411 b : JsInt
412 }
413 1 > JsStr
414)
415
416char=''' state Init => SimpleChar(',)
417char='a' state SimpleChar(',a) => SimpleChar(',a)
418prod merge sum
419============================================================
420char='\' state SimpleChar(',a) => EscStart(',a)
421char=''' state EscStart(',a') => SimpleChar(',a')
422char='b' state SimpleChar(',a'b) => SimpleChar(',a'b)
423char='c' state SimpleChar(',a'bc) => SimpleChar(',a'bc)
424char=''' state SimpleChar(',a'bc) => Finish(a'bc)
425end state Finish(a'bc) => Finish(a'bc)
426matched input="'a\'bc'" expect="a'bc" res"a'bc"
427parse OpenSquare => Right((ArrExpectValue(List(),Some(Init)),None))
428parse CloseSquare => Right((Init,Some(JsArray(List()))))
429Sum(
430 1 > {
431 a : JsNull
432 b : JsInt
433 }
434 1 > JsStr
435 1 > JsBool
436)
437
438nested prod merge
439============================================================
440{
441 c : {
442 a : JsNull(2)
443 b : JsStr
444 c : JsStr
445 }
446 d : JsInt
447}
448
449xyz.cofe.json4s3.desc.JsTypeTest:
450 + merge 1 0.011s
451 + prod merge 0.002s
452 + prod merge atom 0.0s
453 + prod merge sum 0.008s
454 + nested prod merge 0.0s
455parse OpenSquare => Right((ArrExpectValue(List(),Some(Init)),None))
456parse IntNumber(1) => Right((ArrExpectComma(List(JsInt(1)),Some(Init)),None))
457char=''' state Init => SimpleChar(',)
458char='a' state SimpleChar(',a) => SimpleChar(',a)
459char='\' state SimpleChar(',a) => EscStart(',a)
460char='"' state EscStart(',a") => SimpleChar(',a")
461char='b' state SimpleChar(',a"b) => SimpleChar(',a"b)
462char='c' state SimpleChar(',a"bc) => SimpleChar(',a"bc)
463char=''' state SimpleChar(',a"bc) => Finish(a"bc)
464end state Finish(a"bc) => Finish(a"bc)
465matched input="'a\"bc'" expect="a"bc" res"a"bc"
466char=''' state Init => SimpleChar(',)
467char='a' state SimpleChar(',a) => SimpleChar(',a)
468char='\' state SimpleChar(',a) => EscStart(',a)
469char='0' state EscStart(',a) => EscZero(',a)
470char=''' state EscZero(',a) => Finish(a)
471end state Finish(a) => Finish(a)
472matched input="'a\0'" expect="a" res"a"
473parse CloseSquare => Right((Init,Some(JsArray(List(JsInt(1))))))
474char=''' state Init => SimpleChar(',)
475char='a' state SimpleChar(',a) => SimpleChar(',a)
476char='\' state SimpleChar(',a) => EscStart(',a)
477char='b' state EscStart(',a) => SimpleChar(',a)
478char=''' state SimpleChar(',a) => Finish(a)
479end state Finish(a) => Finish(a)
480matched input="'a\b'" expect="a" res"a"
481xyz.cofe.json4s3.derv.DerivingTest:
482 + 123 as int 0.005s
483 + 1.3 as int 0.001s
484 + 123 as short 0.003s
485 + 123 as byte 0.007s
486 + 1.3 as float 0.0s
487 + 1.3 as double 0.003s
488 + 123 as long 0.005s
489 + true as boolean 0.004s
490 + false as boolean 0.0s
491==> X xyz.cofe.json4s3.derv.DerivingTest.[1,2] as List[Int] 0.002s munit.FailException: /build/repo/src/test/scala/xyz/cofe/json4s3/derv/DerivingTest.scala:26 assertion failed
49225: "[1,2]".jsonAs[List[Int]] == Right(List(1,2))
49326: )
49427: }
495 at munit.FunSuite.assert(FunSuite.scala:11)
496 at xyz.cofe.json4s3.derv.DerivingTest.$init$$$anonfun$10(DerivingTest.scala:26)
497 + str to json 0.0s
498 + int to json 0.0s
499 + list[1,2] to json 0.005s
500==> X xyz.cofe.json4s3.derv.DerivingTest.case class(a:Int, b:String) 0.009s munit.FailException: /build/repo/src/test/scala/xyz/cofe/json4s3/derv/DerivingTest.scala:44 assertion failed
50143: val sample1et = sampleJson.jsonAs[Sample1]
50244: assert( sample1et==Right(sample1) )
50345: }
504 at munit.FunSuite.assert(FunSuite.scala:11)
505 at xyz.cofe.json4s3.derv.DerivingTest.$init$$$anonfun$14(DerivingTest.scala:44)
506==> X xyz.cofe.json4s3.derv.DerivingTest.case class( a:Option[Int], b:Boolean ) 0.013s munit.FailException: /build/repo/src/test/scala/xyz/cofe/json4s3/derv/DerivingTest.scala:56 assertion failed
50755: println( sample2.json.jsonAs[Sample2] )
50856: assert( sample2.json.jsonAs[Sample2] == Right(sample2) )
50957:
510 at munit.FunSuite.assert(FunSuite.scala:11)
511 at xyz.cofe.json4s3.derv.DerivingTest.$init$$$anonfun$15(DerivingTest.scala:56)
512==> X xyz.cofe.json4s3.derv.DerivingTest.builder 0.008s munit.FailException: /build/repo/src/test/scala/xyz/cofe/json4s3/derv/DerivingTest.scala:78 assertion failed
51377:
51478: assert( """{ type:"1", a:1 }""".jsonAs[BaseSample] == Right(ChildOne(1)) )
51579: assert( """{ type:"2", a:"xcv" }""".jsonAs[BaseSample] == Right(ChildTwo("xcv")) )
516 at munit.FunSuite.assert(FunSuite.scala:11)
517 at xyz.cofe.json4s3.derv.DerivingTest.$init$$$anonfun$16(DerivingTest.scala:78)
518 + default 0.015s
519 + bignum 0.0s
520parse OpenSquare => Right((ArrExpectValue(List(),Some(Init)),None))
521parse IntNumber(1) => Right((ArrExpectComma(List(JsInt(1)),Some(Init)),None))
522parse Comma => Right((ArrAfterComma(List(JsInt(1)),Some(Init)),None))
523parse IntNumber(2) => Right((ArrExpectComma(List(JsInt(1), JsInt(2)),Some(Init)),None))
524parse CloseSquare => Right((Init,Some(JsArray(List(JsInt(1), JsInt(2))))))
525parse OpenSquare => Right((ArrExpectValue(List(),Some(Init)),None))
526parse IntNumber(1) => Right((ArrExpectComma(List(JsInt(1)),Some(Init)),None))
527parse Comma => Right((ArrAfterComma(List(JsInt(1)),Some(Init)),None))
528parse IntNumber(2) => Right((ArrExpectComma(List(JsInt(1), JsInt(2)),Some(Init)),None))
529parse Comma => Right((ArrAfterComma(List(JsInt(1), JsInt(2)),Some(Init)),None))
530parse CloseSquare => Right((Init,Some(JsArray(List(JsInt(1), JsInt(2))))))
531char=''' state Init => SimpleChar(',)
532char='a' state SimpleChar(',a) => SimpleChar(',a)
533char='\' state SimpleChar(',a) => EscStart(',a)
534char='f' state EscStart(',a) => SimpleChar(',a)
535char=''' state SimpleChar(',a) => Finish(a)
536end state Finish(a) => Finish(a)
537matched input="'a\f'" expect="a" res"a"
538char=''' state Init => SimpleChar(',)
539char='a' state SimpleChar(',a) => SimpleChar(',a)
540char='\' state SimpleChar(',a) => EscStart(',a)
541char='n' state EscStart(',a
542) => SimpleChar(',a
543)
544char=''' state SimpleChar(',a
545) => Finish(a
546)
547end state Finish(a
548) => Finish(a
549)
550matched input="'a\n'" expect="a\n" res"a\n"
551char=''' state Init => SimpleChar(',)
552char='a' state SimpleChar(',a) => SimpleChar(',a)
553char='\' state SimpleChar(',a) => EscStart(',a)
554char='r' state EscStart(',a
555) => SimpleChar(',a
556)
557char=''' state SimpleChar(',a
558) => Finish(a
559)
560end state Finish(a
561) => Finish(a
562)
563matched input="'a\r'" expect="a\r" res"a\r"
564========================================
565object {}
566parse OpenBrace => Right((ObjExpFieldName(List(),Some(Init)),None))
567parse CloseBrace => Right((Init,Some(JsObj(List()))))
568char=''' state Init => SimpleChar(',)
569char='a' state SimpleChar(',a) => SimpleChar(',a)
570char='\' state SimpleChar(',a) => EscStart(',a)
571char='t' state EscStart(',a ) => SimpleChar(',a )
572char=''' state SimpleChar(',a ) => Finish(a )
573end state Finish(a ) => Finish(a )
574matched input="'a\t'" expect="a " res"a "
575========================================
576object {'a':1}
577OpenBrace
578CloseBrace
579char=''' state Init => SimpleChar(',)
580char='a' state SimpleChar(',a) => SimpleChar(',a)
581char='\' state SimpleChar(',a) => EscStart(',a)
582char='v' state EscStart(',a) => SimpleChar(',a)
583char=''' state SimpleChar(',a) => Finish(a)
584end state Finish(a) => Finish(a)
585matched input="'a\v'" expect="a" res"a"
586parse OpenBrace => Right((ObjExpFieldName(List(),Some(Init)),None))
587char=''' state Init => SimpleChar(',)
588char='a' state SimpleChar(',a) => SimpleChar(',a)
589char='\' state SimpleChar(',a) => EscStart(',a)
590parse Str(a) => Right((ObjAfterFieldName(a,List(),Some(Init)),None))
591parse Colon => Right((ObjExpFieldValue(a,List(),Some(Init)),None))
592parse IntNumber(1) => Right((ObjExpectComma(List((a,JsInt(1))),Some(Init)),None))
593parse CloseBrace => Right((Init,Some(JsObj(List((a,JsInt(1)))))))
594char='1' state EscStart(',a) => EscOct(',a,List(1))
595char='5' state EscOct(',a,List(1)) => EscOct(',a,List(1, 5))
596char='7' state EscOct(',ao,List(1, 5)) => SimpleChar(',ao)
597char=''' state SimpleChar(',ao) => Finish(ao)
598end state Finish(ao) => Finish(ao)
599matched input="'a\157'" expect="ao" res"ao"
600char=''' state Init => SimpleChar(',)
601char='a' state SimpleChar(',a) => SimpleChar(',a)
602char='\' state SimpleChar(',a) => EscStart(',a)
603OpenSquare
604CloseSquare
605Comma
606Colon
607WhiteSpace( )
608IntNumber(1)
609WhiteSpace( )
610Str(aaa)
611WhiteSpace( )
612MLComment( abc )
613========================================
614pretty 2
615========================================
616object {'a':1,}
617char='x' state EscStart(',a) => EscHex(',a,List())
618char='A' state EscHex(',a,List()) => EscHex(',a,List(10))
619char='1' state EscHex(',a¡,List(10)) => SimpleChar(',a¡)
620parse OpenBrace => Right((ObjExpFieldName(List(),Some(Init)),None))
621char=''' state SimpleChar(',a¡) => Finish(a¡)
622end state Finish(a¡) => Finish(a¡)
623matched input="'a\xA1'" expect="a¡" res"a¡"
624parse Str(a) => Right((ObjAfterFieldName(a,List(),Some(Init)),None))
625parse Colon => Right((ObjExpFieldValue(a,List(),Some(Init)),None))
626parse IntNumber(1) => Right((ObjExpectComma(List((a,JsInt(1))),Some(Init)),None))
627parse Comma => Right((ObjAfterComma(List((a,JsInt(1))),Some(Init)),None))
628xyz.cofe.json4s3.stream.ast.PrettyTest:
629==> X xyz.cofe.json4s3.stream.ast.PrettyTest.pretty 2 0.008s java.lang.Error: parse fail
630 at xyz.cofe.json4s3.stream.ast.PrettyTest.$anonfun$3(PrettyTest.scala:55)
631 at scala.util.Either.getOrElse(Either.scala:291)
632 at xyz.cofe.json4s3.stream.ast.PrettyTest.$init$$$anonfun$1(PrettyTest.scala:55)
633input char '{' input.state=Init
634 output state = Init
635 output tokens = List(OpenBrace)
636input char '}' input.state=Init
637 output state = Init
638 output tokens = List(CloseBrace)
639input char ' ' input.state=Init
640 output state = WhitespaceParse(xyz.cofe.json4s3.stream.token.whitespace$Parser@7532e62f,Work( ))
641 output tokens = List()
642parse CloseBrace => Right((Init,Some(JsObj(List((a,JsInt(1)))))))
643input char '[' input.state=WhitespaceParse(xyz.cofe.json4s3.stream.token.whitespace$Parser@7532e62f,Work( ))
644 output state = Init
645 output tokens = List(WhiteSpace( ), OpenSquare)
646input char ']' input.state=Init
647 output state = Init
648 output tokens = List(CloseSquare)
649input char ':' input.state=Init
650 output state = Init
651 output tokens = List(Colon)
652input char ',' input.state=Init
653 output state = Init
654========================================
655object {'a':1,'b':2}
656char=''' state Init => SimpleChar(',)
657char='a' state SimpleChar(',a) => SimpleChar(',a)
658char='\' state SimpleChar(',a) => EscStart(',a)
659char='x' state EscStart(',a) => EscHex(',a,List())
660char='a' state EscHex(',a,List()) => EscHex(',a,List(10))
661parse OpenBrace => Right((ObjExpFieldName(List(),Some(Init)),None))
662char='2' state EscHex(',a¢,List(10)) => SimpleChar(',a¢)
663char=''' state SimpleChar(',a¢) => Finish(a¢)
664end state Finish(a¢) => Finish(a¢)
665matched input="'a\xa2'" expect="a¢" res"a¢"
666parse Str(a) => Right((ObjAfterFieldName(a,List(),Some(Init)),None))
667parse Colon => Right((ObjExpFieldValue(a,List(),Some(Init)),None))
668parse IntNumber(1) => Right((ObjExpectComma(List((a,JsInt(1))),Some(Init)),None))
669parse Comma => Right((ObjAfterComma(List((a,JsInt(1))),Some(Init)),None))
670parse Str(b) => Right((ObjAfterFieldName(b,List((a,JsInt(1))),Some(Init)),None))
671parse Colon => Right((ObjExpFieldValue(b,List((a,JsInt(1))),Some(Init)),None))
672parse IntNumber(2) => Right((ObjExpectComma(List((a,JsInt(1)), (b,JsInt(2))),Some(Init)),None))
673parse CloseBrace => Right((Init,Some(JsObj(List((a,JsInt(1)), (b,JsInt(2)))))))
674 output tokens = List(Comma)
675input char ' ' input.state=Init
676 output state = WhitespaceParse(xyz.cofe.json4s3.stream.token.whitespace$Parser@65e4e673,Work( ))
677 output tokens = List()
678input char '1' input.state=WhitespaceParse(xyz.cofe.json4s3.stream.token.whitespace$Parser@65e4e673,Work( ))
679 output state = NumParse(xyz.cofe.json4s3.stream.token.number$Parser@75912c07,DecPart(List(1),true))
680 output tokens = List(WhiteSpace( ))
681input char '2' input.state=NumParse(xyz.cofe.json4s3.stream.token.number$Parser@75912c07,DecPart(List(1),true))
682 output state = NumParse(xyz.cofe.json4s3.stream.token.number$Parser@75912c07,DecPart(List(1, 2),true))
683 output tokens = List()
684input char ' ' input.state=NumParse(xyz.cofe.json4s3.stream.token.number$Parser@75912c07,DecPart(List(1, 2),true))
685 output state = WhitespaceParse(xyz.cofe.json4s3.stream.token.whitespace$Parser@54a71c59,Work( ))
686 output tokens = List(IntNumber(12))
687input char 't' input.state=WhitespaceParse(xyz.cofe.json4s3.stream.token.whitespace$Parser@54a71c59,Work( ))
688 output state = IdParser(xyz.cofe.json4s3.stream.token.identifier$Parser@36468b7c,Work(t))
689 output tokens = List(WhiteSpace( ))
690input char 'r' input.state=IdParser(xyz.cofe.json4s3.stream.token.identifier$Parser@36468b7c,Work(tr))
691 output state = IdParser(xyz.cofe.json4s3.stream.token.identifier$Parser@36468b7c,Work(tr))
692 output tokens = List()
693input char 'u' input.state=IdParser(xyz.cofe.json4s3.stream.token.identifier$Parser@36468b7c,Work(tru))
694 output state = IdParser(xyz.cofe.json4s3.stream.token.identifier$Parser@36468b7c,Work(tru))
695 output tokens = List()
696input char 'e' input.state=IdParser(xyz.cofe.json4s3.stream.token.identifier$Parser@36468b7c,Work(true))
697 output state = IdParser(xyz.cofe.json4s3.stream.token.identifier$Parser@36468b7c,Work(true))
698 output tokens = List()
699input char ' ' input.state=IdParser(xyz.cofe.json4s3.stream.token.identifier$Parser@36468b7c,Work(true))
700 output state = WhitespaceParse(xyz.cofe.json4s3.stream.token.whitespace$Parser@745334b9,Work( ))
701 output tokens = List(Identifier(true))
702input char ''' input.state=WhitespaceParse(xyz.cofe.json4s3.stream.token.whitespace$Parser@745334b9,Work( ))
703 output state = StrParse(xyz.cofe.json4s3.stream.token.string$Parser@85edf20,SimpleChar(',))
704 output tokens = List(WhiteSpace( ))
705input char 's' input.state=StrParse(xyz.cofe.json4s3.stream.token.string$Parser@85edf20,SimpleChar(',s))
706 output state = StrParse(xyz.cofe.json4s3.stream.token.string$Parser@85edf20,SimpleChar(',s))
707 output tokens = List()
708input char 't' input.state=StrParse(xyz.cofe.json4s3.stream.token.string$Parser@85edf20,SimpleChar(',st))
709 output state = StrParse(xyz.cofe.json4s3.stream.token.string$Parser@85edf20,SimpleChar(',st))
710 output tokens = List()
711input char 'r' input.state=StrParse(xyz.cofe.json4s3.stream.token.string$Parser@85edf20,SimpleChar(',str))
712 output state = StrParse(xyz.cofe.json4s3.stream.token.string$Parser@85edf20,SimpleChar(',str))
713 output tokens = List()
714input char 'i' input.state=StrParse(xyz.cofe.json4s3.stream.token.string$Parser@85edf20,SimpleChar(',stri))
715 output state = StrParse(xyz.cofe.json4s3.stream.token.string$Parser@85edf20,SimpleChar(',stri))
716 output tokens = List()
717input char 'n' input.state=StrParse(xyz.cofe.json4s3.stream.token.string$Parser@85edf20,SimpleChar(',strin))
718 output state = StrParse(xyz.cofe.json4s3.stream.token.string$Parser@85edf20,SimpleChar(',strin))
719 output tokens = List()
720input char 'g' input.state=StrParse(xyz.cofe.json4s3.stream.token.string$Parser@85edf20,SimpleChar(',string))
721 output state = StrParse(xyz.cofe.json4s3.stream.token.string$Parser@85edf20,SimpleChar(',string))
722 output tokens = List()
723input char ''' input.state=StrParse(xyz.cofe.json4s3.stream.token.string$Parser@85edf20,SimpleChar(',string))
724 output state = Init
725 output tokens = List(Str(string))
726char=''' state Init => SimpleChar(',)
727char='a' state SimpleChar(',a) => SimpleChar(',a)
728char='\' state SimpleChar(',a) => EscStart(',a)
729char='u' state EscStart(',a) => EscUnicodeStart(',a)
730char='0' state EscUnicodeStart(',a) => EscUnicode4digit(',a,List(0))
731char='0' state EscUnicode4digit(',a,List(0)) => EscUnicode4digit(',a,List(0, 0))
732char='a' state EscUnicode4digit(',a,List(0, 0)) => EscUnicode4digit(',a,List(0, 0, 10))
733char='2' state EscUnicode4digit(',a¢,List(0, 0, 10)) => SimpleChar(',a¢)
734char=''' state SimpleChar(',a¢) => Finish(a¢)
735== parse string ==
736end state Finish(a¢) => Finish(a¢)
737matched input="'a\u00a2'" expect="a¢" res"a¢"
738========================================
739parse unicode 5
740========================================
741json {'a':1,'b':2}
742char=''' state Init => SimpleChar(',)
743char='a' state SimpleChar(',a) => SimpleChar(',a)
744char='\' state SimpleChar(',a) => EscStart(',a)
745char='u' state EscStart(',a) => EscUnicodeStart(',a)
746char='{' state EscUnicodeStart(',a) => EscUnicode5digit(',a,List())
747char='0' state EscUnicode5digit(',a,List()) => EscUnicode5digit(',a,List(0))
748char='0' state EscUnicode5digit(',a,List(0)) => EscUnicode5digit(',a,List(0, 0))
749char='0' state EscUnicode5digit(',a,List(0, 0)) => EscUnicode5digit(',a,List(0, 0, 0))
750char='a' state EscUnicode5digit(',a,List(0, 0, 0)) => EscUnicode5digit(',a,List(0, 0, 0, 10))
751char='2' state EscUnicode5digit(',a,List(0, 0, 0, 10)) => EscUnicode5digit(',a,List(0, 0, 0, 10, 2))
752parse OpenBrace => Right((ObjExpFieldName(List(),Some(Init)),None))
753char='}' state EscUnicode5digit(',a¢,List(0, 0, 0, 10, 2)) => SimpleChar(',a¢)
754char=''' state SimpleChar(',a¢) => Finish(a¢)
755end state Finish(a¢) => Finish(a¢)
756matched input="'a\u{000a2}'" expect="a¢" res"a¢"
757parse Str(a) => Right((ObjAfterFieldName(a,List(),Some(Init)),None))
758parse Colon => Right((ObjExpFieldValue(a,List(),Some(Init)),None))
759parse Comma => Left(xyz.cofe.json4s3.errors.ParserNotMatchInputToken: did not match expected token Comma, state=public abstract static class xyz.cofe.json4s3.stream.ast.Parser$State)
760IntNumber(12)
761WhiteSpace( )
762Identifier(true)
763xyz.cofe.json4s3.stream.token.StringTest:
764 + parse "abc" 0.009s
765 + parse 'abc' 0.001s
766 + parse 'a\\'bc' 0.008s
767 + parse 'a\\"bc' 0.0s
768 + parse 'a\\0' 0.007s
769 + parse 'a\\b' 0.001s
770 + parse 'a\\f' 0.009s
771 + parse 'a\\n' 0.001s
772 + parse 'a\\r' 0.007s
773 + parse 'a\\t' 0.003s
774 + parse 'a\\v' 0.004s
775 + parse oct 0.002s
776 + parse hex A1 0.013s
777 + parse hex a2 0.001s
778 + parse unicode 4 0.007s
779 + parse unicode 5 0.002s
780========================================
781object {'a':1,'b':[]}
782xyz.cofe.json4s3.stream.token.CommentTest:
783 + // single 0.009s
784 + /* multi 0.0s
785parse OpenBrace => Right((ObjExpFieldName(List(),Some(Init)),None))
786parse Str(a) => Right((ObjAfterFieldName(a,List(),Some(Init)),None))
787parse Colon => Right((ObjExpFieldValue(a,List(),Some(Init)),None))
788parse Comma => Left(xyz.cofe.json4s3.errors.ParserNotMatchInputToken: did not match expected token Comma, state=public abstract static class xyz.cofe.json4s3.stream.ast.Parser$State)
789cnt = 10 nano=7006928 avg=0.7006928 ms
790========================================
791object {'a':1,'b':[1]}
792parse OpenBrace => Right((ObjExpFieldName(List(),Some(Init)),None))
793start
794third
795parse Str(a) => Right((ObjAfterFieldName(a,List(),Some(Init)),None))
796parse Colon => Right((ObjExpFieldValue(a,List(),Some(Init)),None))
797parse Comma => Left(xyz.cofe.json4s3.errors.ParserNotMatchInputToken: did not match expected token Comma, state=public abstract static class xyz.cofe.json4s3.stream.ast.Parser$State)
798true
79910
800========================================
801finish
802json {'a':1,'b':[1,{}]}
803xyz.cofe.hlist.HListTest:
804 + hlist 0.014s
805parse OpenBrace => Right((ObjExpFieldName(List(),Some(Init)),None))
806parse Str(a) => Right((ObjAfterFieldName(a,List(),Some(Init)),None))
807parse Colon => Right((ObjExpFieldValue(a,List(),Some(Init)),None))
808parse Comma => Left(xyz.cofe.json4s3.errors.ParserNotMatchInputToken: did not match expected token Comma, state=public abstract static class xyz.cofe.json4s3.stream.ast.Parser$State)
809========================================
810json {'a':1,'b':[2,{'c':3}]}
811tokens:
812 OpenBrace
813 Str(a)
814 Colon
815 Comma
816 IntNumber(1)
817 Str(b)
818 Colon
819 OpenSquare
820 Comma
821 IntNumber(2)
822 OpenBrace
823 Str(c)
824 Colon
825 CloseBrace
826 IntNumber(3)
827 CloseSquare
828 CloseBrace
829parse OpenBrace => Right((ObjExpFieldName(List(),Some(Init)),None))
830parse Str(a) => Right((ObjAfterFieldName(a,List(),Some(Init)),None))
831parse Colon => Right((ObjExpFieldValue(a,List(),Some(Init)),None))
832parse Comma => Left(xyz.cofe.json4s3.errors.ParserNotMatchInputToken: did not match expected token Comma, state=public abstract static class xyz.cofe.json4s3.stream.ast.Parser$State)
833========================================
834json {a:[[]]}
835tokens:
836 OpenBrace
837 Colon
838 Identifier(a)
839 OpenSquare
840 OpenSquare
841 CloseSquare
842 CloseSquare
843 CloseBrace
844try color
845parse OpenBrace => Right((ObjExpFieldName(List(),Some(Init)),None))
846parse Colon => Left(xyz.cofe.json4s3.errors.ParserNotMatchInputToken: did not match expected token Colon, state=public abstract static class xyz.cofe.json4s3.stream.ast.Parser$State)
847List()
848========================================
849comment parse
850cnt = 100 nano=18465464 avg=0.18465464 ms
851SLComment(sample
852)
853OpenSquare
854WhiteSpace( )
855MLComment( cmnt )
856WhiteSpace( )
857IntNumber(1)
858CloseSquare
859WhiteSpace( )
860WhiteSpace(
861)
862SLComment(last comment
863)
864WhiteSpace( )
865JsArray(List(JsInt(1)))
866100 {"value":"100"} Right(Sample(Some(100)))
8671000 {"value":"1000"} Right(Sample(Some(1000)))
86810000 {"value":"10000"} Right(Sample(Some(10000)))
86940000 {"value":"40000"} Right(Sample(Some(40000)))
870xyz.cofe.json4s3.derv.OptLongTest:
871 + store opt long 0.016s
872xyz.cofe.json4s3.stream.ast.ParserTest:
873 + atomic str 0.011s
874 + atomic int 0.0s
875 + atomic float 0.002s
876 + atomic bigint 0.0s
877 + atomic null 0.001s
878 + atomic true 0.005s
879 + atomic false 0.0s
880 + emptry array 0.006s
881 + array[ 1 ] 0.01s
882 + array[ 1,2 ] 0.004s
883 + array[ 1,2, ] 0.01s
884 + object {} 0.007s
885 + object {'a':1} 0.005s
886 + object {'a':1,} 0.009s
887 + object {'a':1,'b':2} 0.011s
888==> X xyz.cofe.json4s3.stream.ast.ParserTest.json {'a':1,'b':2} 0.01s munit.FailException: /build/repo/src/test/scala/xyz/cofe/json4s3/stream/ast/ParserTest.scala:282 assertion failed
889281:
890282: assert(result.isRight)
891283:
892 at munit.FunSuite.assert(FunSuite.scala:11)
893 at xyz.cofe.json4s3.stream.ast.ParserTest.$init$$$anonfun$16(ParserTest.scala:282)
894==> X xyz.cofe.json4s3.stream.ast.ParserTest.json {'a':1,'b':[]} 0.007s munit.FailException: /build/repo/src/test/scala/xyz/cofe/json4s3/stream/ast/ParserTest.scala:305 assertion failed
895304:
896305: assert(result.isRight)
897306:
898 at munit.FunSuite.assert(FunSuite.scala:11)
899 at xyz.cofe.json4s3.stream.ast.ParserTest.$init$$$anonfun$17(ParserTest.scala:305)
900==> X xyz.cofe.json4s3.stream.ast.ParserTest.json {'a':1,'b':[1]} 0.004s munit.FailException: /build/repo/src/test/scala/xyz/cofe/json4s3/stream/ast/ParserTest.scala:328 assertion failed
901327:
902328: assert(result.isRight)
903329:
904 at munit.FunSuite.assert(FunSuite.scala:11)
905 at xyz.cofe.json4s3.stream.ast.ParserTest.$init$$$anonfun$18(ParserTest.scala:328)
906==> X xyz.cofe.json4s3.stream.ast.ParserTest.json {'a':1,'b':[1,{}]} 0.001s munit.FailException: /build/repo/src/test/scala/xyz/cofe/json4s3/stream/ast/ParserTest.scala:357 assertion failed
907356:
908357: assert(result.isRight)
909358:
910 at munit.FunSuite.assert(FunSuite.scala:11)
911 at xyz.cofe.json4s3.stream.ast.ParserTest.$init$$$anonfun$19(ParserTest.scala:357)
912==> X xyz.cofe.json4s3.stream.ast.ParserTest.json {'a':1,'b':[2,{'c':3}]} 0.003s munit.FailException: /build/repo/src/test/scala/xyz/cofe/json4s3/stream/ast/ParserTest.scala:392 assertion failed
913391:
914392: assert(result.isRight)
915393:
916 at munit.FunSuite.assert(FunSuite.scala:11)
917 at xyz.cofe.json4s3.stream.ast.ParserTest.$init$$$anonfun$20(ParserTest.scala:392)
918==> X xyz.cofe.json4s3.stream.ast.ParserTest.json {a:[[]]} 0.01s munit.FailException: /build/repo/src/test/scala/xyz/cofe/json4s3/stream/ast/ParserTest.scala:429 assertion failed
919428:
920429: assert(result.isRight)
921430:
922 at munit.FunSuite.assert(FunSuite.scala:11)
923 at xyz.cofe.json4s3.stream.ast.ParserTest.$init$$$anonfun$21(ParserTest.scala:429)
924 + comment parse 0.005s
925BlackBlackBrightRedRedBrightGreenGreenBrightYellowYellowBrightBlueBlueBrightMagentaMagentaBrightCyanCyanBrightWhiteWhiteBrightDefault
926BlackBlackBrightRedRedBrightGreenGreenBrightYellowYellowBrightBlueBlueBrightMagentaMagentaBrightCyanCyanBrightWhiteWhiteBrightDefault
927abcabcdef
928abcdef
929aaa
930aaa
931aaa
932aaa
933000| 111| 222| 333| 444| 555| aaa| bbb| ccc| ddd| eee| fff| ggg| hhh| iii| jjj| kkk| lll|
934xyz.cofe.json4s3.ascii.AsciiTest:
935 + try colors 0.018s
936cnt = 1000 nano=70121167 avg=0.070121167 ms
937cnt = 10000 nano=161520428 avg=0.0161520428 ms
938cnt = 20000 nano=176015129 avg=0.00880075645 ms
939cnt = 50000 nano=120486719 avg=0.00240973438 ms
940xyz.cofe.json4s3.stream.token.TokenizerTest:
941 + test 0.029s
942 + sample 0.004s
943 + multiple 0.014s
944 + parse string 0.003s
945 + parse perf 0.564s
946
947************************
948Build summary:
949[{
950 "module": "json4s3",
951 "compile": {"status": "ok", "tookMs": 14664, "warnings": 2, "errors": 0, "sourceVersion": "3.8"},
952 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
953 "test-compile": {"status": "ok", "tookMs": 5349, "warnings": 1, "errors": 0, "sourceVersion": "3.8"},
954 "test": {"status": "failed", "tookMs": 1319, "passed": 100, "failed": 14, "ignored": 0, "skipped": 0, "total": 114, "byFramework": [{"framework": "munit", "stats": {"passed": 100, "failed": 14, "ignored": 0, "skipped": 0, "total": 114}}]},
955 "publish": {"status": "skipped", "tookMs": 0},
956 "metadata": {
957 "crossScalaVersions": ["2.12.20", "3.4.1"]
958}
959}]
960************************
961[error] Scala3CommunityBuild$ProjectBuildFailureException: 1 module(s) finished with failures: json4s3
962[error] (Global / runBuild) Scala3CommunityBuild$ProjectBuildFailureException: 1 module(s) finished with failures: json4s3
963[error] Total time: 23 s, completed Dec 31, 2025, 10:00:28 PM
964[0JBuild failed, not retrying.