Build Logs
martinhh/scalacheck-derived • 3.8.0-RC5:2025-12-31
Errors
0
Warnings
9
Total Lines
294
1##################################
2Clonning https://github.com/martinhh/scalacheck-derived.git into /build/repo using revision main
3##################################
4----
5Preparing build for 3.8.0-RC5
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-RC5
15Execute tests: true
16sbt project found:
17No prepare script found for project martinhh/scalacheck-derived
18##################################
19Scala version: 3.8.0-RC5
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-RC5
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-RC5"
44"++3.8.0-RC5 -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-RC5 """{"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.11.7 (this may take some time)...
54[info] welcome to sbt 1.11.7 (Eclipse Adoptium Java 17.0.8)
55[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
56[info] loading project definition from /build/repo/project
57[info] compiling 3 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
58[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
59[info] Compilation completed in 9.471s.
60[info] done compiling
61[info] loading settings for project repo from build.sbt...
62[info] set current project to repo (in build file:/build/repo/)
63Execute setCrossScalaVersions: 3.8.0-RC5
64OpenCB::Changing crossVersion 3.4.0 -> 3.8.0-RC5 in test34JS/crossScalaVersions
65OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC5) in test34JS/crossScalaVersions
66OpenCB::Changing crossVersion 3.4.0 -> 3.8.0-RC5 in test34JVM/crossScalaVersions
67OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC5) in test34JVM/crossScalaVersions
68OpenCB::Changing crossVersion 3.3.7 -> 3.8.0-RC5 in coreJVM/crossScalaVersions
69OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC5) in coreJVM/crossScalaVersions
70OpenCB::Changing crossVersion 3.3.7 -> 3.8.0-RC5 in coreJS/crossScalaVersions
71OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC5) in coreJS/crossScalaVersions
72OpenCB::Changing crossVersion 3.4.0 -> 3.8.0-RC5 in test34Native/crossScalaVersions
73OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC5) in test34Native/crossScalaVersions
74OpenCB::Changing crossVersion 3.3.7 -> 3.8.0-RC5 in extrasNative/crossScalaVersions
75OpenCB::Changing crossVersion 3.3.7 -> 3.8.0-RC5 in coreNative/crossScalaVersions
76OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC5) in extrasNative/crossScalaVersions
77OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC5) in coreNative/crossScalaVersions
78OpenCB::Changing crossVersion 3.3.7 -> 3.8.0-RC5 in extrasJVM/crossScalaVersions
79OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC5) in extrasJVM/crossScalaVersions
80OpenCB::Changing crossVersion 3.3.7 -> 3.8.0-RC5 in extrasJS/crossScalaVersions
81OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC5) in extrasJS/crossScalaVersions
82[info] set current project to repo (in build file:/build/repo/)
83[info] Setting Scala version to 3.8.0-RC5 on 9 projects.
84[info] Switching Scala version on:
85[info] test34Native (3.8.0-RC5)
86[info] extrasJS (3.8.0-RC5)
87[info] extrasNative (3.8.0-RC5)
88[info] coreNative (3.8.0-RC5)
89[info] coreJS (3.8.0-RC5)
90[info] test34JS (3.8.0-RC5)
91[info] test34JVM (3.8.0-RC5)
92[info] coreJVM (3.8.0-RC5)
93[info] extrasJVM (3.8.0-RC5)
94[info] Excluding projects:
95[info] * repo (2.12.20)
96[info] Reapplying settings...
97[info] set current project to repo (in build file:/build/repo/)
98Execute mapScalacOptions: ,REQUIRE:-source:3.8,-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 repo (in build file:/build/repo/)
101[info] Defining Global / credentials, coreJS / credentials and 8 others.
102[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 79 others.
103[info] Run `last` for details.
104[info] Reapplying settings...
105[info] set current project to repo (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 repo (in build file:/build/repo/)
115Execute removeScalacOptionsStartingWith: -P:wartremover
116[info] Reapplying settings...
117[info] set current project to repo (in build file:/build/repo/)
118[success] Total time: 0 s, completed Dec 31, 2025, 9:34:59 PM
119Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}
120Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
121Starting build...
122Projects: Set(coreJVM, extrasJVM)
123Starting build for ProjectRef(file:/build/repo/,coreJVM) (scalacheck-derived)... [0/2]
124OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
125OpenCB::Filter out '-Xfatal-warnings', matches setting pattern '^-?-Xfatal-warnings'
126Compile scalacOptions: -Wunused:all, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
127[info] compiling 8 Scala sources to /build/repo/core/.jvm/target/scala-3.8.0-RC5/classes ...
128[info] done compiling
129[info] compiling 9 Scala sources to /build/repo/core/.jvm/target/scala-3.8.0-RC5/test-classes ...
130[info] done compiling
131io.github.martinhh.ConfiguredArbitraryDerivingSuite:
132 + custom conf via explicit call without conf in scope 0.183s
133 + custom conf via explicit call with conf in scope 0.011s
134 + custom conf via given import without conf in scope 0.018s
135 + custom conf via given import with conf in scope 0.01s
136io.github.martinhh.derived.MacrosSuite:
137 + isShrinkAnyMacro returns true if there is no other Shrink in scope 0.001s
138 + isShrinkAnyMacro returns false if a given Shrink is defined in local scope 0.004s
139 + isShrinkAnyMacro returns false if a given Shrink is defined in the companion 0.001s
140io.github.martinhh.CogenDerivingSuite:
141 + deriveCogen allows to derive a given without loop of given definition 0.273s
142 + deriveCogen supports recursive structures 0.058s
143 + deriveCogen uses existing given factories (e.g. for Lists) 0.272s
144 + deriveCogen uses existing givens for subtypes of sumtypes (instead of deriving them) 0.026s
145 + deriveCogenShallow succeeds for simple case class 0.008s
146 + deriveCogenShallow fails for case class containing another case class 0.015s
147 + deriveCogenShallow succeeds for case class containing another case class if an instance for that is available 0.014s
148 + deriveCogenShallow succeeds for ADT if subclasses are derivable via deriveShallow 0.013s
149 + deriveCogenShallow fails for ADT if a subclass is not derivable via deriveShallow 0.002s
150 + deriveCogenShallow succeeds for ADT if a subclass is made derivable via deriveShallow by required instances in scope 0.013s
151 + deriveCogenShallow prefers existing instance for ADT-subtypes 0.014s
152 + deriveCogenShallow supports nested sealed traits (with recursion) 0.016s
153 + deriveCogenExtraShallow succeeds for simple case class 0.008s
154 + deriveCogenExtraShallow fails for case class containing another case class 0.004s
155 + deriveCogenExtraShallow succeeds for case class containing another case class if an instance for that is available 0.008s
156 + deriveCogenExtraShallow fails for simple adt if no instances for that are in scope 0.001s
157 + deriveCogenExtraShallow succeeds for simple ADT if subclasses are derivable via deriveShallow 0.012s
158 + perturbs to same seeds as non-derived expected Cogen (for simple ADT) 0.016s
159 + perturbs to same seeds as non-derived expected Cogen (for simple Enum) 0.01s
160 + perturbs to same seeds as non-derived expected Cogen (for case class with containers) 0.15s
161 + given derivation does not take precedence over existing givens 0.006s
162 + given derivation does not take precedence over existing givens for subtypes of sumtypes 0.004s
163 + given derivation of child-instances does not take precedence over existing givens 0.007s
164 + given derivation does not take precedence over existing given factories (e.g. for Lists) 0.084s
165 + given derivation supports recursive structures 0.012s
166 + given derivation supports recursive structures (across nested sealed traits) 0.012s
167 + given derivation supports recursive structures (across more complex nested structures) 0.017s
168 + given derivation supports direct recursion 0.019s
169 + enables derivation of Arbitrary instances for functions 0.004s
170 + error message for non derivable members of sum type 0.001s
171 + supports case classes with up to 26 fields (if -Xmax-inlines=32) 0.003s
172 + supports enums with up to 24 members (if -Xmax-inlines=32) 0.003s
173io.github.martinhh.ArbitraryDerivingSuite:
174 + deriveArbitrary allows to derive a given without loop of given definition 0.2s
175 + deriveArbitrary supports recursive structures 0.123s
176 + deriveArbitrary uses existing given factories (e.g. for Lists) 0.414s
177 + deriveArbitrary uses existing givens for subtypes of sumtypes (instead of deriving them) 0.005s
178 + deriveArbitraryShallow succeeds for simple case class 0.009s
179 + deriveArbitraryShallow fails for case class containing another case class 0.005s
180 + deriveArbitraryShallow succeeds for case class containing another case class if an instance for that is available 0.011s
181 + deriveArbitraryShallow succeeds for ADT if subclasses are derivable via deriveShallow 0.006s
182 + deriveArbitraryShallow fails for ADT if a subclass is not derivable via deriveShallow 0.002s
183 + deriveArbitraryShallow succeeds for ADT if a subclass is made derivable via deriveShallow by required instances in scope 0.007s
184 + deriveArbitraryShallow prefers existing instance for ADT-subtypes 0.005s
185 + deriveArbitraryShallow supports recursive sum types 0.168s
186 + deriveArbitraryShallow supports nested sealed traits (with diamond inheritance) 0.01s
187 + deriveArbitraryShallow supports nested sealed traits (with recursion) 0.007s
188 + deriveArbitraryExtraShallow succeeds for simple case class 0.005s
189 + deriveArbitraryExtraShallow fails for case class containing another case class 0.004s
190 + deriveArbitraryExtraShallow succeeds for case class containing another case class if an instance for that is available 0.007s
191 + deriveArbitraryExtraShallow fails for simple adt if no instances for that are in scope 0.004s
192 + deriveArbitraryExtraShallow succeeds for simple adt if instances for all subtypes are available 0.004s
193 + Generates same values as non-derived Gen (for simple case class) 0.003s
194 + Generates same values as non-derived Gen (for case class with containers) 0.045s
195 + Generates same values as non-derived Gen (for simple ADT) 0.005s
196 + Generates same values as non-derived Gen (for simple Enum) 0.006s
197 + Generates same values as non-derived Gen (for more complex example) 0.028s
198 + Gives precedence to any arbitraries in local scope 0.003s
199 + given derivation does not take precedence over existing givens 0.0s
200 + given derivation does not take precedence over existing givens for subtypes of sumtypes 0.003s
201 + given derivation of child-instances does not take precedence over existing givens 0.001s
202 + given derivation does not take precedence over existing given factories (e.g. for Lists) 0.124s
203 + supports recursive structures 0.005s
204 + supports recursive structures (across nested sealed traits) 0.006s
205 + supports recursive structures (across more complex nested structures) 0.009s
206 + supports direct recursion) 0.004s
207 + supports tree-like data structures (without blowing the stack) 0.041s
208 + with size 0 and RecursionFallback, the fallback is used always 0.003s
209 + supports RecursionFallback.apply(constValue) 0.01s
210 + supports RecursionFallback.apply(gen) 0.014s
211 + supports RecursionFallback.apply[Tree, Leaf] 0.015s
212 + even distribution in sealed traits with diamond inheritance 0.005s
213 + error message for non derivable members of sum type 0.001s
214 + supports case classes with up to 26 fields (if -Xmax-inlines=32) 0.001s
215 + supports enums with up to 24 members (if -Xmax-inlines=32) 0.0s
216io.github.martinhh.ShrinkDerivingSuite:
217 + shrinks to empty Stream for EmptyTuple 0.034s
218 + deriveShrink supports recursive structures 0.742s
219 + deriveShrink uses existing given factories (e.g. for Lists) 0.538s
220 + deriveShrink uses existing givens for subtypes of sumtypes (instead of deriving them) 0.009s
221 + shrinks to the same values as non-derived expected Shrink (for simple case class) 0.171s
222 + shrinks to the same values as non-derived expected Shrink (for simple ADT) 0.054s
223 + shrinks to the same values as non-derived expected Shrink (for simple Enum) 0.005s
224 + shrinks to the same values as non-derived expected Shrink (for more complex example) 0.07s
225 + shrinks to the same values as non-derived expected Shrink (for diamond inheritance in sealed trait) 0.008s
226 + given derivation does not take precedence over existing givens 0.004s
227 + given derivation does not take precedence over existing givens for subtypes of sumtypes 0.005s
228 + given derivation of child-instances does not take precedence over existing givens 0.004s
229 + given derivation does not take precedence over existing given factories (e.g. for Lists) 0.115s
230 + supports recursive structures 0.013s
231 + supports recursive structures (across nested sealed traits) 0.012s
232 + supports recursive structures (across more complex nested structures) 0.02s
233 + supports direct recursion 0.006s
234 + supports case classes with up to 25 fields (if -Xmax-inlines=32) 0.002s
235 + supports enums with up to 23 members (if -Xmax-inlines=32) 0.002s
236Starting build for ProjectRef(file:/build/repo/,extrasJVM) (scalacheck-derived-extras)... [1/2]
237Compile scalacOptions: -Wunused:all, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
238[info] compiling 10 Scala sources to /build/repo/extras/.jvm/target/scala-3.8.0-RC5/classes ...
239[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/extras/src/main/scala/io/github/martinhh/derived/extras/union/macros.scala:19:6
240[warn] 19 | (l.asType, r.asType) match
241[warn] | ^^^^^^^^^^^^^^^^^^^^
242[warn] | match may not be exhaustive.
243[warn] |
244[warn] | It would fail on pattern case: (_, _)
245[warn] |
246[warn] | longer explanation available when compiling with `-explain`
247[warn] one warning found
248[info] done compiling
249[info] compiling 1 Scala source to /build/repo/extras/.jvm/target/scala-3.8.0-RC5/test-classes ...
250[info] done compiling
251io.github.martinhh.ExtrasSuite:
252 + Arbitrary for union of two types 0.08s
253 + Arbitrary for union of three types 0.006s
254 + Arbitrary for union of two more complex types 0.019s
255 + Arbitrary for union of three more complex types 0.026s
256 + Arbitrary for union of two string literals 0.002s
257 + Arbitrary for union of three string literals 0.001s
258 + Arbitrary for union of two case classes 0.003s
259 + arbUnion[x] fails to compile if x is not a union 0.004s
260 + Cogen for union of literal types 0.059s
261 + Cogen for union of three types 0.013s
262 + shrinkUnion[x] fails to compile if x is not a union 0.003s
263 + Shrink for union of three types 0.059s
264 + cogenUnion[x] fails to compile if x is not a union 0.002s
265
266************************
267Build summary:
268[{
269 "module": "scalacheck-derived",
270 "compile": {"status": "ok", "tookMs": 6996, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
271 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
272 "test-compile": {"status": "ok", "tookMs": 23660, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
273 "test": {"status": "ok", "tookMs": 2266, "passed": 100, "failed": 0, "ignored": 0, "skipped": 0, "total": 100, "byFramework": [{"framework": "munit", "stats": {"passed": 100, "failed": 0, "ignored": 0, "skipped": 0, "total": 100}}]},
274 "publish": {"status": "skipped", "tookMs": 0},
275 "metadata": {
276 "crossScalaVersions": ["2.12.20"]
277}
278},{
279 "module": "scalacheck-derived-extras",
280 "compile": {"status": "ok", "tookMs": 1398, "warnings": 1, "errors": 0, "sourceVersion": "3.8"},
281 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
282 "test-compile": {"status": "ok", "tookMs": 2814, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
283 "test": {"status": "ok", "tookMs": 557, "passed": 13, "failed": 0, "ignored": 0, "skipped": 0, "total": 13, "byFramework": [{"framework": "munit", "stats": {"passed": 13, "failed": 0, "ignored": 0, "skipped": 0, "total": 13}}]},
284 "publish": {"status": "skipped", "tookMs": 0},
285 "metadata": {
286 "crossScalaVersions": ["2.12.20"]
287}
288}]
289************************
290[success] Total time: 40 s, completed Dec 31, 2025, 9:35:39 PM
291[0JChecking patch project/plugins.sbt...
292Checking patch build.sbt...
293Applied patch project/plugins.sbt cleanly.
294Applied patch build.sbt cleanly.