Build Logs

greenfossil/data-mapping • 3.8.0-RC2:2025-11-28

Errors

0

Warnings

0

Total Lines

453

1##################################
2Clonning https://github.com/greenfossil/data-mapping.git into /build/repo using revision v1.3.2
3##################################
4Note: switching to '180a2f2af9bc556a633a4033537fa144e7e1d115'.
5
6You are in 'detached HEAD' state. You can look around, make experimental
7changes and commit them, and you can discard any commits you make in this
8state without impacting any branches by switching back to a branch.
9
10If you want to create a new branch to retain commits you create, you may
11do so (now or later) by using -c with the switch command. Example:
12
13 git switch -c <new-branch-name>
14
15Or undo this operation with:
16
17 git switch -
18
19Turn off this advice by setting config variable advice.detachedHead to false
20
21Would override fixed Scala version: 3.7.1
22----
23Preparing build for 3.8.0-RC2
24Scala binary version found: 3.8
25Using configured source version: 3.3
26Scala binary version found: 3.8
27Using configured source version: 3.3
28Would try to apply common scalacOption (best-effort, sbt/mill only):
29Append: ,REQUIRE:-source:3.3
30Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
31
32Try apply source patch:
33Path: build.sbt
34Pattern: val scala3Version = "3.7.1"
35Replacement: val scala3Version = "3.8.0-RC2"
36Starting compilation server
37Compiling project (Scala 3.7.3, JVM (17))
38Compiled project (Scala 3.7.3, JVM (17))
39Successfully applied pattern 'val scala3Version = "3.7.1"' in build.sbt
40----
41Starting build for 3.8.0-RC2
42Execute tests: true
43sbt project found:
44Sbt version 1.11.3 is not supported, minimal supported version is 1.11.5
45Enforcing usage of sbt in version 1.11.5
46No prepare script found for project greenfossil/data-mapping
47##################################
48Scala version: 3.8.0-RC2
49Targets: com.greenfossil%data-mapping
50Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","sourceVersion":"3.3","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3Version = \"3.7.1\"","replaceWith":"val scala3Version = \"<SCALA_VERSION>\""}]}
51##################################
52Using extra scalacOptions: ,REQUIRE:-source:3.3
53Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
54[sbt_options] declare -a sbt_options=()
55[process_args] java_version = '17'
56[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
57# Executing command line:
58java
59-Dfile.encoding=UTF-8
60-Dcommunitybuild.scala=3.8.0-RC2
61-Dcommunitybuild.project.dependencies.add=
62-Xmx7G
63-Xms4G
64-Xss8M
65-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
66-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
67-jar
68/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
69"setCrossScalaVersions 3.8.0-RC2"
70"++3.8.0-RC2 -v"
71"mapScalacOptions ",REQUIRE:-source:3.3,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
72"set every credentials := Nil"
73"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
74"removeScalacOptionsStartingWith -P:wartremover"
75
76moduleMappings
77"runBuild 3.8.0-RC2 """{"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","sourceVersion":"3.3","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3Version = \"3.7.1\"","replaceWith":"val scala3Version = \"<SCALA_VERSION>\""}]}""" com.greenfossil%data-mapping"
78
79[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
80[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
81[info] loading project definition from /build/repo/project
82[info] compiling 2 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
83[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
84[info] Compilation completed in 7.856s.
85[info] done compiling
86[info] loading settings for project dataMapping from build.sbt, publish.sbt...
87[info] set current project to data-mapping (in build file:/build/repo/)
88Execute setCrossScalaVersions: 3.8.0-RC2
89OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in dataMapping/crossScalaVersions
90OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC2) in dataMapping/crossScalaVersions
91[info] set current project to data-mapping (in build file:/build/repo/)
92[info] Setting Scala version to 3.8.0-RC2 on 1 projects.
93[info] Switching Scala version on:
94[info] * dataMapping (3.8.0-RC2)
95[info] Excluding projects:
96[info] Reapplying settings...
97[info] set current project to data-mapping (in build file:/build/repo/)
98Execute mapScalacOptions: ,REQUIRE:-source:3.3,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
99[info] Reapplying settings...
100[info] set current project to data-mapping (in build file:/build/repo/)
101[info] Defining Global / credentials, ThisBuild / credentials, credentials
102[info] The new values will be used by Global / pgpSelectPassphrase, Global / pgpSigningKey and 5 others.
103[info] Run `last` for details.
104[info] Reapplying settings...
105[info] set current project to data-mapping (in build file:/build/repo/)
106Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
107[info] Reapplying settings...
108OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
109
110 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
111 Did you mean allExcludeDependencies ?
112 , retry without global scopes
113[info] Reapplying settings...
114[info] set current project to data-mapping (in build file:/build/repo/)
115Execute removeScalacOptionsStartingWith: -P:wartremover
116[info] Reapplying settings...
117[info] set current project to data-mapping (in build file:/build/repo/)
118[success] Total time: 0 s, completed Nov 28, 2025, 1:26:26 PM
119Build config: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","sourceVersion":"3.3","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3Version = \"3.7.1\"","replaceWith":"val scala3Version = \"<SCALA_VERSION>\""}]}
120Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
121Starting build...
122Projects: Set(dataMapping)
123Starting build for ProjectRef(file:/build/repo/,dataMapping) (data-mapping)... [0/1]
124OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.3` in Scala 2.12.20 module Global
125OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
126OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
127Compile scalacOptions: -language:implicitConversions, -Wunused:all, -Wconf:msg=can be rewritten automatically under:s, -source:3.3
128[info] compiling 13 Scala sources to /build/repo/target/scala-3.8.0-RC2/classes ...
129[info] done compiling
130[info] compiling 28 Scala sources to /build/repo/target/scala-3.8.0-RC2/test-classes ...
131[info] done compiling
132com.greenfossil.data.mapping.MappingBind7_IgnoredMappingSuite:
133 + ignored 0.025s
134 + ignored with None as default 0.008s
135 + bind to ignored[Map] 0.004s
136com.greenfossil.data.mapping.SampleMappingSuite:
137 + required string 0.025s
138 + optional string 0.009s
139 + required temporal 0.012s
140com.greenfossil.data.mapping.MappingCaseClassBindNameSuite:
141 + case class Form - field-based verify 0.007s
142 + case class Form - form-based verifying success 0.002s
143 + case class Form - form-based verifying failure 0.003s
144 + form seq binding with verifying 0.004s
145com.greenfossil.data.mapping.LargeCaseClassMappingSuite:
146 + large case class 0.006s
147com.greenfossil.data.mapping.MappingBind1_FieldMappingSuite:
148 + string 0.024s
149 + int 0.041s
150 + long 0.002s
151 + double 0.003s
152 + float 0.001s
153 + boolean 0.005s
154 + boolean's binding value 0.002s
155 + local date 0.004s
156 + local time 0.001s
157 + local date time 0.011s
158 + sql date 0.007s
159 + sql time stamp 0.002s
160 + uuid 0.001s
161 + byte 0.001s
162 + short 0.001s
163 + big decimal 0.008s
164 + char 0.004s
165 + year month type 0.007s
166 + LocalDate with pattern field 0.011s
167 + Bind error 0.001s
168com.greenfossil.data.mapping.MappingBugSuite:
169 + filled in form should not have errors 0.022s
170 + fill form for delegate mapping should not have errors 0.004s
171 + fill form for product mapping should not have errors 0.034s
172 + fill form for seq[Long] should not have errors 0.006s
173 + nonEmptyText verifying constraints 0.003s
174 + bind FieldMapping.apply(...) with text.bindname 0.01s
175 + get constraints and errors from form 0.012s
176 + tuple mapping of required text 0.002s
177 + case class Name mapping of required text 0.009s
178 + SeqMapping.boundFieldsWithPadding should retain field count on error 0.026s
179 + SeqMapping.boundValueIndexes should show the correct value even if the form binding has errors 0.008s
180com.greenfossil.data.mapping.OptionalMappingSuite:
181 + Optional mapping with single field 0.004s
182 + Optional mapping with single field 2 0.0s
183com.greenfossil.data.mapping.MappingConstructionSuite:
184 + Text 0.001s
185 + TextAs 0.003s
186 + NonEmptyText 0.003s
187 + Int 0.001s
188 + Long 0.0s
189 + Double 0.0s
190 + Boolean 0.0s
191 + Float 0.001s
192 + LocalDateTime 0.0s
193 + LocalDate 0.0s
194 + LocalTime 0.0s
195 + YearMonth 0.001s
196 + SqlTimestamp 0.0s
197 + SqlDate 0.0s
198 + Date 0.0s
199 + UUID 0.001s
200 + Byte 0.0s
201 + Short 0.0s
202 + BigDecimal 0.0s
203 + Char 0.001s
204 + Phone 0.0s
205 + Email 0.0s
206 + MobilePhone 0.001s
207 + Default 0.0s
208 + Default Int 0.003s
209 + Default Long 0.0s
210 + Default Boolean 0.002s
211 + Optional 0.001s
212 + Checked 0.0s
213 + Filled Int 0.0s
214 + Tuple[Tuple2] 0.001s
215 + Mapping[Address] 0.003s
216 + Option[Int] 0.0s
217 + Option[P-] 0.006s
218 + Tuple[Option's delegate - Tuple] 0.0s
219 + Option[P+] 0.001s
220 + Mapping[Option's delegate - Product] 0.0s
221 + Seq[Int] 0.001s
222 + Seq[String] 0.001s
223 + Seq[P-] 0.0s
224 + Tuple[SeqMapping's element - Tuple] 0.006s
225 + Seq[P+] 0.0s
226 + Mapping[Address]-1 0.001s
227com.greenfossil.data.mapping.MappingBind4_SeqMappingSuite:
228 + Seq[Int] 0.007s
229 + List[Int] 0.001s
230 + Seq[String] 0.003s
231 + List[String] 0.002s
232 + Seq[Mapping] 0.005s
233 + bind with errors 0.001s
234 + repeated with no [] 0.001s
235 + repeated with path with no [] 0.01s
236 + repeated tuples 0.006s
237 + repeated with same index [] 0.005s
238 + repeated with empty index [] 0.003s
239 + boundFieldsWithPadding with Int 0.002s
240 + boundFieldsWithPadding with tuple 0.01s
241 + seq inside a repeatedTuple 0.001s
242com.greenfossil.data.mapping.MappingBind2_ProductMappingSuite:
243 + unnamed tuple 0.001s
244 + Tuple Mapping 2 Fields 0.006s
245 + CaseClass Mapping 2 fields 0.005s
246 + bind tuple 2 0.004s
247 + bind tuple 3 0.002s
248 + valid bind and fold 0.005s
249 + invalid bind and fold 0.01s
250 + bind tuple 1 0.001s
251 + case class Form - field-based verify 0.002s
252 + case class Form - form-based verifying success 0.006s
253 + case class Form - form-based verifying failure 0.001s
254 + form verifying 0.001s
255 + form seq binding with verifying 0.005s
256 + tuple with both error field and bound field 0.001s
257 + tuple with verifying 0.005s
258 + case class mapping 0.016s
259com.greenfossil.data.mapping.FormFillSuite:
260 + tuple 2 0.006s
261 + fill tuple 0.008s
262 + bind tuple 3 0.001s
263 + case class 2 0.008s
264 + case class 3 0.003s
265 + valid form fill 0.008s
266com.greenfossil.data.mapping.LargeTupleSuite:
267 + large case class 0.0s
268com.greenfossil.data.mapping.MappingBind8_CheckedMappingSuite:
269 + checked type 0.007s
270 + invalid default, checked type 0.003s
271 + valid default, checked type 0.001s
272com.greenfossil.data.mapping.MappingConstraintsSuite:
273 + nonEmptyText 0.003s
274 + email constraints 0.16s
275 + email 0.006s
276 + phone 0.006s
277 + mobilePhone 0.001s
278 + number 0.003s
279 + text with trim option 0.006s
280 + text without trim option 0.001s
281 + byte number 0.008s
282 + short number 0.006s
283 + long number 0.002s
284 + big decimal 0.001s
285 + custom constraint 0.002s
286com.greenfossil.data.mapping.MappingErrorSuite:
287 + Field errors 0.003s
288 + Form.withError 0.001s
289 + Form.globalErrors 0.006s
290 + Form.globalErrors with single field 0.008s
291 + Form.discardingErrors 0.002s
292com.greenfossil.data.mapping.MappingModifierSuite:
293 + set field name 0.0s
294 + set tuple field name 0.001s
295 + set mapping field name 0.001s
296 + seq field name 0.002s
297com.greenfossil.data.mapping.MiscSuite:
298 + resource-booking-mapping 0.005s
299 + LocalTime 0.002s
300com.greenfossil.data.mapping.MappingFillSuite:
301 + int 0.001s
302 + string 0.001s
303 + long 0.004s
304 + double 0.001s
305 + float 0.001s
306 + boolean 0.0s
307 + local date 0.001s
308 + local time 0.001s
309 + local date time 0.005s
310 + sql date 0.001s
311 + sql time stamp 0.001s
312 + uuid 0.0s
313 + byte 0.001s
314 + short 0.0s
315 + big decimal 0.001s
316 + char 0.0s
317 + year month type 0.001s
318 + LocalDate with pattern field 0.0s
319 + seq 0.005s
320com.greenfossil.data.mapping.MappingBind6_DefaultMappingSuite:
321 + default String type 0.006s
322 + default number 0.003s
323 + default BigDecimal type 0.001s
324 + default type with fill null 0.0s
325 + default string null 0.001s
326com.greenfossil.data.mapping.FormNestedFieldsSuite:
327 + bind case-class field 0.003s
328 + bind nested case-class 0.009s
329 + bind repeating case class field 0.003s
330 + bind tuple field 0.002s
331 + bind repeat tuple field 0.003s
332com.greenfossil.data.mapping.MappingConversionSuite:
333 + Convert Mapping[Seq[(String, Int)] to Seq[Mapping[(String,Int)]] 0.001s
334com.greenfossil.data.mapping.MappingSuite:
335 + verifying 0.001s
336 + no such key 0.005s
337com.greenfossil.data.mapping.ProductMappingPathAccessSuite:
338 + 2 level nested named tuple 0.002s
339 + 2 level nested named tuple, parent child with same name 0.003s
340 + 2 level nested anonymous tuple, parent child with same name 0.003s
341 + fill 2 level nesting field 0.008s
342 + accessing inner value of repeated tuple 0.007s
343 + Transformation fill - Option[Name] 0.009s
344 + fill - named tuple in anonymous tuple 0.007s
345 + Bind field Seq[Tuple] 0.01s
346 + 2 level nested unnamed tuple 0.001s
347 + Tuple[Seq[Tuple]] 0.005s
348com.greenfossil.data.mapping.MappingBind1_FieldMapping_HtmlSuite:
349 + html 0.006s
350 + html - script-tag 0.003s
351 + html - on-event attribute 0.011s
352 + html - src attribute 0.006s
353 + html - Dom purify samples 0.004s
354 + html - Clean html and should not remove any text 0.001s
355SLF4J(W): A number (1) of logging calls during the initialization phase have been intercepted and are
356SLF4J(W): now being replayed. These are subject to the filtering rules of the underlying logging system.
357SLF4J(W): See also https://www.slf4j.org/codes.html#replay
358com.greenfossil.data.mapping.MappingBind5_TransformMappingSuite:
359 + transform 0.006s
360 + fill form handles null 0.001s
361 + transform mapping from optional string to Seq[String] 0.002s
362 + transform mapping from optional string to Seq[String]-1 0.007s
363 + mapping to case class with transform 0.006s
364 + TransformMapping 0.002s
365 + TransformMapping bind - optional field 0.003s
366 + TransformMapping - required text to Option 0.006s
367 + test bind,fold with transform mapping using default 0.003s
368 + bind and fold with transform to case class with transform using default 0.01s
369 + fill in transform field 0.003s
370 + bind with JSON with transform 0.029s
371com.greenfossil.data.mapping.MappingBind2_ProductMappingJson_HtmlSuite:
372 + Json nested tuple fields 0.216s
373 + case class 3 0.035s
374 + bind as JSON: JsArray to repeatedTuple 0.026s
375com.greenfossil.data.mapping.MappingBind2_ProductMappingJsonSuite:
376 + Json nested tuple fields 0.335s
377 + Json nested tuple optional fields 0.055s
378 + Json nested tuple optional fields 2 0.017s
379 + bind as JSON 0.014s
380 + case class 3 0.007s
381 + bind as JSON: JsObject to tuple 0.005s
382 + bind as JSON: JsArray to repeatedTuple 0.009s
383 + bind as JSON: JsArray to seq[String] 0.003s
384 + bind from json with optional fields 0.004s
385com.greenfossil.data.mapping.MappingBind3_OptionalMappingSuite:
386 + Json nested tuple fields 0.327s
387 + optional string 0.005s
388 + optional int 0.007s
389 + fill form for optional(long) should not have errors 0.001s
390 + optional 0.001s
391 + optional with constraints 0.001s
392 + Option[Int] 0.001s
393 + Option[String] 0.001s
394 + Option(text) 0.006s
395 + Option[Tuple] 0.001s
396 + Option[Mapping] 0.004s
397 + 2 levels optional mapping with value 0.006s
398 + 2 levels optional mapping without value 0.002s
399 + top level optional mapping, inner level repeatMapping with values 0.007s
400 + top level optional mapping, inner level repeatMapping without values 0.002s
401 + form optional binding with verifying 0.003s
402 + form optional binding with verifying 2 0.008s
403 + bind tuple 1 optional[String] 0.001s
404 + bind optional[String] 0.005s
405 + bind optional(text) 0.002s
406 + bind optional with no value 0.001s
407 + bind tuple 4 - longnumber 0.001s
408 + Json optional nested tuple fields 0.009s
409 + Json optional nested tuple fields with no values 0.006s
410 + Json optional nested mapping fields with values 0.011s
411 + Json optional nested mapping fields with no values 0.005s
412 + optional fields should allow empty 0.004s
413 + optional field can use fold 0.003s
414 + tuple with optional inner field 0.004s
415 + fill optional number field 0.0s
416 + bind optional number field 0.001s
417 + fill optional nonEmptyText 0.004s
418 + bind optional nonEmptyText 0.001s
419 + bind optional(localdatetimeusing()) 0.003s
420 + bind optional(email) 0.004s
421 + bind ProductMapping.apply(...) with optional(text).bindname 0.002s
422 + tuple mapping of optional text 0.001s
423 + case class Name mapping of optional text 0.002s
424 + case class Name mapping of optional text with verify 0.002s
425 + mapping of optional text 0.003s
426 + error messages from field 0.008s
427 + optionalTuple 0.004s
428 + optionalTuple with optional(longNumber) and verifying 0.003s
429 + optionalTuple with boolean 0.001s
430 + optional verifying 0.003s
431 + optional phone 0.001s
432
433************************
434Build summary:
435[{
436 "module": "data-mapping",
437 "compile": {"status": "ok", "tookMs": 13029, "warnings": 0, "errors": 0, "sourceVersion": "3.3"},
438 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
439 "test-compile": {"status": "ok", "tookMs": 13353, "warnings": 0, "errors": 0, "sourceVersion": "3.3"},
440 "test": {"status": "ok", "tookMs": 1237, "passed": 269, "failed": 0, "ignored": 0, "skipped": 0, "total": 269, "byFramework": [{"framework": "munit", "stats": {"passed": 269, "failed": 0, "ignored": 0, "skipped": 0, "total": 269}}]},
441 "publish": {"status": "skipped", "tookMs": 0},
442 "metadata": {
443 "crossScalaVersions": ["2.12.20", "3.7.1"]
444}
445}]
446************************
447[success] Total time: 48 s, completed Nov 28, 2025, 1:27:14 PM
448[0JChecking patch project/plugins.sbt...
449Checking patch project/build.properties...
450Checking patch build.sbt...
451Applied patch project/plugins.sbt cleanly.
452Applied patch project/build.properties cleanly.
453Applied patch build.sbt cleanly.