Build Logs

gochaorg/json4s3 • 3.8.0-RC6:2026-01-08

Errors

20

Warnings

31

Total Lines

956

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-RC6
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-RC6"
28Successfully applied pattern 'val scala3Version = "3.4.1"' in build.sbt
29----
30Starting build for 3.8.0-RC6
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-RC6
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-RC6
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-RC6"
59"++3.8.0-RC6 -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-RC6 """{"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.978s.
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-RC6
94OpenCB::Changing crossVersion 3.2.0 -> 3.8.0-RC6 in jsn_analyzer/crossScalaVersions
95OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC6) in jsn_analyzer/crossScalaVersions
96OpenCB::Changing crossVersion 3.8.0-RC6 -> 3.8.0-RC6 in root/crossScalaVersions
97OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC6) in root/crossScalaVersions
98[info] set current project to json4s3 (in build file:/build/repo/)
99[info] Setting Scala version to 3.8.0-RC6 on 2 projects.
100[info] Switching Scala version on:
101[info] * root (3.8.0-RC6)
102[info] jsn_analyzer (3.8.0-RC6)
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 Jan 8, 2026, 2:06:49 AM
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-RC6/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-RC6/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
158OpenBrace
159CloseBrace
160OpenSquare
161CloseSquare
162Comma
163Colon
164xyz.cofe.json4s3.stream.token.CommentTest:
165 + // single 0.055s
166 + /* multi 0.001s
167WhiteSpace( )
168IntNumber(1)
169WhiteSpace( )
170Str(aaa)
171WhiteSpace( )
172MLComment( abc )
173input char '{' input.state=Init
174 output state = Init
175 output tokens = List(OpenBrace)
176input char '}' input.state=Init
177 output state = Init
178 output tokens = List(CloseBrace)
179input char ' ' input.state=Init
180 output state = WhitespaceParse(xyz.cofe.json4s3.stream.token.whitespace$Parser@13331c8f,Work( ))
181 output tokens = List()
182input char '[' input.state=WhitespaceParse(xyz.cofe.json4s3.stream.token.whitespace$Parser@13331c8f,Work( ))
183 output state = Init
184 output tokens = List(WhiteSpace( ), OpenSquare)
185input char ']' input.state=Init
186 output state = Init
187 output tokens = List(CloseSquare)
188input char ':' input.state=Init
189 output state = Init
190 output tokens = List(Colon)
191input char ',' input.state=Init
192 output state = Init
193 output tokens = List(Comma)
194input char ' ' input.state=Init
195 output state = WhitespaceParse(xyz.cofe.json4s3.stream.token.whitespace$Parser@2aed3708,Work( ))
196 output tokens = List()
197input char '1' input.state=WhitespaceParse(xyz.cofe.json4s3.stream.token.whitespace$Parser@2aed3708,Work( ))
198 output state = NumParse(xyz.cofe.json4s3.stream.token.number$Parser@25ed5910,DecPart(List(1),true))
199 output tokens = List(WhiteSpace( ))
200input char '2' input.state=NumParse(xyz.cofe.json4s3.stream.token.number$Parser@25ed5910,DecPart(List(1),true))
201 output state = NumParse(xyz.cofe.json4s3.stream.token.number$Parser@25ed5910,DecPart(List(1, 2),true))
202 output tokens = List()
203input char ' ' input.state=NumParse(xyz.cofe.json4s3.stream.token.number$Parser@25ed5910,DecPart(List(1, 2),true))
204 output state = WhitespaceParse(xyz.cofe.json4s3.stream.token.whitespace$Parser@78d334df,Work( ))
205 output tokens = List(IntNumber(12))
206-------------
207input char 't' input.state=WhitespaceParse(xyz.cofe.json4s3.stream.token.whitespace$Parser@78d334df,Work( ))
208 output state = IdParser(xyz.cofe.json4s3.stream.token.identifier$Parser@3099b420,Work(t))
209 output tokens = List(WhiteSpace( ))
210input char 'r' input.state=IdParser(xyz.cofe.json4s3.stream.token.identifier$Parser@3099b420,Work(tr))
211 output state = IdParser(xyz.cofe.json4s3.stream.token.identifier$Parser@3099b420,Work(tr))
212 output tokens = List()
213input char 'u' input.state=IdParser(xyz.cofe.json4s3.stream.token.identifier$Parser@3099b420,Work(tru))
214 output state = IdParser(xyz.cofe.json4s3.stream.token.identifier$Parser@3099b420,Work(tru))
215 output tokens = List()
216input char 'e' input.state=IdParser(xyz.cofe.json4s3.stream.token.identifier$Parser@3099b420,Work(true))
217 output state = IdParser(xyz.cofe.json4s3.stream.token.identifier$Parser@3099b420,Work(true))
218 output tokens = List()
219input char ' ' input.state=IdParser(xyz.cofe.json4s3.stream.token.identifier$Parser@3099b420,Work(true))
220 output state = WhitespaceParse(xyz.cofe.json4s3.stream.token.whitespace$Parser@1ee7f817,Work( ))
221 output tokens = List(Identifier(true))
222input char ''' input.state=WhitespaceParse(xyz.cofe.json4s3.stream.token.whitespace$Parser@1ee7f817,Work( ))
223 output state = StrParse(xyz.cofe.json4s3.stream.token.string$Parser@11a65d0d,SimpleChar(',))
224 output tokens = List(WhiteSpace( ))
225input char 's' input.state=StrParse(xyz.cofe.json4s3.stream.token.string$Parser@11a65d0d,SimpleChar(',s))
226 output state = StrParse(xyz.cofe.json4s3.stream.token.string$Parser@11a65d0d,SimpleChar(',s))
227 output tokens = List()
228input char 't' input.state=StrParse(xyz.cofe.json4s3.stream.token.string$Parser@11a65d0d,SimpleChar(',st))
229 output state = StrParse(xyz.cofe.json4s3.stream.token.string$Parser@11a65d0d,SimpleChar(',st))
230 output tokens = List()
231input char 'r' input.state=StrParse(xyz.cofe.json4s3.stream.token.string$Parser@11a65d0d,SimpleChar(',str))
232 output state = StrParse(xyz.cofe.json4s3.stream.token.string$Parser@11a65d0d,SimpleChar(',str))
233 output tokens = List()
234input char 'i' input.state=StrParse(xyz.cofe.json4s3.stream.token.string$Parser@11a65d0d,SimpleChar(',stri))
235 output state = StrParse(xyz.cofe.json4s3.stream.token.string$Parser@11a65d0d,SimpleChar(',stri))
236 output tokens = List()
237input char 'n' input.state=StrParse(xyz.cofe.json4s3.stream.token.string$Parser@11a65d0d,SimpleChar(',strin))
238 output state = StrParse(xyz.cofe.json4s3.stream.token.string$Parser@11a65d0d,SimpleChar(',strin))
239 output tokens = List()
240input char 'g' input.state=StrParse(xyz.cofe.json4s3.stream.token.string$Parser@11a65d0d,SimpleChar(',string))
241 output state = StrParse(xyz.cofe.json4s3.stream.token.string$Parser@11a65d0d,SimpleChar(',string))
242 output tokens = List()
243input char ''' input.state=StrParse(xyz.cofe.json4s3.stream.token.string$Parser@11a65d0d,SimpleChar(',string))
244 output state = Init
245 output tokens = List(Str(string))
246== parse string ==
247Left(xyz.cofe.json4s3.derv.errors.NestedParserError: did not match expected token Comma, state=public abstract static class xyz.cofe.json4s3.stream.ast.Parser$State)
248IntNumber(12)
249WhiteSpace( )
250Identifier(true)
251cnt = 10 nano=2629154 avg=0.2629154 ms
252xyz.cofe.json4s3.stream.ast.ParserRandomTest:
253 + try parse 0.113s
254JsNull(2)
255cnt = 100 nano=39963112 avg=0.39963112 ms
256Sum(
257 1 > JsNull
258 1 > JsStr
259)
260
261xyz.cofe.json4s3.stream.token.TokenIteratorTest:
262 + read tokens 0.013s
263========================================
264case class(a:Int, b:String)
265Sum(
266 3 > JsNull
267 1 > JsStr
268)
269
270prod merge
271============================================================
272========================================
273pretty 2
274{
275 a : Sum(
276 1 > JsNull
277 1 > JsBool
278 )
279 b : JsInt
280 c : JsStr
281}
282
283xyz.cofe.json4s3.stream.ast.PrettyTest:
284==> X xyz.cofe.json4s3.stream.ast.PrettyTest.pretty 2 0.007s java.lang.Error: parse fail
285 at xyz.cofe.json4s3.stream.ast.PrettyTest.$anonfun$3(PrettyTest.scala:55)
286 at scala.util.Either.getOrElse(Either.scala:291)
287 at xyz.cofe.json4s3.stream.ast.PrettyTest.$init$$$anonfun$1(PrettyTest.scala:55)
288prod merge atom
289============================================================
290Sum(
291 1 > {
292 a : JsNull
293 b : JsInt
294 }
295 1 > JsStr
296)
297
298prod merge sum
299============================================================
300Sum(
301 1 > {
302 a : JsNull
303 b : JsInt
304 }
305 1 > JsStr
306 1 > JsBool
307)
308
309nested prod merge
310============================================================
311{
312 c : {
313 a : JsNull(2)
314 b : JsStr
315 c : JsStr
316 }
317 d : JsInt
318}
319
320xyz.cofe.json4s3.desc.JsTypeTest:
321 + merge 1 0.038s
322 + prod merge 0.01s
323 + prod merge atom 0.003s
324 + prod merge sum 0.007s
325 + nested prod merge 0.001s
326Some({"a":1,"b":"str"})
327========================================
328case class( a:Option[Int], b:Boolean )
329xyz.cofe.json4s3.stream.ast.ParserIteratorTest:
330 + stream test 0.012s
331One(1) to json
332============================================================
333MySuite:
334 + example test that succeeds 0.0s
335{"b":true}
336Left(xyz.cofe.json4s3.derv.errors.NestedParserError: did not match expected token CloseBrace, state=public abstract static class xyz.cofe.json4s3.stream.ast.Parser$State)
337{"One":{"a":1}}
338json to One
339============================================================
340Left(xyz.cofe.json4s3.derv.errors.NestedParserError: did not match expected token CloseBrace, state=public abstract static class xyz.cofe.json4s3.stream.ast.Parser$State)
341Two(1,2) to json
342============================================================
343{"Two":{"a":1,"b":"abc"}}
344xyz.cofe.json4s3.derv.SumTypeTest:
345 + One(1) to json 0.019s
346==> 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
34738:
34839: assert( resultEither == Right(SType.One(1)) )
34940: }
350 at munit.FunSuite.assert(FunSuite.scala:11)
351 at xyz.cofe.json4s3.derv.SumTypeTest.$init$$$anonfun$2(SumTypeTest.scala:39)
352 + Two(1,2) to json 0.004s
353Identifier(null)
354xyz.cofe.json4s3.stream.token.NestedTokenIteratorTest:
355 + nested token test 0.018s
356 + nested atomic 0.001s
357xyz.cofe.json4s3.derv.DerivingTest:
358 + 123 as int 0.056s
359 + 1.3 as int 0.005s
360 + 123 as short 0.001s
361 + 123 as byte 0.004s
362 + 1.3 as float 0.001s
363 + 1.3 as double 0.003s
364 + 123 as long 0.001s
365 + true as boolean 0.007s
366 + false as boolean 0.001s
367==> X xyz.cofe.json4s3.derv.DerivingTest.[1,2] as List[Int] 0.05s munit.FailException: /build/repo/src/test/scala/xyz/cofe/json4s3/derv/DerivingTest.scala:26 assertion failed
36825: "[1,2]".jsonAs[List[Int]] == Right(List(1,2))
36926: )
37027: }
371 at munit.FunSuite.assert(FunSuite.scala:11)
372 at xyz.cofe.json4s3.derv.DerivingTest.$init$$$anonfun$10(DerivingTest.scala:26)
373 + str to json 0.007s
374 + int to json 0.001s
375 + list[1,2] to json 0.01s
376==> X xyz.cofe.json4s3.derv.DerivingTest.case class(a:Int, b:String) 0.045s munit.FailException: /build/repo/src/test/scala/xyz/cofe/json4s3/derv/DerivingTest.scala:44 assertion failed
37743: val sample1et = sampleJson.jsonAs[Sample1]
37844: assert( sample1et==Right(sample1) )
37945: }
380 at munit.FunSuite.assert(FunSuite.scala:11)
381 at xyz.cofe.json4s3.derv.DerivingTest.$init$$$anonfun$14(DerivingTest.scala:44)
382==> X xyz.cofe.json4s3.derv.DerivingTest.case class( a:Option[Int], b:Boolean ) 0.015s munit.FailException: /build/repo/src/test/scala/xyz/cofe/json4s3/derv/DerivingTest.scala:56 assertion failed
38355: println( sample2.json.jsonAs[Sample2] )
38456: assert( sample2.json.jsonAs[Sample2] == Right(sample2) )
38557:
386 at munit.FunSuite.assert(FunSuite.scala:11)
387 at xyz.cofe.json4s3.derv.DerivingTest.$init$$$anonfun$15(DerivingTest.scala:56)
388==> X xyz.cofe.json4s3.derv.DerivingTest.builder 0.02s munit.FailException: /build/repo/src/test/scala/xyz/cofe/json4s3/derv/DerivingTest.scala:78 assertion failed
38977:
39078: assert( """{ type:"1", a:1 }""".jsonAs[BaseSample] == Right(ChildOne(1)) )
39179: assert( """{ type:"2", a:"xcv" }""".jsonAs[BaseSample] == Right(ChildTwo("xcv")) )
392 at munit.FunSuite.assert(FunSuite.scala:11)
393 at xyz.cofe.json4s3.derv.DerivingTest.$init$$$anonfun$16(DerivingTest.scala:78)
394 + default 0.014s
395 + bignum 0.001s
396xyz.cofe.json4s3.query.QueryTest:
397 + sample 0.007s
398===================
399=== show test ====
4005, 6, 1, 2, 3,
401xyz.cofe.json4s3.stream.token.ShowTest:
402 + show test 0.016s
403cnt = 1000 nano=148884988 avg=0.14888498800000002 ms
404{"int":1,"float":2.5,"big":123456789012345678901234567890n,"null":null,"true":true,"false":false,"array":[1,2,3]}
405parse OpenSquare => Right((ArrExpectValue(List(),Some(Init)),None))
406parse CloseSquare => Right((Init,Some(JsArray(List()))))
407parse OpenSquare => Right((ArrExpectValue(List(),Some(Init)),None))
408parse IntNumber(1) => Right((ArrExpectComma(List(JsInt(1)),Some(Init)),None))
409parse CloseSquare => Right((Init,Some(JsArray(List(JsInt(1))))))
410xyz.cofe.json4s3.stream.ast.AST2JsonTest:
411==> X xyz.cofe.json4s3.stream.ast.AST2JsonTest.ast2json 0.008s munit.FailException: /build/repo/src/test/scala/xyz/cofe/json4s3/stream/ast/AST2JsonTest.scala:28 assertion failed
41227: val jsTreeEt = Parser.parseSeq(tokens)
41328: assert( jsTreeEt.isRight )
41429:
415 at munit.FunSuite.assert(FunSuite.scala:11)
416 at xyz.cofe.json4s3.stream.ast.AST2JsonTest.$init$$$anonfun$1(AST2JsonTest.scala:28)
417parse OpenSquare => Right((ArrExpectValue(List(),Some(Init)),None))
418parse IntNumber(1) => Right((ArrExpectComma(List(JsInt(1)),Some(Init)),None))
419parse Comma => Right((ArrAfterComma(List(JsInt(1)),Some(Init)),None))
420parse IntNumber(2) => Right((ArrExpectComma(List(JsInt(1), JsInt(2)),Some(Init)),None))
421parse CloseSquare => Right((Init,Some(JsArray(List(JsInt(1), JsInt(2))))))
422try color
423List()
424parse OpenSquare => Right((ArrExpectValue(List(),Some(Init)),None))
425parse IntNumber(1) => Right((ArrExpectComma(List(JsInt(1)),Some(Init)),None))
426parse Comma => Right((ArrAfterComma(List(JsInt(1)),Some(Init)),None))
427json "mhjtm"1847215420233240525n"xu":false"qrilbyul""wijl" 42 "dobvy"true:"xo"[null true"vt" null"qtv" false false "kllde"-1262988777 "gahzbsjk":246793269178261374n false 0.47742198424661686"sovvn"0.8441469903989691 false"moocm"-1612919388[ 2720312083889188096n"nf""obgsolvq"null false null 9 "bt""rna"false"kj""bl",{"fqgudz"1822768327 -528062873600619753n"lnak""ovdbziny""spw"true,1786652300"dwzowo" "zdgyj"-1412691154"letbtvqn"
428parse IntNumber(2) => Right((ArrExpectComma(List(JsInt(1), JsInt(2)),Some(Init)),None))
429parse Comma => Right((ArrAfterComma(List(JsInt(1), JsInt(2)),Some(Init)),None))
430parse CloseSquare => Right((Init,Some(JsArray(List(JsInt(1), JsInt(2))))))
431BlackBlackBrightRedRedBrightGreenGreenBrightYellowtrue WhiteSpace( ) WhiteSpace( )
432YellowBrightBluetrue Str(mhjtm) Str(mhjtm)
433BlueBrightMagentaMagentaBrighttrue BigNumber(1847215420233240525) BigNumber(1847215420233240525)
434CyanCyanBrighttrue Str(xu) Str(xu)
435true Colon Colon
436true Identifier(false) Identifier(false)
437true Str(qrilbyul) Str(qrilbyul)
438true Str(wijl) Str(wijl)
439true WhiteSpace( ) WhiteSpace( )
440true IntNumber(42) IntNumber(42)
441true WhiteSpace( ) WhiteSpace( )
442true Str(dobvy) Str(dobvy)
443false Colon Identifier(true)
444false Identifier(true) Colon
445true Str(xo) Str(xo)
446true OpenSquare OpenSquare
447true Identifier(null) Identifier(null)
448true WhiteSpace( ) WhiteSpace( )
449true Identifier(true) Identifier(true)
450true Str(vt) Str(vt)
451true WhiteSpace( ) WhiteSpace( )
452true Identifier(null) Identifier(null)
453true Str(qtv) Str(qtv)
454true WhiteSpace( ) WhiteSpace( )
455White========================================
456object {}
457WhiteBrightDefault
458BlackBlackBrightRedRedBrightGreenGreenBrightYellowYellowBrightBlueBlueBrightMagentaMagentaBrightCyanCyanBrightWhiteWhiteBrightDefault
459abcabcdef
460abcdef
461aaa
462aaa
463aaa
464aaa
465000| 111| 222| 333| 444| 555| aaa| bbb| ccc| ddd| eee| fff| ggg| hhh| iii| jjj| kkk| lll|
466parse OpenBrace => Right((ObjExpFieldName(List(),Some(Init)),None))
467true Identifier(false) Identifier(false)
468true WhiteSpace( ) WhiteSpace( )
469true Identifier(false) Identifier(false)
470true WhiteSpace( ) WhiteSpace( )
471true Str(kllde) Str(kllde)
472true IntNumber(-1262988777) IntNumber(-1262988777)
473true WhiteSpace( ) WhiteSpace( )
474true Str(gahzbsjk) Str(gahzbsjk)
475true Colon Colon
476true BigNumber(246793269178261374) BigNumber(246793269178261374)
477true WhiteSpace( ) WhiteSpace( )
478true Identifier(false) Identifier(false)
479true WhiteSpace( ) WhiteSpace( )
480true FloatNumber(0.47742198424661686) FloatNumber(0.47742198424661686)
481true Str(sovvn) Str(sovvn)
482true FloatNumber(0.8441469903989691) FloatNumber(0.8441469903989691)
483true WhiteSpace( ) WhiteSpace( )
484true Identifier(false) Identifier(false)
485true Str(moocm) Str(moocm)
486false OpenSquare IntNumber(-1612919388)
487false IntNumber(-1612919388) OpenSquare
488true WhiteSpace( ) WhiteSpace( )
489true BigNumber(2720312083889188096) BigNumber(2720312083889188096)
490true Str(nf) Str(nf)
491true Str(obgsolvq) Str(obgsolvq)
492true Identifier(null) Identifier(null)
493true WhiteSpace( ) WhiteSpace( )
494true Identifier(false) Identifier(false)
495true WhiteSpace( ) WhiteSpace( )
496true Identifier(null) Identifier(null)
497true WhiteSpace( ) WhiteSpace( )
498true IntNumber(9) IntNumber(9)
499true WhiteSpace( ) WhiteSpace( )
500true Str(bt) Str(bt)
501true Str(rna) Str(rna)
502true Identifier(false) Identifier(false)
503true Str(kj) Str(kj)
504true Str(bl) Str(bl)
505true Comma Comma
506true OpenBrace OpenBrace
507true Str(fqgudz) Str(fqgudz)
508true IntNumber(1822768327) IntNumber(1822768327)
509true WhiteSpace( ) WhiteSpace( )
510true BigNumber(-528062873600619753) BigNumber(-528062873600619753)
511true Str(lnak) Str(lnak)
512true Str(ovdbziny) Str(ovdbziny)
513true Str(spw) Str(spw)
514false Comma Identifier(true)
515false Identifier(true) Comma
516true IntNumber(1786652300) IntNumber(1786652300)
517true Str(dwzowo) Str(dwzowo)
518true WhiteSpace( ) WhiteSpace( )
519true Str(zdgyj) Str(zdgyj)
520true IntNumber(-1412691154) IntNumber(-1412691154)
521xyz.cofe.json4s3.ascii.AsciiTest:
522 + try colors 0.015s
523true Str(letbtvqn) Str(letbtvqn)
524xyz.cofe.json4s3.stream.token.TokenizerRandomTest:
525==> X xyz.cofe.json4s3.stream.token.TokenizerRandomTest.parse random tokens 0.064s munit.FailException: /build/repo/src/test/scala/xyz/cofe/json4s3/stream/token/TokenizerRandomTest.scala:110 all matched ?
526109:
527110: assert(allMatched,"all matched ?")
528111: }
529 at munit.FunSuite.assert(FunSuite.scala:11)
530 at xyz.cofe.json4s3.stream.token.TokenizerRandomTest.$init$$$anonfun$1(TokenizerRandomTest.scala:110)
531parse CloseBrace => Right((Init,Some(JsObj(List()))))
532========================================
533object {'a':1}
534parse OpenBrace => Right((ObjExpFieldName(List(),Some(Init)),None))
535parse Str(a) => Right((ObjAfterFieldName(a,List(),Some(Init)),None))
536parse Colon => Right((ObjExpFieldValue(a,List(),Some(Init)),None))
537parse IntNumber(1) => Right((ObjExpectComma(List((a,JsInt(1))),Some(Init)),None))
538parse CloseBrace => Right((Init,Some(JsObj(List((a,JsInt(1)))))))
539========================================
540object {'a':1,}
541char='"' state Init => SimpleChar(",)
542char='a' state SimpleChar(",a) => SimpleChar(",a)
543char='b' state SimpleChar(",ab) => SimpleChar(",ab)
544char='c' state SimpleChar(",abc) => SimpleChar(",abc)
545char='"' state SimpleChar(",abc) => Finish(abc)
546end state Finish(abc) => Finish(abc)
547parse OpenBrace => Right((ObjExpFieldName(List(),Some(Init)),None))
548parse Str(a) => Right((ObjAfterFieldName(a,List(),Some(Init)),None))
549parse Colon => Right((ObjExpFieldValue(a,List(),Some(Init)),None))
550parse IntNumber(1) => Right((ObjExpectComma(List((a,JsInt(1))),Some(Init)),None))
551parse Comma => Right((ObjAfterComma(List((a,JsInt(1))),Some(Init)),None))
552parse CloseBrace => Right((Init,Some(JsObj(List((a,JsInt(1)))))))
553========================================
554object {'a':1,'b':2}
555{
556 a : Sum(
557 2 > JsInt
558 1 > JsBool
559 )
560 b : Sum(
561 1 > JsInt
562 1 > {
563 x : JsInt
564 }
565 )
566 c : JsStr
567 d : JsArray
568}
569
570parse OpenBrace => Right((ObjExpFieldName(List(),Some(Init)),None))
571parse Str(a) => Right((ObjAfterFieldName(a,List(),Some(Init)),None))
572parse Colon => Right((ObjExpFieldValue(a,List(),Some(Init)),None))
573parse IntNumber(1) => Right((ObjExpectComma(List((a,JsInt(1))),Some(Init)),None))
574parse Comma => Right((ObjAfterComma(List((a,JsInt(1))),Some(Init)),None))
575parse Str(b) => Right((ObjAfterFieldName(b,List((a,JsInt(1))),Some(Init)),None))
576xyz.cofe.json4s3.desc.JsonDescribeTest:
577 + desc 0.014s
578parse Colon => Right((ObjExpFieldValue(b,List((a,JsInt(1))),Some(Init)),None))
579parse IntNumber(2) => Right((ObjExpectComma(List((a,JsInt(1)), (b,JsInt(2))),Some(Init)),None))
580parse CloseBrace => Right((Init,Some(JsObj(List((a,JsInt(1)), (b,JsInt(2)))))))
581matched input=""abc"" expect="abc" res"abc"
582========================================
583json {'a':1,'b':2}
584parse OpenBrace => Right((ObjExpFieldName(List(),Some(Init)),None))
585char=''' state Init => SimpleChar(',)
586char='a' state SimpleChar(',a) => SimpleChar(',a)
587char='b' state SimpleChar(',ab) => SimpleChar(',ab)
588char='c' state SimpleChar(',abc) => SimpleChar(',abc)
589char=''' state SimpleChar(',abc) => Finish(abc)
590end state Finish(abc) => Finish(abc)
591matched input="'abc'" expect="abc" res"abc"
592char=''' state Init => SimpleChar(',)
593char='a' state SimpleChar(',a) => SimpleChar(',a)
594char='\' state SimpleChar(',a) => EscStart(',a)
595char=''' state EscStart(',a') => SimpleChar(',a')
596char='b' state SimpleChar(',a'b) => SimpleChar(',a'b)
597char='c' state SimpleChar(',a'bc) => SimpleChar(',a'bc)
598char=''' state SimpleChar(',a'bc) => Finish(a'bc)
599end state Finish(a'bc) => Finish(a'bc)
600matched input="'a\'bc'" expect="a'bc" res"a'bc"
601parse Str(a) => Right((ObjAfterFieldName(a,List(),Some(Init)),None))
602parse Colon => Right((ObjExpFieldValue(a,List(),Some(Init)),None))
603parse 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)
604char=''' state Init => SimpleChar(',)
605char='a' state SimpleChar(',a) => SimpleChar(',a)
606char='\' state SimpleChar(',a) => EscStart(',a)
607char='"' state EscStart(',a") => SimpleChar(',a")
608char='b' state SimpleChar(',a"b) => SimpleChar(',a"b)
609char='c' state SimpleChar(',a"bc) => SimpleChar(',a"bc)
610char=''' state SimpleChar(',a"bc) => Finish(a"bc)
611end state Finish(a"bc) => Finish(a"bc)
612matched input="'a\"bc'" expect="a"bc" res"a"bc"
613char=''' state Init => SimpleChar(',)
614char='a' state SimpleChar(',a) => SimpleChar(',a)
615char='\' state SimpleChar(',a) => EscStart(',a)
616char='0' state EscStart(',a) => EscZero(',a)
617char=''' state EscZero(',a) => Finish(a)
618end state Finish(a) => Finish(a)
619matched input="'a\0'" expect="a" res"a"
620char=''' state Init => SimpleChar(',)
621char='a' state SimpleChar(',a) => SimpleChar(',a)
622char='\' state SimpleChar(',a) => EscStart(',a)
623char='b' state EscStart(',a) => SimpleChar(',a)
624char=''' state SimpleChar(',a) => Finish(a)
625end state Finish(a) => Finish(a)
626matched input="'a\b'" expect="a" res"a"
627char=''' state Init => SimpleChar(',)
628========================================
629object {'a':1,'b':[]}
630char='a' state SimpleChar(',a) => SimpleChar(',a)
631char='\' state SimpleChar(',a) => EscStart(',a)
632char='f' state EscStart(',a) => SimpleChar(',a)
633char=''' state SimpleChar(',a) => Finish(a)
634end state Finish(a) => Finish(a)
635matched input="'a\f'" expect="a" res"a"
636Some(IntNumber(0))
637parse OpenBrace => Right((ObjExpFieldName(List(),Some(Init)),None))
638parse Str(a) => Right((ObjAfterFieldName(a,List(),Some(Init)),None))
639parse Colon => Right((ObjExpFieldValue(a,List(),Some(Init)),None))
640Some(IntNumber(0))
641parse 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)
642char=''' state Init => SimpleChar(',)
643char='a' state SimpleChar(',a) => SimpleChar(',a)
644char='\' state SimpleChar(',a) => EscStart(',a)
645char='n' state EscStart(',a
646) => SimpleChar(',a
647)
648char=''' state SimpleChar(',a
649) => Finish(a
650)
651end state Finish(a
652) => Finish(a
653)
654matched input="'a\n'" expect="a\n" res"a\n"
655Some(FloatNumber(0.0))
656char=''' state Init => SimpleChar(',)
657char='a' state SimpleChar(',a) => SimpleChar(',a)
658char='\' state SimpleChar(',a) => EscStart(',a)
659char='r' state EscStart(',a
660) => SimpleChar(',a
661)
662char=''' state SimpleChar(',a
663) => Finish(a
664)
665end state Finish(a
666) => Finish(a
667)
668matched input="'a\r'" expect="a\r" res"a\r"
669Some(FloatNumber(0.0))
670char=''' state Init => SimpleChar(',)
671char='a' state SimpleChar(',a) => SimpleChar(',a)
672char='\' state SimpleChar(',a) => EscStart(',a)
673char='t' state EscStart(',a ) => SimpleChar(',a )
674char=''' state SimpleChar(',a ) => Finish(a )
675end state Finish(a ) => Finish(a )
676matched input="'a\t'" expect="a " res"a "
677========================================
678object {'a':1,'b':[1]}
679parse OpenBrace => Right((ObjExpFieldName(List(),Some(Init)),None))
680char=''' state Init => SimpleChar(',)
681char='a' state SimpleChar(',a) => SimpleChar(',a)
682char='\' state SimpleChar(',a) => EscStart(',a)
683char='v' state EscStart(',a) => SimpleChar(',a)
684char=''' state SimpleChar(',a) => Finish(a)
685end state Finish(a) => Finish(a)
686matched input="'a\v'" expect="a" res"a"
687parse Str(a) => Right((ObjAfterFieldName(a,List(),Some(Init)),None))
688parse Colon => Right((ObjExpFieldValue(a,List(),Some(Init)),None))
689parse 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)
690char=''' state Init => SimpleChar(',)
691char='a' state SimpleChar(',a) => SimpleChar(',a)
692char='\' state SimpleChar(',a) => EscStart(',a)
693========================================
694json {'a':1,'b':[1,{}]}
695char='1' state EscStart(',a) => EscOct(',a,List(1))
696char='5' state EscOct(',a,List(1)) => EscOct(',a,List(1, 5))
697parse OpenBrace => Right((ObjExpFieldName(List(),Some(Init)),None))
698parse Str(a) => Right((ObjAfterFieldName(a,List(),Some(Init)),None))
699parse Colon => Right((ObjExpFieldValue(a,List(),Some(Init)),None))
700parse 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)
701char='7' state EscOct(',ao,List(1, 5)) => SimpleChar(',ao)
702char=''' state SimpleChar(',ao) => Finish(ao)
703end state Finish(ao) => Finish(ao)
704matched input="'a\157'" expect="ao" res"ao"
705char=''' state Init => SimpleChar(',)
706char='a' state SimpleChar(',a) => SimpleChar(',a)
707char='\' state SimpleChar(',a) => EscStart(',a)
708========================================
709json {'a':1,'b':[2,{'c':3}]}
710tokens:
711char='x' state EscStart(',a) => EscHex(',a,List())
712char='A' state EscHex(',a,List()) => EscHex(',a,List(10))
713 OpenBrace
714 Str(a)
715 Colon
716 Comma
717 IntNumber(1)
718 Str(b)
719 Colon
720 OpenSquare
721 Comma
722 IntNumber(2)
723 OpenBrace
724 Str(c)
725 Colon
726 CloseBrace
727 IntNumber(3)
728 CloseSquare
729 CloseBrace
730parse OpenBrace => Right((ObjExpFieldName(List(),Some(Init)),None))
731parse Str(a) => Right((ObjAfterFieldName(a,List(),Some(Init)),None))
732parse Colon => Right((ObjExpFieldValue(a,List(),Some(Init)),None))
733parse 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)
734char='1' state EscHex(',a¡,List(10)) => SimpleChar(',a¡)
735char=''' state SimpleChar(',a¡) => Finish(a¡)
736end state Finish(a¡) => Finish(a¡)
737matched input="'a\xA1'" expect="a¡" res"a¡"
738char=''' state Init => SimpleChar(',)
739char='a' state SimpleChar(',a) => SimpleChar(',a)
740char='\' state SimpleChar(',a) => EscStart(',a)
741char='x' state EscStart(',a) => EscHex(',a,List())
742========================================
743char='a' state EscHex(',a,List()) => EscHex(',a,List(10))
744json {a:[[]]}
745char='2' state EscHex(',a¢,List(10)) => SimpleChar(',a¢)
746char=''' state SimpleChar(',a¢) => Finish(a¢)
747end state Finish(a¢) => Finish(a¢)
748matched input="'a\xa2'" expect="a¢" res"a¢"
749tokens:
750char=''' state Init => SimpleChar(',)
751char='a' state SimpleChar(',a) => SimpleChar(',a)
752char='\' state SimpleChar(',a) => EscStart(',a)
753 OpenBrace
754 Colon
755 Identifier(a)
756 OpenSquare
757 OpenSquare
758 CloseSquare
759 CloseSquare
760 CloseBrace
761char='u' state EscStart(',a) => EscUnicodeStart(',a)
762parse OpenBrace => Right((ObjExpFieldName(List(),Some(Init)),None))
763char='0' state EscUnicodeStart(',a) => EscUnicode4digit(',a,List(0))
764parse 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)
765char='0' state EscUnicode4digit(',a,List(0)) => EscUnicode4digit(',a,List(0, 0))
766char='a' state EscUnicode4digit(',a,List(0, 0)) => EscUnicode4digit(',a,List(0, 0, 10))
767========================================
768comment parse
769char='2' state EscUnicode4digit(',a¢,List(0, 0, 10)) => SimpleChar(',a¢)
770char=''' state SimpleChar(',a¢) => Finish(a¢)
771end state Finish(a¢) => Finish(a¢)
772matched input="'a\u00a2'" expect="a¢" res"a¢"
773========================================
774parse unicode 5
775char=''' state Init => SimpleChar(',)
776char='a' state SimpleChar(',a) => SimpleChar(',a)
777SLComment(sample
778)
779OpenSquare
780WhiteSpace( )
781MLComment( cmnt )
782WhiteSpace( )
783IntNumber(1)
784CloseSquare
785WhiteSpace( )
786WhiteSpace(
787)
788SLComment(last comment
789)
790WhiteSpace( )
791char='\' state SimpleChar(',a) => EscStart(',a)
792char='u' state EscStart(',a) => EscUnicodeStart(',a)
793char='{' state EscUnicodeStart(',a) => EscUnicode5digit(',a,List())
794char='0' state EscUnicode5digit(',a,List()) => EscUnicode5digit(',a,List(0))
795char='0' state EscUnicode5digit(',a,List(0)) => EscUnicode5digit(',a,List(0, 0))
796char='0' state EscUnicode5digit(',a,List(0, 0)) => EscUnicode5digit(',a,List(0, 0, 0))
797char='a' state EscUnicode5digit(',a,List(0, 0, 0)) => EscUnicode5digit(',a,List(0, 0, 0, 10))
798char='2' state EscUnicode5digit(',a,List(0, 0, 0, 10)) => EscUnicode5digit(',a,List(0, 0, 0, 10, 2))
799char='}' state EscUnicode5digit(',a¢,List(0, 0, 0, 10, 2)) => SimpleChar(',a¢)
800char=''' state SimpleChar(',a¢) => Finish(a¢)
801end state Finish(a¢) => Finish(a¢)
802matched input="'a\u{000a2}'" expect="a¢" res"a¢"
803xyz.cofe.json4s3.stream.token.StringTest:
804 + parse "abc" 0.022s
805 + parse 'abc' 0.0s
806 + parse 'a\\'bc' 0.004s
807 + parse 'a\\"bc' 0.001s
808 + parse 'a\\0' 0.004s
809 + parse 'a\\b' 0.001s
810 + parse 'a\\f' 0.001s
811 + parse 'a\\n' 0.004s
812 + parse 'a\\r' 0.0s
813 + parse 'a\\t' 0.001s
814 + parse 'a\\v' 0.005s
815 + parse oct 0.004s
816 + parse hex A1 0.007s
817 + parse hex a2 0.004s
818 + parse unicode 4 0.005s
819 + parse unicode 5 0.006s
820JsArray(List(JsInt(1)))
821xyz.cofe.json4s3.stream.ast.ParserTest:
822 + atomic str 0.0s
823 + atomic int 0.0s
824 + atomic float 0.001s
825 + atomic bigint 0.0s
826 + atomic null 0.007s
827 + atomic true 0.003s
828 + atomic false 0.006s
829 + emptry array 0.005s
830 + array[ 1 ] 0.008s
831 + array[ 1,2 ] 0.006s
832 + array[ 1,2, ] 0.006s
833 + object {} 0.013s
834 + object {'a':1} 0.007s
835 + object {'a':1,} 0.009s
836 + object {'a':1,'b':2} 0.006s
837==> X xyz.cofe.json4s3.stream.ast.ParserTest.json {'a':1,'b':2} 0.015s munit.FailException: /build/repo/src/test/scala/xyz/cofe/json4s3/stream/ast/ParserTest.scala:282 assertion failed
838281:
839282: assert(result.isRight)
840283:
841 at munit.FunSuite.assert(FunSuite.scala:11)
842 at xyz.cofe.json4s3.stream.ast.ParserTest.$init$$$anonfun$16(ParserTest.scala:282)
843==> 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
844304:
845305: assert(result.isRight)
846306:
847 at munit.FunSuite.assert(FunSuite.scala:11)
848 at xyz.cofe.json4s3.stream.ast.ParserTest.$init$$$anonfun$17(ParserTest.scala:305)
849==> 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
850327:
851328: assert(result.isRight)
852329:
853 at munit.FunSuite.assert(FunSuite.scala:11)
854 at xyz.cofe.json4s3.stream.ast.ParserTest.$init$$$anonfun$18(ParserTest.scala:328)
855==> X xyz.cofe.json4s3.stream.ast.ParserTest.json {'a':1,'b':[1,{}]} 0.002s munit.FailException: /build/repo/src/test/scala/xyz/cofe/json4s3/stream/ast/ParserTest.scala:357 assertion failed
856356:
857357: assert(result.isRight)
858358:
859 at munit.FunSuite.assert(FunSuite.scala:11)
860 at xyz.cofe.json4s3.stream.ast.ParserTest.$init$$$anonfun$19(ParserTest.scala:357)
861==> X xyz.cofe.json4s3.stream.ast.ParserTest.json {'a':1,'b':[2,{'c':3}]} 0.009s munit.FailException: /build/repo/src/test/scala/xyz/cofe/json4s3/stream/ast/ParserTest.scala:392 assertion failed
862391:
863392: assert(result.isRight)
864393:
865 at munit.FunSuite.assert(FunSuite.scala:11)
866 at xyz.cofe.json4s3.stream.ast.ParserTest.$init$$$anonfun$20(ParserTest.scala:392)
867==> X xyz.cofe.json4s3.stream.ast.ParserTest.json {a:[[]]} 0.006s munit.FailException: /build/repo/src/test/scala/xyz/cofe/json4s3/stream/ast/ParserTest.scala:429 assertion failed
868428:
869429: assert(result.isRight)
870430:
871 at munit.FunSuite.assert(FunSuite.scala:11)
872 at xyz.cofe.json4s3.stream.ast.ParserTest.$init$$$anonfun$21(ParserTest.scala:429)
873 + comment parse 0.009s
874Sample
875type=product label=Sample labels=List(a, b) values=Map(a -> 1, b -> 2)
876ADT.Simbol
877type=product label=Simbol labels=List() values=Map()
878ADT
879type=sum label=ADT labels=List(Simbol, One, Two) values=Map(ord -> 0, show -> type=product label=Simbol labels=List() values=Map())
880ADT.One
881type=product label=One labels=List(a) values=Map(a -> 3)
882ADT
883type=sum label=ADT labels=List(Simbol, One, Two) values=Map(ord -> 1, show -> type=product label=One labels=List(a) values=Map(a -> 3))
884xyz.cofe.json4s3.derv.sample.SampleDeriveTest:
885 + tst 0.02s
886100 {"value":"100"} Right(Sample(Some(100)))
8871000 {"value":"1000"} Right(Sample(Some(1000)))
88810000 {"value":"10000"} Right(Sample(Some(10000)))
88940000 {"value":"40000"} Right(Sample(Some(40000)))
890xyz.cofe.json4s3.derv.OptLongTest:
891 + store opt long 0.018s
892start
893third
894true
89510
896finish
897xyz.cofe.hlist.HListTest:
898 + hlist 0.003s
899-294113285720479764n
900Some(BigNumber(-294113285720479764))
901xyz.cofe.json4s3.stream.token.NumberTest:
902 + parse int 123 0.001s
903 + parse int 0 0.0s
904 + parse int -0 0.004s
905 + parse int -12 0.001s
906 + parse float 0. 0.0s
907 + parse float 0.0 0.001s
908 + parse float 10.5 0.001s
909 + parse float -1.5 0.004s
910 + parse float -.5 0.001s
911 + parse float 1.2e3 0.016s
912 + parse float 1.2e+4 0.0s
913 + parse float 1.2e-4 0.001s
914 + parse oct 0153 0.005s
915 + parse oct 0o153 0.0s
916 + parse oct 0O153 0.004s
917 + parse oct 0O153n 0.003s
918 + parse oct 0153n 0.0s
919 + parse hex 0xfa2 0.01s
920 + parse hex 0xfa2n 0.001s
921 + parse hex 0Xfa2n 0.001s
922 + parse hex 0Xfa 0.002s
923 + parse hex 0XFA 0.003s
924 + parse hex 0b110 0.002s
925 + parse hex 0B110 0.001s
926 + parse hex 0b110n 0.003s
927 + FloatNumber(0.4354165676733556) 0.008s
928 + BigInt(-294113285720479764) 0.004s
929cnt = 10000 nano=302556031 avg=0.0302556031 ms
930cnt = 20000 nano=153552272 avg=0.0076776136 ms
931cnt = 50000 nano=107059036 avg=0.0021411807199999996 ms
932xyz.cofe.json4s3.stream.token.TokenizerTest:
933 + test 0.059s
934 + sample 0.005s
935 + multiple 0.017s
936 + parse string 0.002s
937 + parse perf 0.769s
938
939************************
940Build summary:
941[{
942 "module": "json4s3",
943 "compile": {"status": "ok", "tookMs": 15653, "warnings": 2, "errors": 0, "sourceVersion": "3.8"},
944 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
945 "test-compile": {"status": "ok", "tookMs": 5396, "warnings": 1, "errors": 0, "sourceVersion": "3.8"},
946 "test": {"status": "failed", "tookMs": 1276, "passed": 100, "failed": 14, "ignored": 0, "skipped": 0, "total": 114, "byFramework": [{"framework": "munit", "stats": {"passed": 100, "failed": 14, "ignored": 0, "skipped": 0, "total": 114}}]},
947 "publish": {"status": "skipped", "tookMs": 0},
948 "metadata": {
949 "crossScalaVersions": ["2.12.20", "3.4.1"]
950}
951}]
952************************
953[error] Scala3CommunityBuild$ProjectBuildFailureException: 1 module(s) finished with failures: json4s3
954[error] (Global / runBuild) Scala3CommunityBuild$ProjectBuildFailureException: 1 module(s) finished with failures: json4s3
955[error] Total time: 25 s, completed Jan 8, 2026, 2:07:14 AM
956[0JBuild failed, not retrying.