Build Logs
scalatest/scalatestplus-junit • 3.8.0-RC6:2026-01-08
Errors
55
Warnings
37
Total Lines
302
1##################################
2Clonning https://github.com/scalatest/scalatestplus-junit.git into /build/repo using revision release-3.2.19.1-for-junit-4.13
3##################################
4Note: switching to '30566e6e85a3f4654ce8799fa5dca42e1deb24e9'.
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
21----
22Preparing build for 3.8.0-RC6
23Scala binary version found: 3.8
24Implicitly using source version 3.8
25Scala binary version found: 3.8
26Implicitly using source version 3.8
27Would try to apply common scalacOption (best-effort, sbt/mill only):
28Append: ,REQUIRE:-source:3.8
29Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
30----
31Starting build for 3.8.0-RC6
32Execute tests: true
33sbt project found:
34Sbt version 1.5.8 is not supported, minimal supported version is 1.11.5
35Enforcing usage of sbt in version 1.11.5
36No prepare script found for project scalatest/scalatestplus-junit
37##################################
38Scala version: 3.8.0-RC6
39Targets: org.scalatestplus%junit-4-13
40Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":["set Compile/doc/skip := true"],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}
41##################################
42Using extra scalacOptions: ,REQUIRE:-source:3.8
43Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
44[sbt_options] declare -a sbt_options=()
45[process_args] java_version = '17'
46[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
47# Executing command line:
48java
49-Dfile.encoding=UTF-8
50-Dcommunitybuild.scala=3.8.0-RC6
51-Dcommunitybuild.project.dependencies.add=
52-Xmx7G
53-Xms4G
54-Xss8M
55-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
56-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
57-jar
58/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
59"setCrossScalaVersions 3.8.0-RC6"
60"++3.8.0-RC6 -v"
61"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
62"set every credentials := Nil"
63"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
64"removeScalacOptionsStartingWith -P:wartremover"
65"set Compile/doc/skip := true"
66moduleMappings
67"runBuild 3.8.0-RC6 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":["set Compile/doc/skip := true"],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}""" org.scalatestplus%junit-4-13"
68
69[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
70[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
71[info] loading project definition from /build/repo/project
72[info] compiling 2 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
73[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
74[info] Compilation completed in 8.256s.
75[info] done compiling
76[info] loading settings for project repo from build.sbt...
77[info] set current project to junit-4.13 (in build file:/build/repo/)
78Execute setCrossScalaVersions: 3.8.0-RC6
79OpenCB::Changing crossVersion 3.3.5 -> 3.8.0-RC6 in repo/crossScalaVersions
80[info] set current project to junit-4.13 (in build file:/build/repo/)
81[info] Setting Scala version to 3.8.0-RC6 on 1 projects.
82[info] Switching Scala version on:
83[info] * repo (2.11.12, 2.12.20, 2.13.16, 3.8.0-RC6)
84[info] Excluding projects:
85[info] Reapplying settings...
86[info] set current project to junit-4.13 (in build file:/build/repo/)
87Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
88[info] Reapplying settings...
89[info] set current project to junit-4.13 (in build file:/build/repo/)
90[info] Defining Global / credentials, credentials
91[info] The new values will be used by Global / pgpSelectPassphrase, Global / pgpSigningKey and 4 others.
92[info] Run `last` for details.
93[info] Reapplying settings...
94[info] set current project to junit-4.13 (in build file:/build/repo/)
95Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
96[info] Reapplying settings...
97OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
98
99 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
100 Did you mean allExcludeDependencies ?
101 , retry without global scopes
102[info] Reapplying settings...
103[info] set current project to junit-4.13 (in build file:/build/repo/)
104Execute removeScalacOptionsStartingWith: -P:wartremover
105[info] Reapplying settings...
106[info] set current project to junit-4.13 (in build file:/build/repo/)
107[info] Defining Compile / doc / skip
108[info] The new value will be used by no settings or tasks.
109[info] Reapplying settings...
110[info] set current project to junit-4.13 (in build file:/build/repo/)
111[success] Total time: 0 s, completed Jan 8, 2026, 2:50:39 AM
112Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":["set Compile/doc/skip := true"],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}
113Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
114Starting build...
115Projects: Set(repo)
116Starting build for ProjectRef(file:/build/repo/,repo) (junit-4-13)... [0/1]
117OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
118Compile scalacOptions: -Wconf:msg=can be rewritten automatically under:s, -source:3.8
119[info] compiling 13 Scala sources to /build/repo/target/scala-3.8.0-RC6/classes ...
120[warn] -- [E030] Match case Unreachable Warning: /build/repo/src/main/scala/org/scalatestplus/junit/MyRunListener.scala:60:15
121[warn] 60 | case optPayload: PayloadField =>
122[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^
123[warn] | Unreachable case
124[warn] there were 2 deprecation warnings; re-run with -deprecation for details
125[warn] two warnings found
126[info] done compiling
127[info] Main Scala API documentation to /build/repo/target/scala-3.8.0-RC6/api...
128[info] Skipping unused scalacOptions: -Wconf
129[warn] Option -classpath was updated
130[warn] -- Warning: dotty/core/src/main/scala/org/scalatest/Assertions.scala:1153:13 ---
131[warn] Couldn't resolve a member for the given link query: NullArgumentException
132[warn] -- Warning: dotty/core/src/main/scala/org/scalatest/Assertions.scala:1134:13 ---
133[warn] Couldn't resolve a member for the given link query: NullArgumentException
134[warn] -- Warning: dotty/core/src/main/scala/org/scalatest/Assertions.scala:1115:13 ---
135[warn] Couldn't resolve a member for the given link query: NullArgumentException
136[warn] -- Warning: dotty/core/src/main/scala/org/scalatest/Assertions.scala:632:13 ----
137[warn] Couldn't resolve a member for the given link query: NullArgumentException
138[warn] -- Warning: dotty/core/src/main/scala/org/scalatest/Assertions.scala:579:13 ----
139[warn] Couldn't resolve a member for the given link query: TestCanceledException
140[warn] -- Warning: dotty/core/src/main/scala/org/scalatest/Assertions.scala:983:13 ----
141[warn] Couldn't resolve a member for the given link query: TestFailedException
142[warn] -- Warning: dotty/core/src/main/scala/org/scalatest/Assertions.scala:959:13 ----
143[warn] Couldn't resolve a member for the given link query: TestFailedException
144[warn] -- Warning: dotty/core/src/main/scala/org/scalatest/Assertions.scala:1301:13 ---
145[warn] Couldn't resolve a member for the given link query: TestPendingException
146[warn] -- Warning: dotty/core/src/main/scala/org/scalatest/Assertions.scala:818:13 ----
147[warn] Couldn't resolve a member for the given link query: TestFailedException
148[warn] -- Warning: dotty/core/src/main/scala/org/scalatest/Assertions.scala:1091:13 ---
149[warn] Couldn't resolve a member for the given link query: NullArgumentException
150[warn] -- Warning: dotty/core/src/main/scala/org/scalatest/Assertions.scala:1072:13 ---
151[warn] Couldn't resolve a member for the given link query: NullArgumentException
152[warn] -- Warning: dotty/core/src/main/scala/org/scalatest/Assertions.scala:1053:13 ---
153[warn] Couldn't resolve a member for the given link query: NullArgumentException
154[warn] -- Warning: dotty/core/src/main/scala/org/scalatest/Assertions.scala:1195:6 ----
155[warn] Couldn't resolve a member for the given link query: NullArgumentException
156[warn] -- Warning: dotty/core/src/main/scala/org/scalatest/Assertions.scala:757:13 ----
157[warn] Couldn't resolve a member for the given link query: TestFailedException
158[warn] -- Warning: dotty/core/src/main/scala/org/scalatest/Assertions.scala:531:13 ----
159[warn] Couldn't resolve a member for the given link query: NullArgumentException
160[warn] -- Warning: dotty/core/src/main/scala/org/scalatest/Assertions.scala:472:13 ----
161[warn] Couldn't resolve a member for the given link query: TestFailedException
162[warn] -- Warning: dotty/core/target/scala-3/src_managed/main/org/scalatest/Suite.scala:758:12
163[warn] Couldn't resolve a member for the given link query: NullArgumentException
164[warn] -- Warning: src/main/scala/org/scalatestplus/junit/JUnitTestFailedError.scala:71:6
165[warn] 71 |class JUnitTestFailedError(
166[warn] | ^
167[warn] |Couldn't resolve a member for the given link query: NullArgumentException
168[warn] -- Warning: src/main/scala/org/scalatestplus/junit/JUnitTestFailedError.scala:142:6
169[warn] 142 | def this(message: String, failedCodeStackDepth: Int) =
170[warn] | ^
171[warn] |Couldn't resolve a member for the given link query: NullArgumentException
172[warn] -- Warning: src/main/scala/org/scalatestplus/junit/JUnitTestFailedError.scala:163:6
173[warn] 163 | def this(cause: Throwable, failedCodeStackDepth: Int) =
174[warn] | ^
175[warn] |Couldn't resolve a member for the given link query: NullArgumentException
176[warn] -- Warning: src/main/scala/org/scalatestplus/junit/JUnitTestFailedError.scala:188:6
177[warn] 188 | def this(message: String, cause: Throwable, failedCodeStackDepth: Int) =
178[warn] | ^
179[warn] |Couldn't resolve a member for the given link query: NullArgumentException
180[warn] 22 warnings found
181[info] Main Scala API documentation successful.
182[error] java.io.FileNotFoundException: /build/repo/target/scala-3.8.0-RC6/api/lib/template.css (No such file or directory)
183[error] at java.base/java.io.FileInputStream.open0(Native Method)
184[error] at java.base/java.io.FileInputStream.open(FileInputStream.java:216)
185[error] at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157)
186[error] at scala.io.Source$.fromFile(Source.scala:94)
187[error] at scala.io.Source$.fromFile(Source.scala:79)
188[error] at $6df5a71126e05b1fd909$.docTask(build.sbt:132)
189[error] at $25c348b5a877b03fab48$.$anonfun$$sbtdef$1(/build/repo/build.sbt:155)
190[error] at scala.Function1.$anonfun$compose$1(Function1.scala:49)
191[error] at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:63)
192[error] at sbt.std.Transform$$anon$4.work(Transform.scala:69)
193[error] at sbt.Execute.$anonfun$submit$2(Execute.scala:283)
194[error] at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:24)
195[error] at sbt.Execute.work(Execute.scala:292)
196[error] at sbt.Execute.$anonfun$submit$1(Execute.scala:283)
197[error] at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
198[error] at sbt.CompletionService$$anon$2.call(CompletionService.scala:65)
199[error] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
200[error] at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
201[error] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
202[error] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
203[error] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
204[error] at java.base/java.lang.Thread.run(Thread.java:833)
205[error] (Compile / doc) java.io.FileNotFoundException: /build/repo/target/scala-3.8.0-RC6/api/lib/template.css (No such file or directory)
206[info] compiling 11 Scala sources and 6 Java sources to /build/repo/target/scala-3.8.0-RC6/test-classes ...
207[info] done compiling
208[info] AssertionsForJUnitWordSpec:
209[info] the AssertionsForJUnit3 trait
210[info] should throw AssertionFailedError
211[info] - from failed assert expressions
212[info] - from failed expect expressions
213[info] - from failed intercept expressions
214[info] - from fail
215[info] JUnitTestFailedErrorSpec:
216[info] The JUnitTestFailedError
217[info] - should give the proper line on fail()
218[info] - should give the proper line on fail("message")
219[info] - should give the proper line on fail(throwable)
220[info] - should give the proper line on fail("some message", throwable)
221[info] - should give the proper line on assert(false)
222[info] - should give the proper line on assert(false, "some message")
223[info] - should give the proper line on assert(1 === 2)
224[info] - should give the proper line on assert(1 === 2, "some message")
225[info] - should give the proper line on assertResult(1) { 2 }
226[info] - should give the proper line on assertResult(1, "some message") { 2 }
227[info] - should give the proper line on intercept[IllegalArgumentException] {}
228[info] - should give the proper line on intercept[IllegalArgumentException] { throw new RuntimeException }
229[info] - should return the cause in both cause and getCause
230[info] - should return None in cause and null in getCause if no cause
231[info] RunNotifierSuite:
232[info] - report(TestStarting) generates a fireTestStarted invocation
233[info] - report(TestFailed) generates a fireTestFailure invocation
234[info] - report(TestCanceled) generates a fireTestAssumptionFailed invocation
235[info] - report(TestSucceeded) generates a fireTestFinished invocation
236[info] - report(TestIgnored) generates a fireTestIgnored invocation
237[info] - report(SuiteAborted) generates a fireTestFailure invocation
238[info] - report(RunAborted) generates a fireTestFailure invocation
239[info] JUnit3SuiteSpec:
240[info] A JUnit3Suite
241[info] - should return the test names in alphabetical order from testNames
242[info] - should return the proper testNames for test methods whether or not they take an Informer
243[info] - should not return names of methods that start with test, take no params, but have a return type other than Unit from testNames
244[info] - should include in testNames a method simply named 'test', that takes no params and has a return type of Unit
245[info] - should return an empty tags map from the tags method, because a tag-like concept isn't supported in JUnit 3
246[info] - should execute all tests when run is called with testName None
247[info] - should execute one test when run is called with a defined testName
248[info] - should throw IllegalArgumentException if run is passed a testName that does not exist
249[info] - should run no tests if tags to include is non-empty
250[info] - should return the correct test count from its expectedTestCount method
251[info] - should generate a test failure if a Throwable, or an Error other than direct Error subtypes known in JDK 1.5, excluding AssertionError
252[info] JUnitSuiteSpec:
253[info] A JUnitSuite
254[info] - should return the test names in alphabetical order from testNames
255[info] - should return the proper testNames for test methods whether or not they take an Informer
256[info] - should return names of methods that are annotated with Test, take no params, but have a return type other than Unit from testNames
257[info] - should return a tags map from the tags method that contains only methods marked with org.junit.Ignore
258[info] - should execute all tests when run is called with testName None
259[info] - should execute one test when run is called with a defined testName
260[info] - should throw IllegalArgumentException if run is passed a testName that does not exist
261[info] - should run no tests if tags to include is non-empty
262[info] - should return the correct test count from its expectedTestCount method
263[info] - should generate a test failure if a Throwable, or an Error other than direct Error subtypes known in JDK 1.5, excluding AssertionError
264[info] JUnitSuiteSuite:
265[info] - A JUnitSuite with a JUnit 4 Test annotation will cause TestStarting event to be fired
266[info] - A JUnitSuite with a JUnit 4 Test annotation will cause TestSucceeded to be fired
267[info] - A JUnitSuite with a JUnit 4 Test annotation on a bad test will cause testFailed to be invoked
268[info] - A JUnitSuite with JUnit 4 Ignore and Test annotations will cause TestIgnored to be fired
269[info] - A JUnitSuite with two JUnit 4 Test annotations will cause TestStarting and TestSucceeded events to be fired twice each
270[info] - A JUnitSuite with a JUnit 4 Test annotation will not cause runStarting to be invoked
271[info] - A JUnitSuite with a JUnit 4 Test annotation will not cause runCompleted to be invoked
272[info] JUnitWrapperSuiteSuite:
273[info] - A JUnitWrapperSuite runs a JUnit3 TestCase class successfully
274[info] - A JUnitWrapperSuite runs a JUnit4 class successfully
275[info] - A JUnitWrapperSuite runs a failing JUnit4 class successfully
276[info] - A JUnitWrapperSuite runs a JUnit3 TestSuite class successfully
277[info] - A JUnitWrapperSuite should use the fully qualified classname of the class being wrapped as suiteId
278[info] JUnitRunnerSuite:
279[info] - That EasySuite gets run by JUnit given its RunWith annotation
280[info] - a test failure is reported due to an exception thrown from beforeAll when JUnitRunner.run is called directly
281[info] - That a test failure is reported due to an exception thrown from beforeAll when JUnitRunner is called from JUnit
282[info] - Test a suite can be filtered by name as the runner implements filterable now
283[info] - Should execute only methods that don't match the filter pattern
284
285************************
286Build summary:
287[{
288 "module": "junit-4-13",
289 "compile": {"status": "ok", "tookMs": 7328, "warnings": 1, "errors": 0, "sourceVersion": "3.8"},
290 "doc": {"status": "failed", "failureContext": {"type": "buildError", "reasons": ["java.io.FileNotFoundException: /build/repo/target/scala-3.8.0-RC6/api/lib/template.css (No such file or directory)"]}, "tookMs": 5381, "files": 0, "totalSizeKb": 0},
291 "test-compile": {"status": "ok", "tookMs": 6697, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
292 "test": {"status": "ok", "tookMs": 770, "passed": 63, "failed": 0, "ignored": 0, "skipped": 0, "total": 63, "byFramework": [{"framework": "unknown", "stats": {"passed": 63, "failed": 0, "ignored": 0, "skipped": 0, "total": 63}}]},
293 "publish": {"status": "skipped", "tookMs": 0},
294 "metadata": {
295 "crossScalaVersions": ["2.11.12", "2.12.20", "2.13.16", "3.3.5"]
296}
297}]
298************************
299[error] Scala3CommunityBuild$ProjectBuildFailureException: 1 module(s) finished with failures: junit-4-13
300[error] (Global / runBuild) Scala3CommunityBuild$ProjectBuildFailureException: 1 module(s) finished with failures: junit-4-13
301[error] Total time: 22 s, completed Jan 8, 2026, 2:51:01 AM
302[0JBuild failed, not retrying.