Build Logs

bdmendes/smockito • 3.8.0-RC4:2025-12-22

Errors

0

Warnings

1

Total Lines

187

1##################################
2Clonning https://github.com/bdmendes/smockito.git into /build/repo using revision v2.3.1
3##################################
4Note: switching to '8a99a9af7f7fcc8fbe6098e188fff891752c6b45'.
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:
34No prepare script found for project bdmendes/smockito
35##################################
36Scala version: 3.8.0-RC4
37Targets: com.bdmendes%smockito
38Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}
39##################################
40Using extra scalacOptions: ,REQUIRE:-source:3.8
41Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
42[sbt_options] declare -a sbt_options=()
43[process_args] java_version = '17'
44[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
45# Executing command line:
46java
47-Dfile.encoding=UTF-8
48-Dcommunitybuild.scala=3.8.0-RC4
49-Dcommunitybuild.project.dependencies.add=
50-Xmx7G
51-Xms4G
52-Xss8M
53-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
54-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
55-jar
56/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
57"setCrossScalaVersions 3.8.0-RC4"
58"++3.8.0-RC4 -v"
59"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
60"set every credentials := Nil"
61"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
62"removeScalacOptionsStartingWith -P:wartremover"
63
64moduleMappings
65"runBuild 3.8.0-RC4 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}""" com.bdmendes%smockito"
66
67[info] [launcher] getting org.scala-sbt sbt 1.11.7 (this may take some time)...
68[info] welcome to sbt 1.11.7 (Eclipse Adoptium Java 17.0.8)
69[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
70[info] loading project definition from /build/repo/project
71[info] compiling 3 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
72[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
73[info] Compilation completed in 9.121s.
74[info] done compiling
75[info] loading settings for project root from build.sbt, version.sbt...
76[info] set current project to smockito (in build file:/build/repo/)
77Execute setCrossScalaVersions: 3.8.0-RC4
78OpenCB::Changing crossVersion 3.3.7 -> 3.8.0-RC4 in root/crossScalaVersions
79OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC4) in root/crossScalaVersions
80[info] set current project to smockito (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] * root (3.8.0-RC4)
84[info] Excluding projects:
85[info] Reapplying settings...
86[info] set current project to smockito (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 smockito (in build file:/build/repo/)
90[info] Defining Global / credentials, credentials
91[info] The new values will be used by Compile / scalafmtOnly, IntegrationTest / scalafmtOnly and 5 others.
92[info] Run `last` for details.
93[info] Reapplying settings...
94[info] set current project to smockito (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 smockito (in build file:/build/repo/)
104Execute removeScalacOptionsStartingWith: -P:wartremover
105[info] Reapplying settings...
106[info] set current project to smockito (in build file:/build/repo/)
107[success] Total time: 0 s, completed Dec 22, 2025, 6:25:10 PM
108Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}
109Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
110Starting build...
111Projects: Set(root)
112Starting build for ProjectRef(file:/build/repo/,root) (smockito)... [0/1]
113OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
114OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
115OpenCB::Filter out '-Xfatal-warnings', matches setting pattern '^-?-Xfatal-warnings'
116OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
117Compile scalacOptions: -encoding, utf8, -language:implicitConversions, -Wunused:all, -release, 17, -Wconf:origin=scala.compiletime.testing.*:s, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
118[info] compiling 8 Scala sources to /build/repo/target/scala-3.8.0-RC4/classes ...
119[info] done compiling
120[info] compiling 4 Scala sources to /build/repo/target/scala-3.8.0-RC4/test-classes ...
121[info] done compiling
122OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended
123com.bdmendes.smockito.SmockitoSpec:
124 + wrap a raw Mockito mock 0.597s
125 + wrap a raw Mockito spy 0.042s
126 + throw by default on unstubbed methods 0.016s
127 + set up method stubs on values 0.02s
128 + set up method stubs on methods with 0 parameters 0.007s
129 + set up method stubs on methods returning Unit 0.005s
130 + set up method stubs on methods with 1 parameter 0.016s
131 + set up method stubs on methods with 2 parameters 0.01s
132 + set up method stubs on curried methods 0.007s
133 + set up method stubs on methods with contextual parameters 0.006s
134 + set up method stubs on methods with variable arguments 0.007s
135 + set up method stubs on overloaded methods 0.005s
136 + disallow inspecting calls on values 0.014s
137 + disallow inspecting calls on methods with 0 parameters 0.007s
138 + inspect calls on methods with 1 parameter 0.018s
139 + inspect calls on methods with 2 parameters 0.01s
140 + inspect calls on methods with contextual parameters 0.009s
141 + inspect calls on methods with variable arguments 0.009s
142 + inspect calls on overloaded methods 0.008s
143 + inspect calls on methods with default arguments 0.024s
144 + count calls on values 0.014s
145 + count calls on methods with 0 parameters 0.012s
146 + count calls on methods with 0 parameters, minding erasure 0.031s
147 + count calls on methods with 1 parameter 0.009s
148 + count calls on methods with 2 parameters 0.006s
149 + count calls on methods with contextual parameters 0.006s
150 + count calls on methods with variable arguments 0.006s
151 + count calls on overloaded methods 0.005s
152 + throw on unknown received method 0.019s
153 + provide a forward sugar for dispatching to a real instance 0.009s
154 + integrate with an effect system 0.035s
155 + support defining stubs outside of declaring scope 0.009s
156 + support calling a real method that dispatches to a stub 0.036s
157 + not call the real method as a side effect of stubbing 0.035s
158 + always use the last set up stub 0.008s
159 + provide an onCall sugar to change behavior based on call number 0.026s
160 + reason about invocation orders 0.041s
161 + reason about invocation orders reversed 0.018s
162com.bdmendes.smockito.MockedMethodSpec:
163 + spawn a MockedMethod for all arities until 22 0.038s
164com.bdmendes.smockito.internal.MetaSpec:
165 + map over tuples 0.001s
166com.bdmendes.smockito.internal.MockitoAgentSpec:
167 + find the Mockito agent method 0.002s
168
169************************
170Build summary:
171[{
172 "module": "smockito",
173 "compile": {"status": "ok", "tookMs": 10258, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
174 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
175 "test-compile": {"status": "ok", "tookMs": 11245, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
176 "test": {"status": "ok", "tookMs": 2064, "passed": 41, "failed": 0, "ignored": 0, "skipped": 0, "total": 41, "byFramework": [{"framework": "munit", "stats": {"passed": 41, "failed": 0, "ignored": 0, "skipped": 0, "total": 41}}]},
177 "publish": {"status": "skipped", "tookMs": 0},
178 "metadata": {
179 "crossScalaVersions": ["2.12.20"]
180}
181}]
182************************
183[success] Total time: 39 s, completed Dec 22, 2025, 6:25:49 PM
184[0JChecking patch project/plugins.sbt...
185Checking patch build.sbt...
186Applied patch project/plugins.sbt cleanly.
187Applied patch build.sbt cleanly.