Build Logs
fmonniot/scala3mock • 3.8.0-RC3:2025-12-04
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-RC3
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-RC3
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-RC3
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-RC3
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-RC3"
60"++3.8.0-RC3 -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-RC3 """{"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.947s.
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-RC3
79OpenCB::Changing crossVersion 3.2.2 -> 3.8.0-RC3 in integration/crossScalaVersions
80OpenCB::Limitting incorrect crossVersions List(3.3.3, 3.4.0, 3.5.0-RC1) -> List(3.8.0-RC3) in integration/crossScalaVersions
81OpenCB::Changing crossVersion 3.2.2 -> 3.8.0-RC3 in scalatest/crossScalaVersions
82OpenCB::Changing crossVersion 3.2.2 -> 3.8.0-RC3 in cats/crossScalaVersions
83OpenCB::Changing crossVersion 3.2.2 -> 3.8.0-RC3 in core/crossScalaVersions
84OpenCB::Changing crossVersion 3.2.2 -> 3.8.0-RC3 in scala3mock/crossScalaVersions
85OpenCB::Changing crossVersion 3.2.2 -> 3.8.0-RC3 in docs/crossScalaVersions
86[info] set current project to scala3mock (in build file:/build/repo/)
87[info] Setting Scala version to 3.8.0-RC3 on 6 projects.
88[info] Switching Scala version on:
89[info] scalatest (3.8.0-RC3)
90[info] integration (3.8.0-RC3)
91[info] * scala3mock (3.8.0-RC3)
92[info] docs (3.8.0-RC3)
93[info] cats (3.8.0-RC3)
94[info] core (3.8.0-RC3)
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 4, 2025, 3:06:28 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-RC3/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-RC3/classes ...
138[info] done compiling
139[info] compiling 1 Scala source to /build/repo/cats/target/scala-3.8.0-RC3/test-classes ...
140[info] done compiling
141eu.monniot.scala3mock.cats.CatsSuite:
142 + it should validate expectations after a lazy data type evaluated 0.145s
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-RC3/classes ...
146[info] done compiling
147[info] compiling 9 Scala sources to /build/repo/scalatest/target/scala-3.8.0-RC3/test-classes ...
148[info] done compiling
149[info] BasicAsyncTest:
150[info] - should work in scalatest async test
151[info] BasicTest:
152[info] - should allow to use mock defined in test case scope
153[info] - should use separate call logs for each test case
154[info] FixtureContextTest:
155[info] - should allow to use mock defined in fixture-context
156[info] - should allow to use mock defined in fixture-context with expectations predefined
157[info] - should allow mock defined in fixture-context to be used during context initialization
158[info] WithFixtureTest:
159[info] - can be mixed together with other traits which override withFixture
160[info] SuiteScopePresetMockParallelTest:
161[info] - should allow to use mock defined suite scope with predefined expectations
162[info] - should keep predefined mock expectations
163[info] ErrorReportingTest:
164[info] - should report unexpected call correctly
165[info] - should report unexpected call correctly when expectations are set
166[info] - should not hide NullPointerException
167[info] - should report default mock names
168[info] - should report unexpected calls in readable manner
169[info] SuiteScopeMockTest:
170[info] - should allow to use mock defined suite scope
171[info] - should allow to use mock defined suite scope in more than one test case
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-RC3/test-classes ...
175[info] done compiling
176features.ThrowSuite:
177 + should throw what it is told to (throwing) 0.018s
178 + throw what it is told to (throws) 0.002s
179 + throw computed exception 0.002s
180features.MatchersSuite:
181 + should let you use star for MatchAny 0.017s
182 + should let you use tilde for MatchEpsilon 0.001s
183features.CallCountSuite:
184 + should fail if an unexpected call is made 0.015s
185 + should fail if a method isn't called often enough (once) 0.004s
186 + should not fail if a method is called once (once) 0.001s
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.003s
189 + should fail if a method is called too often (twice) 0.0s
190 + should handle noMoreThanTwice call count (zero) 0.0s
191 + should handle noMoreThanTwice call count (one) 0.001s
192 + should handle noMoreThanTwice call count (two) 0.004s
193 + should handle noMoreThanTwice call count (three) 0.005s
194 + should handle never call count (zero) 0.003s
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.002s
199 + should handle repeat(1 to 2) call count (2) 0.001s
200 + should handle repeated(1 to 2) call count (3) 0.005s
201 + should handle exactly(2) call count (2) 0.001s
202features.ReturnSuite:
203 + should return null by default 0.015s
204 + should return a null-like default value for non reference types 0.001s
205 + should return what they're told to 0.01s
206 + should return a calculated return value 0.001s
207 + should return a calculated return value (unary function) 0.008s
208 + should return a calculated return value (chaining mocks) 0.001s
209 + should handle stacked expectations (returning) 0.003s
210 + should handle stacked expectations (returning) and call count 0.002s
211 + should handle stacked expectations (onCall) 0.002s
212 + should handle stacked expectations (onCall) and call count 0.001s
213 + should match return value to provided arguments (onCall) 0.001s
214 + should match return value to provided arguments (same order) 0.004s
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.018s
219 + TestTrait - onCall unary 0.004s
220 + ManyParamsClass 0.042s
221 + Match predicate 0.017s
222 + ManyParams 0.005s
223 + PolymorphicTrait 0.001s
224 + PolymorphicClassWithParameters 0.001s
225 + SpecializedClass 0.002s
226 + TestClass 0.001s
227 + ClassWithoutTypeParameters 0.002s
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.003s
232 + overloaded private method - issue #68 0.001s
233
234************************
235Build summary:
236[{
237 "module": "scala3mock",
238 "compile": {"status": "ok", "tookMs": 3277, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
239 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
240 "test-compile": {"status": "ok", "tookMs": 142, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
241 "test": {"status": "ok", "tookMs": 112, "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": 13510, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
249 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
250 "test-compile": {"status": "ok", "tookMs": 1034, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
251 "test": {"status": "ok", "tookMs": 684, "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": 894, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
259 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
260 "test-compile": {"status": "ok", "tookMs": 4264, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
261 "test": {"status": "ok", "tookMs": 392, "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": 61, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
269 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
270 "test-compile": {"status": "ok", "tookMs": 4402, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
271 "test": {"status": "ok", "tookMs": 330, "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: 56 s, completed Dec 4, 2025, 3:07:25 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.