Build Logs
pureharm/pureharm-testkit • 3.8.0-RC2:2025-11-28
Errors
28
Warnings
12
Total Lines
357
1##################################
2Clonning https://github.com/pureharm/pureharm-testkit.git into /build/repo using revision v0.4.0
3##################################
4Note: switching to '2cc231029b75f2edcdbc6821d6a6c804f1c1e385'.
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.0.1
22----
23Preparing build for 3.8.0-RC2
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 Scala3 = "3.0.1"
35Replacement: val Scala3 = "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 Scala3 = "3.0.1"' in build.sbt
40----
41Starting build for 3.8.0-RC2
42Execute tests: true
43sbt project found:
44Sbt version 1.5.5 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 pureharm/pureharm-testkit
47##################################
48Scala version: 3.8.0-RC2
49Targets: com.busymachines%pureharm-testkit com.busymachines%pureharm-testkit-ce2
50Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val Scala3 = \"3.0.1\"","replaceWith":"val Scala3 = \"<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-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.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-RC2 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val Scala3 = \"3.0.1\"","replaceWith":"val Scala3 = \"<SCALA_VERSION>\""}]}""" com.busymachines%pureharm-testkit com.busymachines%pureharm-testkit-ce2"
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 8.976s.
85[info] done compiling
86/build/repo/build.sbt:83: warning: method sonatypeRepo in class ResolverFunctions is deprecated (since 1.7.0): Sonatype OSS Repository Hosting (OSSRH) was sunset on 2025-06-30; remove this resolver. If snapshots are required, use:
87 resolvers += Resolver.sonatypeCentralSnapshots
88
89ThisBuild / resolvers += Resolver.sonatypeRepo("releases")
90 ^
91/build/repo/build.sbt:84: warning: method sonatypeRepo in class ResolverFunctions is deprecated (since 1.7.0): Sonatype OSS Repository Hosting (OSSRH) was sunset on 2025-06-30; remove this resolver. If snapshots are required, use:
92 resolvers += Resolver.sonatypeCentralSnapshots
93
94ThisBuild / resolvers += Resolver.sonatypeRepo("snapshots")
95 ^
96[info] loading settings for project root from build.sbt...
97[info] set current project to root (in build file:/build/repo/)
98Execute setCrossScalaVersions: 3.8.0-RC2
99OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in testkit-ce2JS/crossScalaVersions
100OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in root/crossScalaVersions
101OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in testkitJS/crossScalaVersions
102OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in testkit-ce2JVM/crossScalaVersions
103OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in testkitJVM/crossScalaVersions
104[info] set current project to root (in build file:/build/repo/)
105[info] Setting Scala version to 3.8.0-RC2 on 5 projects.
106[info] Switching Scala version on:
107[info] * root (2.13.6, 3.8.0-RC2)
108[info] testkitJS (2.13.6, 3.8.0-RC2)
109[info] testkit-ce2JS (2.13.6, 3.8.0-RC2)
110[info] testkit-ce2JVM (2.13.6, 3.8.0-RC2)
111[info] testkitJVM (2.13.6, 3.8.0-RC2)
112[info] Excluding projects:
113[info] Reapplying settings...
114[info] set current project to root (in build file:/build/repo/)
115Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
116[info] Reapplying settings...
117[info] set current project to root (in build file:/build/repo/)
118[info] Defining Global / credentials, credentials and 3 others.
119[info] The new values will be used by allCredentials, credentials and 27 others.
120[info] Run `last` for details.
121[info] Reapplying settings...
122[info] set current project to root (in build file:/build/repo/)
123Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
124[info] Reapplying settings...
125OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
126
127 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
128 Did you mean allExcludeDependencies ?
129 , retry without global scopes
130[info] Reapplying settings...
131[info] set current project to root (in build file:/build/repo/)
132Execute removeScalacOptionsStartingWith: -P:wartremover
133[info] Reapplying settings...
134[info] set current project to root (in build file:/build/repo/)
135[success] Total time: 0 s, completed Nov 28, 2025, 3:45:23 PM
136Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val Scala3 = \"3.0.1\"","replaceWith":"val Scala3 = \"<SCALA_VERSION>\""}]}
137Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
138Starting build...
139Projects: Set(testkitJVM, testkit-ce2JVM)
140Starting build for ProjectRef(file:/build/repo/,testkitJVM) (pureharm-testkit)... [0/2]
141OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
142OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
143OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
144OpenCB::Filter out '-source:3.0-migration', matches setting pattern '^-?-source(:.*)?'
145Compile scalacOptions: -encoding, UTF-8, -unchecked, -language:implicitConversions, -Ykind-projector, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
146[info] compiling 13 Scala sources to /build/repo/testkit/jvm/target/scala-3.8.0-RC2/classes ...
147[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
148[warn] one warning found
149[info] done compiling
150[info] compiling 2 Scala sources to /build/repo/testkit/jvm/target/scala-3.8.0-RC2/test-classes ...
151[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
152[warn] one warning found
153[info] done compiling
154[warn] javaOptions will be ignored, fork is set to false
155busymachines.pureharm.testkit.PureharmTestTest:
156-----> mdc=[testName -> 'simple test', line -> 28, what -> exec] -----> starting test
157-----> Executing first test!
158-----> mdc=[testName -> 'simple test', duration -> 2 milliseconds, outcome -> Succeeded, what -> exec, line -> 28] -----> successful test
159 + simple test 0.056s
160-----> mdc=[testName -> 'with resource', line -> 33, what -> exec] -----> starting test
161-----> Making: TestOptions(with resource, Set(), /build/repo/testkit/shared/src/test/scala/busymachines/pureharm/testkit/PureharmTestTest.scala:33)
162-----> mdc=[testName -> 'with resource', line -> 33, what -> setup, duration -> 18 milliseconds] -----> init: success
163-----> Executing test w/ resource
164-----> mdc=[testName -> 'with resource', duration -> 28 milliseconds, outcome -> Succeeded, what -> exec, line -> 33] -----> successful test
165 + with resource 0.029s
166-----> mdc=[testName -> 'throw exception in body', line -> 35, what -> exec] -----> starting test
167-----> mdc=[testName -> 'throw exception in body', duration -> 4 milliseconds, outcome -> Failed, what -> exec, line -> 35] -----> failed test. Reason:
168 anomaly: busymachines.pureharm.testkit.util.TestInitCatastrophe
169anomalyID: CATA_0
170message: -
171Test body threw exception.
172
173location:
174 /build/repo/testkit/shared/src/test/scala/busymachines/pureharm/testkit/PureharmTestTest.scala:35
175
176exception:
177java.lang.RuntimeException: This is an intentional fail, too see if munit integration in these cases works
178
179---
180Please write a pure test in IO that does not throw exceptions.
181-
182-
183
184
185causedBy:
186 java.lang.RuntimeException: This is an intentional fail, too see if munit integration in these cases works
187
188parameters:
189 causedBy: java.lang.RuntimeException: This is an intentional fail, too see if munit integration in these cases works
190 location: /build/repo/testkit/shared/src/test/scala/busymachines/pureharm/testkit/PureharmTestTest.scala:35
191 tags: [Tag(Fail)]
192 testName: throw exception in body
193 + throw exception in body 0.017s
194-----> mdc=[testName -> 'invalid exception body', line -> 39, what -> exec] -----> starting test
195-----> mdc=[testName -> 'invalid exception body', duration -> 0 milliseconds, outcome -> Failed, what -> exec, line -> 39] -----> failed test. Reason:
196 anomaly: busymachines.pureharm.testkit.util.TestInitCatastrophe
197anomalyID: CATA_0
198message: -
199Unsupported return type java.lang.Integer.
200
201location:
202 /build/repo/testkit/shared/src/test/scala/busymachines/pureharm/testkit/PureharmTestTest.scala:39
203
204Please just write a test in IO[Unit].
205
206-
207
208
209parameters:
210 location: /build/repo/testkit/shared/src/test/scala/busymachines/pureharm/testkit/PureharmTestTest.scala:39
211 tags: [Tag(Fail)]
212 testName: invalid exception body
213 + invalid exception body 0.002s
214-----> mdc=[testName -> 'failed init', line -> 52, what -> exec] -----> starting test
215-----> mdc=[testName -> 'failed init', duration -> 12 milliseconds, outcome -> InitError, what -> setup, line -> 52] -----> init: failed
216-----> mdc=[testName -> 'failed init', duration -> 15 milliseconds, outcome -> Failed, what -> exec, line -> 52] -----> failed test. Reason:
217 anomaly: busymachines.pureharm.testkit.util.TestInitCatastrophe
218anomalyID: CATA_0
219message: Failed to acquire resource for testName=failed init. Reason:
220anomaly: busymachines.pureharm.anomaly.InvalidInputAnomalyImpl
221anomalyID: 4
222message: failed resource
223
224causedBy:
225 anomaly: busymachines.pureharm.anomaly.InvalidInputAnomalyImpl
226 anomalyID: 4
227 message: failed resource
228
229parameters:
230 causedBy: busymachines.pureharm.anomaly.InvalidInputAnomalyImpl: failed resource
231 location: /build/repo/testkit/shared/src/test/scala/busymachines/pureharm/testkit/PureharmTestTest.scala:52
232 tags: [Tag(Fail)]
233 testName: failed init
234 + failed init 0.016s
235Starting build for ProjectRef(file:/build/repo/,testkit-ce2JVM) (pureharm-testkit-ce2)... [1/2]
236Compile scalacOptions: -encoding, UTF-8, -unchecked, -language:implicitConversions, -Ykind-projector, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
237[info] compiling 12 Scala sources to /build/repo/testkit-ce2/jvm/target/scala-3.8.0-RC2/classes ...
238[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
239[warn] one warning found
240[info] done compiling
241[info] compiling 2 Scala sources to /build/repo/testkit-ce2/jvm/target/scala-3.8.0-RC2/test-classes ...
242[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
243[warn] one warning found
244[info] done compiling
245[warn] javaOptions will be ignored, fork is set to false
246busymachines.pureharm.testkit.PureharmTestTest:
247-----> mdc=[testName -> 'simple test', line -> 28, what -> exec] -----> starting test
248-----> Executing first test!
249-----> mdc=[testName -> 'simple test', duration -> 1 millisecond, outcome -> Succeeded, what -> exec, line -> 28] -----> successful test
250 + simple test 0.018s
251-----> mdc=[testName -> 'with resource', line -> 33, what -> exec] -----> starting test
252-----> Making: TestOptions(with resource, Set(), /build/repo/testkit-ce2/shared/src/test/scala/busymachines/pureharm/testkit/PureharmTestTest.scala:33)
253-----> mdc=[testName -> 'with resource', line -> 33, what -> setup, duration -> 16 milliseconds] -----> init: success
254-----> Executing test w/ resource
255-----> mdc=[testName -> 'with resource', duration -> 22 milliseconds, outcome -> Succeeded, what -> exec, line -> 33] -----> successful test
256 + with resource 0.022s
257-----> mdc=[testName -> 'throw exception in body', line -> 35, what -> exec] -----> starting test
258-----> mdc=[testName -> 'throw exception in body', duration -> 9 milliseconds, outcome -> Failed, what -> exec, line -> 35] -----> failed test. Reason:
259 anomaly: busymachines.pureharm.testkit.util.TestInitCatastrophe
260anomalyID: CATA_0
261message: -
262Test body threw exception.
263
264location:
265 /build/repo/testkit-ce2/shared/src/test/scala/busymachines/pureharm/testkit/PureharmTestTest.scala:35
266
267exception:
268java.lang.RuntimeException: This is an intentional fail, too see if munit integration in these cases works
269
270---
271Please write a pure test in IO that does not throw exceptions.
272-
273-
274
275
276causedBy:
277 java.lang.RuntimeException: This is an intentional fail, too see if munit integration in these cases works
278
279parameters:
280 causedBy: java.lang.RuntimeException: This is an intentional fail, too see if munit integration in these cases works
281 location: /build/repo/testkit-ce2/shared/src/test/scala/busymachines/pureharm/testkit/PureharmTestTest.scala:35
282 tags: [Tag(Fail)]
283 testName: throw exception in body
284 + throw exception in body 0.014s
285-----> mdc=[testName -> 'invalid exception body', line -> 39, what -> exec] -----> starting test
286-----> mdc=[testName -> 'invalid exception body', duration -> 2 milliseconds, outcome -> Failed, what -> exec, line -> 39] -----> failed test. Reason:
287 anomaly: busymachines.pureharm.testkit.util.TestInitCatastrophe
288anomalyID: CATA_0
289message: -
290Unsupported return type java.lang.Integer.
291
292location:
293 /build/repo/testkit-ce2/shared/src/test/scala/busymachines/pureharm/testkit/PureharmTestTest.scala:39
294
295Please just write a test in IO[Unit].
296
297-
298
299
300parameters:
301 location: /build/repo/testkit-ce2/shared/src/test/scala/busymachines/pureharm/testkit/PureharmTestTest.scala:39
302 tags: [Tag(Fail)]
303 testName: invalid exception body
304 + invalid exception body 0.002s
305-----> mdc=[testName -> 'failed init', line -> 52, what -> exec] -----> starting test
306-----> mdc=[testName -> 'failed init', duration -> 14 milliseconds, outcome -> InitError, what -> setup, line -> 52] -----> init: failed
307-----> mdc=[testName -> 'failed init', duration -> 18 milliseconds, outcome -> Failed, what -> exec, line -> 52] -----> failed test. Reason:
308 anomaly: busymachines.pureharm.testkit.util.TestInitCatastrophe
309anomalyID: CATA_0
310message: Failed to acquire resource for testName=failed init. Reason:
311anomaly: busymachines.pureharm.anomaly.InvalidInputAnomalyImpl
312anomalyID: 4
313message: failed resource
314
315causedBy:
316 anomaly: busymachines.pureharm.anomaly.InvalidInputAnomalyImpl
317 anomalyID: 4
318 message: failed resource
319
320parameters:
321 causedBy: busymachines.pureharm.anomaly.InvalidInputAnomalyImpl: failed resource
322 location: /build/repo/testkit-ce2/shared/src/test/scala/busymachines/pureharm/testkit/PureharmTestTest.scala:52
323 tags: [Tag(Fail)]
324 testName: failed init
325 + failed init 0.019s
326
327************************
328Build summary:
329[{
330 "module": "pureharm-testkit",
331 "compile": {"status": "ok", "tookMs": 9076, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
332 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
333 "test-compile": {"status": "ok", "tookMs": 2225, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
334 "test": {"status": "ok", "tookMs": 896, "passed": 5, "failed": 0, "ignored": 0, "skipped": 0, "total": 5, "byFramework": [{"framework": "munit", "stats": {"passed": 5, "failed": 0, "ignored": 0, "skipped": 0, "total": 5}}]},
335 "publish": {"status": "skipped", "tookMs": 0},
336 "metadata": {
337 "crossScalaVersions": ["2.13.6", "3.0.1"]
338}
339},{
340 "module": "pureharm-testkit-ce2",
341 "compile": {"status": "ok", "tookMs": 2422, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
342 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
343 "test-compile": {"status": "ok", "tookMs": 1423, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
344 "test": {"status": "ok", "tookMs": 523, "passed": 5, "failed": 0, "ignored": 0, "skipped": 0, "total": 5, "byFramework": [{"framework": "munit", "stats": {"passed": 5, "failed": 0, "ignored": 0, "skipped": 0, "total": 5}}]},
345 "publish": {"status": "skipped", "tookMs": 0},
346 "metadata": {
347 "crossScalaVersions": ["2.13.6", "3.0.1"]
348}
349}]
350************************
351[success] Total time: 30 s, completed Nov 28, 2025, 3:45:52 PM
352[0JChecking patch project/plugins.sbt...
353Checking patch project/build.properties...
354Checking patch build.sbt...
355Applied patch project/plugins.sbt cleanly.
356Applied patch project/build.properties cleanly.
357Applied patch build.sbt cleanly.