Build Logs

martinhh/scalacheck-derived • 3.8.0:2026-01-13

Errors

0

Warnings

9

Total Lines

295

1##################################
2Clonning https://github.com/martinhh/scalacheck-derived.git into /build/repo using revision main
3##################################
4----
5Preparing build for 3.8.0
6Scala binary version found: 3.8
7Implicitly using source version 3.8
8Scala binary version found: 3.8
9Implicitly using source version 3.8
10Would try to apply common scalacOption (best-effort, sbt/mill only):
11Append: ,REQUIRE:-source:3.8
12Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
13----
14Starting build for 3.8.0
15Execute tests: true
16sbt project found:
17No prepare script found for project martinhh/scalacheck-derived
18##################################
19Scala version: 3.8.0
20Targets: io.github.martinhh%scalacheck-derived io.github.martinhh%scalacheck-derived-extras
21Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}
22##################################
23Using extra scalacOptions: ,REQUIRE:-source:3.8
24Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
25[sbt_options] declare -a sbt_options=()
26[process_args] java_version = '17'
27[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
28# Executing command line:
29java
30-Dfile.encoding=UTF-8
31-Xss2m
32-Xms512M
33-Xmx6G
34-Dcommunitybuild.scala=3.8.0
35-Dcommunitybuild.project.dependencies.add=
36-Xmx7G
37-Xms4G
38-Xss8M
39-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
40-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
41-jar
42/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
43"setCrossScalaVersions 3.8.0"
44"++3.8.0 -v"
45"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
46"set every credentials := Nil"
47"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
48"removeScalacOptionsStartingWith -P:wartremover"
49
50moduleMappings
51"runBuild 3.8.0 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}""" io.github.martinhh%scalacheck-derived io.github.martinhh%scalacheck-derived-extras"
52
53[info] [launcher] getting org.scala-sbt sbt 1.12.0 (this may take some time)...
54[info] [launcher] getting Scala 2.12.21 (for sbt)...
55[info] welcome to sbt 1.12.0 (Eclipse Adoptium Java 17.0.8)
56[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
57[info] loading project definition from /build/repo/project
58[info] compiling 3 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
59[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.21. Compiling...
60[info] Compilation completed in 8.838s.
61[info] done compiling
62[info] loading settings for project repo from build.sbt...
63[info] set current project to repo (in build file:/build/repo/)
64Execute setCrossScalaVersions: 3.8.0
65OpenCB::Changing crossVersion 3.3.7 -> 3.8.0 in coreJVM/crossScalaVersions
66OpenCB::Changing crossVersion 3.3.7 -> 3.8.0 in extrasNative/crossScalaVersions
67OpenCB::Changing crossVersion 3.4.0 -> 3.8.0 in test34JS/crossScalaVersions
68OpenCB::Limitting incorrect crossVersions List(2.12.21) -> List(3.8.0) in coreJVM/crossScalaVersions
69OpenCB::Limitting incorrect crossVersions List(2.12.21) -> List(3.8.0) in test34JS/crossScalaVersions
70OpenCB::Changing crossVersion 3.3.7 -> 3.8.0 in coreJS/crossScalaVersions
71OpenCB::Limitting incorrect crossVersions List(2.12.21) -> List(3.8.0) in coreJS/crossScalaVersions
72OpenCB::Changing crossVersion 3.3.7 -> 3.8.0 in extrasJS/crossScalaVersions
73OpenCB::Limitting incorrect crossVersions List(2.12.21) -> List(3.8.0) in extrasNative/crossScalaVersions
74OpenCB::Limitting incorrect crossVersions List(2.12.21) -> List(3.8.0) in extrasJS/crossScalaVersions
75OpenCB::Changing crossVersion 3.4.0 -> 3.8.0 in test34Native/crossScalaVersions
76OpenCB::Limitting incorrect crossVersions List(2.12.21) -> List(3.8.0) in test34Native/crossScalaVersions
77OpenCB::Changing crossVersion 3.3.7 -> 3.8.0 in extrasJVM/crossScalaVersions
78OpenCB::Limitting incorrect crossVersions List(2.12.21) -> List(3.8.0) in extrasJVM/crossScalaVersions
79OpenCB::Changing crossVersion 3.3.7 -> 3.8.0 in coreNative/crossScalaVersions
80OpenCB::Limitting incorrect crossVersions List(2.12.21) -> List(3.8.0) in coreNative/crossScalaVersions
81OpenCB::Changing crossVersion 3.4.0 -> 3.8.0 in test34JVM/crossScalaVersions
82OpenCB::Limitting incorrect crossVersions List(2.12.21) -> List(3.8.0) in test34JVM/crossScalaVersions
83[info] set current project to repo (in build file:/build/repo/)
84[info] Setting Scala version to 3.8.0 on 9 projects.
85[info] Switching Scala version on:
86[info] test34Native (3.8.0)
87[info] extrasJS (3.8.0)
88[info] extrasNative (3.8.0)
89[info] coreNative (3.8.0)
90[info] coreJS (3.8.0)
91[info] test34JS (3.8.0)
92[info] test34JVM (3.8.0)
93[info] coreJVM (3.8.0)
94[info] extrasJVM (3.8.0)
95[info] Excluding projects:
96[info] * repo (2.12.21)
97[info] Reapplying settings...
98[info] set current project to repo (in build file:/build/repo/)
99Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
100[info] Reapplying settings...
101[info] set current project to repo (in build file:/build/repo/)
102[info] Defining Global / credentials, coreJS / credentials and 8 others.
103[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 79 others.
104[info] Run `last` for details.
105[info] Reapplying settings...
106[info] set current project to repo (in build file:/build/repo/)
107Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
108[info] Reapplying settings...
109OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
110
111 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
112 Did you mean allExcludeDependencies ?
113 , retry without global scopes
114[info] Reapplying settings...
115[info] set current project to repo (in build file:/build/repo/)
116Execute removeScalacOptionsStartingWith: -P:wartremover
117[info] Reapplying settings...
118[info] set current project to repo (in build file:/build/repo/)
119[success] Total time: 0 s, completed Jan 13, 2026, 5:13:29 PM
120Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}
121Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
122Starting build...
123Projects: Set(coreJVM, extrasJVM)
124Starting build for ProjectRef(file:/build/repo/,coreJVM) (scalacheck-derived)... [0/2]
125OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.21 module Global
126OpenCB::Filter out '-Xfatal-warnings', matches setting pattern '^-?-Xfatal-warnings'
127Compile scalacOptions: -Wunused:all, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
128[info] compiling 8 Scala sources to /build/repo/core/.jvm/target/scala-3.8.0/classes ...
129[info] done compiling
130[info] compiling 9 Scala sources to /build/repo/core/.jvm/target/scala-3.8.0/test-classes ...
131[info] done compiling
132io.github.martinhh.derived.MacrosSuite:
133 + isShrinkAnyMacro returns true if there is no other Shrink in scope 0.017s
134 + isShrinkAnyMacro returns false if a given Shrink is defined in local scope 0.001s
135 + isShrinkAnyMacro returns false if a given Shrink is defined in the companion 0.005s
136io.github.martinhh.ConfiguredArbitraryDerivingSuite:
137 + custom conf via explicit call without conf in scope 0.157s
138 + custom conf via explicit call with conf in scope 0.025s
139 + custom conf via given import without conf in scope 0.015s
140 + custom conf via given import with conf in scope 0.013s
141io.github.martinhh.CogenDerivingSuite:
142 + deriveCogen allows to derive a given without loop of given definition 0.156s
143 + deriveCogen supports recursive structures 0.043s
144 + deriveCogen uses existing given factories (e.g. for Lists) 0.211s
145 + deriveCogen uses existing givens for subtypes of sumtypes (instead of deriving them) 0.025s
146 + deriveCogenShallow succeeds for simple case class 0.016s
147 + deriveCogenShallow fails for case class containing another case class 0.01s
148 + deriveCogenShallow succeeds for case class containing another case class if an instance for that is available 0.018s
149 + deriveCogenShallow succeeds for ADT if subclasses are derivable via deriveShallow 0.013s
150 + deriveCogenShallow fails for ADT if a subclass is not derivable via deriveShallow 0.009s
151 + deriveCogenShallow succeeds for ADT if a subclass is made derivable via deriveShallow by required instances in scope 0.014s
152 + deriveCogenShallow prefers existing instance for ADT-subtypes 0.014s
153 + deriveCogenShallow supports nested sealed traits (with recursion) 0.017s
154 + deriveCogenExtraShallow succeeds for simple case class 0.006s
155 + deriveCogenExtraShallow fails for case class containing another case class 0.004s
156 + deriveCogenExtraShallow succeeds for case class containing another case class if an instance for that is available 0.006s
157 + deriveCogenExtraShallow fails for simple adt if no instances for that are in scope 0.002s
158 + deriveCogenExtraShallow succeeds for simple ADT if subclasses are derivable via deriveShallow 0.011s
159 + perturbs to same seeds as non-derived expected Cogen (for simple ADT) 0.013s
160 + perturbs to same seeds as non-derived expected Cogen (for simple Enum) 0.008s
161 + perturbs to same seeds as non-derived expected Cogen (for case class with containers) 0.119s
162 + given derivation does not take precedence over existing givens 0.008s
163 + given derivation does not take precedence over existing givens for subtypes of sumtypes 0.006s
164 + given derivation of child-instances does not take precedence over existing givens 0.061s
165 + given derivation does not take precedence over existing given factories (e.g. for Lists) 0.077s
166 + given derivation supports recursive structures 0.013s
167 + given derivation supports recursive structures (across nested sealed traits) 0.014s
168 + given derivation supports recursive structures (across more complex nested structures) 0.01s
169 + given derivation supports direct recursion 0.008s
170 + enables derivation of Arbitrary instances for functions 0.006s
171 + error message for non derivable members of sum type 0.001s
172 + supports case classes with up to 26 fields (if -Xmax-inlines=32) 0.003s
173 + supports enums with up to 24 members (if -Xmax-inlines=32) 0.005s
174io.github.martinhh.ArbitraryDerivingSuite:
175 + deriveArbitrary allows to derive a given without loop of given definition 0.176s
176 + deriveArbitrary supports recursive structures 0.138s
177 + deriveArbitrary uses existing given factories (e.g. for Lists) 0.275s
178 + deriveArbitrary uses existing givens for subtypes of sumtypes (instead of deriving them) 0.002s
179 + deriveArbitraryShallow succeeds for simple case class 0.004s
180 + deriveArbitraryShallow fails for case class containing another case class 0.001s
181 + deriveArbitraryShallow succeeds for case class containing another case class if an instance for that is available 0.011s
182 + deriveArbitraryShallow succeeds for ADT if subclasses are derivable via deriveShallow 0.006s
183 + deriveArbitraryShallow fails for ADT if a subclass is not derivable via deriveShallow 0.003s
184 + deriveArbitraryShallow succeeds for ADT if a subclass is made derivable via deriveShallow by required instances in scope 0.009s
185 + deriveArbitraryShallow prefers existing instance for ADT-subtypes 0.008s
186 + deriveArbitraryShallow supports recursive sum types 0.094s
187 + deriveArbitraryShallow supports nested sealed traits (with diamond inheritance) 0.021s
188 + deriveArbitraryShallow supports nested sealed traits (with recursion) 0.012s
189 + deriveArbitraryExtraShallow succeeds for simple case class 0.012s
190 + deriveArbitraryExtraShallow fails for case class containing another case class 0.005s
191 + deriveArbitraryExtraShallow succeeds for case class containing another case class if an instance for that is available 0.009s
192 + deriveArbitraryExtraShallow fails for simple adt if no instances for that are in scope 0.001s
193 + deriveArbitraryExtraShallow succeeds for simple adt if instances for all subtypes are available 0.006s
194 + Generates same values as non-derived Gen (for simple case class) 0.005s
195 + Generates same values as non-derived Gen (for case class with containers) 0.109s
196 + Generates same values as non-derived Gen (for simple ADT) 0.006s
197 + Generates same values as non-derived Gen (for simple Enum) 0.003s
198 + Generates same values as non-derived Gen (for more complex example) 0.025s
199 + Gives precedence to any arbitraries in local scope 0.007s
200 + given derivation does not take precedence over existing givens 0.0s
201 + given derivation does not take precedence over existing givens for subtypes of sumtypes 0.002s
202 + given derivation of child-instances does not take precedence over existing givens 0.001s
203 + given derivation does not take precedence over existing given factories (e.g. for Lists) 0.123s
204 + supports recursive structures 0.005s
205 + supports recursive structures (across nested sealed traits) 0.005s
206 + supports recursive structures (across more complex nested structures) 0.007s
207 + supports direct recursion) 0.004s
208 + supports tree-like data structures (without blowing the stack) 0.056s
209 + with size 0 and RecursionFallback, the fallback is used always 0.003s
210 + supports RecursionFallback.apply(constValue) 0.007s
211 + supports RecursionFallback.apply(gen) 0.008s
212 + supports RecursionFallback.apply[Tree, Leaf] 0.012s
213 + even distribution in sealed traits with diamond inheritance 0.005s
214 + error message for non derivable members of sum type 0.001s
215 + supports case classes with up to 26 fields (if -Xmax-inlines=32) 0.0s
216 + supports enums with up to 24 members (if -Xmax-inlines=32) 0.001s
217io.github.martinhh.ShrinkDerivingSuite:
218 + shrinks to empty Stream for EmptyTuple 0.03s
219 + deriveShrink supports recursive structures 0.648s
220 + deriveShrink uses existing given factories (e.g. for Lists) 0.439s
221 + deriveShrink uses existing givens for subtypes of sumtypes (instead of deriving them) 0.008s
222 + shrinks to the same values as non-derived expected Shrink (for simple case class) 0.117s
223 + shrinks to the same values as non-derived expected Shrink (for simple ADT) 0.044s
224 + shrinks to the same values as non-derived expected Shrink (for simple Enum) 0.006s
225 + shrinks to the same values as non-derived expected Shrink (for more complex example) 0.075s
226 + shrinks to the same values as non-derived expected Shrink (for diamond inheritance in sealed trait) 0.008s
227 + given derivation does not take precedence over existing givens 0.003s
228 + given derivation does not take precedence over existing givens for subtypes of sumtypes 0.004s
229 + given derivation of child-instances does not take precedence over existing givens 0.005s
230 + given derivation does not take precedence over existing given factories (e.g. for Lists) 0.081s
231 + supports recursive structures 0.011s
232 + supports recursive structures (across nested sealed traits) 0.013s
233 + supports recursive structures (across more complex nested structures) 0.019s
234 + supports direct recursion 0.004s
235 + supports case classes with up to 25 fields (if -Xmax-inlines=32) 0.002s
236 + supports enums with up to 23 members (if -Xmax-inlines=32) 0.001s
237Starting build for ProjectRef(file:/build/repo/,extrasJVM) (scalacheck-derived-extras)... [1/2]
238Compile scalacOptions: -Wunused:all, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
239[info] compiling 10 Scala sources to /build/repo/extras/.jvm/target/scala-3.8.0/classes ...
240[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/extras/src/main/scala/io/github/martinhh/derived/extras/union/macros.scala:19:6
241[warn] 19 | (l.asType, r.asType) match
242[warn] | ^^^^^^^^^^^^^^^^^^^^
243[warn] | match may not be exhaustive.
244[warn] |
245[warn] | It would fail on pattern case: (_, _)
246[warn] |
247[warn] | longer explanation available when compiling with `-explain`
248[warn] one warning found
249[info] done compiling
250[info] compiling 1 Scala source to /build/repo/extras/.jvm/target/scala-3.8.0/test-classes ...
251[info] done compiling
252io.github.martinhh.ExtrasSuite:
253 + Arbitrary for union of two types 0.075s
254 + Arbitrary for union of three types 0.009s
255 + Arbitrary for union of two more complex types 0.019s
256 + Arbitrary for union of three more complex types 0.026s
257 + Arbitrary for union of two string literals 0.002s
258 + Arbitrary for union of three string literals 0.001s
259 + Arbitrary for union of two case classes 0.003s
260 + arbUnion[x] fails to compile if x is not a union 0.003s
261 + Cogen for union of literal types 0.052s
262 + Cogen for union of three types 0.012s
263 + shrinkUnion[x] fails to compile if x is not a union 0.002s
264 + Shrink for union of three types 0.049s
265 + cogenUnion[x] fails to compile if x is not a union 0.002s
266
267************************
268Build summary:
269[{
270 "module": "scalacheck-derived",
271 "compile": {"status": "ok", "tookMs": 6668, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
272 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
273 "test-compile": {"status": "ok", "tookMs": 24592, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
274 "test": {"status": "ok", "tookMs": 1965, "passed": 100, "failed": 0, "ignored": 0, "skipped": 0, "total": 100, "byFramework": [{"framework": "munit", "stats": {"passed": 100, "failed": 0, "ignored": 0, "skipped": 0, "total": 100}}]},
275 "publish": {"status": "skipped", "tookMs": 0},
276 "metadata": {
277 "crossScalaVersions": ["2.12.21"]
278}
279},{
280 "module": "scalacheck-derived-extras",
281 "compile": {"status": "ok", "tookMs": 1401, "warnings": 1, "errors": 0, "sourceVersion": "3.8"},
282 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
283 "test-compile": {"status": "ok", "tookMs": 2732, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
284 "test": {"status": "ok", "tookMs": 508, "passed": 13, "failed": 0, "ignored": 0, "skipped": 0, "total": 13, "byFramework": [{"framework": "munit", "stats": {"passed": 13, "failed": 0, "ignored": 0, "skipped": 0, "total": 13}}]},
285 "publish": {"status": "skipped", "tookMs": 0},
286 "metadata": {
287 "crossScalaVersions": ["2.12.21"]
288}
289}]
290************************
291[success] Total time: 40 s, completed Jan 13, 2026, 5:14:09 PM
292[0JChecking patch project/plugins.sbt...
293Checking patch build.sbt...
294Applied patch project/plugins.sbt cleanly.
295Applied patch build.sbt cleanly.