Build Logs
pbyrne84/scala-case-class-prettification • 3.8.0-RC5:2025-12-31
Errors
0
Warnings
0
Total Lines
221
1##################################
2Clonning https://github.com/pbyrne84/scala-case-class-prettification.git into /build/repo using revision v2.0.1
3##################################
4Note: switching to '8ab4771a030cdefcb04d61cdbe64130a803240cb'.
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.4.2
22----
23Preparing build for 3.8.0-RC5
24Scala binary version found: 3.8
25Implicitly using source version 3.8
26Scala binary version found: 3.8
27Implicitly using source version 3.8
28Would try to apply common scalacOption (best-effort, sbt/mill only):
29Append: ,REQUIRE:-source:3.8
30Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
31
32Try apply source patch:
33Path: build.sbt
34Pattern: val scala3Version = "3.4.2"
35Replacement: val scala3Version = "3.8.0-RC5"
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.4.2"' in build.sbt
40----
41Starting build for 3.8.0-RC5
42Execute tests: true
43sbt project found:
44Sbt version 1.7.1 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 pbyrne84/scala-case-class-prettification
47##################################
48Scala version: 3.8.0-RC5
49Targets: uk.org.devthings%scala-case-class-prettification uk.org.devthings%scala-case-class-prettification-diff uk.org.devthings%scala-case-class-prettification-test
50Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3Version = \"3.4.2\"","replaceWith":"val scala3Version = \"<SCALA_VERSION>\""}]}
51##################################
52Using extra scalacOptions: ,REQUIRE:-source:3.8
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-RC5
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-RC5"
70"++3.8.0-RC5 -v"
71"mapScalacOptions ",REQUIRE:-source:3.8,-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-RC5 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3Version = \"3.4.2\"","replaceWith":"val scala3Version = \"<SCALA_VERSION>\""}]}""" uk.org.devthings%scala-case-class-prettification uk.org.devthings%scala-case-class-prettification-diff uk.org.devthings%scala-case-class-prettification-test"
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 9.203s.
85[info] done compiling
86[info] loading settings for project caseClassPrettificationAll from build.sbt...
87[info] set current project to caseClassPrettificationAll (in build file:/build/repo/)
88Execute setCrossScalaVersions: 3.8.0-RC5
89OpenCB::Changing crossVersion 3.8.0-RC5 -> 3.8.0-RC5 in prettifiedTest/crossScalaVersions
90OpenCB::Changing crossVersion 3.8.0-RC5 -> 3.8.0-RC5 in caseClassPrettificationAll/crossScalaVersions
91OpenCB::Changing crossVersion 3.8.0-RC5 -> 3.8.0-RC5 in prettifiedBase/crossScalaVersions
92OpenCB::Changing crossVersion 3.8.0-RC5 -> 3.8.0-RC5 in prettifiedDiff/crossScalaVersions
93[info] set current project to caseClassPrettificationAll (in build file:/build/repo/)
94[info] Setting Scala version to 3.8.0-RC5 on 4 projects.
95[info] Switching Scala version on:
96[info] * caseClassPrettificationAll (3.8.0-RC5, 2.13.10)
97[info] prettifiedBase (3.8.0-RC5, 2.13.10)
98[info] prettifiedDiff (3.8.0-RC5, 2.13.10)
99[info] prettifiedTest (3.8.0-RC5, 2.13.10)
100[info] Excluding projects:
101[info] Reapplying settings...
102[info] set current project to caseClassPrettificationAll (in build file:/build/repo/)
103Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
104[info] Reapplying settings...
105[info] set current project to caseClassPrettificationAll (in build file:/build/repo/)
106[info] Defining Global / credentials, credentials and 2 others.
107[info] The new values will be used by Global / pgpSelectPassphrase, Global / pgpSigningKey and 19 others.
108[info] Run `last` for details.
109[info] Reapplying settings...
110[info] set current project to caseClassPrettificationAll (in build file:/build/repo/)
111Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
112[info] Reapplying settings...
113OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
114
115 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
116 Did you mean prettifiedDiff / allExcludeDependencies ?
117 , retry without global scopes
118[info] Reapplying settings...
119[info] set current project to caseClassPrettificationAll (in build file:/build/repo/)
120Execute removeScalacOptionsStartingWith: -P:wartremover
121[info] Reapplying settings...
122[info] set current project to caseClassPrettificationAll (in build file:/build/repo/)
123[success] Total time: 0 s, completed Dec 31, 2025, 10:13:16 PM
124Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3Version = \"3.4.2\"","replaceWith":"val scala3Version = \"<SCALA_VERSION>\""}]}
125Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
126Starting build...
127Projects: Set(prettifiedBase, prettifiedDiff, prettifiedTest)
128Starting build for ProjectRef(file:/build/repo/,prettifiedBase) (scala-case-class-prettification)... [0/3]
129OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
130OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
131Compile scalacOptions: -encoding, utf8, -language:implicitConversions, -language:existentials, -unchecked, -no-indent, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
132[info] compiling 6 Scala sources to /build/repo/modules/scala-case-class-prettification/target/scala-3.8.0-RC5/classes ...
133[info] done compiling
134[info] compiling 2 Scala sources to /build/repo/modules/scala-case-class-prettification/target/scala-3.8.0-RC5/test-classes ...
135[info] done compiling
136[info] TemporalPrettifierActionSpec:
137[info] attempt
138[info] - should render LocalDate
139[info] - should render LocalDateDateTime
140[info] - should render Instant
141[info] - should render ZonedDateTime
142NestedOptionalInt(
143 fieldName1 = 4,
144 fieldName2 = Some(6)
145)
146[info] CaseClassPrettifierTest:
147[info] GenericPrettifier
148[info] - should handle a null safely for badly behaving apis
149[info] - should format a list with 1 item which is an int
150[info] - should format a list with 1 item which is a string
151[info] - should format a list with multiple items
152[info] - should format a vector with multiple items
153[info] - should format an mutable array with multiple items
154[info] - should format an mutable seq with multiple items
155[info] - should format a simple case class with a single primitive
156[info] - should format a list of simple case class with a single primitive
157[info] - should format a simple case class with a list of primitives
158[info] - should format a simple case class multiple single values
159[info] - should format a simple case class multiple single values where one value is null
160[info] - should format a simple nested case class multiple single values
161[info] - should format a simple nested case class where one value is an option with a case class as a value
162[info] - should format a simple nested case class where one value is an optional int
163[info] - should format a simple nested case class where one value is an option with a value of None
164[info] - should handle multi level indentation
165[info] - should handle a list of tuples
166[info] - should cope with instances of abstract case class
167Starting build for ProjectRef(file:/build/repo/,prettifiedDiff) (scala-case-class-prettification-diff)... [1/3]
168Compile scalacOptions: -encoding, utf8, -language:implicitConversions, -language:existentials, -unchecked, -no-indent, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
169[info] compiling 1 Scala source to /build/repo/modules/scala-case-class-prettification-diff/target/scala-3.8.0-RC5/classes ...
170[info] done compiling
171Starting build for ProjectRef(file:/build/repo/,prettifiedTest) (scala-case-class-prettification-test)... [2/3]
172Compile scalacOptions: -encoding, utf8, -language:implicitConversions, -language:existentials, -unchecked, -no-indent, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
173[info] compiling 1 Scala source to /build/repo/modules/scala-case-class-prettification-test/target/scala-3.8.0-RC5/classes ...
174[info] done compiling
175[info] compiling 1 Scala source to /build/repo/modules/scala-case-class-prettification-test/target/scala-3.8.0-RC5/test-classes ...
176[info] done compiling
177[info] PrettifiersSpec:
178[info] scalatest prettification
179[info] - should not fail with a match error on nulls that sneak past signatures
180
181************************
182Build summary:
183[{
184 "module": "scala-case-class-prettification",
185 "compile": {"status": "ok", "tookMs": 4893, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
186 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
187 "test-compile": {"status": "ok", "tookMs": 4301, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
188 "test": {"status": "ok", "tookMs": 762, "passed": 23, "failed": 0, "ignored": 0, "skipped": 0, "total": 23, "byFramework": [{"framework": "unknown", "stats": {"passed": 23, "failed": 0, "ignored": 0, "skipped": 0, "total": 23}}]},
189 "publish": {"status": "skipped", "tookMs": 0},
190 "metadata": {
191 "crossScalaVersions": ["2.13.10", "3.4.2"]
192}
193},{
194 "module": "scala-case-class-prettification-diff",
195 "compile": {"status": "ok", "tookMs": 533, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
196 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
197 "test-compile": {"status": "ok", "tookMs": 138, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
198 "test": {"status": "ok", "tookMs": 155, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
199 "publish": {"status": "skipped", "tookMs": 0},
200 "metadata": {
201 "crossScalaVersions": ["2.13.10", "3.4.2"]
202}
203},{
204 "module": "scala-case-class-prettification-test",
205 "compile": {"status": "ok", "tookMs": 441, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
206 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
207 "test-compile": {"status": "ok", "tookMs": 997, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
208 "test": {"status": "ok", "tookMs": 325, "passed": 1, "failed": 0, "ignored": 0, "skipped": 0, "total": 1, "byFramework": [{"framework": "unknown", "stats": {"passed": 1, "failed": 0, "ignored": 0, "skipped": 0, "total": 1}}]},
209 "publish": {"status": "skipped", "tookMs": 0},
210 "metadata": {
211 "crossScalaVersions": ["2.13.10", "3.4.2"]
212}
213}]
214************************
215[success] Total time: 16 s, completed Dec 31, 2025, 10:13:32 PM
216[0JChecking patch project/plugins.sbt...
217Checking patch project/build.properties...
218Checking patch build.sbt...
219Applied patch project/plugins.sbt cleanly.
220Applied patch project/build.properties cleanly.
221Applied patch build.sbt cleanly.