Build Logs

broij/zarrow • 3.8.0:2026-01-13

Errors

0

Warnings

223

Total Lines

603

1##################################
2Clonning https://github.com/broij/zarrow.git into /build/repo using revision v2.1.3
3##################################
4Note: switching to '5f93d532828401790a77fcd93c36d46ac3da6a88'.
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
21Using target Scala version for migration: 3.7.4
22Migrating project for -source:3.7 using Scala 3.7.4
23----
24Preparing build for 3.7.4
25Would try to apply common scalacOption (best-effort, sbt/mill only):
26Append: -rewrite,REQUIRE:-source:3.7-migration
27Remove: -indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
28----
29Starting build for 3.7.4
30Execute tests: false
31sbt project found:
32Sbt version 1.10.7 is not supported, minimal supported version is 1.11.5
33Enforcing usage of sbt in version 1.11.5
34No prepare script found for project broij/zarrow
35##################################
36Scala version: 3.7.4
37Targets: be.broij%zarrow
38Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.7"],"sourcePatches":[]}
39##################################
40Using extra scalacOptions: -rewrite,REQUIRE:-source:3.7-migration
41Filtering out scalacOptions: -indent,-no-indent,-new-syntax,,-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.7.4
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.7.4"
58"++3.7.4 -v"
59"mapScalacOptions "-rewrite,REQUIRE:-source:3.7-migration,-Wconf:msg=can be rewritten automatically under:s" "-indent,-no-indent,-new-syntax,,-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.7.4 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.7"],"sourcePatches":[]}""" be.broij%zarrow"
66
67[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
68[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
69[info] loading project definition from /build/repo/project
70[info] compiling 4 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
71[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
72[info] Compilation completed in 8.32s.
73[info] done compiling
74[info] loading settings for project zarrow from build.sbt...
75[info] set current project to zarrow (in build file:/build/repo/)
76Execute setCrossScalaVersions: 3.7.4
77OpenCB::Changing crossVersion 3.6.3 -> 3.7.4 in zarrow/crossScalaVersions
78[info] set current project to zarrow (in build file:/build/repo/)
79[info] Setting Scala version to 3.7.4 on 1 projects.
80[info] Switching Scala version on:
81[info] * zarrow (3.7.4, 2.13.16, 2.12.20)
82[info] Excluding projects:
83[info] Reapplying settings...
84[info] set current project to zarrow (in build file:/build/repo/)
85Execute mapScalacOptions: -rewrite,REQUIRE:-source:3.7-migration,-Wconf:msg=can be rewritten automatically under:s -indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
86[info] Reapplying settings...
87[info] set current project to zarrow (in build file:/build/repo/)
88[info] Defining Global / credentials, ThisBuild / credentials, credentials
89[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 7 others.
90[info] Run `last` for details.
91[info] Reapplying settings...
92[info] set current project to zarrow (in build file:/build/repo/)
93Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
94[info] Reapplying settings...
95OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
96
97 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
98 Did you mean allExcludeDependencies ?
99 , retry without global scopes
100[info] Reapplying settings...
101[info] set current project to zarrow (in build file:/build/repo/)
102Execute removeScalacOptionsStartingWith: -P:wartremover
103[info] Reapplying settings...
104[info] set current project to zarrow (in build file:/build/repo/)
105[success] Total time: 0 s, completed Jan 13, 2026, 3:26:24 PM
106Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.7"],"sourcePatches":[]}
107Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
108Starting build...
109Projects: Set(zarrow)
110Starting build for ProjectRef(file:/build/repo/,zarrow) (zarrow)... [0/1]
111OpenCB::Exclude Scala3 specific scalacOption `-rewrite` in Scala 2.12.20 module Global
112OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.7-migration` in Scala 2.12.20 module Global
113OpenCB::Filter out '-Werror', matches setting pattern '^-?-Werror'
114OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
115OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
116Compile scalacOptions: -Wunused:imports, -Wunused:params, -Yexplicit-nulls, -unchecked, -explain-types, -rewrite, -Wconf:msg=can be rewritten automatically under:s, -source:3.7-migration
117[info] compiling 2 Scala sources to /build/repo/target/scala-3.7.4/classes ...
118[warn] -- [E198] Unused Symbol Warning: /build/repo/src/main/scala-3/be/broij/zarrow/ZArrow.scala:18:37
119[warn] 18 |import scala.Predef.{identity => id, summon}
120[warn] | ^^^^^^
121[warn] | unused import
122[warn] -- [E198] Unused Symbol Warning: /build/repo/src/main/scala-3/be/broij/zarrow/ZLayer.scala:4:30
123[warn] 4 |import scala.Predef.{identity => id, summon}
124[warn] | ^^^^^^^^^^^^^^
125[warn] | unused import
126[warn] -- [E198] Unused Symbol Warning: /build/repo/src/main/scala-3/be/broij/zarrow/ZLayer.scala:4:37
127[warn] 4 |import scala.Predef.{identity => id, summon}
128[warn] | ^^^^^^
129[warn] | unused import
130[info] [patched file /build/repo/src/main/scala-3/be/broij/zarrow/ZLayer.scala]
131[info] [patched file /build/repo/src/main/scala-3/be/broij/zarrow/ZArrow.scala]
132[warn] three warnings found
133[info] done compiling
134[info] compiling 2 Scala sources to /build/repo/target/scala-3.7.4/classes ...
135[info] done compiling
136[info] compiling 1 Scala source to /build/repo/target/scala-3.7.4/test-classes ...
137[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala-3/be/broij/ZArrowSpec.scala:78:41
138[warn] 78 | val zArrow = ZArrow.succeed { (int: Int) => (str: String) =>
139[warn] | ^^^
140[warn] | unused explicit parameter
141[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala-3/be/broij/ZArrowSpec.scala:78:55
142[warn] 78 | val zArrow = ZArrow.succeed { (int: Int) => (str: String) =>
143[warn] | ^^^
144[warn] | unused explicit parameter
145[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala-3/be/broij/ZArrowSpec.scala:88:41
146[warn] 88 | val zArrow = ZArrow.succeed { (int: Int) =>
147[warn] | ^^^
148[warn] | unused explicit parameter
149[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala-3/be/broij/ZArrowSpec.scala:133:41
150[warn] 133 | val zArrow = ZArrow.fromZIO { (int: Int) => (str: String) =>
151[warn] | ^^^
152[warn] | unused explicit parameter
153[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala-3/be/broij/ZArrowSpec.scala:133:55
154[warn] 133 | val zArrow = ZArrow.fromZIO { (int: Int) => (str: String) =>
155[warn] | ^^^
156[warn] | unused explicit parameter
157[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala-3/be/broij/ZArrowSpec.scala:143:41
158[warn] 143 | val zArrow = ZArrow.fromZIO { (int: Int) =>
159[warn] | ^^^
160[warn] | unused explicit parameter
161[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala-3/be/broij/ZArrowSpec.scala:189:41
162[warn] 189 | val zArrow = ZArrow.attempt { (int: Int) => (str: String) =>
163[warn] | ^^^
164[warn] | unused explicit parameter
165[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala-3/be/broij/ZArrowSpec.scala:189:55
166[warn] 189 | val zArrow = ZArrow.attempt { (int: Int) => (str: String) =>
167[warn] | ^^^
168[warn] | unused explicit parameter
169[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala-3/be/broij/ZArrowSpec.scala:199:41
170[warn] 199 | val zArrow = ZArrow.attempt { (int: Int) =>
171[warn] | ^^^
172[warn] | unused explicit parameter
173[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala-3/be/broij/ZArrowSpec.scala:244:48
174[warn] 244 | val zArrow = ZArrow.fromZIOAttempt { (int: Int) => (str: String) =>
175[warn] | ^^^
176[warn] | unused explicit parameter
177[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala-3/be/broij/ZArrowSpec.scala:244:62
178[warn] 244 | val zArrow = ZArrow.fromZIOAttempt { (int: Int) => (str: String) =>
179[warn] | ^^^
180[warn] | unused explicit parameter
181[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala-3/be/broij/ZArrowSpec.scala:254:48
182[warn] 254 | val zArrow = ZArrow.fromZIOAttempt { (int: Int) =>
183[warn] | ^^^
184[warn] | unused explicit parameter
185[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala-3/be/broij/ZArrowSpec.scala:451:46
186[warn] 451 | val catcherZArrow = ZArrow.fromZIO((cause: Cause[Int]) => ZIO.fail(1))
187[warn] | ^^^^^
188[warn] | unused explicit parameter
189[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala-3/be/broij/ZArrowSpec.scala:475:26
190[warn] 475 | val f = (zio: ZIO[Any, Nothing, Int]) => throw expected
191[warn] | ^^^
192[warn] | unused explicit parameter
193[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala-3/be/broij/ZArrowSpec.scala:491:26
194[warn] 491 | val f = (int: Int) => throw expected
195[warn] | ^^^
196[warn] | unused explicit parameter
197[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala-3/be/broij/ZArrowSpec.scala:507:26
198[warn] 507 | val f = (int: Int) => throw expected
199[warn] | ^^^
200[warn] | unused explicit parameter
201[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala-3/be/broij/ZArrowSpec.scala:523:26
202[warn] 523 | val f = (int: Int) => throw expected
203[warn] | ^^^
204[warn] | unused explicit parameter
205[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala-3/be/broij/ZArrowSpec.scala:539:26
206[warn] 539 | val f = (int: Int) => throw expected
207[warn] | ^^^
208[warn] | unused explicit parameter
209[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala-3/be/broij/ZArrowSpec.scala:555:26
210[warn] 555 | val f = (int: Int) => throw expected
211[warn] | ^^^
212[warn] | unused explicit parameter
213[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala-3/be/broij/ZArrowSpec.scala:569:26
214[warn] 569 | val f = (int: Int) => throw expected
215[warn] | ^^^
216[warn] | unused explicit parameter
217[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala-3/be/broij/ZArrowSpec.scala:585:26
218[warn] 585 | val f = (int: Int) => throw expected
219[warn] | ^^^
220[warn] | unused explicit parameter
221[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala-3/be/broij/ZArrowSpec.scala:601:26
222[warn] 601 | val f = (int: Int) => throw expected
223[warn] | ^^^
224[warn] | unused explicit parameter
225[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala-3/be/broij/ZArrowSpec.scala:620:26
226[warn] 620 | val f = (int: Int) => throw expected
227[warn] | ^^^
228[warn] | unused explicit parameter
229[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala-3/be/broij/ZArrowSpec.scala:640:30
230[warn] 640 | val f = (int: Int) => throw expected
231[warn] | ^^^
232[warn] | unused explicit parameter
233[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala-3/be/broij/ZArrowSpec.scala:669:31
234[warn] 669 | val followUp = (a: Int) => throw expected
235[warn] | ^
236[warn] | unused explicit parameter
237[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala-3/be/broij/ZArrowSpec.scala:680:31
238[warn] 680 | val errorFollowUp = (a: Int) => throw expected
239[warn] | ^
240[warn] | unused explicit parameter
241[warn] 26 warnings found
242[info] done compiling
243
244************************
245Build summary:
246[{
247 "module": "zarrow",
248 "compile": {"status": "ok", "tookMs": 6134, "warnings": 3, "errors": 0, "sourceVersion": "3.7-migration"},
249 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
250 "test-compile": {"status": "ok", "tookMs": 7039, "warnings": 26, "errors": 0, "sourceVersion": "3.7-migration"},
251 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
252 "publish": {"status": "skipped", "tookMs": 0},
253 "metadata": {
254 "crossScalaVersions": ["3.6.3", "2.13.16", "2.12.20"]
255}
256}]
257************************
258[success] Total time: 15 s, completed Jan 13, 2026, 3:26:39 PM
259[0JChecking patch project/plugins.sbt...
260Checking patch project/build.properties...
261Checking patch build.sbt...
262Applied patch project/plugins.sbt cleanly.
263Applied patch project/build.properties cleanly.
264Applied patch build.sbt cleanly.
265Commit migration rewrites
266Switched to a new branch 'opencb/migrate-source-3.7'
267[opencb/migrate-source-3.7 977092e] Apply Scala compiler rewrites using -source:3.7-migration using Scala 3.7.4
268 2 files changed, 1 insertion(+), 2 deletions(-)
269----
270Preparing build for 3.8.0
271Scala binary version found: 3.8
272Implicitly using source version 3.8
273Scala binary version found: 3.8
274Implicitly using source version 3.8
275Would try to apply common scalacOption (best-effort, sbt/mill only):
276Append: ,REQUIRE:-source:3.8
277Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
278----
279Starting build for 3.8.0
280Execute tests: true
281sbt project found:
282Sbt version 1.10.7 is not supported, minimal supported version is 1.11.5
283Enforcing usage of sbt in version 1.11.5
284No prepare script found for project broij/zarrow
285##################################
286Scala version: 3.8.0
287Targets: be.broij%zarrow
288Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":["3.7"],"sourcePatches":[]}
289##################################
290Using extra scalacOptions: ,REQUIRE:-source:3.8
291Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
292[sbt_options] declare -a sbt_options=()
293[process_args] java_version = '17'
294[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
295# Executing command line:
296java
297-Dfile.encoding=UTF-8
298-Dcommunitybuild.scala=3.8.0
299-Dcommunitybuild.project.dependencies.add=
300-Xmx7G
301-Xms4G
302-Xss8M
303-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
304-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
305-jar
306/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
307"setCrossScalaVersions 3.8.0"
308"++3.8.0 -v"
309"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
310"set every credentials := Nil"
311"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
312"removeScalacOptionsStartingWith -P:wartremover"
313
314moduleMappings
315"runBuild 3.8.0 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":["3.7"],"sourcePatches":[]}""" be.broij%zarrow"
316
317[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
318[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
319[info] loading project definition from /build/repo/project
320[info] loading settings for project zarrow from build.sbt...
321[info] set current project to zarrow (in build file:/build/repo/)
322Execute setCrossScalaVersions: 3.8.0
323OpenCB::Changing crossVersion 3.6.3 -> 3.8.0 in zarrow/crossScalaVersions
324[info] set current project to zarrow (in build file:/build/repo/)
325[info] Setting Scala version to 3.8.0 on 1 projects.
326[info] Switching Scala version on:
327[info] * zarrow (3.8.0, 2.13.16, 2.12.20)
328[info] Excluding projects:
329[info] Reapplying settings...
330[info] set current project to zarrow (in build file:/build/repo/)
331Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
332[info] Reapplying settings...
333[info] set current project to zarrow (in build file:/build/repo/)
334[info] Defining Global / credentials, ThisBuild / credentials, credentials
335[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 7 others.
336[info] Run `last` for details.
337[info] Reapplying settings...
338[info] set current project to zarrow (in build file:/build/repo/)
339Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
340[info] Reapplying settings...
341OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
342
343 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
344 Did you mean allExcludeDependencies ?
345 , retry without global scopes
346[info] Reapplying settings...
347[info] set current project to zarrow (in build file:/build/repo/)
348Execute removeScalacOptionsStartingWith: -P:wartremover
349[info] Reapplying settings...
350[info] set current project to zarrow (in build file:/build/repo/)
351[success] Total time: 0 s, completed Jan 13, 2026, 3:26:47 PM
352Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":["3.7"],"sourcePatches":[]}
353Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
354Starting build...
355Projects: Set(zarrow)
356Starting build for ProjectRef(file:/build/repo/,zarrow) (zarrow)... [0/1]
357OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
358OpenCB::Filter out '-Werror', matches setting pattern '^-?-Werror'
359OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
360OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
361Compile scalacOptions: -Wunused:imports, -Wunused:params, -Yexplicit-nulls, -unchecked, -explain-types, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
362[info] compiling 2 Scala sources to /build/repo/target/scala-3.8.0/classes ...
363[info] done compiling
364[info] compiling 1 Scala source to /build/repo/target/scala-3.8.0/test-classes ...
365[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala-3/be/broij/ZArrowSpec.scala:78:41
366[warn] 78 | val zArrow = ZArrow.succeed { (int: Int) => (str: String) =>
367[warn] | ^^^
368[warn] | unused explicit parameter
369[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala-3/be/broij/ZArrowSpec.scala:78:55
370[warn] 78 | val zArrow = ZArrow.succeed { (int: Int) => (str: String) =>
371[warn] | ^^^
372[warn] | unused explicit parameter
373[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala-3/be/broij/ZArrowSpec.scala:88:41
374[warn] 88 | val zArrow = ZArrow.succeed { (int: Int) =>
375[warn] | ^^^
376[warn] | unused explicit parameter
377[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala-3/be/broij/ZArrowSpec.scala:133:41
378[warn] 133 | val zArrow = ZArrow.fromZIO { (int: Int) => (str: String) =>
379[warn] | ^^^
380[warn] | unused explicit parameter
381[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala-3/be/broij/ZArrowSpec.scala:133:55
382[warn] 133 | val zArrow = ZArrow.fromZIO { (int: Int) => (str: String) =>
383[warn] | ^^^
384[warn] | unused explicit parameter
385[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala-3/be/broij/ZArrowSpec.scala:143:41
386[warn] 143 | val zArrow = ZArrow.fromZIO { (int: Int) =>
387[warn] | ^^^
388[warn] | unused explicit parameter
389[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala-3/be/broij/ZArrowSpec.scala:189:41
390[warn] 189 | val zArrow = ZArrow.attempt { (int: Int) => (str: String) =>
391[warn] | ^^^
392[warn] | unused explicit parameter
393[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala-3/be/broij/ZArrowSpec.scala:189:55
394[warn] 189 | val zArrow = ZArrow.attempt { (int: Int) => (str: String) =>
395[warn] | ^^^
396[warn] | unused explicit parameter
397[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala-3/be/broij/ZArrowSpec.scala:199:41
398[warn] 199 | val zArrow = ZArrow.attempt { (int: Int) =>
399[warn] | ^^^
400[warn] | unused explicit parameter
401[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala-3/be/broij/ZArrowSpec.scala:244:48
402[warn] 244 | val zArrow = ZArrow.fromZIOAttempt { (int: Int) => (str: String) =>
403[warn] | ^^^
404[warn] | unused explicit parameter
405[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala-3/be/broij/ZArrowSpec.scala:244:62
406[warn] 244 | val zArrow = ZArrow.fromZIOAttempt { (int: Int) => (str: String) =>
407[warn] | ^^^
408[warn] | unused explicit parameter
409[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala-3/be/broij/ZArrowSpec.scala:254:48
410[warn] 254 | val zArrow = ZArrow.fromZIOAttempt { (int: Int) =>
411[warn] | ^^^
412[warn] | unused explicit parameter
413[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala-3/be/broij/ZArrowSpec.scala:451:46
414[warn] 451 | val catcherZArrow = ZArrow.fromZIO((cause: Cause[Int]) => ZIO.fail(1))
415[warn] | ^^^^^
416[warn] | unused explicit parameter
417[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala-3/be/broij/ZArrowSpec.scala:475:26
418[warn] 475 | val f = (zio: ZIO[Any, Nothing, Int]) => throw expected
419[warn] | ^^^
420[warn] | unused explicit parameter
421[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala-3/be/broij/ZArrowSpec.scala:491:26
422[warn] 491 | val f = (int: Int) => throw expected
423[warn] | ^^^
424[warn] | unused explicit parameter
425[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala-3/be/broij/ZArrowSpec.scala:507:26
426[warn] 507 | val f = (int: Int) => throw expected
427[warn] | ^^^
428[warn] | unused explicit parameter
429[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala-3/be/broij/ZArrowSpec.scala:523:26
430[warn] 523 | val f = (int: Int) => throw expected
431[warn] | ^^^
432[warn] | unused explicit parameter
433[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala-3/be/broij/ZArrowSpec.scala:539:26
434[warn] 539 | val f = (int: Int) => throw expected
435[warn] | ^^^
436[warn] | unused explicit parameter
437[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala-3/be/broij/ZArrowSpec.scala:555:26
438[warn] 555 | val f = (int: Int) => throw expected
439[warn] | ^^^
440[warn] | unused explicit parameter
441[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala-3/be/broij/ZArrowSpec.scala:569:26
442[warn] 569 | val f = (int: Int) => throw expected
443[warn] | ^^^
444[warn] | unused explicit parameter
445[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala-3/be/broij/ZArrowSpec.scala:585:26
446[warn] 585 | val f = (int: Int) => throw expected
447[warn] | ^^^
448[warn] | unused explicit parameter
449[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala-3/be/broij/ZArrowSpec.scala:601:26
450[warn] 601 | val f = (int: Int) => throw expected
451[warn] | ^^^
452[warn] | unused explicit parameter
453[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala-3/be/broij/ZArrowSpec.scala:620:26
454[warn] 620 | val f = (int: Int) => throw expected
455[warn] | ^^^
456[warn] | unused explicit parameter
457[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala-3/be/broij/ZArrowSpec.scala:640:30
458[warn] 640 | val f = (int: Int) => throw expected
459[warn] | ^^^
460[warn] | unused explicit parameter
461[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala-3/be/broij/ZArrowSpec.scala:669:31
462[warn] 669 | val followUp = (a: Int) => throw expected
463[warn] | ^
464[warn] | unused explicit parameter
465[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala-3/be/broij/ZArrowSpec.scala:680:31
466[warn] 680 | val errorFollowUp = (a: Int) => throw expected
467[warn] | ^
468[warn] | unused explicit parameter
469[warn] 26 warnings found
470[info] done compiling
471+ ZArrow
472 + .unit
473 + maps any input to Unit
474 + .fromZIOAttempt
475 + succeeds with the ouput of the provided f: I => ZIO[R, E, O]
476 + fails when the provided f: I => ZIO[R, E, O] throws
477 + succeeds with the provided by name parameter
478 + fails when the provided f: I => R1 => ZIO[R, E, O] throws
479 + succeeds with the ouput of the provided f: I => R1 => ZIO[R, E, O]
480 + fails when the provided by name parameter throws
481 + .compose
482 + applies the original ZArrow to the zio successes returned by the one that was passed
483 + .errorAndThen
484 + applies the ZArrow that was passed to the zio failures returned by the original one
485 + .mapZIO
486 + dies when the provided function throws
487 + applies the provided function to the zio failures returned by the original ZArrow
488 + applies the provided function to the zio successes returned by the original ZArrow
489 + .mapError
490 + applies the provided function to the zio failures returned by the original ZArrow
491 + dies when the provided function throws
492 + .flatMapError
493 + dies when the provided function throws
494 + applies the provided function and the ZArrow it gives to the failures of the original ZArrow
495 + .flatMapBoth
496 + applies fO and the ZArrow it gives to the successes of the original ZArrow
497 + applies fE and the ZArrow it gives to the failures of the original ZArrow
498 + dies when fO throws
499 + dies when fE throws
500 + .swapInputs
501 + reverts the order of the input tuples
502 + .swapOutputs
503 + reverts the order of the output tuples
504 + .identity
505 + maps the input to itself
506 + .attempt
507 + succeeds with the ouput of the provided f: I => O
508 + fails when the provided f: I => R => O throws
509 + succeeds with the ouput of the provided f: I => R => O
510 + succeeds with the provided by name parameter
511 + fails when the provided f: I => O throws
512 + fails when the provided by name parameter throws
513 + .fromZIO
514 + dies when the provided f: I => R1 => ZIO[R, E, O] throws
515 + succeeds with the provided by name parameter
516 + dies when the provided f: I => ZIO[R, E, O] throws
517 + dies when the provided by name parameter throws
518 + succeeds with the ouput of the provided f: I => ZIO[R, E, O]
519 + succeeds with the ouput of the provided f: I => R1 => ZIO[R, E, O]
520 + .apply
521 + maps individual inputs to the expected output
522 + .layer
523 + builds a ZLayer wrapping the ZArrow
524 + .combine
525 + applies the correct ZArrow to each component of the tuple
526 + applies the ZArrow that was combined before the one that was passed
527 + .succeed
528 + dies when the provided f: I => R => O throws
529 + succeeds with the provided by name parameter
530 + succeeds with the ouput of the provided f: I => R => O
531 + succeeds with the ouput of the provided f: I => O
532 + dies when the provided f: I => O throws
533 + dies when the provided by name parameter throws
534 + .zip
535 + applies the ZArrow that was zipped before the one that was passed
536 + .combinePar
537 + applies the correct ZArrow to each component of the tuple
538 + .andThen
539 + applies the ZArrow that was passed to the zio successes returned by the original one
540 + .errorCompose
541 + applies the original ZArrow to the zio failures returned by the one that was passed
542 + .zipPar
543 + applies both ZArrow to the input
544 + catchAll
545 + applies the provided ZArrow to the failures returned by the original ZArrow and recovers in case it returns a succeeding ZIO
546 + applies the provided ZArrow to the failures returned by the original ZArrow and doesn't recover in case it returns a failing ZIO
547 + .map
548 + applies the provided function to the zio successes returned by the original ZArrow
549 + dies when the provided function throws
550 + .mapAttempt
551 + applies the provided function to the zio succcesses returned by the original ZArrow
552 + fails when the provided function throws
553 + catchAllCause
554 + applies the provided ZArrow to the failures returned by the original ZArrow and recovers in case it returns a succeeding ZIO
555 + applies the provided ZArrow to the failures returned by the original ZArrow and doesn't recover in case it returns a failing ZIO
556 + applies the provided ZArrow to the defects returned by the original ZArrow and recovers in case it returns a succeeding ZIO
557 + applies the provided ZArrow to the defects returned by the original ZArrow and doesn't recover in case it returns a failing ZIO
558 + .imap
559 + applies the provided function to the inputs and forwards its output to the original ZArrow
560 + dies when the provided function throws
561 + mapErrorAttempt
562 + applies the provided function to the zio failures returned by the original ZArrow
563 + fails when the provided function throws
564 + .mapBoth
565 + applies the provided function fE to the zio failures returned by the original ZArrow
566 + applies the provided function fO to the zio succcesses returned by the original ZArrow
567 + dies when the provided function fO throws
568 + dies when the provided function fE throws
569 + .imapAttempt
570 + applies the provided function to the inputs and forwards its output to the original ZArrow
571 + fails when the provided function throws
572 + withFilter
573 + returns a ZArrow that succeeds with Some(s) when the predicate gives true for the successes s of the original ZArrow
574 + returns a ZArrow that succeeds with None when the predicate gives false for the successes of the original ZArrow
575 + .flatMap
576 + applies the provided function and the ZArrow it gives to the successes of the origianl ZArrow
577 + dies when the provided function throws
57874 tests passed. 0 tests failed. 0 tests ignored.
579
580Executed in 3 s 540 ms
581
582
583************************
584Build summary:
585[{
586 "module": "zarrow",
587 "compile": {"status": "ok", "tookMs": 6217, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
588 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
589 "test-compile": {"status": "ok", "tookMs": 5959, "warnings": 26, "errors": 0, "sourceVersion": "3.8"},
590 "test": {"status": "ok", "tookMs": 4576, "passed": 74, "failed": 0, "ignored": 0, "skipped": 0, "total": 74, "byFramework": [{"framework": "unknown", "stats": {"passed": 74, "failed": 0, "ignored": 0, "skipped": 0, "total": 74}}]},
591 "publish": {"status": "skipped", "tookMs": 0},
592 "metadata": {
593 "crossScalaVersions": ["3.6.3", "2.13.16", "2.12.20"]
594}
595}]
596************************
597[success] Total time: 19 s, completed Jan 13, 2026, 3:27:06 PM
598[0JChecking patch project/plugins.sbt...
599Checking patch project/build.properties...
600Checking patch build.sbt...
601Applied patch project/plugins.sbt cleanly.
602Applied patch project/build.properties cleanly.
603Applied patch build.sbt cleanly.