Build Logs

martinhh/scalacheck-derived • 3.8.0-RC3:2025-12-04

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-RC3
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-RC3
15Execute tests: true
16sbt project found:
17No prepare script found for project martinhh/scalacheck-derived
18##################################
19Scala version: 3.8.0-RC3
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-RC3
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-RC3"
44"++3.8.0-RC3 -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-RC3 """{"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 8.726s.
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-RC3
64OpenCB::Changing crossVersion 3.3.7 -> 3.8.0-RC3 in extrasNative/crossScalaVersions
65OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC3) in extrasNative/crossScalaVersions
66OpenCB::Changing crossVersion 3.4.0 -> 3.8.0-RC3 in test34JS/crossScalaVersions
67OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC3) in test34JS/crossScalaVersions
68OpenCB::Changing crossVersion 3.4.0 -> 3.8.0-RC3 in test34JVM/crossScalaVersions
69OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC3) in test34JVM/crossScalaVersions
70OpenCB::Changing crossVersion 3.3.7 -> 3.8.0-RC3 in coreJS/crossScalaVersions
71OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC3) in coreJS/crossScalaVersions
72OpenCB::Changing crossVersion 3.3.7 -> 3.8.0-RC3 in coreJVM/crossScalaVersions
73OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC3) in coreJVM/crossScalaVersions
74OpenCB::Changing crossVersion 3.3.7 -> 3.8.0-RC3 in extrasJS/crossScalaVersions
75OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC3) in extrasJS/crossScalaVersions
76OpenCB::Changing crossVersion 3.4.0 -> 3.8.0-RC3 in test34Native/crossScalaVersions
77OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC3) in test34Native/crossScalaVersions
78OpenCB::Changing crossVersion 3.3.7 -> 3.8.0-RC3 in coreNative/crossScalaVersions
79OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC3) in coreNative/crossScalaVersions
80OpenCB::Changing crossVersion 3.3.7 -> 3.8.0-RC3 in extrasJVM/crossScalaVersions
81OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC3) in extrasJVM/crossScalaVersions
82[info] set current project to repo (in build file:/build/repo/)
83[info] Setting Scala version to 3.8.0-RC3 on 9 projects.
84[info] Switching Scala version on:
85[info] test34Native (3.8.0-RC3)
86[info] extrasJS (3.8.0-RC3)
87[info] extrasNative (3.8.0-RC3)
88[info] coreNative (3.8.0-RC3)
89[info] coreJS (3.8.0-RC3)
90[info] test34JS (3.8.0-RC3)
91[info] test34JVM (3.8.0-RC3)
92[info] coreJVM (3.8.0-RC3)
93[info] extrasJVM (3.8.0-RC3)
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 4, 2025, 3:17:20 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-RC3/classes ...
128[info] done compiling
129[info] compiling 9 Scala sources to /build/repo/core/.jvm/target/scala-3.8.0-RC3/test-classes ...
130[info] done compiling
131io.github.martinhh.derived.MacrosSuite:
132 + isShrinkAnyMacro returns true if there is no other Shrink in scope 0.012s
133 + isShrinkAnyMacro returns false if a given Shrink is defined in local scope 0.001s
134 + isShrinkAnyMacro returns false if a given Shrink is defined in the companion 0.004s
135io.github.martinhh.ConfiguredArbitraryDerivingSuite:
136 + custom conf via explicit call without conf in scope 0.15s
137 + custom conf via explicit call with conf in scope 0.014s
138 + custom conf via given import without conf in scope 0.011s
139 + custom conf via given import with conf in scope 0.015s
140io.github.martinhh.CogenDerivingSuite:
141 + deriveCogen allows to derive a given without loop of given definition 0.146s
142 + deriveCogen supports recursive structures 0.056s
143 + deriveCogen uses existing given factories (e.g. for Lists) 0.279s
144 + deriveCogen uses existing givens for subtypes of sumtypes (instead of deriving them) 0.019s
145 + deriveCogenShallow succeeds for simple case class 0.01s
146 + deriveCogenShallow fails for case class containing another case class 0.011s
147 + deriveCogenShallow succeeds for case class containing another case class if an instance for that is available 0.028s
148 + deriveCogenShallow succeeds for ADT if subclasses are derivable via deriveShallow 0.015s
149 + deriveCogenShallow fails for ADT if a subclass is not derivable via deriveShallow 0.001s
150 + deriveCogenShallow succeeds for ADT if a subclass is made derivable via deriveShallow by required instances in scope 0.011s
151 + deriveCogenShallow prefers existing instance for ADT-subtypes 0.014s
152 + deriveCogenShallow supports nested sealed traits (with recursion) 0.013s
153 + deriveCogenExtraShallow succeeds for simple case class 0.007s
154 + deriveCogenExtraShallow fails for case class containing another case class 0.001s
155 + deriveCogenExtraShallow succeeds for case class containing another case class if an instance for that is available 0.017s
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.021s
158 + perturbs to same seeds as non-derived expected Cogen (for simple ADT) 0.011s
159 + perturbs to same seeds as non-derived expected Cogen (for simple Enum) 0.013s
160 + perturbs to same seeds as non-derived expected Cogen (for case class with containers) 0.11s
161 + given derivation does not take precedence over existing givens 0.003s
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.004s
164 + given derivation does not take precedence over existing given factories (e.g. for Lists) 0.11s
165 + given derivation supports recursive structures 0.017s
166 + given derivation supports recursive structures (across nested sealed traits) 0.012s
167 + given derivation supports recursive structures (across more complex nested structures) 0.009s
168 + given derivation supports direct recursion 0.022s
169 + enables derivation of Arbitrary instances for functions 0.001s
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.004s
172 + supports enums with up to 24 members (if -Xmax-inlines=32) 0.002s
173io.github.martinhh.ArbitraryDerivingSuite:
174 + deriveArbitrary allows to derive a given without loop of given definition 0.174s
175 + deriveArbitrary supports recursive structures 0.109s
176 + deriveArbitrary uses existing given factories (e.g. for Lists) 0.425s
177 + deriveArbitrary uses existing givens for subtypes of sumtypes (instead of deriving them) 0.001s
178 + deriveArbitraryShallow succeeds for simple case class 0.003s
179 + deriveArbitraryShallow fails for case class containing another case class 0.001s
180 + deriveArbitraryShallow succeeds for case class containing another case class if an instance for that is available 0.009s
181 + deriveArbitraryShallow succeeds for ADT if subclasses are derivable via deriveShallow 0.007s
182 + deriveArbitraryShallow fails for ADT if a subclass is not derivable via deriveShallow 0.001s
183 + deriveArbitraryShallow succeeds for ADT if a subclass is made derivable via deriveShallow by required instances in scope 0.01s
184 + deriveArbitraryShallow prefers existing instance for ADT-subtypes 0.003s
185 + deriveArbitraryShallow supports recursive sum types 0.111s
186 + deriveArbitraryShallow supports nested sealed traits (with diamond inheritance) 0.008s
187 + deriveArbitraryShallow supports nested sealed traits (with recursion) 0.006s
188 + deriveArbitraryExtraShallow succeeds for simple case class 0.004s
189 + deriveArbitraryExtraShallow fails for case class containing another case class 0.007s
190 + deriveArbitraryExtraShallow succeeds for case class containing another case class if an instance for that is available 0.006s
191 + deriveArbitraryExtraShallow fails for simple adt if no instances for that are in scope 0.001s
192 + deriveArbitraryExtraShallow succeeds for simple adt if instances for all subtypes are available 0.003s
193 + Generates same values as non-derived Gen (for simple case class) 0.002s
194 + Generates same values as non-derived Gen (for case class with containers) 0.116s
195 + Generates same values as non-derived Gen (for simple ADT) 0.006s
196 + Generates same values as non-derived Gen (for simple Enum) 0.003s
197 + Generates same values as non-derived Gen (for more complex example) 0.029s
198 + Gives precedence to any arbitraries in local scope 0.007s
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.002s
201 + given derivation of child-instances does not take precedence over existing givens 0.004s
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.005s
205 + supports recursive structures (across more complex nested structures) 0.005s
206 + supports direct recursion) 0.004s
207 + supports tree-like data structures (without blowing the stack) 0.056s
208 + with size 0 and RecursionFallback, the fallback is used always 0.006s
209 + supports RecursionFallback.apply(constValue) 0.015s
210 + supports RecursionFallback.apply(gen) 0.023s
211 + supports RecursionFallback.apply[Tree, Leaf] 0.011s
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.036s
218 + deriveShrink supports recursive structures 0.744s
219 + deriveShrink uses existing given factories (e.g. for Lists) 0.449s
220 + deriveShrink uses existing givens for subtypes of sumtypes (instead of deriving them) 0.01s
221 + shrinks to the same values as non-derived expected Shrink (for simple case class) 0.134s
222 + shrinks to the same values as non-derived expected Shrink (for simple ADT) 0.038s
223 + shrinks to the same values as non-derived expected Shrink (for simple Enum) 0.003s
224 + shrinks to the same values as non-derived expected Shrink (for more complex example) 0.063s
225 + shrinks to the same values as non-derived expected Shrink (for diamond inheritance in sealed trait) 0.006s
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.004s
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.084s
230 + supports recursive structures 0.015s
231 + supports recursive structures (across nested sealed traits) 0.01s
232 + supports recursive structures (across more complex nested structures) 0.014s
233 + supports direct recursion 0.005s
234 + supports case classes with up to 25 fields (if -Xmax-inlines=32) 0.001s
235 + supports enums with up to 23 members (if -Xmax-inlines=32) 0.001s
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-RC3/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-RC3/test-classes ...
250[info] done compiling
251io.github.martinhh.ExtrasSuite:
252 + Arbitrary for union of two types 0.063s
253 + Arbitrary for union of three types 0.008s
254 + Arbitrary for union of two more complex types 0.024s
255 + Arbitrary for union of three more complex types 0.039s
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.009s
259 + arbUnion[x] fails to compile if x is not a union 0.006s
260 + Cogen for union of literal types 0.058s
261 + Cogen for union of three types 0.01s
262 + shrinkUnion[x] fails to compile if x is not a union 0.002s
263 + Shrink for union of three types 0.054s
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": 8340, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
271 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
272 "test-compile": {"status": "ok", "tookMs": 23084, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
273 "test": {"status": "ok", "tookMs": 2095, "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": 2656, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
283 "test": {"status": "ok", "tookMs": 521, "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: 48 s, completed Dec 4, 2025, 3:18:08 PM
291[0JChecking patch project/plugins.sbt...
292Checking patch build.sbt...
293Applied patch project/plugins.sbt cleanly.
294Applied patch build.sbt cleanly.