Build Logs

fmonniot/scala3mock • 3.8.0-RC4:2025-12-22

Errors

2

Warnings

2

Total Lines

284

1##################################
2Clonning https://github.com/fmonniot/scala3mock.git into /build/repo using revision v0.6.6
3##################################
4Note: switching to '99fa67ef18146be9a6ddfab5046f8de0060ad480'.
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.10.4 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 fmonniot/scala3mock
37##################################
38Scala version: 3.8.0-RC4
39Targets: eu.monniot%scala3mock eu.monniot%scala3mock-cats eu.monniot%scala3mock-scalatest
40Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":["mapScalacOptions -experimental"],"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"mapScalacOptions -experimental"
66moduleMappings
67"runBuild 3.8.0-RC4 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":["mapScalacOptions -experimental"],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}""" eu.monniot%scala3mock eu.monniot%scala3mock-cats eu.monniot%scala3mock-scalatest"
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.915s.
75[info] done compiling
76[info] loading settings for project scala3mock from build.sbt...
77[info] set current project to scala3mock (in build file:/build/repo/)
78Execute setCrossScalaVersions: 3.8.0-RC4
79OpenCB::Changing crossVersion 3.2.2 -> 3.8.0-RC4 in integration/crossScalaVersions
80OpenCB::Limitting incorrect crossVersions List(3.3.3, 3.4.0, 3.5.0-RC1) -> List(3.8.0-RC4) in integration/crossScalaVersions
81OpenCB::Changing crossVersion 3.2.2 -> 3.8.0-RC4 in core/crossScalaVersions
82OpenCB::Changing crossVersion 3.2.2 -> 3.8.0-RC4 in cats/crossScalaVersions
83OpenCB::Changing crossVersion 3.2.2 -> 3.8.0-RC4 in scala3mock/crossScalaVersions
84OpenCB::Changing crossVersion 3.2.2 -> 3.8.0-RC4 in scalatest/crossScalaVersions
85OpenCB::Changing crossVersion 3.2.2 -> 3.8.0-RC4 in docs/crossScalaVersions
86[info] set current project to scala3mock (in build file:/build/repo/)
87[info] Setting Scala version to 3.8.0-RC4 on 6 projects.
88[info] Switching Scala version on:
89[info] scalatest (3.8.0-RC4)
90[info] integration (3.8.0-RC4)
91[info] * scala3mock (3.8.0-RC4)
92[info] docs (3.8.0-RC4)
93[info] cats (3.8.0-RC4)
94[info] core (3.8.0-RC4)
95[info] Excluding projects:
96[info] Reapplying settings...
97[info] set current project to scala3mock (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 scala3mock (in build file:/build/repo/)
101[info] Defining Global / credentials, cats / credentials and 4 others.
102[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 47 others.
103[info] Run `last` for details.
104[info] Reapplying settings...
105[info] set current project to scala3mock (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 integration / allExcludeDependencies ?
112 , retry without global scopes
113[info] Reapplying settings...
114[info] set current project to scala3mock (in build file:/build/repo/)
115Execute removeScalacOptionsStartingWith: -P:wartremover
116[info] Reapplying settings...
117[info] set current project to scala3mock (in build file:/build/repo/)
118Execute mapScalacOptions: -experimental
119[info] Reapplying settings...
120[info] set current project to scala3mock (in build file:/build/repo/)
121[success] Total time: 0 s, completed Dec 22, 2025, 5:40:50 PM
122Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":["mapScalacOptions -experimental"],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}
123Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
124Starting build...
125Projects: Set(scala3mock, cats, scalatest, core)
126Starting build for ProjectRef(file:/build/repo/,scala3mock) (scala3mock)... [0/4]
127OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
128OpenCB::Exclude Scala3 specific scalacOption `-experimental` in Scala 2.12.20 module Global
129Compile scalacOptions: -Wconf:msg=can be rewritten automatically under:s, -source:3.8, -experimental
130Starting build for ProjectRef(file:/build/repo/,cats) (scala3mock-cats)... [1/4]
131Compile scalacOptions: -Wconf:msg=can be rewritten automatically under:s, -source:3.8, -experimental
132OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
133[info] compiling 27 Scala sources to /build/repo/core/target/scala-3.8.0-RC4/classes ...
134[warn] there was 1 deprecation warning; re-run with -deprecation for details
135[warn] one warning found
136[info] done compiling
137[info] compiling 1 Scala source to /build/repo/cats/target/scala-3.8.0-RC4/classes ...
138[info] done compiling
139[info] compiling 1 Scala source to /build/repo/cats/target/scala-3.8.0-RC4/test-classes ...
140[info] done compiling
141eu.monniot.scala3mock.cats.CatsSuite:
142 + it should validate expectations after a lazy data type evaluated 0.1s
143Starting build for ProjectRef(file:/build/repo/,scalatest) (scala3mock-scalatest)... [2/4]
144Compile scalacOptions: -Wconf:msg=can be rewritten automatically under:s, -source:3.8, -experimental
145[info] compiling 3 Scala sources to /build/repo/scalatest/target/scala-3.8.0-RC4/classes ...
146[info] done compiling
147[info] compiling 9 Scala sources to /build/repo/scalatest/target/scala-3.8.0-RC4/test-classes ...
148[info] done compiling
149[info] FixtureContextTest:
150[info] - should allow to use mock defined in fixture-context
151[info] - should allow to use mock defined in fixture-context with expectations predefined
152[info] - should allow mock defined in fixture-context to be used during context initialization
153[info] SuiteScopePresetMockParallelTest:
154[info] - should allow to use mock defined suite scope with predefined expectations
155[info] - should keep predefined mock expectations
156[info] WithFixtureTest:
157[info] - can be mixed together with other traits which override withFixture
158[info] BasicTest:
159[info] - should allow to use mock defined in test case scope
160[info] - should use separate call logs for each test case
161[info] SuiteScopeMockTest:
162[info] - should allow to use mock defined suite scope
163[info] - should allow to use mock defined suite scope in more than one test case
164[info] ErrorReportingTest:
165[info] - should report unexpected call correctly
166[info] - should report unexpected call correctly when expectations are set
167[info] - should not hide NullPointerException
168[info] - should report default mock names
169[info] - should report unexpected calls in readable manner
170[info] BasicAsyncTest:
171[info] - should work in scalatest async test
172Starting build for ProjectRef(file:/build/repo/,core) (scala3mock)... [3/4]
173Compile scalacOptions: -explain, -Wconf:msg=can be rewritten automatically under:s, -source:3.8, -experimental
174[info] compiling 21 Scala sources to /build/repo/core/target/scala-3.8.0-RC4/test-classes ...
175[info] done compiling
176features.ThrowSuite:
177 + should throw what it is told to (throwing) 0.023s
178 + throw what it is told to (throws) 0.001s
179 + throw computed exception 0.004s
180features.MatchersSuite:
181 + should let you use star for MatchAny 0.001s
182 + should let you use tilde for MatchEpsilon 0.001s
183features.CallCountSuite:
184 + should fail if an unexpected call is made 0.025s
185 + should fail if a method isn't called often enough (once) 0.001s
186 + should not fail if a method is called once (once) 0.002s
187 + should fail if a method is called too often (once) 0.001s
188 + should fail if a method isn't called often enough (twice) 0.001s
189 + should fail if a method is called too often (twice) 0.001s
190 + should handle noMoreThanTwice call count (zero) 0.001s
191 + should handle noMoreThanTwice call count (one) 0.003s
192 + should handle noMoreThanTwice call count (two) 0.001s
193 + should handle noMoreThanTwice call count (three) 0.002s
194 + should handle never call count (zero) 0.002s
195 + should handle never call count (one) 0.001s
196 + should handle exactly(3) call count (3) 0.0s
197 + should handle repeated(1 to 2) call count (0) 0.001s
198 + should handle repeated(1 to 2) call count (1) 0.0s
199 + should handle repeat(1 to 2) call count (2) 0.003s
200 + should handle repeated(1 to 2) call count (3) 0.001s
201 + should handle exactly(2) call count (2) 0.001s
202features.ReturnSuite:
203 + should return null by default 0.023s
204 + should return a null-like default value for non reference types 0.001s
205 + should return what they're told to 0.001s
206 + should return a calculated return value 0.002s
207 + should return a calculated return value (unary function) 0.004s
208 + should return a calculated return value (chaining mocks) 0.002s
209 + should handle stacked expectations (returning) 0.005s
210 + should handle stacked expectations (returning) and call count 0.008s
211 + should handle stacked expectations (onCall) 0.001s
212 + should handle stacked expectations (onCall) and call count 0.002s
213 + should match return value to provided arguments (onCall) 0.002s
214 + should match return value to provided arguments (same order) 0.002s
215 + should match return value to provided arguments (different order) 0.001s
216 + should match return value to provided arguments (call count) 0.001s
217mock.MockSuite:
218 + TestTrait 0.03s
219 + TestTrait - onCall unary 0.003s
220 + ManyParamsClass 0.044s
221 + Match predicate 0.014s
222 + ManyParams 0.005s
223 + PolymorphicTrait 0.001s
224 + PolymorphicClassWithParameters 0.0s
225 + SpecializedClass 0.003s
226 + TestClass 0.0s
227 + ClassWithoutTypeParameters 0.001s
228 + PrintStream - class with private constructor - issue #15 0.008s
229 + User's can define their own Default value 0.002s
230 + parameterized trait ContextBoundInheritance is indirectly implemented - issue #48 0.001s
231 + TestDefaultParameters - issue #53 0.002s
232 + overloaded private method - issue #68 0.001s
233
234************************
235Build summary:
236[{
237 "module": "scala3mock",
238 "compile": {"status": "ok", "tookMs": 3965, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
239 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
240 "test-compile": {"status": "ok", "tookMs": 138, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
241 "test": {"status": "ok", "tookMs": 102, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
242 "publish": {"status": "ok", "tookMs": 3},
243 "metadata": {
244 "crossScalaVersions": ["3.2.2"]
245}
246},{
247 "module": "scala3mock-cats",
248 "compile": {"status": "ok", "tookMs": 14466, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
249 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
250 "test-compile": {"status": "ok", "tookMs": 1309, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
251 "test": {"status": "ok", "tookMs": 616, "passed": 1, "failed": 0, "ignored": 0, "skipped": 0, "total": 1, "byFramework": [{"framework": "munit", "stats": {"passed": 1, "failed": 0, "ignored": 0, "skipped": 0, "total": 1}}]},
252 "publish": {"status": "skipped", "tookMs": 0},
253 "metadata": {
254 "crossScalaVersions": ["3.2.2"]
255}
256},{
257 "module": "scala3mock-scalatest",
258 "compile": {"status": "ok", "tookMs": 1014, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
259 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
260 "test-compile": {"status": "ok", "tookMs": 4250, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
261 "test": {"status": "ok", "tookMs": 407, "passed": 16, "failed": 0, "ignored": 0, "skipped": 0, "total": 16, "byFramework": [{"framework": "unknown", "stats": {"passed": 16, "failed": 0, "ignored": 0, "skipped": 0, "total": 16}}]},
262 "publish": {"status": "skipped", "tookMs": 0},
263 "metadata": {
264 "crossScalaVersions": ["3.2.2"]
265}
266},{
267 "module": "scala3mock",
268 "compile": {"status": "ok", "tookMs": 57, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
269 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
270 "test-compile": {"status": "ok", "tookMs": 4920, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
271 "test": {"status": "ok", "tookMs": 284, "passed": 52, "failed": 0, "ignored": 0, "skipped": 0, "total": 52, "byFramework": [{"framework": "munit", "stats": {"passed": 52, "failed": 0, "ignored": 0, "skipped": 0, "total": 52}}]},
272 "publish": {"status": "skipped", "tookMs": 0},
273 "metadata": {
274 "crossScalaVersions": ["3.2.2"]
275}
276}]
277************************
278[success] Total time: 63 s (0:01:03.0), completed Dec 22, 2025, 5:41:53 PM
279[0JChecking patch project/plugins.sbt...
280Checking patch project/build.properties...
281Checking patch build.sbt...
282Applied patch project/plugins.sbt cleanly.
283Applied patch project/build.properties cleanly.
284Applied patch build.sbt cleanly.