Build Logs

scalatest/scalatestplus-junit • 3.8.0-RC4:2025-12-22

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-RC4
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-RC4
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-RC4
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-RC4
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-RC4"
60"++3.8.0-RC4 -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-RC4 """{"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.648s.
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-RC4
79OpenCB::Changing crossVersion 3.3.5 -> 3.8.0-RC4 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-RC4 on 1 projects.
82[info] Switching Scala version on:
83[info] * repo (2.11.12, 2.12.20, 2.13.16, 3.8.0-RC4)
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 Dec 22, 2025, 6:57:35 PM
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-RC4/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-RC4/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-RC4/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 $ba6135b41d3df1acfacc$.docTask(build.sbt:132)
189[error] at $b9929ca6e37c87ef576a$.$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-RC4/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-RC4/test-classes ...
207[info] done compiling
208[info] RunNotifierSuite:
209[info] - report(TestStarting) generates a fireTestStarted invocation
210[info] - report(TestFailed) generates a fireTestFailure invocation
211[info] - report(TestCanceled) generates a fireTestAssumptionFailed invocation
212[info] - report(TestSucceeded) generates a fireTestFinished invocation
213[info] - report(TestIgnored) generates a fireTestIgnored invocation
214[info] - report(SuiteAborted) generates a fireTestFailure invocation
215[info] - report(RunAborted) generates a fireTestFailure invocation
216[info] AssertionsForJUnitWordSpec:
217[info] the AssertionsForJUnit3 trait
218[info] should throw AssertionFailedError
219[info] - from failed assert expressions
220[info] - from failed expect expressions
221[info] - from failed intercept expressions
222[info] - from fail
223[info] JUnitSuiteSuite:
224[info] - A JUnitSuite with a JUnit 4 Test annotation will cause TestStarting event to be fired
225[info] - A JUnitSuite with a JUnit 4 Test annotation will cause TestSucceeded to be fired
226[info] - A JUnitSuite with a JUnit 4 Test annotation on a bad test will cause testFailed to be invoked
227[info] - A JUnitSuite with JUnit 4 Ignore and Test annotations will cause TestIgnored to be fired
228[info] - A JUnitSuite with two JUnit 4 Test annotations will cause TestStarting and TestSucceeded events to be fired twice each
229[info] - A JUnitSuite with a JUnit 4 Test annotation will not cause runStarting to be invoked
230[info] - A JUnitSuite with a JUnit 4 Test annotation will not cause runCompleted to be invoked
231[info] JUnitRunnerSuite:
232[info] - That EasySuite gets run by JUnit given its RunWith annotation
233[info] - a test failure is reported due to an exception thrown from beforeAll when JUnitRunner.run is called directly
234[info] - That a test failure is reported due to an exception thrown from beforeAll when JUnitRunner is called from JUnit
235[info] - Test a suite can be filtered by name as the runner implements filterable now
236[info] - Should execute only methods that don't match the filter pattern
237[info] JUnit3SuiteSpec:
238[info] A JUnit3Suite
239[info] - should return the test names in alphabetical order from testNames
240[info] - should return the proper testNames for test methods whether or not they take an Informer
241[info] - should not return names of methods that start with test, take no params, but have a return type other than Unit from testNames
242[info] - should include in testNames a method simply named 'test', that takes no params and has a return type of Unit
243[info] - should return an empty tags map from the tags method, because a tag-like concept isn't supported in JUnit 3
244[info] - should execute all tests when run is called with testName None
245[info] - should execute one test when run is called with a defined testName
246[info] - should throw IllegalArgumentException if run is passed a testName that does not exist
247[info] - should run no tests if tags to include is non-empty
248[info] - should return the correct test count from its expectedTestCount method
249[info] - should generate a test failure if a Throwable, or an Error other than direct Error subtypes known in JDK 1.5, excluding AssertionError
250[info] JUnitTestFailedErrorSpec:
251[info] The JUnitTestFailedError
252[info] - should give the proper line on fail()
253[info] - should give the proper line on fail("message")
254[info] - should give the proper line on fail(throwable)
255[info] - should give the proper line on fail("some message", throwable)
256[info] - should give the proper line on assert(false)
257[info] - should give the proper line on assert(false, "some message")
258[info] - should give the proper line on assert(1 === 2)
259[info] - should give the proper line on assert(1 === 2, "some message")
260[info] - should give the proper line on assertResult(1) { 2 }
261[info] - should give the proper line on assertResult(1, "some message") { 2 }
262[info] - should give the proper line on intercept[IllegalArgumentException] {}
263[info] - should give the proper line on intercept[IllegalArgumentException] { throw new RuntimeException }
264[info] - should return the cause in both cause and getCause
265[info] - should return None in cause and null in getCause if no cause
266[info] JUnitWrapperSuiteSuite:
267[info] - A JUnitWrapperSuite runs a JUnit3 TestCase class successfully
268[info] - A JUnitWrapperSuite runs a JUnit4 class successfully
269[info] - A JUnitWrapperSuite runs a failing JUnit4 class successfully
270[info] - A JUnitWrapperSuite runs a JUnit3 TestSuite class successfully
271[info] - A JUnitWrapperSuite should use the fully qualified classname of the class being wrapped as suiteId
272[info] JUnitSuiteSpec:
273[info] A JUnitSuite
274[info] - should return the test names in alphabetical order from testNames
275[info] - should return the proper testNames for test methods whether or not they take an Informer
276[info] - should return names of methods that are annotated with Test, take no params, but have a return type other than Unit from testNames
277[info] - should return a tags map from the tags method that contains only methods marked with org.junit.Ignore
278[info] - should execute all tests when run is called with testName None
279[info] - should execute one test when run is called with a defined testName
280[info] - should throw IllegalArgumentException if run is passed a testName that does not exist
281[info] - should run no tests if tags to include is non-empty
282[info] - should return the correct test count from its expectedTestCount method
283[info] - should generate a test failure if a Throwable, or an Error other than direct Error subtypes known in JDK 1.5, excluding AssertionError
284
285************************
286Build summary:
287[{
288 "module": "junit-4-13",
289 "compile": {"status": "ok", "tookMs": 10243, "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-RC4/api/lib/template.css (No such file or directory)"]}, "tookMs": 5124, "files": 0, "totalSizeKb": 0},
291 "test-compile": {"status": "ok", "tookMs": 7115, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
292 "test": {"status": "ok", "tookMs": 697, "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: 34 s, completed Dec 22, 2025, 6:58:09 PM
302[0JBuild failed, not retrying.