Build Logs
gochaorg/json4s3 • 3.8.0-RC4:2025-12-22
Errors
20
Warnings
31
Total Lines
939
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-RC4
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-RC4"
28Successfully applied pattern 'val scala3Version = "3.4.1"' in build.sbt
29----
30Starting build for 3.8.0-RC4
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-RC4
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-RC4
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-RC4"
59"++3.8.0-RC4 -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-RC4 """{"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.564s.
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-RC4
94OpenCB::Changing crossVersion 3.2.0 -> 3.8.0-RC4 in jsn_analyzer/crossScalaVersions
95OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC4) in jsn_analyzer/crossScalaVersions
96OpenCB::Changing crossVersion 3.8.0-RC4 -> 3.8.0-RC4 in root/crossScalaVersions
97OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC4) in root/crossScalaVersions
98[info] set current project to json4s3 (in build file:/build/repo/)
99[info] Setting Scala version to 3.8.0-RC4 on 2 projects.
100[info] Switching Scala version on:
101[info] * root (3.8.0-RC4)
102[info] jsn_analyzer (3.8.0-RC4)
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 22, 2025, 7:04:06 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-RC4/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-RC4/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
158===================
159=== show test ====
1605, 6, 1, 2, 3,
161MySuite:
162 + example test that succeeds 0.054s
163xyz.cofe.json4s3.stream.token.ShowTest:
164 + show test 0.056s
165100 {"value":"100"} Right(Sample(Some(100)))
1661000 {"value":"1000"} Right(Sample(Some(1000)))
16710000 {"value":"10000"} Right(Sample(Some(10000)))
16840000 {"value":"40000"} Right(Sample(Some(40000)))
169xyz.cofe.json4s3.derv.OptLongTest:
170 + store opt long 0.098s
171xyz.cofe.json4s3.query.QueryTest:
172 + sample 0.106s
173OpenBrace
174CloseBrace
175OpenSquare
176CloseSquare
177Comma
178Colon
179WhiteSpace( )
180IntNumber(1)
181WhiteSpace( )
182Str(aaa)
183WhiteSpace( )
184MLComment( abc )
185input char '{' input.state=Init
186 output state = Init
187 output tokens = List(OpenBrace)
188input char '}' input.state=Init
189 output state = Init
190 output tokens = List(CloseBrace)
191input char ' ' input.state=Init
192 output state = WhitespaceParse(xyz.cofe.json4s3.stream.token.whitespace$Parser@62bf9c8a,Work( ))
193 output tokens = List()
194input char '[' input.state=WhitespaceParse(xyz.cofe.json4s3.stream.token.whitespace$Parser@62bf9c8a,Work( ))
195 output state = Init
196 output tokens = List(WhiteSpace( ), OpenSquare)
197input char ']' input.state=Init
198 output state = Init
199 output tokens = List(CloseSquare)
200input char ':' input.state=Init
201 output state = Init
202 output tokens = List(Colon)
203input char ',' input.state=Init
204 output state = Init
205 output tokens = List(Comma)
206input char ' ' input.state=Init
207 output state = WhitespaceParse(xyz.cofe.json4s3.stream.token.whitespace$Parser@573ffeae,Work( ))
208 output tokens = List()
209input char '1' input.state=WhitespaceParse(xyz.cofe.json4s3.stream.token.whitespace$Parser@573ffeae,Work( ))
210try color
211 output state = NumParse(xyz.cofe.json4s3.stream.token.number$Parser@19e37a31,DecPart(List(1),true))
212 output tokens = List(WhiteSpace( ))
213input char '2' input.state=NumParse(xyz.cofe.json4s3.stream.token.number$Parser@19e37a31,DecPart(List(1),true))
214 output state = NumParse(xyz.cofe.json4s3.stream.token.number$Parser@19e37a31,DecPart(List(1, 2),true))
215 output tokens = List()
216input char ' ' input.state=NumParse(xyz.cofe.json4s3.stream.token.number$Parser@19e37a31,DecPart(List(1, 2),true))
217 output state = WhitespaceParse(xyz.cofe.json4s3.stream.token.whitespace$Parser@260d3132,Work( ))
218 output tokens = List(IntNumber(12))
219input char 't' input.state=WhitespaceParse(xyz.cofe.json4s3.stream.token.whitespace$Parser@260d3132,Work( ))
220 output state = IdParser(xyz.cofe.json4s3.stream.token.identifier$Parser@38c8a2b5,Work(t))
221 output tokens = List(WhiteSpace( ))
222input char 'r' input.state=IdParser(xyz.cofe.json4s3.stream.token.identifier$Parser@38c8a2b5,Work(tr))
223 output state = IdParser(xyz.cofe.json4s3.stream.token.identifier$Parser@38c8a2b5,Work(tr))
224 output tokens = List()
225input char 'u' input.state=IdParser(xyz.cofe.json4s3.stream.token.identifier$Parser@38c8a2b5,Work(tru))
226 output state = IdParser(xyz.cofe.json4s3.stream.token.identifier$Parser@38c8a2b5,Work(tru))
227 output tokens = List()
228input char 'e' input.state=IdParser(xyz.cofe.json4s3.stream.token.identifier$Parser@38c8a2b5,Work(true))
229 output state = IdParser(xyz.cofe.json4s3.stream.token.identifier$Parser@38c8a2b5,Work(true))
230 output tokens = List()
231input char ' ' input.state=IdParser(xyz.cofe.json4s3.stream.token.identifier$Parser@38c8a2b5,Work(true))
232 output state = WhitespaceParse(xyz.cofe.json4s3.stream.token.whitespace$Parser@10aaf18c,Work( ))
233 output tokens = List(Identifier(true))
234input char ''' input.state=WhitespaceParse(xyz.cofe.json4s3.stream.token.whitespace$Parser@10aaf18c,Work( ))
235 output state = StrParse(xyz.cofe.json4s3.stream.token.string$Parser@121a335a,SimpleChar(',))
236 output tokens = List(WhiteSpace( ))
237input char 's' input.state=StrParse(xyz.cofe.json4s3.stream.token.string$Parser@121a335a,SimpleChar(',s))
238 output state = StrParse(xyz.cofe.json4s3.stream.token.string$Parser@121a335a,SimpleChar(',s))
239 output tokens = List()
240input char 't' input.state=StrParse(xyz.cofe.json4s3.stream.token.string$Parser@121a335a,SimpleChar(',st))
241 output state = StrParse(xyz.cofe.json4s3.stream.token.string$Parser@121a335a,SimpleChar(',st))
242 output tokens = List()
243input char 'r' input.state=StrParse(xyz.cofe.json4s3.stream.token.string$Parser@121a335a,SimpleChar(',str))
244 output state = StrParse(xyz.cofe.json4s3.stream.token.string$Parser@121a335a,SimpleChar(',str))
245 output tokens = List()
246input char 'i' input.state=StrParse(xyz.cofe.json4s3.stream.token.string$Parser@121a335a,SimpleChar(',stri))
247 output state = StrParse(xyz.cofe.json4s3.stream.token.string$Parser@121a335a,SimpleChar(',stri))
248 output tokens = List()
249input char 'n' input.state=StrParse(xyz.cofe.json4s3.stream.token.string$Parser@121a335a,SimpleChar(',strin))
250 output state = StrParse(xyz.cofe.json4s3.stream.token.string$Parser@121a335a,SimpleChar(',strin))
251 output tokens = List()
252input char 'g' input.state=StrParse(xyz.cofe.json4s3.stream.token.string$Parser@121a335a,SimpleChar(',string))
253 output state = StrParse(xyz.cofe.json4s3.stream.token.string$Parser@121a335a,SimpleChar(',string))
254 output tokens = List()
255input char ''' input.state=StrParse(xyz.cofe.json4s3.stream.token.string$Parser@121a335a,SimpleChar(',string))
256 output state = Init
257 output tokens = List(Str(string))
258== parse string ==
259IntNumber(12)
260WhiteSpace( )
261Identifier(true)
262List()
263BlackBlackBrightRedRedBrightGreenGreenBrightYellowYellowBrightBlueBlueBrightMagentaMagentaBrightCyanCyanBrightWhiteWhiteBrightDefault
264BlackBlackBrightRedRedBrightGreenGreenBrightYellowYellowBrightBlueBlueBrightMagentaMagentaBrightCyanCyanBrightWhiteWhiteBrightDefault
265abcabcdef
266abcdef
267aaa
268aaa
269aaa
270aaa
271000| 111| 222| 333| 444| 555| aaa| bbb| ccc| ddd| eee| fff| ggg| hhh| iii| jjj| kkk| lll|
272xyz.cofe.json4s3.ascii.AsciiTest:
273 + try colors 0.009s
274cnt = 10 nano=4110811 avg=0.4110811 ms
275Identifier(null)
276xyz.cofe.json4s3.stream.token.NestedTokenIteratorTest:
277 + nested token test 0.016s
278 + nested atomic 0.001s
279-------------
280Left(xyz.cofe.json4s3.derv.errors.NestedParserError: did not match expected token Comma, state=public abstract static class xyz.cofe.json4s3.stream.ast.Parser$State)
281xyz.cofe.json4s3.stream.token.TokenIteratorTest:
282 + read tokens 0.001s
283cnt = 100 nano=24080338 avg=0.24080338 ms
284JsNull(2)
285{"int":1,"float":2.5,"big":123456789012345678901234567890n,"null":null,"true":true,"false":false,"array":[1,2,3]}
286Sum(
287 1 > JsNull
288 1 > JsStr
289)
290
291Sum(
292 3 > JsNull
293 1 > JsStr
294)
295
296prod merge
297============================================================
298{
299 a : Sum(
300 1 > JsNull
301 1 > JsBool
302 )
303 b : JsInt
304 c : JsStr
305}
306
307prod merge atom
308============================================================
309Sum(
310 1 > {
311 a : JsNull
312 b : JsInt
313 }
314 1 > JsStr
315)
316
317prod merge sum
318============================================================
319xyz.cofe.json4s3.stream.ast.AST2JsonTest:
320==> X xyz.cofe.json4s3.stream.ast.AST2JsonTest.ast2json 0.031s munit.FailException: /build/repo/src/test/scala/xyz/cofe/json4s3/stream/ast/AST2JsonTest.scala:28 assertion failed
32127: val jsTreeEt = Parser.parseSeq(tokens)
32228: assert( jsTreeEt.isRight )
32329:
324 at munit.FunSuite.assert(FunSuite.scala:11)
325 at xyz.cofe.json4s3.stream.ast.AST2JsonTest.$init$$$anonfun$1(AST2JsonTest.scala:28)
326Sum(
327 1 > {
328 a : JsNull
329 b : JsInt
330 }
331 1 > JsStr
332 1 > JsBool
333)
334
335nested prod merge
336============================================================
337{
338 c : {
339 a : JsNull(2)
340 b : JsStr
341 c : JsStr
342 }
343 d : JsInt
344}
345
346xyz.cofe.json4s3.desc.JsTypeTest:
347 + merge 1 0.023s
348 + prod merge 0.007s
349 + prod merge atom 0.003s
350 + prod merge sum 0.008s
351 + nested prod merge 0.002s
352========================================
353case class(a:Int, b:String)
354Some({"a":1,"b":"str"})
355char='"' state Init => SimpleChar(",)
356char='a' state SimpleChar(",a) => SimpleChar(",a)
357char='b' state SimpleChar(",ab) => SimpleChar(",ab)
358char='c' state SimpleChar(",abc) => SimpleChar(",abc)
359char='"' state SimpleChar(",abc) => Finish(abc)
360end state Finish(abc) => Finish(abc)
361matched input=""abc"" expect="abc" res"abc"
362char=''' state Init => SimpleChar(',)
363char='a' state SimpleChar(',a) => SimpleChar(',a)
364char='b' state SimpleChar(',ab) => SimpleChar(',ab)
365char='c' state SimpleChar(',abc) => SimpleChar(',abc)
366char=''' state SimpleChar(',abc) => Finish(abc)
367end state Finish(abc) => Finish(abc)
368matched input="'abc'" expect="abc" res"abc"
369========================================
370case class( a:Option[Int], b:Boolean )
371{"b":true}
372char=''' state Init => SimpleChar(',)
373char='a' state SimpleChar(',a) => SimpleChar(',a)
374Left(xyz.cofe.json4s3.derv.errors.NestedParserError: did not match expected token CloseBrace, state=public abstract static class xyz.cofe.json4s3.stream.ast.Parser$State)
375char='\' state SimpleChar(',a) => EscStart(',a)
376char=''' state EscStart(',a') => SimpleChar(',a')
377char='b' state SimpleChar(',a'b) => SimpleChar(',a'b)
378char='c' state SimpleChar(',a'bc) => SimpleChar(',a'bc)
379char=''' state SimpleChar(',a'bc) => Finish(a'bc)
380end state Finish(a'bc) => Finish(a'bc)
381matched input="'a\'bc'" expect="a'bc" res"a'bc"
382char=''' state Init => SimpleChar(',)
383char='a' state SimpleChar(',a) => SimpleChar(',a)
384char='\' state SimpleChar(',a) => EscStart(',a)
385char='"' state EscStart(',a") => SimpleChar(',a")
386char='b' state SimpleChar(',a"b) => SimpleChar(',a"b)
387char='c' state SimpleChar(',a"bc) => SimpleChar(',a"bc)
388char=''' state SimpleChar(',a"bc) => Finish(a"bc)
389end state Finish(a"bc) => Finish(a"bc)
390matched input="'a\"bc'" expect="a"bc" res"a"bc"
391char=''' state Init => SimpleChar(',)
392char='a' state SimpleChar(',a) => SimpleChar(',a)
393char='\' state SimpleChar(',a) => EscStart(',a)
394char='0' state EscStart(',a) => EscZero(',a)
395char=''' state EscZero(',a) => Finish(a)
396end state Finish(a) => Finish(a)
397matched input="'a\0'" expect="a" res"a"
398char=''' state Init => SimpleChar(',)
399char='a' state SimpleChar(',a) => SimpleChar(',a)
400char='\' state SimpleChar(',a) => EscStart(',a)
401char='b' state EscStart(',a) => SimpleChar(',a)
402char=''' state SimpleChar(',a) => Finish(a)
403end state Finish(a) => Finish(a)
404matched input="'a\b'" expect="a" res"a"
405char=''' state Init => SimpleChar(',)
406char='a' state SimpleChar(',a) => SimpleChar(',a)
407char='\' state SimpleChar(',a) => EscStart(',a)
408char='f' state EscStart(',a) => SimpleChar(',a)
409char=''' state SimpleChar(',a) => Finish(a)
410end state Finish(a) => Finish(a)
411matched input="'a\f'" expect="a" res"a"
412Some(IntNumber(0))
413Some(IntNumber(0))
414Some(FloatNumber(0.0))
415char=''' state Init => SimpleChar(',)
416char='a' state SimpleChar(',a) => SimpleChar(',a)
417char='\' state SimpleChar(',a) => EscStart(',a)
418char='n' state EscStart(',a
419) => SimpleChar(',a
420)
421char=''' state SimpleChar(',a
422) => Finish(a
423)
424end state Finish(a
425) => Finish(a
426)
427matched input="'a\n'" expect="a\n" res"a\n"
428char=''' state Init => SimpleChar(',)
429Some(FloatNumber(0.0))
430char='a' state SimpleChar(',a) => SimpleChar(',a)
431char='\' state SimpleChar(',a) => EscStart(',a)
432char='r' state EscStart(',a
433) => SimpleChar(',a
434)
435char=''' state SimpleChar(',a
436) => Finish(a
437)
438end state Finish(a
439) => Finish(a
440)
441matched input="'a\r'" expect="a\r" res"a\r"
442char=''' state Init => SimpleChar(',)
443char='a' state SimpleChar(',a) => SimpleChar(',a)
444char='\' state SimpleChar(',a) => EscStart(',a)
445char='t' state EscStart(',a ) => SimpleChar(',a )
446char=''' state SimpleChar(',a ) => Finish(a )
447end state Finish(a ) => Finish(a )
448matched input="'a\t'" expect="a " res"a "
449char=''' state Init => SimpleChar(',)
450char='a' state SimpleChar(',a) => SimpleChar(',a)
451char='\' state SimpleChar(',a) => EscStart(',a)
452char='v' state EscStart(',a) => SimpleChar(',a)
453char=''' state SimpleChar(',a) => Finish(a)
454end state Finish(a) => Finish(a)
455matched input="'a\v'" expect="a" res"a"
456char=''' state Init => SimpleChar(',)
457char='a' state SimpleChar(',a) => SimpleChar(',a)
458char='\' state SimpleChar(',a) => EscStart(',a)
459char='1' state EscStart(',a) => EscOct(',a,List(1))
460char='5' state EscOct(',a,List(1)) => EscOct(',a,List(1, 5))
461xyz.cofe.json4s3.derv.DerivingTest:
462 + 123 as int 0.004s
463 + 1.3 as int 0.006s
464 + 123 as short 0.004s
465 + 123 as byte 0.001s
466 + 1.3 as float 0.006s
467 + 1.3 as double 0.0s
468 + 123 as long 0.004s
469 + true as boolean 0.003s
470 + false as boolean 0.0s
471==> X xyz.cofe.json4s3.derv.DerivingTest.[1,2] as List[Int] 0.051s munit.FailException: /build/repo/src/test/scala/xyz/cofe/json4s3/derv/DerivingTest.scala:26 assertion failed
47225: "[1,2]".jsonAs[List[Int]] == Right(List(1,2))
47326: )
47427: }
475 at munit.FunSuite.assert(FunSuite.scala:11)
476 at xyz.cofe.json4s3.derv.DerivingTest.$init$$$anonfun$10(DerivingTest.scala:26)
477 + str to json 0.001s
478 + int to json 0.005s
479 + list[1,2] to json 0.007s
480==> 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
48143: val sample1et = sampleJson.jsonAs[Sample1]
48244: assert( sample1et==Right(sample1) )
48345: }
484 at munit.FunSuite.assert(FunSuite.scala:11)
485 at xyz.cofe.json4s3.derv.DerivingTest.$init$$$anonfun$14(DerivingTest.scala:44)
486==> X xyz.cofe.json4s3.derv.DerivingTest.case class( a:Option[Int], b:Boolean ) 0.014s munit.FailException: /build/repo/src/test/scala/xyz/cofe/json4s3/derv/DerivingTest.scala:56 assertion failed
48755: println( sample2.json.jsonAs[Sample2] )
48856: assert( sample2.json.jsonAs[Sample2] == Right(sample2) )
48957:
490 at munit.FunSuite.assert(FunSuite.scala:11)
491 at xyz.cofe.json4s3.derv.DerivingTest.$init$$$anonfun$15(DerivingTest.scala:56)
492==> X xyz.cofe.json4s3.derv.DerivingTest.builder 0.014s munit.FailException: /build/repo/src/test/scala/xyz/cofe/json4s3/derv/DerivingTest.scala:78 assertion failed
49377:
49478: assert( """{ type:"1", a:1 }""".jsonAs[BaseSample] == Right(ChildOne(1)) )
49579: assert( """{ type:"2", a:"xcv" }""".jsonAs[BaseSample] == Right(ChildTwo("xcv")) )
496 at munit.FunSuite.assert(FunSuite.scala:11)
497 at xyz.cofe.json4s3.derv.DerivingTest.$init$$$anonfun$16(DerivingTest.scala:78)
498 + default 0.011s
499 + bignum 0.001s
500char='7' state EscOct(',ao,List(1, 5)) => SimpleChar(',ao)
501char=''' state SimpleChar(',ao) => Finish(ao)
502end state Finish(ao) => Finish(ao)
503matched input="'a\157'" expect="ao" res"ao"
504char=''' state Init => SimpleChar(',)
505char='a' state SimpleChar(',a) => SimpleChar(',a)
506char='\' state SimpleChar(',a) => EscStart(',a)
507char='x' state EscStart(',a) => EscHex(',a,List())
508char='A' state EscHex(',a,List()) => EscHex(',a,List(10))
509char='1' state EscHex(',a¡,List(10)) => SimpleChar(',a¡)
510char=''' state SimpleChar(',a¡) => Finish(a¡)
511end state Finish(a¡) => Finish(a¡)
512matched input="'a\xA1'" expect="a¡" res"a¡"
513char=''' state Init => SimpleChar(',)
514char='a' state SimpleChar(',a) => SimpleChar(',a)
515char='\' state SimpleChar(',a) => EscStart(',a)
516char='x' state EscStart(',a) => EscHex(',a,List())
517char='a' state EscHex(',a,List()) => EscHex(',a,List(10))
518char='2' state EscHex(',a¢,List(10)) => SimpleChar(',a¢)
519char=''' state SimpleChar(',a¢) => Finish(a¢)
520end state Finish(a¢) => Finish(a¢)
521matched input="'a\xa2'" expect="a¢" res"a¢"
522char=''' state Init => SimpleChar(',)
523char='a' state SimpleChar(',a) => SimpleChar(',a)
524char='\' state SimpleChar(',a) => EscStart(',a)
525char='u' state EscStart(',a) => EscUnicodeStart(',a)
526char='0' state EscUnicodeStart(',a) => EscUnicode4digit(',a,List(0))
527char='0' state EscUnicode4digit(',a,List(0)) => EscUnicode4digit(',a,List(0, 0))
528char='a' state EscUnicode4digit(',a,List(0, 0)) => EscUnicode4digit(',a,List(0, 0, 10))
529char='2' state EscUnicode4digit(',a¢,List(0, 0, 10)) => SimpleChar(',a¢)
530char=''' state SimpleChar(',a¢) => Finish(a¢)
531end state Finish(a¢) => Finish(a¢)
532matched input="'a\u00a2'" expect="a¢" res"a¢"
533========================================
534parse unicode 5
535char=''' state Init => SimpleChar(',)
536char='a' state SimpleChar(',a) => SimpleChar(',a)
537char='\' state SimpleChar(',a) => EscStart(',a)
538char='u' state EscStart(',a) => EscUnicodeStart(',a)
539char='{' state EscUnicodeStart(',a) => EscUnicode5digit(',a,List())
540char='0' state EscUnicode5digit(',a,List()) => EscUnicode5digit(',a,List(0))
541-294113285720479764n
542Some(BigNumber(-294113285720479764))
543xyz.cofe.json4s3.stream.token.NumberTest:
544 + parse int 123 0.0s
545 + parse int 0 0.002s
546 + parse int -0 0.001s
547 + parse int -12 0.0s
548 + parse float 0. 0.001s
549 + parse float 0.0 0.004s
550 + parse float 10.5 0.0s
551 + parse float -1.5 0.001s
552 + parse float -.5 0.003s
553 + parse float 1.2e3 0.003s
554 + parse float 1.2e+4 0.008s
555 + parse float 1.2e-4 0.0s
556 + parse oct 0153 0.003s
557 + parse oct 0o153 0.0s
558 + parse oct 0O153 0.001s
559 + parse oct 0O153n 0.004s
560 + parse oct 0153n 0.001s
561 + parse hex 0xfa2 0.005s
562 + parse hex 0xfa2n 0.0s
563 + parse hex 0Xfa2n 0.001s
564 + parse hex 0Xfa 0.005s
565 + parse hex 0XFA 0.0s
566 + parse hex 0b110 0.002s
567 + parse hex 0B110 0.0s
568 + parse hex 0b110n 0.001s
569 + FloatNumber(0.4354165676733556) 0.002s
570 + BigInt(-294113285720479764) 0.006s
571char='0' state EscUnicode5digit(',a,List(0)) => EscUnicode5digit(',a,List(0, 0))
572char='0' state EscUnicode5digit(',a,List(0, 0)) => EscUnicode5digit(',a,List(0, 0, 0))
573char='a' state EscUnicode5digit(',a,List(0, 0, 0)) => EscUnicode5digit(',a,List(0, 0, 0, 10))
574char='2' state EscUnicode5digit(',a,List(0, 0, 0, 10)) => EscUnicode5digit(',a,List(0, 0, 0, 10, 2))
575char='}' state EscUnicode5digit(',a¢,List(0, 0, 0, 10, 2)) => SimpleChar(',a¢)
576char=''' state SimpleChar(',a¢) => Finish(a¢)
577end state Finish(a¢) => Finish(a¢)
578matched input="'a\u{000a2}'" expect="a¢" res"a¢"
579xyz.cofe.json4s3.stream.token.StringTest:
580 + parse "abc" 0.004s
581 + parse 'abc' 0.003s
582 + parse 'a\\'bc' 0.009s
583 + parse 'a\\"bc' 0.004s
584 + parse 'a\\0' 0.001s
585 + parse 'a\\b' 0.001s
586 + parse 'a\\f' 0.006s
587 + parse 'a\\n' 0.0s
588 + parse 'a\\r' 0.01s
589 + parse 'a\\t' 0.004s
590 + parse 'a\\v' 0.002s
591 + parse oct 0.013s
592 + parse hex A1 0.005s
593 + parse hex a2 0.001s
594 + parse unicode 4 0.004s
595 + parse unicode 5 0.014s
596json "bvovprmq"false true }0.3915014551013989 -1070445049 "wtnmllw"null -1846589320338554484n -11826791371456152n"hbs" true"izc"0.06662264628552206 1606733486"sgxpuwkbd""edanbdjs"{"upxxb"null"gzsbh"}null]0.864228409192883]-1226427513 true -1518858523 true"rbsm"-472249804 [false"bemuuq"-805356368"rvogxqkth""akdtygey"{: "qnapi"null 67 1214694586"mzfuxjy" "txuro"
597true Str(bvovprmq) Str(bvovprmq)
598true Identifier(false) Identifier(false)
599true WhiteSpace( ) WhiteSpace( )
600true Identifier(true) Identifier(true)
601false CloseBrace WhiteSpace( )
602false WhiteSpace( ) CloseBrace
603true FloatNumber(0.3915014551013989) FloatNumber(0.3915014551013989)
604true WhiteSpace( ) WhiteSpace( )
605true IntNumber(-1070445049) IntNumber(-1070445049)
606true WhiteSpace( ) WhiteSpace( )
607true Str(wtnmllw) Str(wtnmllw)
608true Identifier(null) Identifier(null)
609true WhiteSpace( ) WhiteSpace( )
610true BigNumber(-1846589320338554484) BigNumber(-1846589320338554484)
611true WhiteSpace( ) WhiteSpace( )
612true BigNumber(-11826791371456152) BigNumber(-11826791371456152)
613true Str(hbs) Str(hbs)
614true WhiteSpace( ) WhiteSpace( )
615true Identifier(true) Identifier(true)
616true Str(izc) Str(izc)
617true FloatNumber(0.06662264628552206) FloatNumber(0.06662264628552206)
618true WhiteSpace( ) WhiteSpace( )
619true IntNumber(1606733486) IntNumber(1606733486)
620true Str(sgxpuwkbd) Str(sgxpuwkbd)
621true Str(edanbdjs) Str(edanbdjs)
622true OpenBrace OpenBrace
623true Str(upxxb) Str(upxxb)
624true Identifier(null) Identifier(null)
625true Str(gzsbh) Str(gzsbh)
626true CloseBrace CloseBrace
627false CloseSquare Identifier(null)
628false Identifier(null) CloseSquare
629false CloseSquare FloatNumber(0.864228409192883)
630false FloatNumber(0.864228409192883) CloseSquare
631true IntNumber(-1226427513) IntNumber(-1226427513)
632true WhiteSpace( ) WhiteSpace( )
633true Identifier(true) Identifier(true)
634true WhiteSpace( ) WhiteSpace( )
635true IntNumber(-1518858523) IntNumber(-1518858523)
636true WhiteSpace( ) WhiteSpace( )
637true Identifier(true) Identifier(true)
638true Str(rbsm) Str(rbsm)
639true IntNumber(-472249804) IntNumber(-472249804)
640false OpenSquare WhiteSpace( )
641false WhiteSpace( ) OpenSquare
642true Identifier(false) Identifier(false)
643true Str(bemuuq) Str(bemuuq)
644true IntNumber(-805356368) IntNumber(-805356368)
645true Str(rvogxqkth) Str(rvogxqkth)
646true Str(akdtygey) Str(akdtygey)
647true OpenBrace OpenBrace
648true Colon Colon
649true WhiteSpace( ) WhiteSpace( )
650true Str(qnapi) Str(qnapi)
651true Identifier(null) Identifier(null)
652true WhiteSpace( ) WhiteSpace( )
653true IntNumber(67) IntNumber(67)
654true WhiteSpace( ) WhiteSpace( )
655true IntNumber(1214694586) IntNumber(1214694586)
656true Str(mzfuxjy) Str(mzfuxjy)
657true WhiteSpace( ) WhiteSpace( )
658true Str(txuro) Str(txuro)
659cnt = 1000 nano=152494056 avg=0.15249405600000002 ms
660xyz.cofe.json4s3.stream.token.TokenizerRandomTest:
661==> X xyz.cofe.json4s3.stream.token.TokenizerRandomTest.parse random tokens 0.04s munit.FailException: /build/repo/src/test/scala/xyz/cofe/json4s3/stream/token/TokenizerRandomTest.scala:110 all matched ?
662109:
663110: assert(allMatched,"all matched ?")
664111: }
665 at munit.FunSuite.assert(FunSuite.scala:11)
666 at xyz.cofe.json4s3.stream.token.TokenizerRandomTest.$init$$$anonfun$1(TokenizerRandomTest.scala:110)
667xyz.cofe.json4s3.stream.token.CommentTest:
668 + // single 0.001s
669 + /* multi 0.003s
670start
671third
672true
67310
674finish
675xyz.cofe.hlist.HListTest:
676 + hlist 0.007s
677========================================
678pretty 2
679xyz.cofe.json4s3.stream.ast.PrettyTest:
680==> X xyz.cofe.json4s3.stream.ast.PrettyTest.pretty 2 0.001s java.lang.Error: parse fail
681 at xyz.cofe.json4s3.stream.ast.PrettyTest.$anonfun$3(PrettyTest.scala:55)
682 at scala.util.Either.getOrElse(Either.scala:291)
683 at xyz.cofe.json4s3.stream.ast.PrettyTest.$init$$$anonfun$1(PrettyTest.scala:55)
684xyz.cofe.json4s3.stream.ast.ParserRandomTest:
685 + try parse 0.026s
686Sample
687type=product label=Sample labels=List(a, b) values=Map(a -> 1, b -> 2)
688ADT.Simbol
689type=product label=Simbol labels=List() values=Map()
690ADT
691type=sum label=ADT labels=List(Simbol, One, Two) values=Map(ord -> 0, show -> type=product label=Simbol labels=List() values=Map())
692ADT.One
693parse OpenSquare => Right((ArrExpectValue(List(),Some(Init)),None))
694type=product label=One labels=List(a) values=Map(a -> 3)
695ADT
696parse CloseSquare => Right((Init,Some(JsArray(List()))))
697{
698 a : Sum(
699 2 > JsInt
700 1 > JsBool
701 )
702 b : Sum(
703 1 > JsInt
704 1 > {
705 x : JsInt
706 }
707 )
708 c : JsStr
709 d : JsArray
710}
711
712xyz.cofe.json4s3.desc.JsonDescribeTest:
713 + desc 0.023s
714type=sum label=ADT labels=List(Simbol, One, Two) values=Map(ord -> 1, show -> type=product label=One labels=List(a) values=Map(a -> 3))
715xyz.cofe.json4s3.derv.sample.SampleDeriveTest:
716 + tst 0.023s
717parse OpenSquare => Right((ArrExpectValue(List(),Some(Init)),None))
718parse IntNumber(1) => Right((ArrExpectComma(List(JsInt(1)),Some(Init)),None))
719parse CloseSquare => Right((Init,Some(JsArray(List(JsInt(1))))))
720parse OpenSquare => Right((ArrExpectValue(List(),Some(Init)),None))
721parse IntNumber(1) => Right((ArrExpectComma(List(JsInt(1)),Some(Init)),None))
722parse Comma => Right((ArrAfterComma(List(JsInt(1)),Some(Init)),None))
723parse IntNumber(2) => Right((ArrExpectComma(List(JsInt(1), JsInt(2)),Some(Init)),None))
724parse CloseSquare => Right((Init,Some(JsArray(List(JsInt(1), JsInt(2))))))
725parse OpenSquare => Right((ArrExpectValue(List(),Some(Init)),None))
726parse IntNumber(1) => Right((ArrExpectComma(List(JsInt(1)),Some(Init)),None))
727parse Comma => Right((ArrAfterComma(List(JsInt(1)),Some(Init)),None))
728parse IntNumber(2) => Right((ArrExpectComma(List(JsInt(1), JsInt(2)),Some(Init)),None))
729parse Comma => Right((ArrAfterComma(List(JsInt(1), JsInt(2)),Some(Init)),None))
730parse CloseSquare => Right((Init,Some(JsArray(List(JsInt(1), JsInt(2))))))
731One(1) to json
732============================================================
733========================================
734object {}
735xyz.cofe.json4s3.stream.ast.ParserIteratorTest:
736 + stream test 0.007s
737parse OpenBrace => Right((ObjExpFieldName(List(),Some(Init)),None))
738parse CloseBrace => Right((Init,Some(JsObj(List()))))
739========================================
740object {'a':1}
741parse OpenBrace => Right((ObjExpFieldName(List(),Some(Init)),None))
742parse Str(a) => Right((ObjAfterFieldName(a,List(),Some(Init)),None))
743parse Colon => Right((ObjExpFieldValue(a,List(),Some(Init)),None))
744parse IntNumber(1) => Right((ObjExpectComma(List((a,JsInt(1))),Some(Init)),None))
745parse CloseBrace => Right((Init,Some(JsObj(List((a,JsInt(1)))))))
746========================================
747object {'a':1,}
748{"One":{"a":1}}
749json to One
750============================================================
751Left(xyz.cofe.json4s3.derv.errors.NestedParserError: did not match expected token CloseBrace, state=public abstract static class xyz.cofe.json4s3.stream.ast.Parser$State)
752Two(1,2) to json
753============================================================
754parse OpenBrace => Right((ObjExpFieldName(List(),Some(Init)),None))
755parse Str(a) => Right((ObjAfterFieldName(a,List(),Some(Init)),None))
756parse Colon => Right((ObjExpFieldValue(a,List(),Some(Init)),None))
757parse IntNumber(1) => Right((ObjExpectComma(List((a,JsInt(1))),Some(Init)),None))
758parse Comma => Right((ObjAfterComma(List((a,JsInt(1))),Some(Init)),None))
759parse CloseBrace => Right((Init,Some(JsObj(List((a,JsInt(1)))))))
760========================================
761object {'a':1,'b':2}
762{"Two":{"a":1,"b":"abc"}}
763parse OpenBrace => Right((ObjExpFieldName(List(),Some(Init)),None))
764xyz.cofe.json4s3.derv.SumTypeTest:
765 + One(1) to json 0.013s
766==> X xyz.cofe.json4s3.derv.SumTypeTest.json to One 0.002s munit.FailException: /build/repo/src/test/scala/xyz/cofe/json4s3/derv/SumTypeTest.scala:39 assertion failed
76738:
76839: assert( resultEither == Right(SType.One(1)) )
76940: }
770 at munit.FunSuite.assert(FunSuite.scala:11)
771 at xyz.cofe.json4s3.derv.SumTypeTest.$init$$$anonfun$2(SumTypeTest.scala:39)
772 + Two(1,2) to json 0.006s
773parse Str(a) => Right((ObjAfterFieldName(a,List(),Some(Init)),None))
774parse Colon => Right((ObjExpFieldValue(a,List(),Some(Init)),None))
775parse IntNumber(1) => Right((ObjExpectComma(List((a,JsInt(1))),Some(Init)),None))
776parse Comma => Right((ObjAfterComma(List((a,JsInt(1))),Some(Init)),None))
777parse Str(b) => Right((ObjAfterFieldName(b,List((a,JsInt(1))),Some(Init)),None))
778parse Colon => Right((ObjExpFieldValue(b,List((a,JsInt(1))),Some(Init)),None))
779parse IntNumber(2) => Right((ObjExpectComma(List((a,JsInt(1)), (b,JsInt(2))),Some(Init)),None))
780parse CloseBrace => Right((Init,Some(JsObj(List((a,JsInt(1)), (b,JsInt(2)))))))
781========================================
782json {'a':1,'b':2}
783parse OpenBrace => Right((ObjExpFieldName(List(),Some(Init)),None))
784parse Str(a) => Right((ObjAfterFieldName(a,List(),Some(Init)),None))
785parse Colon => Right((ObjExpFieldValue(a,List(),Some(Init)),None))
786parse 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)
787========================================
788object {'a':1,'b':[]}
789parse OpenBrace => Right((ObjExpFieldName(List(),Some(Init)),None))
790parse Str(a) => Right((ObjAfterFieldName(a,List(),Some(Init)),None))
791parse Colon => Right((ObjExpFieldValue(a,List(),Some(Init)),None))
792parse 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)
793========================================
794object {'a':1,'b':[1]}
795parse OpenBrace => Right((ObjExpFieldName(List(),Some(Init)),None))
796parse Str(a) => Right((ObjAfterFieldName(a,List(),Some(Init)),None))
797parse Colon => Right((ObjExpFieldValue(a,List(),Some(Init)),None))
798parse 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)
799========================================
800json {'a':1,'b':[1,{}]}
801parse OpenBrace => Right((ObjExpFieldName(List(),Some(Init)),None))
802parse Str(a) => Right((ObjAfterFieldName(a,List(),Some(Init)),None))
803parse Colon => Right((ObjExpFieldValue(a,List(),Some(Init)),None))
804parse 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)
805========================================
806json {'a':1,'b':[2,{'c':3}]}
807tokens:
808 OpenBrace
809 Str(a)
810 Colon
811 Comma
812 IntNumber(1)
813 Str(b)
814 Colon
815 OpenSquare
816 Comma
817 IntNumber(2)
818 OpenBrace
819 Str(c)
820 Colon
821 CloseBrace
822 IntNumber(3)
823 CloseSquare
824 CloseBrace
825parse OpenBrace => Right((ObjExpFieldName(List(),Some(Init)),None))
826parse Str(a) => Right((ObjAfterFieldName(a,List(),Some(Init)),None))
827parse Colon => Right((ObjExpFieldValue(a,List(),Some(Init)),None))
828parse 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)
829========================================
830json {a:[[]]}
831tokens:
832 OpenBrace
833 Colon
834 Identifier(a)
835 OpenSquare
836 OpenSquare
837 CloseSquare
838 CloseSquare
839 CloseBrace
840parse OpenBrace => Right((ObjExpFieldName(List(),Some(Init)),None))
841parse 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)
842========================================
843comment parse
844SLComment(sample
845)
846OpenSquare
847WhiteSpace( )
848MLComment( cmnt )
849WhiteSpace( )
850IntNumber(1)
851CloseSquare
852WhiteSpace( )
853WhiteSpace(
854)
855SLComment(last comment
856)
857WhiteSpace( )
858JsArray(List(JsInt(1)))
859xyz.cofe.json4s3.stream.ast.ParserTest:
860 + atomic str 0.001s
861 + atomic int 0.001s
862 + atomic float 0.0s
863 + atomic bigint 0.001s
864 + atomic null 0.0s
865 + atomic true 0.001s
866 + atomic false 0.0s
867 + emptry array 0.012s
868 + array[ 1 ] 0.002s
869 + array[ 1,2 ] 0.006s
870 + array[ 1,2, ] 0.005s
871 + object {} 0.005s
872 + object {'a':1} 0.002s
873 + object {'a':1,} 0.007s
874 + object {'a':1,'b':2} 0.011s
875==> X xyz.cofe.json4s3.stream.ast.ParserTest.json {'a':1,'b':2} 0.004s munit.FailException: /build/repo/src/test/scala/xyz/cofe/json4s3/stream/ast/ParserTest.scala:282 assertion failed
876281:
877282: assert(result.isRight)
878283:
879 at munit.FunSuite.assert(FunSuite.scala:11)
880 at xyz.cofe.json4s3.stream.ast.ParserTest.$init$$$anonfun$16(ParserTest.scala:282)
881==> X xyz.cofe.json4s3.stream.ast.ParserTest.json {'a':1,'b':[]} 0.005s munit.FailException: /build/repo/src/test/scala/xyz/cofe/json4s3/stream/ast/ParserTest.scala:305 assertion failed
882304:
883305: assert(result.isRight)
884306:
885 at munit.FunSuite.assert(FunSuite.scala:11)
886 at xyz.cofe.json4s3.stream.ast.ParserTest.$init$$$anonfun$17(ParserTest.scala:305)
887==> X xyz.cofe.json4s3.stream.ast.ParserTest.json {'a':1,'b':[1]} 0.007s munit.FailException: /build/repo/src/test/scala/xyz/cofe/json4s3/stream/ast/ParserTest.scala:328 assertion failed
888327:
889328: assert(result.isRight)
890329:
891 at munit.FunSuite.assert(FunSuite.scala:11)
892 at xyz.cofe.json4s3.stream.ast.ParserTest.$init$$$anonfun$18(ParserTest.scala:328)
893==> 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:357 assertion failed
894356:
895357: assert(result.isRight)
896358:
897 at munit.FunSuite.assert(FunSuite.scala:11)
898 at xyz.cofe.json4s3.stream.ast.ParserTest.$init$$$anonfun$19(ParserTest.scala:357)
899==> X xyz.cofe.json4s3.stream.ast.ParserTest.json {'a':1,'b':[2,{'c':3}]} 0.002s munit.FailException: /build/repo/src/test/scala/xyz/cofe/json4s3/stream/ast/ParserTest.scala:392 assertion failed
900391:
901392: assert(result.isRight)
902393:
903 at munit.FunSuite.assert(FunSuite.scala:11)
904 at xyz.cofe.json4s3.stream.ast.ParserTest.$init$$$anonfun$20(ParserTest.scala:392)
905==> X xyz.cofe.json4s3.stream.ast.ParserTest.json {a:[[]]} 0.009s munit.FailException: /build/repo/src/test/scala/xyz/cofe/json4s3/stream/ast/ParserTest.scala:429 assertion failed
906428:
907429: assert(result.isRight)
908430:
909 at munit.FunSuite.assert(FunSuite.scala:11)
910 at xyz.cofe.json4s3.stream.ast.ParserTest.$init$$$anonfun$21(ParserTest.scala:429)
911 + comment parse 0.006s
912cnt = 10000 nano=245143253 avg=0.0245143253 ms
913cnt = 20000 nano=137446566 avg=0.0068723283 ms
914cnt = 50000 nano=222815463 avg=0.00445630926 ms
915xyz.cofe.json4s3.stream.token.TokenizerTest:
916 + test 0.016s
917 + sample 0.002s
918 + multiple 0.011s
919 + parse string 0.0s
920 + parse perf 0.789s
921
922************************
923Build summary:
924[{
925 "module": "json4s3",
926 "compile": {"status": "ok", "tookMs": 16879, "warnings": 2, "errors": 0, "sourceVersion": "3.8"},
927 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
928 "test-compile": {"status": "ok", "tookMs": 5214, "warnings": 1, "errors": 0, "sourceVersion": "3.8"},
929 "test": {"status": "failed", "tookMs": 1280, "passed": 100, "failed": 14, "ignored": 0, "skipped": 0, "total": 114, "byFramework": [{"framework": "munit", "stats": {"passed": 100, "failed": 14, "ignored": 0, "skipped": 0, "total": 114}}]},
930 "publish": {"status": "skipped", "tookMs": 0},
931 "metadata": {
932 "crossScalaVersions": ["2.12.20", "3.4.1"]
933}
934}]
935************************
936[error] Scala3CommunityBuild$ProjectBuildFailureException: 1 module(s) finished with failures: json4s3
937[error] (Global / runBuild) Scala3CommunityBuild$ProjectBuildFailureException: 1 module(s) finished with failures: json4s3
938[error] Total time: 35 s, completed Dec 22, 2025, 7:04:40 PM
939[0JBuild failed, not retrying.