Build Logs
julianpeeters/avrohugger • 3.8.0-RC2:2025-11-28
Errors
779
Warnings
10
Total Lines
1457
1##################################
2Clonning https://github.com/julianpeeters/avrohugger.git into /build/repo using revision v2.15.0
3##################################
4Note: switching to '5cbce1bde840ec8e9a262ce5a5069498bf226171'.
5
6You are in 'detached HEAD' state. You can look around, make experimental
7changes and commit them, and you can discard any commits you make in this
8state without impacting any branches by switching back to a branch.
9
10If you want to create a new branch to retain commits you create, you may
11do so (now or later) by using -c with the switch command. Example:
12
13 git switch -c <new-branch-name>
14
15Or undo this operation with:
16
17 git switch -
18
19Turn off this advice by setting config variable advice.detachedHead to false
20
21----
22Preparing build for 3.8.0-RC2
23Scala binary version found: 3.8
24Implicitly using source version 3.8
25Scala binary version found: 3.8
26Implicitly using source version 3.8
27Would try to apply common scalacOption (best-effort, sbt/mill only):
28Append: ,REQUIRE:-source:3.8
29Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
30----
31Starting build for 3.8.0-RC2
32Execute tests: true
33sbt project found:
34grep: /build/repo/project/plugins.sbt: No such file or directory
35No prepare script found for project julianpeeters/avrohugger
36##################################
37Scala version: 3.8.0-RC2
38Targets: com.julianpeeters%avrohugger-core com.julianpeeters%avrohugger-filesorter com.julianpeeters%avrohugger-tools
39Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"25"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}
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 = '25'
45[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_25/rt.jar'
46# Executing command line:
47java
48-Dfile.encoding=UTF-8
49-Dcommunitybuild.scala=3.8.0-RC2
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_25
56-jar
57/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
58"setCrossScalaVersions 3.8.0-RC2"
59"++3.8.0-RC2 -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-RC2 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"25"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}""" com.julianpeeters%avrohugger-core com.julianpeeters%avrohugger-filesorter com.julianpeeters%avrohugger-tools"
67
68[info] [launcher] getting org.scala-sbt sbt 1.11.7 (this may take some time)...
69WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
70WARNING: sun.misc.Unsafe::arrayBaseOffset has been called by net.openhft.hashing.UnsafeAccess (file:/root/.sbt/boot/scala-2.12.20/org.scala-sbt/sbt/1.11.7/zero-allocation-hashing-0.16.jar)
71WARNING: Please consider reporting this to the maintainers of class net.openhft.hashing.UnsafeAccess
72WARNING: sun.misc.Unsafe::arrayBaseOffset will be removed in a future release
73WARNING: A restricted method in java.lang.System has been called
74WARNING: java.lang.System::load has been called by com.sun.jna.Native in an unnamed module (file:/root/.sbt/boot/scala-2.12.20/org.scala-sbt/sbt/1.11.7/jna-5.12.0.jar)
75WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
76WARNING: Restricted methods will be blocked in a future release unless native access is enabled
77
78[info] welcome to sbt 1.11.7 (Eclipse Adoptium Java 25)
79[info] loading settings for project repo-build from akka.sbt, assembly.sbt, gpg.sbt, plugins.sbt...
80[info] loading project definition from /build/repo/project
81[info] compiling 2 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
82[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
83[info] Compilation completed in 8.251s.
84[info] done compiling
85[info] loading settings for project avrohugger from build.sbt...
86[info] set current project to avrohugger (in build file:/build/repo/)
87Execute setCrossScalaVersions: 3.8.0-RC2
88OpenCB::Changing crossVersion 3.3.7 -> 3.8.0-RC2 in avrohugger/crossScalaVersions
89OpenCB::Changing crossVersion 3.3.7 -> 3.8.0-RC2 in avrohugger-core/crossScalaVersions
90OpenCB::Changing crossVersion 3.3.7 -> 3.8.0-RC2 in avrohugger-filesorter/crossScalaVersions
91OpenCB::Changing crossVersion 3.3.7 -> 3.8.0-RC2 in avrohugger-tools/crossScalaVersions
92[info] set current project to avrohugger (in build file:/build/repo/)
93[info] Setting Scala version to 3.8.0-RC2 on 4 projects.
94[info] Switching Scala version on:
95[info] * avrohugger (2.12.20, 2.13.17, 3.8.0-RC2)
96[info] avrohugger-core (2.12.20, 2.13.17, 3.8.0-RC2)
97[info] avrohugger-filesorter (2.12.20, 2.13.17, 3.8.0-RC2)
98[info] avrohugger-tools (2.12.20, 2.13.17, 3.8.0-RC2)
99[info] Excluding projects:
100[info] Reapplying settings...
101[info] set current project to avrohugger (in build file:/build/repo/)
102Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
103[info] Reapplying settings...
104[info] set current project to avrohugger (in build file:/build/repo/)
105[info] Defining Global / credentials, avrohugger-core / credentials and 2 others.
106[info] The new values will be used by Global / pgpSelectPassphrase, Global / pgpSigningKey and 19 others.
107[info] Run `last` for details.
108[info] Reapplying settings...
109[info] set current project to avrohugger (in build file:/build/repo/)
110Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
111[info] Reapplying settings...
112OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
113
114 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
115 Did you mean allExcludeDependencies ?
116 , retry without global scopes
117[info] Reapplying settings...
118[info] set current project to avrohugger (in build file:/build/repo/)
119Execute removeScalacOptionsStartingWith: -P:wartremover
120[info] Reapplying settings...
121[info] set current project to avrohugger (in build file:/build/repo/)
122[success] Total time: 0 s, completed Nov 28, 2025, 2:21:22 PM
123Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"25"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}
124Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
125Starting build...
126Projects: Set(avrohugger-core, avrohugger-filesorter, avrohugger-tools)
127Starting build for ProjectRef(file:/build/repo/,avrohugger-core) (avrohugger-core)... [0/3]
128OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
129OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
130OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
131Compile scalacOptions: -unchecked, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
132[info] compiling 58 Scala sources to /build/repo/avrohugger-core/target/scala-3.8.0-RC2/classes ...
133[info] done compiling
134[info] compiling 22 Scala sources to /build/repo/avrohugger-core/target/scala-3.8.0-RC2/test-classes ...
135[warn] there was 1 deprecation warning; re-run with -deprecation for details
136[warn] one warning found
137[info] done compiling
138SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
139SLF4J: Defaulting to no-operation (NOP) logger implementation
140SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
141[info] NamespaceExtractorSpec
142[info] A NamespaceExtractor should
143[info] + Return no namespace for basic types
144[info]
145[info] + "Return the namespace of the non null inner type for union types"
146[info]
147[info] + "Return the namespace for record types"
148[info]
149[info] + "Return the namespace for array types" in
150[info]
151[info] Total for specification NamespaceExtractorSpec
152[info] Finished in 103 ms
153[info] 4 examples, 0 failure, 0 error
154[info]
155[info] SpecificSameRecordNameSpec
156[info]
157[info] a Generator should
158[info] + use the fully qualified name of the records
159[info]
160[info]
161[info] Total for specification SpecificSameRecordNameSpec
162[info] Finished in 344 ms
163[info] 1 example, 0 failure, 0 error
164[info]
165[info] StandardCustomEnumSpec
166[info] + Standard Generator should
167[info]
168[info] correctly generate strings with java enums when asked for
169[info] + correctly generate files with java enums when asked for
170[info] + correctly generate strings with case object enums when asked for
171[info] + correctly generate files with case object enums when asked for
172[info] + correctly generate strings with enums as scala strings when asked for
173[info] + correctly generate files with enums as scala strings when asked for
174[info] + correctly generate strings with scala 3 enums when asked for
175[info] + correctly generate files with Scala 3 enums when asked for
176[info]
177[info] Total for specification StandardCustomEnumSpec
178[info] Finished in 146 ms
179[info] 8 examples, 0 failure, 0 error
180[info]
181[info] SpecificNullableBigDecimalSpeco SpecificFileGenerator should correctly support nullable decimals
182[info] SKIPPED
183[info]
184[info] Total for specification SpecificNullableBigDecimalSpec
185[info] Finished in 5 ms
186[info] 1 example, 0 failure, 0 error, 1 skipped
187[info]
188[info] StandardStringToStringsSpec
189[info] Standard Generator stringToStrings method should
190[info] + correctly generate a simple case class with a schema in its companion
191[info] + correctly generate from a protocol with messages
192[info] + correctly generate a simple case class definition in a package
193[info] + correctly generate a simple case class definition in the default package
194[info] + correctly generate a nested case class definition from a schema
195[info] + correctly generate a nested case class from IDL
196[info] + correctly generate a recursive case class from IDL
197[info] + correctly generate enums from schema
198[info] + correctly generate enums from protocol
199[info] + correctly generate enums from IDL
200[info] + correctly generate nested enums
201[info] + correctly generate bytes from schema
202[info] + correctly generate bytes from protocol
203[info] + correctly generate bytes from IDL
204[info] + correctly generate records depending on others defined in a different- and same-namespaced AVDL and AVSC
205[info] + correctly generate an empty case class definition
206[info] + correctly generate default values
207[info] + correctly generate a protocol with no ADT when asked
208[info]
209[info] + correctly generate optional logical types from IDL tagged decimals
210[info] + correctly generate an either containing logical types from IDL tagged decimals
211[info] + correctly generate a coproduct containing logical types from IDL tagged decimals
212[info]
213[info] Total for specification StandardStringToStringsSpec
214[info] Finished in 273 ms
215[info] 21 examples, 0 failure, 0 error
216[info]
217[info] SpecificCustomEnumSpec
218[info] + Specific Generator should
219[info] correctly generate strings with java enums when asked for
220[info] + correctly generate files with java enums when asked for
221[info] + correctly generate strings with enums as scala strings when asked for
222[info] + correctly generate files with enums as scala strings when asked for
223[info]
224[info] Total for specification SpecificCustomEnumSpec
225[info] Finished in 40 ms
226[info] 4 examples, 0 failure, 0 error
227[info]
228[info] SpecificFileToStringsSpec
229[info] SpecificRecord Generator fileToStrings method should
230[info] + correctly generate a simple case class definition from AVRO
231[info] + correctly generate from a protocol with messages
232[info] + correctly generate a simple case class definition in a package
233[info] + correctly generate a simple case class definition in the default package
234[info] + correctly generate a nested case class definition from a schema
235[info] + correctly generate a nested case class from IDL
236[info] + correctly generate a recursive case class from IDL
237[info] + correctly generate enums from schema
238[info] + correctly generate enums from protocol
239[info] + correctly generate enums from IDL
240[info] + correctly generate nested enums
241[info] + correctly generate bytes from schema
242[info] + correctly generate bytes from protocol
243[info] + correctly generate bytes from IDL
244[info] + correctly generate records depending on others defined in a different and same namespaced AVDL and AVSC
245[info] + correctly generate an empty case class definition
246[info] + correctly generate default values
247[info] + correctly generate a protocol with no ADT when asked
248[info]
249[info] Total for specification SpecificFileToStringsSpec
250[info] Finished in 386 ms
251[info] 18 examples, 0 failure, 0 error
252[info]
253[info] StandardCommentsSpec
254[info] A Standard Generator should
255[info] + use the comments from idl files in their Scala counterparts
256[info] + use the comments from idl fields even if the record has none
257[info] + use the comments from idl records even if the fields have none
258[info] + use the comments from the whole protocol as comment to the sealed trait of an ADT
259[info] + use the comments from the whole protocol as comment to set of records
260[info]
261[info] Total for specification StandardCommentsSpec
262[info] Finished in 73 ms
263[info] 5 examples, 0 failure, 0 error
264[info]
265[info] StandardStringToFileSpec
266[info] Standard Generator stringToFile method should
267[info] + correctly generate a simple case class with a schema in its companion
268[info] + correctly generate from a protocol with messages
269[info] + correctly generate a simple case class definition in a package
270[info] + correctly generate a simple case class definition in the default package
271[info] + correctly generate a nested case class definition from a schema
272[info] + correctly generate a nested case class from IDL
273[info] + correctly generate a recursive case class from IDL
274[info] + correctly generate enums from schema
275[info] + correctly generate enums from protocol
276[info] + correctly generate enums from IDL
277[info] + correctly generate nested enums
278[info] + correctly generate bytes from schema
279[info] + correctly generate bytes from protocol
280[info] + correctly generate bytes from IDL
281[info] + correctly generate records depending on others defined in a different- and same-namespaced AVDL and AVSC
282[info] + correctly generate an empty case class definition
283[info] + correctly generate default values
284[info] + correctly generate fixed from schema
285[info]
286[info]
287[info]
288[info] + correctly generate a protocol with no ADT when asked
289[info]
290[info] + correctly generate optional logical types from IDL tagged decimals
291[info] + correctly generate an either containing logical types from IDL tagged decimals
292[info] + correctly generate a coproduct containing logical types from IDL tagged decimals
293[info]
294[info] Total for specification StandardStringToFileSpec
295[info] Finished in 187 ms
296[info] 22 examples, 0 failure, 0 error
297[info]
298[info] SpecificStringToStringsSpec
299[info] SpecificRecord Generator stringToStrings method should
300[info] + correctly generate from a protocol with messages
301[info] + correctly generate a simple case class definition in a package
302[info] + correctly generate a simple case class definition in the default package
303[info] + correctly generate a nested case class definition from a schema
304[info] + correctly generate a nested case class from IDL
305[info] + correctly generate a recursive case class from IDL"
306[info] + correctly generate enums from schema
307[info] + correctly generate enums from protocol
308[info] + correctly generate enums from IDL
309[info] + correctly generate nested enums
310[info] + correctly generate bytes from schema
311[info] + correctly generate bytes from protocol
312[info] + correctly generate bytes from IDL
313[info] + correctly generate records depending on others defined in a different- and same-namespaced AVDL and AVSC
314[info] + correctly generate an empty case class definition
315[info] + correctly generate default values
316[info] + correctly generate a protocol with no ADT when asked
317[info]
318[info] Total for specification SpecificStringToStringsSpec
319[info] Finished in 180 ms
320[info] 17 examples, 0 failure, 0 error
321[info]
322[info] SpecificCommentsSpec
323[info] A Specific Generator should
324[info] + use the comments from idl files in their Scala counterparts
325[info] + use the comments from idl fields even if the record has none
326[info] + use the comments from idl records even if the fields have none
327[info] + use the comments from the whole protocol as comment to the sealed trait of an ADT
328[info] + use the comments from the whole protocol as comment to set of records
329[info]
330[info] Total for specification SpecificCommentsSpec
331[info] Finished in 22 ms
332[info] 5 examples, 0 failure, 0 error
333[info]
334[info] StandardFileToFileSpec
335[info] + Standard Generator fileToFile method should
336[info]
337[info] correctly generate a simple case class definition from AVRO
338[info] + correctly generate a simple case class with a schema in its companion
339[info] + not generate copy of imported classes in the importing package
340[info] + correctly generate from a protocol with messages
341[info] + correctly generate a simple case class definition in a package
342[info] + correctly generate a simple case class definition in the default package
343[info] + correctly generate a nested case class definition from a schema
344[info] + correctly generate a nested case class from IDL
345[info] + correctly generate a recursive case class from IDL
346[info] + correctly generate enums from schema
347[info] + correctly generate enums from protocol
348[info] + correctly generate enums from IDL
349[info] + correctly generate nested enums
350[info] + correctly generate bytes from schema
351[info] + correctly generate bytes from protocol
352[info] + correctly generate bytes from IDL
353[info] + correctly generate records depending on others defined in a different- and same-namespaced AVDL and AVSC
354[info] + correctly generate an empty case class definition
355[info] + correctly generate default values
356[info] + correctly generate union values without shapeless Coproduct
357[info] + correctly generate union values with shapeless Coproduct
358[info] + correctly generate all union values with optional shapeless Coproduct when instructed by generator
359[info] + correctly generate all union values with option shapeless Coproduct when instructed by generator
360[info] + correctly generate all union values with Scala 3 union type when instructed by generator
361[info]
362[info] + correctly generate union default option either parameter values
363[info] + correctly generate union default option values
364[info] + correctly generate union default optional parameter values
365[info] + currectly generate union default scala3 union parameter values
366[info]
367[info] + correctly generate a protocol with no ADT when asked
368[info] + correctly generate a protocol with no ADT when asked
369[info] + correctly generate a protocol with no ADT when asked
370[info] + correctly generate logical types from schema
371[info] + correctly generate logical types from protocol
372[info] + correctly generate logical types with custom date, timestamp and time types
373[info] + correctly generate logical types from schema with tagged decimals
374[info] + correctly generate logical types from protocol tagged decimals
375[info] + correctly generate logical types with custom date, timestamp and time types tagged decimals
376[info] + correctly generate optional logical types from IDL tagged decimals
377[info] + correctly generate an either containing logical types from IDL tagged decimals
378[info] + correctly generate a coproduct containing logical types from IDL tagged decimals
379[info] + correctly generate a protocol with special strings
380[info]
381[info] + correctly generate fixed from schema
382[info] + correctly generate simple fixed bytes from schema
383[info] + correctly generate record with fixed bytes from schema
384[info] + correctly generate nested fixed bytes from schema
385[info]
386[info] + correctly generate nested references with custom namespaces
387[info] + correctly handle underlyingType for date/time related fields
388[info]
389[info] Total for specification StandardFileToFileSpec
390[info] Finished in 1 second, 786 ms
391[info] 47 examples, 0 failure, 0 error
392[info]
393[info] SpecificDefaultValueFullnameSpec
394[info]
395[info] a Generator should
396[info] + use the fully qualified name if field name equals type name
397[info]
398[info]
399[info] Total for specification SpecificDefaultValueFullnameSpec
400[info] Finished in 62 ms
401[info] 1 example, 0 failure, 0 error
402[info]
403[info] StandardFileToStringsSpec
404[info] Standard Generator fileToStrings method should
405[info] + correctly generate a simple case class definition from AVRO
406[info] + correctly generate a simple case class with a schema in its companion
407[info] + correctly generate from a protocol with messages
408[info] + correctly generate a simple case class definition in a package
409[info] + correctly generate a simple case class definition in the default package
410[info] + correctly generate a nested case class definition from a schema
411[info] + correctly generate a nested case class from IDL
412[info] + correctly generate a recursive case class from IDL
413[info] + correctly generate enums from schema
414[info] + correctly generate enums from protocol
415[info] + correctly generate enums from IDL
416[info] + correctly generate nested enums
417[info] + correctly generate bytes from schema
418[info] + correctly generate bytes from protocol
419[info] + correctly generate bytes from IDL
420[info] + correctly generate records depending on others defined in a different- and same-namespaced AVDL and AVSC
421[info] + correctly generate an empty case class definition
422[info] + correctly generate default values
423[info]
424[info]
425[info] + correctly generate a protocol with no ADT when asked
426[info]
427[info] + correctly generate optional logical types from IDL tagged decimals
428[info] + correctly generate an either containing logical types from IDL tagged decimals
429[info] + correctly generate a coproduct containing logical types from IDL tagged decimals
430[info]
431[info] + correctly generate classes from a top-level union
432[info]
433[info] Total for specification StandardFileToStringsSpec
434[info] Finished in 158 ms
435[info] 23 examples, 0 failure, 0 error
436[info]
437[info] SpecificFileToFileSpec
438[info] SpecificRecord Generator fileToFiles method should
439[info] + correctly generate a simple case class definition from AVRO
440[info] + not generate copy of imported classes in the importing package
441[info] + correctly generate from a protocol with messages
442[info] + correctly generate a simple case class definition in a package
443[info] + correctly generate a simple case class definition in the default package
444[info] + correctly generate a nested case class definition from a schema
445[info] + correctly generate a nested case class from IDL
446[info] + correctly generate a recursive case class from IDL
447[info] + correctly generate enums from schema
448[info] + correctly generate enums from protocol
449[info] + correctly generate enums from IDL
450[info] + correctly generate nested enums
451[info] + correctly generate bytes from schema
452[info] + correctly generate bytes from protocol
453[info] + correctly generate bytes from IDL
454[info] + correctly generate records depending on others defined in a different- and same-namespaced AVDL and AVSC
455[info] + correctly generate an empty case class definition
456[info] + correctly generate default values
457[info]
458[info] + correctly generate union values with shapeless Coproduct
459[info] + correctly generate union values with shapeless Coproduct from avsc
460[info] + correctly generate union values with shapeless Coproduct from avsc 2
461[info]
462[info]
463[info] + correctly generate a protocol with no ADT when asked
464[info] + correctly generate cases classes for AVSC files that have a equivalent common element
465[info] + correctly fail if AVSC files contain non-equivalent common element
466[info]
467[info] + correctly generate logical types from schema
468[info] + correctly generate logical types from protocol
469[info]
470[info] + correctly generate logical types with custom date, timestamp and time types
471[info] + correctly generate a protocol with special strings
472[info] + correctly generate a simple case class with a wildcarded custom namespace
473[info] + correctly handle namespaces for complex types
474[info] + correctly handle underlyingType for date/time related fields
475[info]
476[info] Total for specification SpecificFileToFileSpec
477[info] Finished in 2 seconds, 245 ms
478[info] 31 examples, 66 expectations, 0 failure, 0 error
479[info]
480[info] SpecificSeqSpecA specificrecord Generator should
481[info] ! correctly generate strings with Seq when asked for
482[error] java.lang.RuntimeException: File not found: avrohugger-core/src/test/expected/specificrecord/example/idl/array/scala-3.8/ArrayAsScalaSeq.scala (Util.scala:18)util.Util$.readFile0$1(Util.scala:18)
483[error] util.Util$.readFile(Util.scala:22)
484[error] avrohugger.SeqSpec.strings(SeqSpec.scala:45)
485[error] avrohugger.SeqSpec.strings$(SeqSpec.scala:11)
486[error] specific.SpecificSeqSpec.strings(SpecificSeqSpec.scala:8)
487[error] avrohugger.SeqSpec$$anon$1.prepend$$anonfun$1(SeqSpec.scala:23)
488[error]
489[info] ! correctly generate files with Seq when asked for
490[error] java.lang.RuntimeException: File not found: avrohugger-core/src/test/expected/specificrecord/example/idl/array/scala-3.8/ArrayAsScalaSeq.scala (Util.scala:18)util.Util$.readFile0$1(Util.scala:18)
491[error] util.Util$.readFile(Util.scala:22)
492[error] avrohugger.SeqSpec.files(SeqSpec.scala:62)
493[error] avrohugger.SeqSpec.files$(SeqSpec.scala:11)
494[error] specific.SpecificSeqSpec.files(SpecificSeqSpec.scala:8)
495[error] avrohugger.SeqSpec$$anon$2.prepend$$anonfun$2(SeqSpec.scala:24)
496[error]
497[info] ! correctly generate strings with List when asked for
498[error] java.lang.RuntimeException: File not found: avrohugger-core/src/test/expected/specificrecord/example/idl/array/scala-3.8/ArrayAsScalaList.scala (Util.scala:18)util.Util$.readFile0$1(Util.scala:18)
499[error] util.Util$.readFile(Util.scala:22)
500[error] avrohugger.SeqSpec.strings(SeqSpec.scala:45)
501[error] avrohugger.SeqSpec.strings$(SeqSpec.scala:11)
502[error] specific.SpecificSeqSpec.strings(SpecificSeqSpec.scala:8)
503[error] avrohugger.SeqSpec$$anon$3.prepend$$anonfun$3(SeqSpec.scala:25)
504[error]
505[info] ! correctly generate files with List when asked for
506[error] java.lang.RuntimeException: File not found: avrohugger-core/src/test/expected/specificrecord/example/idl/array/scala-3.8/ArrayAsScalaList.scala (Util.scala:18)util.Util$.readFile0$1(Util.scala:18)
507[error] util.Util$.readFile(Util.scala:22)
508[error] avrohugger.SeqSpec.files(SeqSpec.scala:62)
509[error] avrohugger.SeqSpec.files$(SeqSpec.scala:11)
510[error] specific.SpecificSeqSpec.files(SpecificSeqSpec.scala:8)
511[error] avrohugger.SeqSpec$$anon$4.prepend$$anonfun$4(SeqSpec.scala:26)
512[error]
513[info] ! correctly generate strings with Array when asked for
514[error] java.lang.RuntimeException: File not found: avrohugger-core/src/test/expected/specificrecord/example/idl/array/scala-3.8/ArrayAsScalaArray.scala (Util.scala:18)util.Util$.readFile0$1(Util.scala:18)
515[error] util.Util$.readFile(Util.scala:22)
516[error] avrohugger.SeqSpec.strings(SeqSpec.scala:45)
517[error] avrohugger.SeqSpec.strings$(SeqSpec.scala:11)
518[error] specific.SpecificSeqSpec.strings(SpecificSeqSpec.scala:8)
519[error] avrohugger.SeqSpec$$anon$5.prepend$$anonfun$5(SeqSpec.scala:27)
520[error]
521[info] ! correctly generate files with Array when asked for
522[error] java.lang.RuntimeException: File not found: avrohugger-core/src/test/expected/specificrecord/example/idl/array/scala-3.8/ArrayAsScalaArray.scala (Util.scala:18)util.Util$.readFile0$1(Util.scala:18)
523[error] util.Util$.readFile(Util.scala:22)
524[error] avrohugger.SeqSpec.files(SeqSpec.scala:62)
525[error] avrohugger.SeqSpec.files$(SeqSpec.scala:11)
526[error] specific.SpecificSeqSpec.files(SpecificSeqSpec.scala:8)
527[error] avrohugger.SeqSpec$$anon$6.prepend$$anonfun$6(SeqSpec.scala:28)
528[error]
529[info] ! correctly generate strings with Vector when asked for
530[error] java.lang.RuntimeException: File not found: avrohugger-core/src/test/expected/specificrecord/example/idl/array/scala-3.8/ArrayAsScalaVector.scala (Util.scala:18)util.Util$.readFile0$1(Util.scala:18)
531[error] util.Util$.readFile(Util.scala:22)
532[error] avrohugger.SeqSpec.strings(SeqSpec.scala:45)
533[error] avrohugger.SeqSpec.strings$(SeqSpec.scala:11)
534[error] specific.SpecificSeqSpec.strings(SpecificSeqSpec.scala:8)
535[error] avrohugger.SeqSpec$$anon$7.prepend$$anonfun$7(SeqSpec.scala:29)
536[error]
537[info] ! correctly generate files with Vector when asked for
538[error] java.lang.RuntimeException: File not found: avrohugger-core/src/test/expected/specificrecord/example/idl/array/scala-3.8/ArrayAsScalaVector.scala (Util.scala:18)util.Util$.readFile0$1(Util.scala:18)
539[error] util.Util$.readFile(Util.scala:22)
540[error] avrohugger.SeqSpec.files(SeqSpec.scala:62)
541[error] avrohugger.SeqSpec.files$(SeqSpec.scala:11)
542[error] specific.SpecificSeqSpec.files(SpecificSeqSpec.scala:8)
543[error] avrohugger.SeqSpec$$anon$8.prepend$$anonfun$8(SeqSpec.scala:30)
544[error]
545[info]
546[info] Total for specification SpecificSeqSpec
547[info] Finished in 81 ms
548[info] 8 examples, 0 failure, 8 errors
549[info]
550[info] StandardSeqSpecA standard Generator should
551[info] + correctly generate strings with Seq when asked for
552[info] + correctly generate files with Seq when asked for
553[info] + correctly generate strings with List when asked for
554[info] + correctly generate files with List when asked for
555[info] + correctly generate strings with Array when asked for
556[info] + correctly generate files with Array when asked for
557[info] + correctly generate strings with Vector when asked for
558[info] + correctly generate files with Vector when asked for
559[info]
560[info] Total for specification StandardSeqSpec
561[info] Finished in 62 ms
562[info] 8 examples, 0 failure, 0 error
563[info]
564[info] SpecificStringToFileSpec
565[info] + SpecificRecord Generator stringToFiles method should
566[info] correctly generate from a protocol with messages
567[info] + correctly generate a simple case class definition in a package
568[info] + correctly generate a simple case class definition in the default package
569[info] + correctly generate a nested case class definition from a schem
570[info] + correctly generate a nested case class from IDL
571[info] + correctly generate a recursive case class from IDL
572[info] + correctly generate enums from schema
573[info] + correctly generate enums from protocol
574[info] + correctly generate enums from IDL
575[info] + correctly generate nested enums
576[info] + correctly generate bytes from schema
577[info] + correctly generate bytes from protocol
578[info] + correctly generate bytes from IDL
579[info] + correctly generate records depending on others defined in a different- and same-namespaced AVDL and AVSC
580[info] + correctly generate an empty case class definition
581[info] + correctly generate default values
582[info]
583[info]
584[info]
585[info]
586[info] + correctly generate a protocol with no ADT when asked
587[info] + correctly generate large string of embedded schema
588[info]
589[info] Total for specification SpecificStringToFileSpec
590[info] Finished in 1 second, 915 ms
591[info] 18 examples, 0 failure, 0 error
592[info]
593Starting build for ProjectRef(file:/build/repo/,avrohugger-filesorter) (avrohugger-filesorter)... [1/3]
594Compile scalacOptions: -unchecked, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
595[info] compiling 4 Scala sources to /build/repo/avrohugger-filesorter/target/scala-3.8.0-RC2/classes ...
596[info] done compiling
597[info] compiling 1 Scala source to /build/repo/avrohugger-filesorter/target/scala-3.8.0-RC2/test-classes ...
598[info] done compiling
599[info] FileSorterSpec
600[info]
601[info] + Schema files should be sorted with re-used types schemas first, whatever input order
602[info] + Schema files with Fixed type should be sorted
603[info] + AVDL files should be sorted correctly for imports
604[info]
605[info]
606[info] Total for specification FileSorterSpec
607[info] Finished in 131 ms
608[info] 3 examples, 0 failure, 0 error
609[info]
610Starting build for ProjectRef(file:/build/repo/,avrohugger-tools) (avrohugger-tools)... [2/3]
611Compile scalacOptions: -unchecked, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
612[info] compiling 3 Scala sources to /build/repo/avrohugger-tools/target/scala-3.8.0-RC2/classes ...
613[info] done compiling
614[info] compiling 6 Scala sources to /build/repo/avrohugger-tools/target/scala-3.8.0-RC2/test-classes ...
615[info] done compiling
616Input files to compile:
617 avrohugger-tools/src/test/compiler/input/mail.avpr
618Input files to compile:
619 avrohugger-tools/src/test/compiler/input/handle.avsc
620Input files to compile:
621 avrohugger-tools/src/test/compiler/input/mail.avpr
622Input files to compile:
623 avrohugger-tools/src/test/compiler/input/handle.avsc
624Input files to compile:
625 avrohugger-tools/src/test/compiler/input/twitter.avro
626Input files to compile:
627 avrohugger-tools/src/test/compiler/input/mascot.avsc
628Input files to compile:
629 avrohugger-tools/src/test/compiler/input/nickname.avsc
630 avrohugger-tools/src/test/compiler/input/player.avsc
631Input files to compile:
632 avrohugger-tools/src/test/compiler/input/twitter.avro
633Input files to compile:
634 avrohugger-tools/src/test/compiler/input/handle.avsc
635Input files to compile:
636 avrohugger-tools/src/test/compiler/input/handle.avsc
637 avrohugger-tools/src/test/compiler/input/pilot.avsc
638Input files to compile:
639 avrohugger-tools/src/test/compiler/input/invalid.avsc
640Input files to compile:
641 avrohugger-tools/src/test/compiler/input/invalid.avsc
642Input files to compile:
643 avrohugger-tools/src/test/compiler/input/mascot.avsc
644 avrohugger-tools/src/test/compiler/input/handle.avsc
645 avrohugger-tools/src/test/compiler/input/invalid.avsc
646 avrohugger-tools/src/test/compiler/input/wrestler.avsc
647 avrohugger-tools/src/test/compiler/input/pilot.avsc
648 avrohugger-tools/src/test/compiler/input/player.avsc
649 avrohugger-tools/src/test/compiler/input/nickname.avsc
650[info] MainSpec
651[info]
652[info] + tool descriptions fit in 80 characters
653[info] + successful runs yield zero exit code
654[info] + not print anything to stderr
655[info] + invalid tool names yield non-zero exit code
656[info] + print something to stderr
657[info] + invalid input yield non-zero exit code
658[info] + print something to stderr
659[info]
660[info]
661[info] Total for specification MainSpec
662[info] Finished in 112 ms
663[info] 7 examples, 0 failure, 0 error
664[info]
665[info] StandardGeneratorToolSpec
666[info]
667[info] + match the expected single protocol file
668[info] + match the expected single datafile file
669[info] + match the expected single schema file
670[info] + match the expected dependent files
671[info] + match the expected file and directory
672[info]
673[info]
674[info] Total for specification StandardGeneratorToolSpec
675[info] Finished in 134 ms
676[info] 5 examples, 0 failure, 0 error
677[info]
678Input files to compile:
679 avrohugger-tools/src/test/compiler/input/mascot.avsc
680 avrohugger-tools/src/test/compiler/input/handle.avsc
681 avrohugger-tools/src/test/compiler/input/invalid.avsc
682 avrohugger-tools/src/test/compiler/input/wrestler.avsc
683 avrohugger-tools/src/test/compiler/input/pilot.avsc
684 avrohugger-tools/src/test/compiler/input/player.avsc
685 avrohugger-tools/src/test/compiler/input/nickname.avsc
686[info] SpecificGeneratorToolSpec
687[info]
688[info] + match the expected single protocol file
689[info] + match the expected single datafile file
690[info] + match the expected single schema file
691[info] x match the expected dependent files
692[error] '/** MACHINE-GENERATED FROM AVRO SCHEMA. DO NOT EDIT DIRECTLY */
693[error] package avro.examples.baseball
694[error]
695[error] import scala.annotation.switch
696[error]
697[error] final case class Player(var number: Int, var first_name: String, var last_name: String, var nicknames: Seq[avro.examples.baseball.Nickname]) extends org.apache.avro.specific.SpecificRecordBase {
698[error] def this() = this(0, "", "", Seq.empty)
699[error] def get(field$: Int): AnyRef = {
700[error] (field$: @switch) match {
701[error] case 0 => {
702[error] number
703[error] }.asInstanceOf[AnyRef]
704[error] case 1 => {
705[error] first_name
706[error] }.asInstanceOf[AnyRef]
707[error] case 2 => {
708[error] last_name
709[error] }.asInstanceOf[AnyRef]
710[error] case 3 => {
711[error] scala.jdk.CollectionConverters.BufferHasAsJava({
712[error] nicknames map { x =>
713[error] x
714[error] }
715[error] }.toBuffer).asJava
716[error] }.asInstanceOf[AnyRef]
717[error] case _ => new org.apache.avro.AvroRuntimeException("Bad index")
718[error] }
719[error] }
720[error] def put(field$: Int, value: Any): Unit = {
721[error] (field$: @switch) match {
722[error] case 0 => this.number = {
723[error] value
724[error] }.asInstanceOf[Int]
725[error] case 1 => this.first_name = {
726[error] value.toString
727[error] }.asInstanceOf[String]
728[error] case 2 => this.last_name = {
729[error] value.toString
730[error] }.asInstanceOf[String]
731[error] case 3 => this.nicknames = {
732[error] value match {
733[error] case (array: java.util.List[?]) => {
734[error] scala.jdk.CollectionConverters.IteratorHasAsScala(array.iterator).asScala.map({ x =>
735[error] x
736[error] }).toSeq
737[error] }
738[error] case _ => new org.apache.avro.AvroRuntimeException("expected array with type java.util.List[_]")
739[error] }
740[error] }.asInstanceOf[Seq[avro.examples.baseball.Nickname]]
741[error] case _ => new org.apache.avro.AvroRuntimeException("Bad index")
742[error] }
743[error] ()
744[error] }
745[error] def getSchema: org.apache.avro.Schema = avro.examples.baseball.Player.SCHEMA$
746[error] }
747[error]
748[error] object Player {
749[error] val SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"record\",\"name\":\"Player\",\"namespace\":\"avro.examples.baseball\",\"fields\":[{\"name\":\"number\",\"type\":\"int\"},{\"name\":\"first_name\",\"type\":\"string\"},{\"name\":\"last_name\",\"type\":\"string\"},{\"name\":\"nicknames\",\"type\":{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"Nickname\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"}]}}}]}")
750[error] }'
751[error] !=
752[error] '/** MACHINE-GENERATED FROM AVRO SCHEMA. DO NOT EDIT DIRECTLY */
753[error] package avro.examples.baseball
754[error]
755[error] import scala.annotation.switch
756[error]
757[error] final case class Player(var number: Int, var first_name: String, var last_name: String, var nicknames: Seq[avro.examples.baseball.Nickname]) extends org.apache.avro.specific.SpecificRecordBase {
758[error] def this() = this(0, "", "", Seq.empty)
759[error] def get(field$: Int): AnyRef = {
760[error] (field$: @switch) match {
761[error] case 0 => {
762[error] number
763[error] }.asInstanceOf[AnyRef]
764[error] case 1 => {
765[error] first_name
766[error] }.asInstanceOf[AnyRef]
767[error] case 2 => {
768[error] last_name
769[error] }.asInstanceOf[AnyRef]
770[error] case 3 => {
771[error] scala.collection.JavaConverters.bufferAsJavaListConverter({
772[error] nicknames map { x =>
773[error] x
774[error] }
775[error] }.toBuffer).asJava
776[error] }.asInstanceOf[AnyRef]
777[error] case _ => new org.apache.avro.AvroRuntimeException("Bad index")
778[error] }
779[error] }
780[error] def put(field$: Int, value: Any): Unit = {
781[error] (field$: @switch) match {
782[error] case 0 => this.number = {
783[error] value
784[error] }.asInstanceOf[Int]
785[error] case 1 => this.first_name = {
786[error] value.toString
787[error] }.asInstanceOf[String]
788[error] case 2 => this.last_name = {
789[error] value.toString
790[error] }.asInstanceOf[String]
791[error] case 3 => this.nicknames = {
792[error] value match {
793[error] case (array: java.util.List[_]) => {
794[error] scala.collection.JavaConverters.asScalaIteratorConverter(array.iterator).asScala.map({ x =>
795[error] x
796[error] }).toSeq
797[error] }
798[error] case _ => new org.apache.avro.AvroRuntimeException("expected array with type java.util.List[_]")
799[error] }
800[error] }.asInstanceOf[Seq[avro.examples.baseball.Nickname]]
801[error] case _ => new org.apache.avro.AvroRuntimeException("Bad index")
802[error] }
803[error] ()
804[error] }
805[error] def getSchema: org.apache.avro.Schema = avro.examples.baseball.Player.SCHEMA$
806[error] }
807[error]
808[error] object Player {
809[error] val SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"record\",\"name\":\"Player\",\"namespace\":\"avro.examples.baseball\",\"fields\":[{\"name\":\"number\",\"type\":\"int\"},{\"name\":\"first_name\",\"type\":\"string\"},{\"name\":\"last_name\",\"type\":\"string\"},{\"name\":\"nicknames\",\"type\":{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"Nickname\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"}]}}}]}")
810[error] }'
811[error] '/** MACHINE-GENERATED FROM AVRO SCHEMA. DO NOT EDIT DIRECTLY */
812[error] package avro.examples.baseball
813[error]
814[error] import scala.annotation.switch
815[error]
816[error] final case class Player(var number: Int, var first_name: String, var last_name: String, var nicknames: Seq[avro.examples.baseball.Nickname]) extends org.apache.avro.specific.SpecificRecordBase {
817[error] def this() = this(0, "", "", Seq.empty)
818[error] def get(field$: Int): AnyRef = {
819[error] (field$: @switch) match {
820[error] case 0 => {
821[error] number
822[error] }.asInstanceOf[AnyRef]
823[error] case 1 => {
824[error] first_name
825[error] }.asInstanceOf[AnyRef]
826[error] case 2 => {
827[error] last_name
828[error] }.asInstanceOf[AnyRef]
829[error] case 3 => {
830[error] scala.jdk.CollectionConverters.BufferHasAsJava({
831[error] nicknames map { x =>
832[error] x
833[error] }
834[error] }.toBuffer).asJava
835[error] }.asInstanceOf[AnyRef]
836[error] case _ => new org.apache.avro.AvroRuntimeException("Bad index")
837[error] }
838[error] }
839[error] def put(field$: Int, value: Any): Unit = {
840[error] (field$: @switch) match {
841[error] case 0 => this.number = {
842[error] value
843[error] }.asInstanceOf[Int]
844[error] case 1 => this.first_name = {
845[error] value.toString
846[error] }.asInstanceOf[String]
847[error] case 2 => this.last_name = {
848[error] value.toString
849[error] }.asInstanceOf[String]
850[error] case 3 => this.nicknames = {
851[error] value match {
852[error] case (array: java.util.List[?]) => {
853[error] scala.jdk.CollectionConverters.IteratorHasAsScala(array.iterator).asScala.map({ x =>
854[error] x
855[error] }).toSeq
856[error] }
857[error] case _ => new org.apache.avro.AvroRuntimeException("expected array with type java.util.List[_]")
858[error] }
859[error] }.asInstanceOf[Seq[avro.examples.baseball.Nickname]]
860[error] case _ => new org.apache.avro.AvroRuntimeException("Bad index")
861[error] }
862[error] ()
863[error] }
864[error] def getSchema: org.apache.avro.Schema = avro.examples.baseball.Player.SCHEMA$
865[error] }
866[error]
867[error] object Player {
868[error] val SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"record\",\"name\":\"Player\",\"namespace\":\"avro.examples.baseball\",\"fields\":[{\"name\":\"number\",\"type\":\"int\"},{\"name\":\"first_name\",\"type\":\"string\"},{\"name\":\"last_name\",\"type\":\"string\"},{\"name\":\"nicknames\",\"type\":{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"Nickname\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"}]}}}]}")
869[error] }' != '/** MACHINE-GENERATED FROM AVRO SCHEMA. DO NOT EDIT DIRECTLY */
870[error] package avro.examples.baseball
871[error]
872[error] import scala.annotation.switch
873[error]
874[error] final case class Player(var number: Int, var first_name: String, var last_name: String, var nicknames: Seq[avro.examples.baseball.Nickname]) extends org.apache.avro.specific.SpecificRecordBase {
875[error] def this() = this(0, "", "", Seq.empty)
876[error] def get(field$: Int): AnyRef = {
877[error] (field$: @switch) match {
878[error] case 0 => {
879[error] number
880[error] }.asInstanceOf[AnyRef]
881[error] case 1 => {
882[error] first_name
883[error] }.asInstanceOf[AnyRef]
884[error] case 2 => {
885[error] last_name
886[error] }.asInstanceOf[AnyRef]
887[error] case 3 => {
888[error] scala.collection.JavaConverters.bufferAsJavaListConverter({
889[error] nicknames map { x =>
890[error] x
891[error] }
892[error] }.toBuffer).asJava
893[error] }.asInstanceOf[AnyRef]
894[error] case _ => new org.apache.avro.AvroRuntimeException("Bad index")
895[error] }
896[error] }
897[error] def put(field$: Int, value: Any): Unit = {
898[error] (field$: @switch) match {
899[error] case 0 => this.number = {
900[error] value
901[error] }.asInstanceOf[Int]
902[error] case 1 => this.first_name = {
903[error] value.toString
904[error] }.asInstanceOf[String]
905[error] case 2 => this.last_name = {
906[error] value.toString
907[error] }.asInstanceOf[String]
908[error] case 3 => this.nicknames = {
909[error] value match {
910[error] case (array: java.util.List[_]) => {
911[error] scala.collection.JavaConverters.asScalaIteratorConverter(array.iterator).asScala.map({ x =>
912[error] x
913[error] }).toSeq
914[error] }
915[error] case _ => new org.apache.avro.AvroRuntimeException("expected array with type java.util.List[_]")
916[error] }
917[error] }.asInstanceOf[Seq[avro.examples.baseball.Nickname]]
918[error] case _ => new org.apache.avro.AvroRuntimeException("Bad index")
919[error] }
920[error] ()
921[error] }
922[error] def getSchema: org.apache.avro.Schema = avro.examples.baseball.Player.SCHEMA$
923[error] }
924[error]
925[error] object Player {
926[error] val SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"record\",\"name\":\"Player\",\"namespace\":\"avro.examples.baseball\",\"fields\":[{\"name\":\"number\",\"type\":\"int\"},{\"name\":\"first_name\",\"type\":\"string\"},{\"name\":\"last_name\",\"type\":\"string\"},{\"name\":\"nicknames\",\"type\":{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"Nickname\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"}]}}}]}")
927[error] }' (SpecificGeneratorToolSpec.scala:61)
928[error]
929[error] Actual: ...Y */
930[error] ...ball
931[error]
932[error] ...itch
933[error]
934[error] ...se {
935[error] ...pty)
936[error] ... = {
937[error] ...ch {
938[error] ...=> {
939[error] ...mber
940[error] ...Ref]
941[error] ...=> {
942[error] ...name
943[error] ...Ref]
944[error] ...=> {
945[error] ...name
946[error] ...Ref]
947[error] ...=> {
948[error] ...cala.[jdk.C]ol...on[]Co...s.[B]uffer[H]a[]s[AsJa]v[a]({
949[error] ...x =>
950[error] ... x
951[error] ... }
952[error] ...Java
953[error] ...Ref]
954[error] ...ex")
955[error] }
956[error] }
957[error] ... = {
958[error] ...ch {
959[error] ... = {
960[error] ...alue
961[error] ...Int]
962[error] ... = {
963[error] ...ring
964[error] ...ing]
965[error] ... = {
966[error] ...ring
967[error] ...ing]
968[error] ... = {
969[error] ...ch {
970[error] ...List[[?]]) =>...
971[error] ...cala.[jdk.C]ol...on[]Co...s.[]It...or[HasAsScala](arra...
972[error] ... x
973[error] ...oSeq
974[error] ... }
975[error] ..._]")
976[error] ... }
977[error] ...me]]
978[error] ...ex")
979[error] }
980[error] ... ()
981[error] }
982[error] ...EMA$
983[error] }
984[error]
985[error] ...er {
986[error] ...ame\
987[error] ...s\":
988[error] ...]}")
989[error] }
990[error] Expected: ...Y */
991[error] ...ball
992[error]
993[error] ...itch
994[error]
995[error] ...se {
996[error] ...pty)
997[error] ... = {
998[error] ...ch {
999[error] ...=> {
1000[error] ...mber
1001[error] ...Ref]
1002[error] ...=> {
1003[error] ...name
1004[error] ...Ref]
1005[error] ...=> {
1006[error] ...name
1007[error] ...Ref]
1008[error] ...=> {
1009[error] ...cala.[c]ol...on[.Java]Co...s.[b]uffer[AsJ]a[vaLi]s[tCon]v[erter]({
1010[error] ...x =>
1011[error] ... x
1012[error] ... }
1013[error] ...Java
1014[error] ...Ref]
1015[error] ...ex")
1016[error] }
1017[error] }
1018[error] ... = {
1019[error] ...ch {
1020[error] ... = {
1021[error] ...alue
1022[error] ...Int]
1023[error] ... = {
1024[error] ...ring
1025[error] ...ing]
1026[error] ... = {
1027[error] ...ring
1028[error] ...ing]
1029[error] ... = {
1030[error] ...ch {
1031[error] ...List[[_]]) =>...
1032[error] ...cala.[c]ol...on[.Java]Co...s.[asScala]It...or[Converter](arra...
1033[error] ... x
1034[error] ...oSeq
1035[error] ... }
1036[error] ..._]")
1037[error] ... }
1038[error] ...me]]
1039[error] ...ex")
1040[error] }
1041[error] ... ()
1042[error] }
1043[error] ...EMA$
1044[error] }
1045[error]
1046[error] ...er {
1047[error] ...ame\
1048[error] ...s\":
1049[error] ...]}")
1050[error] }
1051[error]
1052[info] x match the expected file and directory
1053[error] '/** MACHINE-GENERATED FROM AVRO SCHEMA. DO NOT EDIT DIRECTLY */
1054[error] package avro.examples.baseball
1055[error]
1056[error] import scala.annotation.switch
1057[error]
1058[error] final case class Wrestler(var number: Int, var first_name: String, var last_name: String, var nicknames: Seq[avro.examples.baseball.Mascot]) extends org.apache.avro.specific.SpecificRecordBase {
1059[error] def this() = this(0, "", "", Seq.empty)
1060[error] def get(field$: Int): AnyRef = {
1061[error] (field$: @switch) match {
1062[error] case 0 => {
1063[error] number
1064[error] }.asInstanceOf[AnyRef]
1065[error] case 1 => {
1066[error] first_name
1067[error] }.asInstanceOf[AnyRef]
1068[error] case 2 => {
1069[error] last_name
1070[error] }.asInstanceOf[AnyRef]
1071[error] case 3 => {
1072[error] scala.jdk.CollectionConverters.BufferHasAsJava({
1073[error] nicknames map { x =>
1074[error] x
1075[error] }
1076[error] }.toBuffer).asJava
1077[error] }.asInstanceOf[AnyRef]
1078[error] case _ => new org.apache.avro.AvroRuntimeException("Bad index")
1079[error] }
1080[error] }
1081[error] def put(field$: Int, value: Any): Unit = {
1082[error] (field$: @switch) match {
1083[error] case 0 => this.number = {
1084[error] value
1085[error] }.asInstanceOf[Int]
1086[error] case 1 => this.first_name = {
1087[error] value.toString
1088[error] }.asInstanceOf[String]
1089[error] case 2 => this.last_name = {
1090[error] value.toString
1091[error] }.asInstanceOf[String]
1092[error] case 3 => this.nicknames = {
1093[error] value match {
1094[error] case (array: java.util.List[?]) => {
1095[error] scala.jdk.CollectionConverters.IteratorHasAsScala(array.iterator).asScala.map({ x =>
1096[error] x
1097[error] }).toSeq
1098[error] }
1099[error] case _ => new org.apache.avro.AvroRuntimeException("expected array with type java.util.List[_]")
1100[error] }
1101[error] }.asInstanceOf[Seq[avro.examples.baseball.Mascot]]
1102[error] case _ => new org.apache.avro.AvroRuntimeException("Bad index")
1103[error] }
1104[error] ()
1105[error] }
1106[error] def getSchema: org.apache.avro.Schema = avro.examples.baseball.Wrestler.SCHEMA$
1107[error] }
1108[error]
1109[error] object Wrestler {
1110[error] val SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"record\",\"name\":\"Wrestler\",\"namespace\":\"avro.examples.baseball\",\"fields\":[{\"name\":\"number\",\"type\":\"int\"},{\"name\":\"first_name\",\"type\":\"string\"},{\"name\":\"last_name\",\"type\":\"string\"},{\"name\":\"nicknames\",\"type\":{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"Mascot\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"}]}}}]}")
1111[error] }'
1112[error] !=
1113[error] '/** MACHINE-GENERATED FROM AVRO SCHEMA. DO NOT EDIT DIRECTLY */
1114[error] package avro.examples.baseball
1115[error]
1116[error] import scala.annotation.switch
1117[error]
1118[error] final case class Wrestler(var number: Int, var first_name: String, var last_name: String, var nicknames: Seq[avro.examples.baseball.Mascot]) extends org.apache.avro.specific.SpecificRecordBase {
1119[error] def this() = this(0, "", "", Seq.empty)
1120[error] def get(field$: Int): AnyRef = {
1121[error] (field$: @switch) match {
1122[error] case 0 => {
1123[error] number
1124[error] }.asInstanceOf[AnyRef]
1125[error] case 1 => {
1126[error] first_name
1127[error] }.asInstanceOf[AnyRef]
1128[error] case 2 => {
1129[error] last_name
1130[error] }.asInstanceOf[AnyRef]
1131[error] case 3 => {
1132[error] scala.collection.JavaConverters.bufferAsJavaListConverter({
1133[error] nicknames map { x =>
1134[error] x
1135[error] }
1136[error] }.toBuffer).asJava
1137[error] }.asInstanceOf[AnyRef]
1138[error] case _ => new org.apache.avro.AvroRuntimeException("Bad index")
1139[error] }
1140[error] }
1141[error] def put(field$: Int, value: Any): Unit = {
1142[error] (field$: @switch) match {
1143[error] case 0 => this.number = {
1144[error] value
1145[error] }.asInstanceOf[Int]
1146[error] case 1 => this.first_name = {
1147[error] value.toString
1148[error] }.asInstanceOf[String]
1149[error] case 2 => this.last_name = {
1150[error] value.toString
1151[error] }.asInstanceOf[String]
1152[error] case 3 => this.nicknames = {
1153[error] value match {
1154[error] case (array: java.util.List[_]) => {
1155[error] scala.collection.JavaConverters.asScalaIteratorConverter(array.iterator).asScala.map({ x =>
1156[error] x
1157[error] }).toSeq
1158[error] }
1159[error] case _ => new org.apache.avro.AvroRuntimeException("expected array with type java.util.List[_]")
1160[error] }
1161[error] }.asInstanceOf[Seq[avro.examples.baseball.Mascot]]
1162[error] case _ => new org.apache.avro.AvroRuntimeException("Bad index")
1163[error] }
1164[error] ()
1165[error] }
1166[error] def getSchema: org.apache.avro.Schema = avro.examples.baseball.Wrestler.SCHEMA$
1167[error] }
1168[error]
1169[error] object Wrestler {
1170[error] val SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"record\",\"name\":\"Wrestler\",\"namespace\":\"avro.examples.baseball\",\"fields\":[{\"name\":\"number\",\"type\":\"int\"},{\"name\":\"first_name\",\"type\":\"string\"},{\"name\":\"last_name\",\"type\":\"string\"},{\"name\":\"nicknames\",\"type\":{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"Mascot\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"}]}}}]}")
1171[error] }'
1172[error] '/** MACHINE-GENERATED FROM AVRO SCHEMA. DO NOT EDIT DIRECTLY */
1173[error] package avro.examples.baseball
1174[error]
1175[error] import scala.annotation.switch
1176[error]
1177[error] final case class Wrestler(var number: Int, var first_name: String, var last_name: String, var nicknames: Seq[avro.examples.baseball.Mascot]) extends org.apache.avro.specific.SpecificRecordBase {
1178[error] def this() = this(0, "", "", Seq.empty)
1179[error] def get(field$: Int): AnyRef = {
1180[error] (field$: @switch) match {
1181[error] case 0 => {
1182[error] number
1183[error] }.asInstanceOf[AnyRef]
1184[error] case 1 => {
1185[error] first_name
1186[error] }.asInstanceOf[AnyRef]
1187[error] case 2 => {
1188[error] last_name
1189[error] }.asInstanceOf[AnyRef]
1190[error] case 3 => {
1191[error] scala.jdk.CollectionConverters.BufferHasAsJava({
1192[error] nicknames map { x =>
1193[error] x
1194[error] }
1195[error] }.toBuffer).asJava
1196[error] }.asInstanceOf[AnyRef]
1197[error] case _ => new org.apache.avro.AvroRuntimeException("Bad index")
1198[error] }
1199[error] }
1200[error] def put(field$: Int, value: Any): Unit = {
1201[error] (field$: @switch) match {
1202[error] case 0 => this.number = {
1203[error] value
1204[error] }.asInstanceOf[Int]
1205[error] case 1 => this.first_name = {
1206[error] value.toString
1207[error] }.asInstanceOf[String]
1208[error] case 2 => this.last_name = {
1209[error] value.toString
1210[error] }.asInstanceOf[String]
1211[error] case 3 => this.nicknames = {
1212[error] value match {
1213[error] case (array: java.util.List[?]) => {
1214[error] scala.jdk.CollectionConverters.IteratorHasAsScala(array.iterator).asScala.map({ x =>
1215[error] x
1216[error] }).toSeq
1217[error] }
1218[error] case _ => new org.apache.avro.AvroRuntimeException("expected array with type java.util.List[_]")
1219[error] }
1220[error] }.asInstanceOf[Seq[avro.examples.baseball.Mascot]]
1221[error] case _ => new org.apache.avro.AvroRuntimeException("Bad index")
1222[error] }
1223[error] ()
1224[error] }
1225[error] def getSchema: org.apache.avro.Schema = avro.examples.baseball.Wrestler.SCHEMA$
1226[error] }
1227[error]
1228[error] object Wrestler {
1229[error] val SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"record\",\"name\":\"Wrestler\",\"namespace\":\"avro.examples.baseball\",\"fields\":[{\"name\":\"number\",\"type\":\"int\"},{\"name\":\"first_name\",\"type\":\"string\"},{\"name\":\"last_name\",\"type\":\"string\"},{\"name\":\"nicknames\",\"type\":{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"Mascot\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"}]}}}]}")
1230[error] }' != '/** MACHINE-GENERATED FROM AVRO SCHEMA. DO NOT EDIT DIRECTLY */
1231[error] package avro.examples.baseball
1232[error]
1233[error] import scala.annotation.switch
1234[error]
1235[error] final case class Wrestler(var number: Int, var first_name: String, var last_name: String, var nicknames: Seq[avro.examples.baseball.Mascot]) extends org.apache.avro.specific.SpecificRecordBase {
1236[error] def this() = this(0, "", "", Seq.empty)
1237[error] def get(field$: Int): AnyRef = {
1238[error] (field$: @switch) match {
1239[error] case 0 => {
1240[error] number
1241[error] }.asInstanceOf[AnyRef]
1242[error] case 1 => {
1243[error] first_name
1244[error] }.asInstanceOf[AnyRef]
1245[error] case 2 => {
1246[error] last_name
1247[error] }.asInstanceOf[AnyRef]
1248[error] case 3 => {
1249[error] scala.collection.JavaConverters.bufferAsJavaListConverter({
1250[error] nicknames map { x =>
1251[error] x
1252[error] }
1253[error] }.toBuffer).asJava
1254[error] }.asInstanceOf[AnyRef]
1255[error] case _ => new org.apache.avro.AvroRuntimeException("Bad index")
1256[error] }
1257[error] }
1258[error] def put(field$: Int, value: Any): Unit = {
1259[error] (field$: @switch) match {
1260[error] case 0 => this.number = {
1261[error] value
1262[error] }.asInstanceOf[Int]
1263[error] case 1 => this.first_name = {
1264[error] value.toString
1265[error] }.asInstanceOf[String]
1266[error] case 2 => this.last_name = {
1267[error] value.toString
1268[error] }.asInstanceOf[String]
1269[error] case 3 => this.nicknames = {
1270[error] value match {
1271[error] case (array: java.util.List[_]) => {
1272[error] scala.collection.JavaConverters.asScalaIteratorConverter(array.iterator).asScala.map({ x =>
1273[error] x
1274[error] }).toSeq
1275[error] }
1276[error] case _ => new org.apache.avro.AvroRuntimeException("expected array with type java.util.List[_]")
1277[error] }
1278[error] }.asInstanceOf[Seq[avro.examples.baseball.Mascot]]
1279[error] case _ => new org.apache.avro.AvroRuntimeException("Bad index")
1280[error] }
1281[error] ()
1282[error] }
1283[error] def getSchema: org.apache.avro.Schema = avro.examples.baseball.Wrestler.SCHEMA$
1284[error] }
1285[error]
1286[error] object Wrestler {
1287[error] val SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"record\",\"name\":\"Wrestler\",\"namespace\":\"avro.examples.baseball\",\"fields\":[{\"name\":\"number\",\"type\":\"int\"},{\"name\":\"first_name\",\"type\":\"string\"},{\"name\":\"last_name\",\"type\":\"string\"},{\"name\":\"nicknames\",\"type\":{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"Mascot\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"}]}}}]}")
1288[error] }' (SpecificGeneratorToolSpec.scala:78)
1289[error]
1290[error] Actual: ...Y */
1291[error] ...ball
1292[error]
1293[error] ...itch
1294[error]
1295[error] ...se {
1296[error] ...pty)
1297[error] ... = {
1298[error] ...ch {
1299[error] ...=> {
1300[error] ...mber
1301[error] ...Ref]
1302[error] ...=> {
1303[error] ...name
1304[error] ...Ref]
1305[error] ...=> {
1306[error] ...name
1307[error] ...Ref]
1308[error] ...=> {
1309[error] ...cala.[jdk.C]ol...on[]Co...s.[B]uffer[H]a[]s[AsJa]v[a]({
1310[error] ...x =>
1311[error] ... x
1312[error] ... }
1313[error] ...Java
1314[error] ...Ref]
1315[error] ...ex")
1316[error] }
1317[error] }
1318[error] ... = {
1319[error] ...ch {
1320[error] ... = {
1321[error] ...alue
1322[error] ...Int]
1323[error] ... = {
1324[error] ...ring
1325[error] ...ing]
1326[error] ... = {
1327[error] ...ring
1328[error] ...ing]
1329[error] ... = {
1330[error] ...ch {
1331[error] ...List[[?]]) =>...
1332[error] ...cala.[jdk.C]ol...on[]Co...s.[]It...or[HasAsScala](arra...
1333[error] ... x
1334[error] ...oSeq
1335[error] ... }
1336[error] ..._]")
1337[error] ... }
1338[error] ...ot]]
1339[error] ...ex")
1340[error] }
1341[error] ... ()
1342[error] }
1343[error] ...EMA$
1344[error] }
1345[error]
1346[error] ...er {
1347[error] ..."nam
1348[error] ...s\":
1349[error] ...]}")
1350[error] }
1351[error] Expected: ...Y */
1352[error] ...ball
1353[error]
1354[error] ...itch
1355[error]
1356[error] ...se {
1357[error] ...pty)
1358[error] ... = {
1359[error] ...ch {
1360[error] ...=> {
1361[error] ...mber
1362[error] ...Ref]
1363[error] ...=> {
1364[error] ...name
1365[error] ...Ref]
1366[error] ...=> {
1367[error] ...name
1368[error] ...Ref]
1369[error] ...=> {
1370[error] ...cala.[c]ol...on[.Java]Co...s.[b]uffer[AsJ]a[vaLi]s[tCon]v[erter]({
1371[error] ...x =>
1372[error] ... x
1373[error] ... }
1374[error] ...Java
1375[error] ...Ref]
1376[error] ...ex")
1377[error] }
1378[error] }
1379[error] ... = {
1380[error] ...ch {
1381[error] ... = {
1382[error] ...alue
1383[error] ...Int]
1384[error] ... = {
1385[error] ...ring
1386[error] ...ing]
1387[error] ... = {
1388[error] ...ring
1389[error] ...ing]
1390[error] ... = {
1391[error] ...ch {
1392[error] ...List[[_]]) =>...
1393[error] ...cala.[c]ol...on[.Java]Co...s.[asScala]It...or[Converter](arra...
1394[error] ... x
1395[error] ...oSeq
1396[error] ... }
1397[error] ..._]")
1398[error] ... }
1399[error] ...ot]]
1400[error] ...ex")
1401[error] }
1402[error] ... ()
1403[error] }
1404[error] ...EMA$
1405[error] }
1406[error]
1407[error] ...er {
1408[error] ..."nam
1409[error] ...s\":
1410[error] ...]}")
1411[error] }
1412[error]
1413[info]
1414[info]
1415[info] Total for specification SpecificGeneratorToolSpec
1416[info] Finished in 410 ms
1417[info] 5 examples, 2 failures, 0 error
1418[info]
1419
1420************************
1421Build summary:
1422[{
1423 "module": "avrohugger-core",
1424 "compile": {"status": "ok", "tookMs": 15369, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
1425 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
1426 "test-compile": {"status": "ok", "tookMs": 8194, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
1427 "test": {"status": "failed", "tookMs": 3654, "passed": 233, "failed": 8, "ignored": 0, "skipped": 1, "total": 242, "byFramework": [{"framework": "specs2", "stats": {"passed": 233, "failed": 8, "ignored": 0, "skipped": 1, "total": 242}}]},
1428 "publish": {"status": "skipped", "tookMs": 0},
1429 "metadata": {
1430 "crossScalaVersions": ["2.12.20", "2.13.17", "3.3.7"]
1431}
1432},{
1433 "module": "avrohugger-filesorter",
1434 "compile": {"status": "ok", "tookMs": 902, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
1435 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
1436 "test-compile": {"status": "ok", "tookMs": 717, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
1437 "test": {"status": "ok", "tookMs": 422, "passed": 3, "failed": 0, "ignored": 0, "skipped": 0, "total": 3, "byFramework": [{"framework": "specs2", "stats": {"passed": 3, "failed": 0, "ignored": 0, "skipped": 0, "total": 3}}]},
1438 "publish": {"status": "skipped", "tookMs": 0},
1439 "metadata": {
1440 "crossScalaVersions": ["2.12.20", "2.13.17", "3.3.7"]
1441}
1442},{
1443 "module": "avrohugger-tools",
1444 "compile": {"status": "ok", "tookMs": 1173, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
1445 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
1446 "test-compile": {"status": "ok", "tookMs": 1215, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
1447 "test": {"status": "failed", "tookMs": 1187, "passed": 15, "failed": 2, "ignored": 0, "skipped": 0, "total": 17, "byFramework": [{"framework": "specs2", "stats": {"passed": 15, "failed": 2, "ignored": 0, "skipped": 0, "total": 17}}]},
1448 "publish": {"status": "skipped", "tookMs": 0},
1449 "metadata": {
1450 "crossScalaVersions": ["2.12.20", "2.13.17", "3.3.7"]
1451}
1452}]
1453************************
1454[error] Scala3CommunityBuild$ProjectBuildFailureException: 2 module(s) finished with failures: avrohugger-core, avrohugger-tools
1455[error] (Global / runBuild) Scala3CommunityBuild$ProjectBuildFailureException: 2 module(s) finished with failures: avrohugger-core, avrohugger-tools
1456[error] Total time: 82 s (0:01:22.0), completed Nov 28, 2025, 2:22:45 PM
1457[0JBuild failed, not retrying.