Build Logs

umazalakain/errata • 3.8.0-RC3:2025-12-04

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-RC3
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-RC3"
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-RC3
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-RC3
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-RC3
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-RC3"
70"++3.8.0-RC3 -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-RC3 """{"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 9.03s.
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-RC3
90OpenCB::Changing crossVersion 3.8.0-RC3 -> 3.8.0-RC3 in examples/crossScalaVersions
91OpenCB::Changing crossVersion 3.8.0-RC3 -> 3.8.0-RC3 in errata/crossScalaVersions
92[info] set scmInfo to https://github.com/umazalakain/errata
93OpenCB::Limitting incorrect crossVersions List() -> List(2.12.20) in root/crossScalaVersions
94[info] set current project to errata (in build file:/build/repo/)
95[info] Setting Scala version to 3.8.0-RC3 on 2 projects.
96[info] Switching Scala version on:
97[info] examples (3.8.0-RC3, 2.13.12)
98[info] errata (3.8.0-RC3, 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 4, 2025, 2:51:00 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-RC3/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-RC3/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.093s
163 + Handling subtypes of the type of thrown errors results in a meaningful error 0.003s
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.045s
168 + Option[Int]: Raise.fromEither . left = raise 0.004s
169 + Either[String,Int]: Raise.flatMap . raise = raise 0.074s
170 + Option[Int]: Raise.fromEither . right = pure 0.015s
171 + Option[Int]: Raise.fromOption . none = raise 0.006s
172 + Either[String,Int]: Raise.fromEither . left = raise 0.014s
173 + Option[Int]: Raise.fromOption . some = pure 0.009s
174 + Either[String,Int]: Raise.fromEither . right = pure 0.011s
175 + Option[Int]: HandleTo.attempt . pure = pure . right 0.008s
176 + Option[Int]: HandleTo.handle . pure = pure 0.006s
177 + Either[String,Int]: Raise.fromOption . none = raise 0.011s
178 + Option[Int]: HandleTo.handleWith . pure = pure 0.007s
179 + Either[String,Int]: Raise.fromOption . some = pure 0.009s
180 + Either[String,Int]: HandleTo.attempt . pure = pure . right 0.003s
181 + Option[Int]: HandleTo.restore . pure = pure . some 0.009s
182 + Either[String,Int]: HandleTo.handle . pure = pure 0.008s
183 + Option[Int]: ErrorsTo.attempt . fromEither e eth = pure eth 0.007s
184 + Option[Int]: ErrorsTo.attempt . pure = pure . right 0.003s
185 + Either[String,Int]: HandleTo.handleWith . pure = pure 0.006s
186 + Option[Int]: ErrorsTo.attempt . raise e = pure left e 0.003s
187 + Either[String,Int]: HandleTo.restore . pure = pure . some 0.004s
188 + Option[Int]: ErrorsTo.flatMap . raise = raise 0.005s
189 + Either[String,Int]: ErrorsTo.attempt . fromEither e eth = pure eth 0.007s
190 + Option[Int]: ErrorsTo.fromEither . left = raise 0.005s
191 + Option[Int]: ErrorsTo.fromEither . right = pure 0.002s
192 + Either[String,Int]: ErrorsTo.attempt . pure = pure . right 0.005s
193 + Option[Int]: ErrorsTo.fromOption . none = raise 0.004s
194 + Either[String,Int]: ErrorsTo.attempt . raise e = pure left e 0.003s
195 + Option[Int]: ErrorsTo.fromOption . some = pure 0.005s
196 + Option[Int]: ErrorsTo.handle . pure = pure 0.002s
197 + Either[String,Int]: ErrorsTo.flatMap . raise = raise 0.005s
198 + Either[String,Int]: ErrorsTo.fromEither . left = raise 0.003s
199 + Option[Int]: ErrorsTo.handle f . raise e = pure f 0.007s
200 + Either[String,Int]: ErrorsTo.fromEither . right = pure 0.002s
201 + Option[Int]: ErrorsTo.handleWith . pure = pure 0.002s
202 + Either[String,Int]: ErrorsTo.fromOption . none = raise 0.002s
203 + Option[Int]: ErrorsTo.handleWith f . raise e = f 0.003s
204 + Either[String,Int]: ErrorsTo.fromOption . some = pure 0.003s
205 + Either[String,Int]: ErrorsTo.handle . pure = pure 0.003s
206 + Option[Int]: ErrorsTo.restore . fromOption e opt = pure opt 0.004s
207 + Option[Int]: ErrorsTo.restore . pure = pure . some 0.003s
208 + Option[Int]: ErrorsTo.restore . raise e = pure none 0.004s
209 + Option[Int]: TransformTo.attempt . pure = pure . right 0.002s
210 + Option[Int]: TransformTo.flatMap . raise = raise 0.001s
211 + Option[Int]: TransformTo.fromEither . left = raise 0.001s
212 + Either[String,Int]: ErrorsTo.handle f . raise e = pure f 0.013s
213 + Option[Int]: TransformTo.fromEither . right = pure 0.002s
214 + Either[String,Int]: ErrorsTo.handleWith . pure = pure 0.003s
215 + Option[Int]: TransformTo.fromOption . none = raise 0.001s
216 + Option[Int]: TransformTo.fromOption . some = pure 0.002s
217 + Option[Int]: TransformTo.handle . pure = pure 0.001s
218 + Either[String,Int]: ErrorsTo.handleWith f . raise e = f 0.007s
219 + Option[Int]: TransformTo.handleWith . pure = pure 0.002s
220 + Option[Int]: TransformTo.restore . pure = pure . some 0.003s
221 + Either[String,Int]: ErrorsTo.restore . fromOption e opt = pure opt 0.005s
222 + Either[String,Int]: ErrorsTo.restore . pure = pure . some 0.002s
223 + Either[String,Int]: ErrorsTo.restore . raise e = pure none 0.002s
224 + Option[Int]: TransformTo.transform f . pure a = pure a 0.007s
225 + Either[String,Int]: TransformTo.attempt . pure = pure . right 0.003s
226 + Option[Int]: TransformTo.transform f . raise e = raise (f e) 0.003s
227 + Either[String,Int]: TransformTo.flatMap . raise = raise 0.003s
228 + Option[Int]: Handle.attempt . pure = pure . right 0.002s
229 + Either[String,Int]: TransformTo.fromEither . left = raise 0.001s
230 + Either[String,Int]: TransformTo.fromEither . right = pure 0.002s
231 + Option[Int]: Handle.handle . pure = pure 0.004s
232 + Either[String,Int]: TransformTo.fromOption . none = raise 0.002s
233 + Option[Int]: Handle.handleWith . pure = pure 0.004s
234 + Either[String,Int]: TransformTo.fromOption . some = pure 0.003s
235 + Either[String,Int]: TransformTo.handle . pure = pure 0.001s
236 + Either[String,Int]: TransformTo.handleWith . pure = pure 0.002s
237 + Either[String,Int]: TransformTo.restore . pure = pure . some 0.002s
238 + Option[Int]: Handle.recover f (pure a) = pure a 0.007s
239 + Either[String,Int]: TransformTo.transform f . pure a = pure a 0.003s
240 + Option[Int]: Handle.recover f (raise e) = fold (f e) (raise e) pure 0.008s
241 + Either[String,Int]: TransformTo.transform f . raise e = raise (f e) 0.006s
242 + Option[Int]: Handle.recoverWith f (pure a) = pure a 0.002s
243 + Either[String,Int]: Handle.attempt . pure = pure . right 0.002s
244 + Either[String,Int]: Handle.handle . pure = pure 0.003s
245 + Option[Int]: Handle.recoverWith f (raise e) = getOrElse (f e) (raise e) 0.005s
246 + Either[String,Int]: Handle.handleWith . pure = pure 0.001s
247 + Option[Int]: Handle.restore . pure = pure . some 0.002s
248 + Either[String,Int]: Handle.recover f (pure a) = pure a 0.004s
249 + Option[Int]: Handle.restoreWith fa (pure a) = pure a 0.003s
250 + Option[Int]: Handle.restoreWith fa (raise e) = fa 0.002s
251 + Option[Int]: Handle.tryHandle f (pure a) = pure a 0.002s
252 + Either[String,Int]: Handle.recover f (raise e) = fold (f e) (raise e) pure 0.007s
253 + Option[Int]: Handle.tryHandle f (raise e) = fold (f e) (raise e) pure 0.003s
254 + Either[String,Int]: Handle.recoverWith f (pure a) = pure a 0.002s
255 + Option[Int]: Handle.tryHandleWith f (pure a) = pure a 0.002s
256 + Option[Int]: Handle.tryHandleWith f (raise e) = getOrElse (f e) (raise e) 0.004s
257 + Either[String,Int]: Handle.recoverWith f (raise e) = getOrElse (f e) (raise e) 0.007s
258 + Either[String,Int]: Handle.restore . pure = pure . some 0.0s
259 + Either[String,Int]: Handle.restoreWith fa (pure a) = pure a 0.003s
260 + Option[Int]: Errors.attempt . fromEither e eth = pure eth 0.006s
261 + Option[Int]: Errors.attempt . pure = pure . right 0.001s
262 + Either[String,Int]: Handle.restoreWith fa (raise e) = fa 0.003s
263 + Option[Int]: Errors.attempt . raise e = pure left e 0.001s
264 + Either[String,Int]: Handle.tryHandle f (pure a) = pure a 0.002s
265 + Option[Int]: Errors.flatMap . raise = raise 0.002s
266 + Option[Int]: Errors.fromEither . left = raise 0.001s
267 + Option[Int]: Errors.fromEither . right = pure 0.002s
268 + Either[String,Int]: Handle.tryHandle f (raise e) = fold (f e) (raise e) pure 0.005s
269 + Option[Int]: Errors.fromOption . none = raise 0.001s
270 + Either[String,Int]: Handle.tryHandleWith f (pure a) = pure a 0.002s
271 + Option[Int]: Errors.fromOption . some = pure 0.002s
272 + Option[Int]: Errors.handle . pure = pure 0.002s
273 + Either[String,Int]: Handle.tryHandleWith f (raise e) = getOrElse (f e) (raise e) 0.006s
274 + Option[Int]: Errors.handle f . raise e = pure f 0.004s
275 + Option[Int]: Errors.handleWith . pure = pure 0.001s
276 + Option[Int]: Errors.handleWith f . raise e = f 0.002s
277 + Either[String,Int]: Errors.attempt . fromEither e eth = pure eth 0.006s
278 + Either[String,Int]: Errors.attempt . pure = pure . right 0.001s
279 + Option[Int]: Errors.restore . fromOption e opt = pure opt 0.003s
280 + Either[String,Int]: Errors.attempt . raise e = pure left e 0.002s
281 + Option[Int]: Errors.restore . pure = pure . some 0.001s
282 + Option[Int]: Errors.restore . raise e = pure none 0.001s
283 + Either[String,Int]: Errors.flatMap . raise = raise 0.003s
284 + Option[Int]: Errors.transform f . pure a = pure a 0.001s
285 + Either[String,Int]: Errors.fromEither . left = raise 0.001s
286 + Option[Int]: Errors.transform f . raise e = raise (f e) 0.001s
287 + Either[String,Int]: Errors.fromEither . right = pure 0.001s
288 + Either[String,Int]: Errors.fromOption . none = raise 0.002s
289 + Either[String,Int]: Errors.fromOption . some = pure 0.002s
290 + Either[String,Int]: Errors.handle . pure = pure 0.001s
291 + Either[String,Int]: Errors.handle f . raise e = pure f 0.005s
292 + Either[String,Int]: Errors.handleWith . pure = pure 0.002s
293 + Either[String,Int]: Errors.handleWith f . raise e = f 0.006s
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.001s
297 + Either[String,Int]: Errors.transform f . pure a = pure a 0.003s
298 + Either[String,Int]: Errors.transform f . raise e = raise (f e) 0.004s
299
300************************
301Build summary:
302[{
303 "module": "errata",
304 "compile": {"status": "ok", "tookMs": 10671, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
305 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
306 "test-compile": {"status": "ok", "tookMs": 3923, "warnings": 2, "errors": 0, "sourceVersion": "3.8"},
307 "test": {"status": "ok", "tookMs": 1038, "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: 28 s, completed Dec 4, 2025, 2:51:28 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.