Build Logs
umazalakain/errata • 3.8.0-RC4:2025-12-22
Errors
0
Warnings
16
Total Lines
320
1##################################
2Clonning https://github.com/umazalakain/errata.git into /build/repo using revision v0.6.2
3##################################
4Note: switching to '252f05996f61278f57fe335d02705ce56f76daed'.
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
21Would override fixed Scala version: 3.3.1
22----
23Preparing build for 3.8.0-RC4
24Scala binary version found: 3.8
25Implicitly using source version 3.8
26Scala binary version found: 3.8
27Implicitly using source version 3.8
28Would try to apply common scalacOption (best-effort, sbt/mill only):
29Append: ,REQUIRE:-source:3.8
30Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
31
32Try apply source patch:
33Path: build.sbt
34Pattern: val scala3Version = "3.3.1"
35Replacement: val scala3Version = "3.8.0-RC4"
36Starting compilation server
37Compiling project (Scala 3.7.3, JVM (17))
38Compiled project (Scala 3.7.3, JVM (17))
39Successfully applied pattern 'val scala3Version = "3.3.1"' in build.sbt
40----
41Starting build for 3.8.0-RC4
42Execute tests: true
43sbt project found:
44Sbt version 1.9.7 is not supported, minimal supported version is 1.11.5
45Enforcing usage of sbt in version 1.11.5
46No prepare script found for project umazalakain/errata
47##################################
48Scala version: 3.8.0-RC4
49Targets: info.umazalakain%errata
50Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3Version = \"3.3.1\"","replaceWith":"val scala3Version = \"<SCALA_VERSION>\""}]}
51##################################
52Using extra scalacOptions: ,REQUIRE:-source:3.8
53Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
54[sbt_options] declare -a sbt_options=()
55[process_args] java_version = '17'
56[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
57# Executing command line:
58java
59-Dfile.encoding=UTF-8
60-Dcommunitybuild.scala=3.8.0-RC4
61-Dcommunitybuild.project.dependencies.add=
62-Xmx7G
63-Xms4G
64-Xss8M
65-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
66-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
67-jar
68/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
69"setCrossScalaVersions 3.8.0-RC4"
70"++3.8.0-RC4 -v"
71"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
72"set every credentials := Nil"
73"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
74"removeScalacOptionsStartingWith -P:wartremover"
75
76moduleMappings
77"runBuild 3.8.0-RC4 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3Version = \"3.3.1\"","replaceWith":"val scala3Version = \"<SCALA_VERSION>\""}]}""" info.umazalakain%errata"
78
79[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
80[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
81[info] loading project definition from /build/repo/project
82[info] compiling 2 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
83[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
84[info] Compilation completed in 8.703s.
85[info] done compiling
86[info] loading settings for project root from build.sbt...
87[info] set scmInfo to https://github.com/umazalakain/errata
88[info] set current project to errata (in build file:/build/repo/)
89Execute setCrossScalaVersions: 3.8.0-RC4
90[info] set scmInfo to https://github.com/umazalakain/errata
91OpenCB::Limitting incorrect crossVersions List() -> List(2.12.20) in root/crossScalaVersions
92OpenCB::Changing crossVersion 3.8.0-RC4 -> 3.8.0-RC4 in errata/crossScalaVersions
93OpenCB::Changing crossVersion 3.8.0-RC4 -> 3.8.0-RC4 in examples/crossScalaVersions
94[info] set current project to errata (in build file:/build/repo/)
95[info] Setting Scala version to 3.8.0-RC4 on 2 projects.
96[info] Switching Scala version on:
97[info] examples (3.8.0-RC4, 2.13.12)
98[info] errata (3.8.0-RC4, 2.13.12)
99[info] Excluding projects:
100[info] * root (2.12.20)
101[info] rootJS (2.12.20)
102[info] rootJVM (2.12.20)
103[info] rootNative (2.12.20)
104[info] Reapplying settings...
105[info] set scmInfo to https://github.com/umazalakain/errata
106[info] set current project to errata (in build file:/build/repo/)
107Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
108[info] Reapplying settings...
109[info] set scmInfo to https://github.com/umazalakain/errata
110[info] set current project to errata (in build file:/build/repo/)
111[info] Defining Global / credentials, credentials and 4 others.
112[info] The new values will be used by Compile / scalafmtOnly, IntegrationTest / scalafmtOnly and 51 others.
113[info] Run `last` for details.
114[info] Reapplying settings...
115[info] set scmInfo to https://github.com/umazalakain/errata
116[info] set current project to errata (in build file:/build/repo/)
117Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
118[info] Reapplying settings...
119OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
120
121 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
122 Did you mean allExcludeDependencies ?
123 , retry without global scopes
124[info] Reapplying settings...
125[info] set scmInfo to https://github.com/umazalakain/errata
126[info] set current project to errata (in build file:/build/repo/)
127Execute removeScalacOptionsStartingWith: -P:wartremover
128[info] Reapplying settings...
129[info] set scmInfo to https://github.com/umazalakain/errata
130[info] set current project to errata (in build file:/build/repo/)
131[success] Total time: 0 s, completed Dec 22, 2025, 5:54:14 PM
132Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3Version = \"3.3.1\"","replaceWith":"val scala3Version = \"<SCALA_VERSION>\""}]}
133Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
134Starting build...
135Projects: Set(errata)
136Starting build for ProjectRef(file:/build/repo/,errata) (errata)... [0/1]
137OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
138OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
139OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
140Compile scalacOptions: -encoding, UTF-8, -unchecked, -Wunused:implicits, -Wunused:explicits, -Wunused:imports, -Wunused:locals, -Wunused:params, -Wunused:privates, -Wvalue-discard, -language:implicitConversions, -Ykind-projector, --java-output-version:17, 8, -Ykind-projector:underscores, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
141[info] compiling 11 Scala sources to /build/repo/errata/target/scala-3.8.0-RC4/classes ...
142[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
143[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
144[warn] Option -Xkind-projector was updated
145[warn] three warnings found
146[info] done compiling
147[info] compiling 11 Scala sources to /build/repo/errata/target/scala-3.8.0-RC4/test-classes ...
148[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
149[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
150[warn] Option -Xkind-projector was updated
151[warn] -- [E198] Unused Symbol Warning: /build/repo/errata/src/test/scala/errata/arbitrary.scala:25:6
152[warn] 25 | AA: Arbitrary[A],
153[warn] | ^^
154[warn] | unused implicit parameter
155[warn] -- [E198] Unused Symbol Warning: /build/repo/errata/src/test/scala/errata/discipline/TransformToTests.scala:33:6
156[warn] 33 | EqFA: Eq[F[A]],
157[warn] | ^^^^
158[warn] | unused implicit parameter
159[warn] 5 warnings found
160[info] done compiling
161errata.tests.CatsCompat:
162 + Cats effect instances unwrap errors on handle 0.096s
163 + Handling subtypes of the type of thrown errors results in a meaningful error 0.069s
164 + An Errors instance with a custom error class can be put together from cats and Raise and Handle wrappers 0.0s
165errata.tests.EitherSuite:
166errata.tests.OptionSuite:
167 + Option[Int]: Raise.flatMap . raise = raise 0.07s
168 + Option[Int]: Raise.fromEither . left = raise 0.005s
169 + Option[Int]: Raise.fromEither . right = pure 0.015s
170 + Option[Int]: Raise.fromOption . none = raise 0.005s
171 + Either[String,Int]: Raise.flatMap . raise = raise 0.102s
172 + Option[Int]: Raise.fromOption . some = pure 0.01s
173 + Either[String,Int]: Raise.fromEither . left = raise 0.008s
174 + Either[String,Int]: Raise.fromEither . right = pure 0.009s
175 + Option[Int]: HandleTo.attempt . pure = pure . right 0.013s
176 + Option[Int]: HandleTo.handle . pure = pure 0.006s
177 + Either[String,Int]: Raise.fromOption . none = raise 0.047s
178 + Option[Int]: HandleTo.handleWith . pure = pure 0.046s
179 + Either[String,Int]: Raise.fromOption . some = pure 0.009s
180 + Either[String,Int]: HandleTo.attempt . pure = pure . right 0.007s
181 + Option[Int]: HandleTo.restore . pure = pure . some 0.011s
182 + Either[String,Int]: HandleTo.handle . pure = pure 0.006s
183 + Option[Int]: ErrorsTo.attempt . fromEither e eth = pure eth 0.008s
184 + Either[String,Int]: HandleTo.handleWith . pure = pure 0.005s
185 + Either[String,Int]: HandleTo.restore . pure = pure . some 0.003s
186 + Option[Int]: ErrorsTo.attempt . pure = pure . right 0.006s
187 + Option[Int]: ErrorsTo.attempt . raise e = pure left e 0.001s
188 + Option[Int]: ErrorsTo.flatMap . raise = raise 0.005s
189 + Option[Int]: ErrorsTo.fromEither . left = raise 0.001s
190 + Either[String,Int]: ErrorsTo.attempt . fromEither e eth = pure eth 0.012s
191 + Either[String,Int]: ErrorsTo.attempt . pure = pure . right 0.001s
192 + Option[Int]: ErrorsTo.fromEither . right = pure 0.005s
193 + Option[Int]: ErrorsTo.fromOption . none = raise 0.001s
194 + Either[String,Int]: ErrorsTo.attempt . raise e = pure left e 0.005s
195 + Option[Int]: ErrorsTo.fromOption . some = pure 0.004s
196 + Option[Int]: ErrorsTo.handle . pure = pure 0.002s
197 + Either[String,Int]: ErrorsTo.flatMap . raise = raise 0.005s
198 + Option[Int]: ErrorsTo.handle f . raise e = pure f 0.006s
199 + Option[Int]: ErrorsTo.handleWith . pure = pure 0.001s
200 + Either[String,Int]: ErrorsTo.fromEither . left = raise 0.006s
201 + Either[String,Int]: ErrorsTo.fromEither . right = pure 0.001s
202 + Option[Int]: ErrorsTo.handleWith f . raise e = f 0.006s
203 + Either[String,Int]: ErrorsTo.fromOption . none = raise 0.005s
204 + Either[String,Int]: ErrorsTo.fromOption . some = pure 0.005s
205 + Option[Int]: ErrorsTo.restore . fromOption e opt = pure opt 0.003s
206 + Option[Int]: ErrorsTo.restore . pure = pure . some 0.001s
207 + Either[String,Int]: ErrorsTo.handle . pure = pure 0.005s
208 + Option[Int]: ErrorsTo.restore . raise e = pure none 0.004s
209 + Option[Int]: TransformTo.attempt . pure = pure . right 0.011s
210 + Option[Int]: TransformTo.flatMap . raise = raise 0.002s
211 + Option[Int]: TransformTo.fromEither . left = raise 0.004s
212 + Option[Int]: TransformTo.fromEither . right = pure 0.001s
213 + Option[Int]: TransformTo.fromOption . none = raise 0.001s
214 + Either[String,Int]: ErrorsTo.handle f . raise e = pure f 0.022s
215 + Either[String,Int]: ErrorsTo.handleWith . pure = pure 0.002s
216 + Option[Int]: TransformTo.fromOption . some = pure 0.006s
217 + Option[Int]: TransformTo.handle . pure = pure 0.001s
218 + Option[Int]: TransformTo.handleWith . pure = pure 0.005s
219 + Option[Int]: TransformTo.restore . pure = pure . some 0.002s
220 + Either[String,Int]: ErrorsTo.handleWith f . raise e = f 0.019s
221 + Option[Int]: TransformTo.transform f . pure a = pure a 0.009s
222 + Either[String,Int]: ErrorsTo.restore . fromOption e opt = pure opt 0.009s
223 + Either[String,Int]: ErrorsTo.restore . pure = pure . some 0.001s
224 + Either[String,Int]: ErrorsTo.restore . raise e = pure none 0.002s
225 + Option[Int]: TransformTo.transform f . raise e = raise (f e) 0.007s
226 + Option[Int]: Handle.attempt . pure = pure . right 0.002s
227 + Option[Int]: Handle.handle . pure = pure 0.003s
228 + Option[Int]: Handle.handleWith . pure = pure 0.003s
229 + Either[String,Int]: TransformTo.attempt . pure = pure . right 0.011s
230 + Either[String,Int]: TransformTo.flatMap . raise = raise 0.003s
231 + Option[Int]: Handle.recover f (pure a) = pure a 0.003s
232 + Either[String,Int]: TransformTo.fromEither . left = raise 0.002s
233 + Either[String,Int]: TransformTo.fromEither . right = pure 0.002s
234 + Either[String,Int]: TransformTo.fromOption . none = raise 0.003s
235 + Option[Int]: Handle.recover f (raise e) = fold (f e) (raise e) pure 0.008s
236 + Either[String,Int]: TransformTo.fromOption . some = pure 0.003s
237 + Either[String,Int]: TransformTo.handle . pure = pure 0.001s
238 + Option[Int]: Handle.recoverWith f (pure a) = pure a 0.002s
239 + Either[String,Int]: TransformTo.handleWith . pure = pure 0.002s
240 + Option[Int]: Handle.recoverWith f (raise e) = getOrElse (f e) (raise e) 0.004s
241 + Either[String,Int]: TransformTo.restore . pure = pure . some 0.002s
242 + Either[String,Int]: TransformTo.transform f . pure a = pure a 0.001s
243 + Option[Int]: Handle.restore . pure = pure . some 0.002s
244 + Option[Int]: Handle.restoreWith fa (pure a) = pure a 0.003s
245 + Option[Int]: Handle.restoreWith fa (raise e) = fa 0.002s
246 + Option[Int]: Handle.tryHandle f (pure a) = pure a 0.003s
247 + Either[String,Int]: TransformTo.transform f . raise e = raise (f e) 0.012s
248 + Either[String,Int]: Handle.attempt . pure = pure . right 0.001s
249 + Option[Int]: Handle.tryHandle f (raise e) = fold (f e) (raise e) pure 0.004s
250 + Either[String,Int]: Handle.handle . pure = pure 0.002s
251 + Option[Int]: Handle.tryHandleWith f (pure a) = pure a 0.003s
252 + Either[String,Int]: Handle.handleWith . pure = pure 0.002s
253 + Either[String,Int]: Handle.recover f (pure a) = pure a 0.002s
254 + Option[Int]: Handle.tryHandleWith f (raise e) = getOrElse (f e) (raise e) 0.006s
255 + Option[Int]: Errors.attempt . fromEither e eth = pure eth 0.003s
256 + Either[String,Int]: Handle.recover f (raise e) = fold (f e) (raise e) pure 0.008s
257 + Option[Int]: Errors.attempt . pure = pure . right 0.003s
258 + Either[String,Int]: Handle.recoverWith f (pure a) = pure a 0.003s
259 + Option[Int]: Errors.attempt . raise e = pure left e 0.002s
260 + Either[String,Int]: Handle.recoverWith f (raise e) = getOrElse (f e) (raise e) 0.005s
261 + Either[String,Int]: Handle.restore . pure = pure . some 0.001s
262 + Option[Int]: Errors.flatMap . raise = raise 0.007s
263 + Either[String,Int]: Handle.restoreWith fa (pure a) = pure a 0.003s
264 + Option[Int]: Errors.fromEither . left = raise 0.001s
265 + Option[Int]: Errors.fromEither . right = pure 0.002s
266 + Option[Int]: Errors.fromOption . none = raise 0.001s
267 + Either[String,Int]: Handle.restoreWith fa (raise e) = fa 0.004s
268 + Option[Int]: Errors.fromOption . some = pure 0.002s
269 + Either[String,Int]: Handle.tryHandle f (pure a) = pure a 0.003s
270 + Option[Int]: Errors.handle . pure = pure 0.002s
271 + Either[String,Int]: Handle.tryHandle f (raise e) = fold (f e) (raise e) pure 0.004s
272 + Option[Int]: Errors.handle f . raise e = pure f 0.004s
273 + Either[String,Int]: Handle.tryHandleWith f (pure a) = pure a 0.002s
274 + Option[Int]: Errors.handleWith . pure = pure 0.003s
275 + Option[Int]: Errors.handleWith f . raise e = f 0.002s
276 + Option[Int]: Errors.restore . fromOption e opt = pure opt 0.002s
277 + Either[String,Int]: Handle.tryHandleWith f (raise e) = getOrElse (f e) (raise e) 0.007s
278 + Option[Int]: Errors.restore . pure = pure . some 0.001s
279 + Either[String,Int]: Errors.attempt . fromEither e eth = pure eth 0.002s
280 + Option[Int]: Errors.restore . raise e = pure none 0.001s
281 + Either[String,Int]: Errors.attempt . pure = pure . right 0.002s
282 + Option[Int]: Errors.transform f . pure a = pure a 0.003s
283 + Either[String,Int]: Errors.attempt . raise e = pure left e 0.003s
284 + Option[Int]: Errors.transform f . raise e = raise (f e) 0.002s
285 + Either[String,Int]: Errors.flatMap . raise = raise 0.001s
286 + Either[String,Int]: Errors.fromEither . left = raise 0.002s
287 + Either[String,Int]: Errors.fromEither . right = pure 0.001s
288 + Either[String,Int]: Errors.fromOption . none = raise 0.001s
289 + Either[String,Int]: Errors.fromOption . some = pure 0.001s
290 + Either[String,Int]: Errors.handle . pure = pure 0.0s
291 + Either[String,Int]: Errors.handle f . raise e = pure f 0.003s
292 + Either[String,Int]: Errors.handleWith . pure = pure 0.001s
293 + Either[String,Int]: Errors.handleWith f . raise e = f 0.003s
294 + Either[String,Int]: Errors.restore . fromOption e opt = pure opt 0.002s
295 + Either[String,Int]: Errors.restore . pure = pure . some 0.001s
296 + Either[String,Int]: Errors.restore . raise e = pure none 0.003s
297 + Either[String,Int]: Errors.transform f . pure a = pure a 0.001s
298 + Either[String,Int]: Errors.transform f . raise e = raise (f e) 0.003s
299
300************************
301Build summary:
302[{
303 "module": "errata",
304 "compile": {"status": "ok", "tookMs": 11472, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
305 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
306 "test-compile": {"status": "ok", "tookMs": 3563, "warnings": 2, "errors": 0, "sourceVersion": "3.8"},
307 "test": {"status": "ok", "tookMs": 1271, "passed": 135, "failed": 0, "ignored": 0, "skipped": 0, "total": 135, "byFramework": [{"framework": "munit", "stats": {"passed": 135, "failed": 0, "ignored": 0, "skipped": 0, "total": 135}}]},
308 "publish": {"status": "skipped", "tookMs": 0},
309 "metadata": {
310 "crossScalaVersions": ["2.13.12", "3.3.1"]
311}
312}]
313************************
314[success] Total time: 34 s, completed Dec 22, 2025, 5:54:48 PM
315[0JChecking patch project/plugins.sbt...
316Checking patch project/build.properties...
317Checking patch build.sbt...
318Applied patch project/plugins.sbt cleanly.
319Applied patch project/build.properties cleanly.
320Applied patch build.sbt cleanly.