Build Logs

pismute/classy-optics • 3.8.0-RC3:2025-12-04

Errors

0

Warnings

66

Total Lines

353

1##################################
2Clonning https://github.com/pismute/classy-optics.git into /build/repo using revision v0.2.1
3##################################
4Note: switching to '663c2a7cbbe0a76277ce30673a86fe35a36c9825'.
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.4.0
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 Scala3 = "3.4.0"
35Replacement: val Scala3 = "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 Scala3 = "3.4.0"' in build.sbt
40----
41Starting build for 3.8.0-RC3
42Execute tests: true
43sbt project found:
44Sbt version 1.9.9 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 pismute/classy-optics
47##################################
48Scala version: 3.8.0-RC3
49Targets: io.github.pismute%classy-effect io.github.pismute%classy-mtl
50Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val Scala3 = \"3.4.0\"","replaceWith":"val Scala3 = \"<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 Scala3 = \"3.4.0\"","replaceWith":"val Scala3 = \"<SCALA_VERSION>\""}]}""" io.github.pismute%classy-effect io.github.pismute%classy-mtl"
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.163s.
85[info] done compiling
86[info] loading settings for project root from build.sbt...
87[info] set scmInfo to https://github.com/pismute/classy-optics
88[info] set current project to classy-optics (in build file:/build/repo/)
89Execute setCrossScalaVersions: 3.8.0-RC3
90[info] set scmInfo to https://github.com/pismute/classy-optics
91OpenCB::Changing crossVersion 3.8.0-RC3 -> 3.8.0-RC3 in root/crossScalaVersions
92OpenCB::Limitting incorrect crossVersions List() -> List(3.8.0-RC3) in root/crossScalaVersions
93OpenCB::Changing crossVersion 3.8.0-RC3 -> 3.8.0-RC3 in rootJVM/crossScalaVersions
94OpenCB::Changing crossVersion 3.8.0-RC3 -> 3.8.0-RC3 in rootNative/crossScalaVersions
95OpenCB::Changing crossVersion 3.8.0-RC3 -> 3.8.0-RC3 in classy-mtlJS/crossScalaVersions
96OpenCB::Changing crossVersion 3.8.0-RC3 -> 3.8.0-RC3 in classy-effectJS/crossScalaVersions
97OpenCB::Changing crossVersion 3.8.0-RC3 -> 3.8.0-RC3 in classy-effectJVM/crossScalaVersions
98OpenCB::Changing crossVersion 3.8.0-RC3 -> 3.8.0-RC3 in classy-mtlJVM/crossScalaVersions
99OpenCB::Changing crossVersion 3.8.0-RC3 -> 3.8.0-RC3 in rootJS/crossScalaVersions
100[info] set current project to classy-optics (in build file:/build/repo/)
101[info] Setting Scala version to 3.8.0-RC3 on 8 projects.
102[info] Switching Scala version on:
103[info] * root (3.8.0-RC3)
104[info] rootJS (3.8.0-RC3)
105[info] classy-mtlJVM (3.8.0-RC3)
106[info] rootJVM (3.8.0-RC3)
107[info] rootNative (3.8.0-RC3)
108[info] classy-mtlJS (3.8.0-RC3)
109[info] classy-effectJVM (3.8.0-RC3)
110[info] classy-effectJS (3.8.0-RC3)
111[info] Excluding projects:
112[info] Reapplying settings...
113[info] set scmInfo to https://github.com/pismute/classy-optics
114[info] set current project to classy-optics (in build file:/build/repo/)
115Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
116[info] Reapplying settings...
117[info] set scmInfo to https://github.com/pismute/classy-optics
118[info] set current project to classy-optics (in build file:/build/repo/)
119[info] Defining Global / credentials, classy-effectJS / credentials and 6 others.
120[info] The new values will be used by Compile / scalafmtOnly, IntegrationTest / scalafmtOnly and 69 others.
121[info] Run `last` for details.
122[info] Reapplying settings...
123[info] set scmInfo to https://github.com/pismute/classy-optics
124[info] set current project to classy-optics (in build file:/build/repo/)
125Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
126[info] Reapplying settings...
127OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
128
129 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
130 Did you mean allExcludeDependencies ?
131 , retry without global scopes
132[info] Reapplying settings...
133[info] set scmInfo to https://github.com/pismute/classy-optics
134[info] set current project to classy-optics (in build file:/build/repo/)
135Execute removeScalacOptionsStartingWith: -P:wartremover
136[info] Reapplying settings...
137[info] set scmInfo to https://github.com/pismute/classy-optics
138[info] set current project to classy-optics (in build file:/build/repo/)
139[success] Total time: 0 s, completed Dec 4, 2025, 12:55:10 PM
140Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val Scala3 = \"3.4.0\"","replaceWith":"val Scala3 = \"<SCALA_VERSION>\""}]}
141Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
142Starting build...
143Projects: Set(classy-effectJVM, classy-mtlJVM)
144Starting build for ProjectRef(file:/build/repo/,classy-effectJVM) (classy-effect)... [0/2]
145OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
146OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
147OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
148OpenCB::Filter out '-Xfatal-warnings', matches setting pattern '^-?-Xfatal-warnings'
149Compile scalacOptions: -encoding, utf8, -unchecked, -language:experimental.macros, -language:higherKinds, -language:implicitConversions, -Ykind-projector:underscores, -Wvalue-discard, -Wunused:implicits, -Wunused:explicits, -Wunused:imports, -Wunused:locals, -Wunused:params, -Wunused:privates, -Xcheck-macros, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
150[info] compiling 23 Scala sources to /build/repo/mtl/jvm/target/scala-3.8.0-RC3/classes ...
151[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
152[warn] -- [E198] Unused Symbol Warning: /build/repo/mtl/shared/src/main/scala/classy/mtl/deriving.scala:13:51
153[warn] 13 | def deriveAsk[F[_], A <: Product, B: PinInvariant](using parent: Ask[F, A], getter: Getter[A, B]): Ask[F, B] =
154[warn] | ^
155[warn] | unused implicit parameter
156[warn] -- [E198] Unused Symbol Warning: /build/repo/mtl/shared/src/main/scala/classy/mtl/deriving.scala:21:42
157[warn] 21 | def deriveRaise[F[_], A, B: PinInvariant](using parent: Raise[F, A], review: Review[A, B]): Raise[F, B] =
158[warn] | ^
159[warn] | unused implicit parameter
160[warn] -- [E198] Unused Symbol Warning: /build/repo/mtl/shared/src/main/scala/classy/mtl/deriving.scala:27:41
161[warn] 27 | def deriveTell[F[_], A, B: PinInvariant](using parent: Tell[F, A], review: Review[A, B]): Tell[F, B] =
162[warn] | ^
163[warn] | unused implicit parameter
164[warn] -- [E197] Potential Issue Warning: /build/repo/mtl/shared/src/main/scala/classy/optics/Getter.scala:29:60
165[warn] 29 | inline def apply[S, A](_view: S => A): Getter[S, A] = new Getter[S, A]:
166[warn] | ^
167[warn] | New anonymous class definition will be duplicated at each inline site
168[warn] |
169[warn] | longer explanation available when compiling with `-explain`
170[warn] -- [E197] Potential Issue Warning: /build/repo/mtl/shared/src/main/scala/classy/optics/Iso.scala:29:74
171[warn] 29 | inline def apply[S, A](_view: S => A)(_review: A => S): Iso[S, A] = new Iso[S, A]:
172[warn] | ^
173[warn] | New anonymous class definition will be duplicated at each inline site
174[warn] |
175[warn] | longer explanation available when compiling with `-explain`
176[warn] -- [E197] Potential Issue Warning: /build/repo/mtl/shared/src/main/scala/classy/optics/Lens.scala:35:77
177[warn] 35 | inline def apply[S, A](_view: S => A)(_set: S => A => S): Lens[S, A] = new Lens[S, A]:
178[warn] | ^
179[warn] | New anonymous class definition will be duplicated at each inline site
180[warn] |
181[warn] | longer explanation available when compiling with `-explain`
182[warn] -- [E197] Potential Issue Warning: /build/repo/mtl/shared/src/main/scala/classy/optics/Prism.scala:48:89
183[warn] 48 | inline def apply[S, A](_preview: (S) => Option[A])(_review: A => S): Prism[S, A] = new Prism[S, A]:
184[warn] | ^
185[warn] | New anonymous class definition will be duplicated at each inline site
186[warn] |
187[warn] | longer explanation available when compiling with `-explain`
188[warn] -- [E197] Potential Issue Warning: /build/repo/mtl/shared/src/main/scala/classy/optics/Review.scala:45:62
189[warn] 45 | inline def apply[S, A](_review: A => S): Review[S, A] = new Review[S, A]:
190[warn] | ^
191[warn] | New anonymous class definition will be duplicated at each inline site
192[warn] |
193[warn] | longer explanation available when compiling with `-explain`
194[warn] 9 warnings found
195[info] done compiling
196[info] compiling 11 Scala sources to /build/repo/effect/jvm/target/scala-3.8.0-RC3/classes ...
197[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
198[warn] one warning found
199[info] done compiling
200[info] compiling 19 Scala sources to /build/repo/mtl/jvm/target/scala-3.8.0-RC3/test-classes ...
201[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
202[warn] -- [E198] Unused Symbol Warning: /build/repo/mtl/shared/src/test/scala/classy/mtl/internal/ProductBaseSuite.scala:13:18
203[warn] 13 |import classy.mtl.*
204[warn] | ^
205[warn] | unused import
206[warn] -- [E198] Unused Symbol Warning: /build/repo/mtl/shared/src/test/scala/classy/mtl/internal/ProductBaseSuite.scala:26:36
207[warn] 26 | given eqKleisli[F[_], A, B](using Arbitrary[A], Eq[A => F[B]]): Eq[Kleisli[F, A, B]] =
208[warn] | ^
209[warn] | unused implicit parameter
210[warn] -- [E198] Unused Symbol Warning: /build/repo/mtl/shared/src/test/scala/classy/mtl/internal/ProductBaseSuite.scala:29:35
211[warn] 29 | given stateTEq[F[_], S, A](using Arbitrary[S], Eq[S => F[(S, A)]], FlatMap[F]): Eq[StateT[F, S, A]] =
212[warn] | ^
213[warn] | unused implicit parameter
214[warn] four warnings found
215[info] done compiling
216[info] compiling 4 Scala sources to /build/repo/effect/jvm/target/scala-3.8.0-RC3/test-classes ...
217[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
218[warn] -- [E198] Unused Symbol Warning: /build/repo/effect/shared/src/test/scala/classy/effect/AutoSpec.scala:4:29
219[warn] 4 |import cats.effect.implicits.*
220[warn] | ^
221[warn] | unused import
222[warn] two warnings found
223[info] done compiling
224classy.effect.AutoSpec:
225 + auto ref 0.068s
226classy.effect.internal.SumSpec:
227 + IOLocal.Tell 0.188s
228 + Ref.Tell 0.003s
229 + AtomicCell.Tell 0.01s
230classy.effect.internal.ProductSpec:
231 + IOLocal.Ask 0.186s
232 + IOLocal.Stateful 0.022s
233 + Ref.Ask 0.001s
234 + AtomicCell.Ask 0.001s
235 + AtomicCell.Stateful 0.011s
236Starting build for ProjectRef(file:/build/repo/,classy-mtlJVM) (classy-mtl)... [1/2]
237Compile scalacOptions: -encoding, utf8, -unchecked, -language:experimental.macros, -language:higherKinds, -language:implicitConversions, -Ykind-projector:underscores, -Wvalue-discard, -Wunused:implicits, -Wunused:explicits, -Wunused:imports, -Wunused:locals, -Wunused:params, -Wunused:privates, -Xcheck-macros, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
238classy.mtl.AutoSpec:
239classy.optics.ReviewSpec:
240 + derived for root 0.021s
241 + derived for first level 0.008s
242 + derived in ambiguity 0.01s
243classy.optics.LensSpec:
244 + derived for first level 0.022s
245classy.optics.PrismSpec:
246 + derived for root 0.011s
247 + derived for first level 0.003s
248 + derived in ambiguity 0.012s
249 + defived for union type 0.012s
250classy.mtl.internal.RaiseSpec:
251 + Raise: raise.catch non fatal default 0.049s
252 + Raise.mapK: raise.catch non fatal default 0.026s
253 + contravariant test on a union type 0.001s
254classy.mtl.internal.AskSpec:
255 + Ask: ask.ask adds no effects 0.058s
256 + Ask: ask.reader is ask and map 0.012s
257 + Ask.mapK: ask.ask adds no effects 0.044s
258 + Ask.mapK: ask.reader is ask and map 0.017s
259 + covariant test on a cake 0.0s
260 + covariant test on a intersection type 0.001s
261classy.optics.IsoSpec:
262 + derived for first level 0.005s
263classy.mtl.internal.TellSpec:
264 + Tell: tell.tuple is (flip writer) 0.022s
265 + Tell: tell.writer is tell and map 0.011s
266 + Tell.mapK: tell.tuple is (flip writer) 0.018s
267 + Tell.mapK: tell.writer is tell and map 0.01s
268 + contravariant test on a union type 0.001s
269classy.optics.GetterSpec:
270 + derived for first level 0.003s
271classy.mtl.internal.HandleSpec:
272 + Handle: handle.catch non fatal default 0.046s
273 + Handle: handle.pure and attempt is pure Right 0.017s
274 + Handle: handle.pure and handle is pure 0.012s
275 + Handle: handle.pure and handleWith is pure 0.007s
276 + Handle: handle.raise and attempt is pure Left 0.006s
277 + Handle: handle.raise and handle is pure and function application 0.013s
278 + Handle: handle.raise and handleWith is function application 0.032s
279 + Handle.imapK: handle.catch non fatal default 0.008s
280 + Handle.imapK: handle.pure and attempt is pure Right 0.005s
281 + Handle.imapK: handle.pure and handle is pure 0.008s
282 + Handle.imapK: handle.pure and handleWith is pure 0.004s
283 + Handle.imapK: handle.raise and attempt is pure Left 0.009s
284 + Handle.imapK: handle.raise and handle is pure and function application 0.009s
285 + Handle.imapK: handle.raise and handleWith is function application 0.023s
286 + derive for a union type: handle.catch non fatal default 0.005s
287 + derive for a union type: handle.pure and attempt is pure Right 0.002s
288 + derive for a union type: handle.pure and handle is pure 0.002s
289 + derive for a union type: handle.pure and handleWith is pure 0.002s
290 + derive for a union type: handle.raise and attempt is pure Left 0.003s
291 + derive for a union type: handle.raise and handle is pure and function application 0.002s
292 + derive for a union type: handle.raise and handleWith is function application 0.006s
293classy.mtl.SyntaxSpec:
294 + lift Option to either with raise 0.005s
295 + lift Either to either with raise 0.005s
296 + lift Try to either with raise 0.001s
297 + lift Validated to either with raise 0.011s
298classy.mtl.internal.StatefulSpec:
299 + Stateful: stateful.get then get gets once 0.001s
300 + Stateful: stateful.get then set has does nothing 0.001s
301 + Stateful: stateful.modify is get then set 0.024s
302 + Stateful: stateful.set then get returns the setted value 0.023s
303 + Stateful: stateful.set then set sets the last value 0.023s
304 + Stateful.mapK: stateful.get then get gets once 0.003s
305 + Stateful.mapK: stateful.get then set has does nothing 0.001s
306 + Stateful.mapK: stateful.modify is get then set 0.023s
307 + Stateful.mapK: stateful.set then get returns the setted value 0.012s
308 + Stateful.mapK: stateful.set then set sets the last value 0.009s
309classy.mtl.internal.LocalSpec:
310 + Local: local.ask adds no effects 0.012s
311 + Local: local.ask reflects local 0.012s
312 + Local: local.local distributes over ap 0.014s
313 + Local: local.local pure is pure 0.006s
314 + Local: local.reader is ask and map 0.007s
315 + Local: local.scope is local const 0.013s
316 + Local.imapK: local.ask adds no effects 0.014s
317 + Local.imapK: local.ask reflects local 0.008s
318 + Local.imapK: local.local distributes over ap 0.011s
319 + Local.imapK: local.local pure is pure 0.008s
320 + Local.imapK: local.reader is ask and map 0.004s
321 + Local.imapK: local.scope is local const 0.008s
322
323************************
324Build summary:
325[{
326 "module": "classy-effect",
327 "compile": {"status": "ok", "tookMs": 12885, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
328 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
329 "test-compile": {"status": "ok", "tookMs": 10579, "warnings": 1, "errors": 0, "sourceVersion": "3.8"},
330 "test": {"status": "ok", "tookMs": 1273, "passed": 9, "failed": 0, "ignored": 0, "skipped": 0, "total": 9, "byFramework": [{"framework": "munit", "stats": {"passed": 9, "failed": 0, "ignored": 0, "skipped": 0, "total": 9}}]},
331 "publish": {"status": "skipped", "tookMs": 0},
332 "metadata": {
333 "crossScalaVersions": ["3.4.0"]
334}
335},{
336 "module": "classy-mtl",
337 "compile": {"status": "ok", "tookMs": 67, "warnings": 8, "errors": 0, "sourceVersion": "3.8"},
338 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
339 "test-compile": {"status": "ok", "tookMs": 105, "warnings": 3, "errors": 0, "sourceVersion": "3.8"},
340 "test": {"status": "ok", "tookMs": 699, "passed": 71, "failed": 0, "ignored": 0, "skipped": 0, "total": 71, "byFramework": [{"framework": "munit", "stats": {"passed": 71, "failed": 0, "ignored": 0, "skipped": 0, "total": 71}}]},
341 "publish": {"status": "skipped", "tookMs": 0},
342 "metadata": {
343 "crossScalaVersions": ["3.4.0"]
344}
345}]
346************************
347[success] Total time: 47 s, completed Dec 4, 2025, 12:55:56 PM
348[0JChecking patch project/plugins.sbt...
349Checking patch project/build.properties...
350Checking patch build.sbt...
351Applied patch project/plugins.sbt cleanly.
352Applied patch project/build.properties cleanly.
353Applied patch build.sbt cleanly.