Build Logs

optics-dev/monocle • scala/scala3:release-3.8.0_backport-24775:2025-12-21

Errors

3

Warnings

718

Total Lines

1695

1##################################
2Clonning https://github.com/optics-dev/monocle.git into /build/repo using revision v3.3.0
3##################################
4Note: switching to 'ae59b9ad07a5b6f1addac2117fd71dec2664d513'.
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.3
22Using target Scala version for migration: 3.7.4
23Migrating project for -source:3.4 using Scala 3.7.4
24----
25Preparing build for 3.7.4
26Would try to apply common scalacOption (best-effort, sbt/mill only):
27Append: -rewrite,REQUIRE:-source:3.4-migration
28Remove: -indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
29
30Try apply source patch:
31Path: build.sbt
32Pattern: val scala3Version = "3.3.3"
33Replacement: val scala3Version = "3.7.4"
34Starting compilation server
35Compiling project (Scala 3.7.3, JVM (21))
36Compiled project (Scala 3.7.3, JVM (21))
37Successfully applied pattern 'val scala3Version = "3.3.3"' in build.sbt
38----
39Starting build for 3.7.4
40Execute tests: false
41sbt project found:
42Sbt version 1.10.1 is not supported, minimal supported version is 1.11.5
43Enforcing usage of sbt in version 1.11.5
44No prepare script found for project optics-dev/monocle
45##################################
46Scala version: 3.7.4
47Targets: dev.optics%monocle-core dev.optics%monocle-law dev.optics%monocle-macro dev.optics%monocle-refined dev.optics%monocle-state dev.optics%monocle-unsafe
48Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"21"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.4","3.7"],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3Version = \"3.3.3\"","replaceWith":"val scala3Version = \"<SCALA_VERSION>\""}]}
49##################################
50Using extra scalacOptions: -rewrite,REQUIRE:-source:3.4-migration
51Filtering out scalacOptions: -indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
52[sbt_options] declare -a sbt_options=()
53[process_args] java_version = '21'
54[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_21/rt.jar'
55# Executing command line:
56java
57-Dsbt.color=always
58-Dsbt.supershell=true
59-Xms2g
60-Xmx3g
61-Xss2m
62-Dcommunitybuild.scala=3.7.4
63-Dcommunitybuild.project.dependencies.add=
64-Xmx7G
65-Xms4G
66-Xss8M
67-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
68-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_21
69-jar
70/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
71"setCrossScalaVersions 3.7.4"
72"++3.7.4 -v"
73"mapScalacOptions "-rewrite,REQUIRE:-source:3.4-migration,-Wconf:msg=can be rewritten automatically under:s" "-indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
74"set every credentials := Nil"
75"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
76"removeScalacOptionsStartingWith -P:wartremover"
77
78moduleMappings
79"runBuild 3.7.4 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"21"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.4","3.7"],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3Version = \"3.3.3\"","replaceWith":"val scala3Version = \"<SCALA_VERSION>\""}]}""" dev.optics%monocle-core dev.optics%monocle-law dev.optics%monocle-macro dev.optics%monocle-refined dev.optics%monocle-state dev.optics%monocle-unsafe"
80
81[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 21)
82[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
83[info] loading project definition from /build/repo/project
84[info] compiling 2 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
85[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
86[info] Compilation completed in 7.989s.
87[info] done compiling
88[info] loading settings for project root from build.sbt...
89[info] resolving key references (30263 settings) ...
90[info] set scmInfo to https://github.com/optics-dev/monocle
91[info] set current project to root (in build file:/build/repo/)
92Execute setCrossScalaVersions: 3.7.4
93OpenCB::Limitting incorrect crossVersions List() -> List(2.13.14) in root/crossScalaVersions
94[info] set scmInfo to https://github.com/optics-dev/monocle
95OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in rootJS/crossScalaVersions
96OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in bench/crossScalaVersions
97OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in example/crossScalaVersions
98OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in rootNative/crossScalaVersions
99OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in testNative/crossScalaVersions
100OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in rootJVM/crossScalaVersions
101OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in testJS/crossScalaVersions
102OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in testJVM/crossScalaVersions
103OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in coreJVM/crossScalaVersions
104OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in stateNative/crossScalaVersions
105OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in genericNative/crossScalaVersions
106OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in macrosNative/crossScalaVersions
107OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in unsafeNative/crossScalaVersions
108OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in lawNative/crossScalaVersions
109OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in stateJS/crossScalaVersions
110OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in unsafeJS/crossScalaVersions
111OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in lawJS/crossScalaVersions
112OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in coreJS/crossScalaVersions
113OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in refinedNative/crossScalaVersions
114OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in lawJVM/crossScalaVersions
115OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in coreNative/crossScalaVersions
116OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in genericJS/crossScalaVersions
117OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in genericJVM/crossScalaVersions
118OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in refinedJS/crossScalaVersions
119OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in refinedJVM/crossScalaVersions
120OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in macrosJS/crossScalaVersions
121OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in stateJVM/crossScalaVersions
122OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in macrosJVM/crossScalaVersions
123OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in unsafeJVM/crossScalaVersions
124[info] set current project to root (in build file:/build/repo/)
125[info] Setting Scala version to 3.7.4 on 29 projects.
126[info] Switching Scala version on:
127[info] unsafeJS (2.13.14, 3.7.4)
128[info] testJVM (2.13.14, 3.7.4)
129[info] testNative (2.13.14, 3.7.4)
130[info] genericJVM (2.13.14, 3.7.4)
131[info] lawJS (2.13.14, 3.7.4)
132[info] macrosJVM (2.13.14, 3.7.4)
133[info] unsafeNative (2.13.14, 3.7.4)
134[info] stateJVM (2.13.14, 3.7.4)
135[info] rootJS (2.13.14, 3.7.4)
136[info] coreNative (2.13.14, 3.7.4)
137[info] unsafeJVM (2.13.14, 3.7.4)
138[info] macrosNative (2.13.14, 3.7.4)
139[info] coreJS (2.13.14, 3.7.4)
140[info] macrosJS (2.13.14, 3.7.4)
141[info] lawJVM (2.13.14, 3.7.4)
142[info] genericJS (2.13.14, 3.7.4)
143[info] coreJVM (2.13.14, 3.7.4)
144[info] refinedNative (2.13.14, 3.7.4)
145[info] lawNative (2.13.14, 3.7.4)
146[info] rootJVM (2.13.14, 3.7.4)
147[info] rootNative (2.13.14, 3.7.4)
148[info] refinedJS (2.13.14, 3.7.4)
149[info] refinedJVM (2.13.14, 3.7.4)
150[info] stateNative (2.13.14, 3.7.4)
151[info] testJS (2.13.14, 3.7.4)
152[info] stateJS (2.13.14, 3.7.4)
153[info] example (2.13.14, 3.7.4)
154[info] genericNative (2.13.14, 3.7.4)
155[info] bench (2.13.14, 3.7.4)
156[info] Excluding projects:
157[info] * root (2.13.14)
158[info] docs (2.13.14)
159[info] Reapplying settings...
160[info] set scmInfo to https://github.com/optics-dev/monocle
161[info] set current project to root (in build file:/build/repo/)
162Execute mapScalacOptions: -rewrite,REQUIRE:-source:3.4-migration,-Wconf:msg=can be rewritten automatically under:s -indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
163[info] Reapplying settings...
164[info] set scmInfo to https://github.com/optics-dev/monocle
165[info] set current project to root (in build file:/build/repo/)
166[info] Defining Global / credentials, bench / credentials and 29 others.
167[info] The new values will be used by Compile / scalafmtOnly, IntegrationTest / scalafmtOnly and 276 others.
168[info] Run `last` for details.
169[info] Reapplying settings...
170[info] set scmInfo to https://github.com/optics-dev/monocle
171[info] set current project to root (in build file:/build/repo/)
172Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
173[info] Reapplying settings...
174OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
175
176 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
177 Did you mean rootJVM / allExcludeDependencies ?
178 , retry without global scopes
179[info] Reapplying settings...
180[info] set scmInfo to https://github.com/optics-dev/monocle
181[info] set current project to root (in build file:/build/repo/)
182Execute removeScalacOptionsStartingWith: -P:wartremover
183[info] Reapplying settings...
184[info] set scmInfo to https://github.com/optics-dev/monocle
185[info] set current project to root (in build file:/build/repo/)
186[success] Total time: 0 s, completed Dec 21, 2025, 9:18:02 PM
187Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"21"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.4","3.7"],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3Version = \"3.3.3\"","replaceWith":"val scala3Version = \"<SCALA_VERSION>\""}]}
188Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
189Starting build...
190Projects: Set(macrosJVM, stateJVM, unsafeJVM, lawJVM, coreJVM, refinedJVM)
191Starting build for ProjectRef(file:/build/repo/,stateJVM) (monocle-state)... [0/6]
192OpenCB::Exclude Scala3 specific scalacOption `-rewrite` in Scala 2.12.20 module Global
193OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.4-migration` in Scala 2.12.20 module Global
194OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
195OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
196OpenCB::Filter out '-source:3.0-migration', matches setting pattern '^-?-source(:.*)?'
197Compile scalacOptions: -encoding, UTF-8, -unchecked, -Ykind-projector, -language:implicitConversions, -language:higherKinds, -language:postfixOps, -Wunused:all, -rewrite, -Wconf:msg=can be rewritten automatically under:s, -source:3.4-migration
198[info] compiling 107 Scala sources to /build/repo/core/jvm/target/scala-3.7.4/classes ...
199[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
200[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/main/scala-3/monocle/internal/IsoFields.scala:15:26
201[warn] 15 | import quotes.reflect.*
202[warn] | ^
203[warn] | unused import
204[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/main/scala-3/monocle/internal/focus/ComposedFocusImpl.scala:10:2
205[warn] 10 | Iso,
206[warn] | ^^^
207[warn] | unused import
208[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/main/scala-3/monocle/internal/focus/ComposedFocusImpl.scala:11:2
209[warn] 11 | Lens,
210[warn] | ^^^^
211[warn] | unused import
212[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/main/scala-3/monocle/internal/focus/ComposedFocusImpl.scala:12:2
213[warn] 12 | Optional,
214[warn] | ^^^^^^^^
215[warn] | unused import
216[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/main/scala-3/monocle/internal/focus/ComposedFocusImpl.scala:13:2
217[warn] 13 | Prism,
218[warn] | ^^^^^
219[warn] | unused import
220[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/main/scala-3/monocle/internal/focus/ComposedFocusImpl.scala:15:2
221[warn] 15 | Traversal
222[warn] | ^^^^^^^^^
223[warn] | unused import
224[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/main/scala-3/monocle/internal/focus/FocusImpl.scala:3:23
225[warn] 3 |import monocle.{Focus, Lens}
226[warn] | ^^^^
227[warn] | unused import
228[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/main/scala-3/monocle/internal/focus/features/GeneratorLoop.scala:12:21
229[warn] 12 |import monocle.{Iso, Lens, Optional, Prism, Traversal}
230[warn] | ^^^^
231[warn] | unused import
232[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/main/scala-3/monocle/internal/focus/features/GeneratorLoop.scala:12:27
233[warn] 12 |import monocle.{Iso, Lens, Optional, Prism, Traversal}
234[warn] | ^^^^^^^^
235[warn] | unused import
236[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/main/scala-3/monocle/internal/focus/features/GeneratorLoop.scala:12:37
237[warn] 12 |import monocle.{Iso, Lens, Optional, Prism, Traversal}
238[warn] | ^^^^^
239[warn] | unused import
240[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/main/scala-3/monocle/internal/focus/features/GeneratorLoop.scala:12:44
241[warn] 12 |import monocle.{Iso, Lens, Optional, Prism, Traversal}
242[warn] | ^^^^^^^^^
243[warn] | unused import
244[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/main/scala-3/monocle/internal/focus/features/ParserBase.scala:3:20
245[warn] 3 |import scala.quoted.Quotes
246[warn] | ^^^^^^
247[warn] | unused import
248[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/main/scala-3/monocle/internal/focus/features/ParserBase.scala:9:30
249[warn] 9 | import macroContext.reflect._
250[warn] | ^
251[warn] | unused import
252[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/main/scala-3/monocle/internal/focus/features/ParserLoop.scala:3:20
253[warn] 3 |import scala.quoted.Type
254[warn] | ^^^^
255[warn] | unused import
256[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/main/scala-3/monocle/internal/focus/features/as/AsGenerator.scala:3:15
257[warn] 3 |import monocle.Prism
258[warn] | ^^^^^
259[warn] | unused import
260[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/main/scala/monocle/function/Each.scala:84:31
261[warn] 84 | implicit def mapEach[K: Order, V]: Each[SortedMap[K, V], V] =
262[warn] | ^
263[warn] | unused implicit parameter
264[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/main/scala/monocle/std/String.scala:41:29
265[warn] 41 | def inputBreaksPrismLaws(input: String): Boolean =
266[warn] | ^^^^^
267[warn] | unused explicit parameter
268[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/main/scala/monocle/std/Try.scala:21:19
269[warn] 21 | case Success(a) => None
270[warn] | ^
271[warn] | unused pattern variable
272[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/core/shared/src/main/scala-3/monocle/internal/focus/features/as/AsGenerator.scala:15:4
273[warn] 15 | (fromType.asType, toType.asType) match {
274[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
275[warn] | match may not be exhaustive.
276[warn] |
277[warn] | It would fail on pattern case: (_, _)
278[warn] |
279[warn] | longer explanation available when compiling with `-explain`
280[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/core/shared/src/main/scala-3/monocle/internal/focus/features/at/AtGenerator.scala:14:4
281[warn] 14 | (fromType.asType, index.tpe.asType, toType.asType) match {
282[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
283[warn] | match may not be exhaustive.
284[warn] |
285[warn] | It would fail on pattern case: (_, _, _)
286[warn] |
287[warn] | longer explanation available when compiling with `-explain`
288[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/core/shared/src/main/scala-3/monocle/internal/focus/features/each/EachGenerator.scala:14:4
289[warn] 14 | (fromType.asType, toType.asType) match {
290[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
291[warn] | match may not be exhaustive.
292[warn] |
293[warn] | It would fail on pattern case: (_, _)
294[warn] |
295[warn] | longer explanation available when compiling with `-explain`
296[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/core/shared/src/main/scala-3/monocle/internal/focus/features/index/IndexGenerator.scala:14:4
297[warn] 14 | (fromType.asType, index.tpe.widen.asType, toType.asType) match {
298[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
299[warn] | match may not be exhaustive.
300[warn] |
301[warn] | It would fail on pattern case: (_, _, _)
302[warn] |
303[warn] | longer explanation available when compiling with `-explain`
304[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/core/shared/src/main/scala-3/monocle/internal/focus/features/selectfield/SelectFieldGenerator.scala:21:4
305[warn] 21 | (fromType.asType, toType.asType) match {
306[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
307[warn] | match may not be exhaustive.
308[warn] |
309[warn] | It would fail on pattern case: (_, _)
310[warn] |
311[warn] | longer explanation available when compiling with `-explain`
312[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/core/shared/src/main/scala-3/monocle/internal/focus/features/selectonlyfield/SelectOnlyFieldGenerator.scala:21:4
313[warn] 21 | (fromType.asType, toType.asType) match {
314[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
315[warn] | match may not be exhaustive.
316[warn] |
317[warn] | It would fail on pattern case: (_, _)
318[warn] |
319[warn] | longer explanation available when compiling with `-explain`
320Warning: mocking up superclass for module class focus
321Warning: mocking up superclass for module class internal
322[info] [patched file /build/repo/core/shared/src/main/scala/monocle/Traversal.scala]
323[info] [patched file /build/repo/core/shared/src/main/scala-3/monocle/internal/focus/features/selectonlyfield/SelectOnlyFieldParser.scala]
324[info] [patched file /build/repo/core/shared/src/main/scala/monocle/Getter.scala]
325[info] [patched file /build/repo/core/shared/src/main/scala/monocle/function/FilterIndex.scala]
326[info] [patched file /build/repo/core/shared/src/main/scala-3/monocle/internal/focus/features/as/AsGenerator.scala]
327[info] [patched file /build/repo/core/shared/src/main/scala-3/monocle/internal/focus/features/KeywordParserBase.scala]
328[info] [patched file /build/repo/core/shared/src/main/scala/monocle/law/IsoLaws.scala]
329[info] [patched file /build/repo/core/shared/src/main/scala-3/monocle/internal/focus/FocusImpl.scala]
330[info] [patched file /build/repo/core/shared/src/main/scala/monocle/Fold.scala]
331[info] [patched file /build/repo/core/shared/src/main/scala-3/monocle/internal/IsoFields.scala]
332[info] [patched file /build/repo/core/shared/src/main/scala-3/monocle/internal/focus/features/each/EachParser.scala]
333[info] [patched file /build/repo/core/shared/src/main/scala-3/monocle/internal/focus/features/ParserLoop.scala]
334[info] [patched file /build/repo/core/shared/src/main/scala-3/monocle/internal/focus/features/index/IndexParser.scala]
335[info] [patched file /build/repo/core/shared/src/main/scala-3/monocle/internal/focus/features/as/AsParser.scala]
336[info] [patched file /build/repo/core/shared/src/main/scala-3/monocle/internal/focus/features/GeneratorLoop.scala]
337[info] [patched file /build/repo/core/shared/src/main/scala-3/monocle/internal/focus/features/withdefault/WithDefaultParser.scala]
338[info] [patched file /build/repo/core/shared/src/main/scala-3/monocle/internal/focus/features/selectfield/SelectFieldParser.scala]
339[info] [patched file /build/repo/core/shared/src/main/scala-3/monocle/internal/focus/features/some/SomeParser.scala]
340[info] [patched file /build/repo/core/shared/src/main/scala-3/monocle/internal/focus/features/at/AtParser.scala]
341[info] [patched file /build/repo/core/shared/src/main/scala-3/monocle/internal/focus/features/ParserBase.scala]
342[info] [patched file /build/repo/core/shared/src/main/scala-3/monocle/internal/focus/ComposedFocusImpl.scala]
343[warn] there were 169 deprecation warnings; re-run with -deprecation for details
344[warn] 26 warnings found
345[info] done compiling
346[info] compiling 7 Scala sources to /build/repo/state/.jvm/target/scala-3.7.4/classes ...
347[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
348[warn] one warning found
349[info] done compiling
350[info] compiling 21 Scala sources to /build/repo/core/jvm/target/scala-3.7.4/classes ...
351[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
352[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/main/scala-3/monocle/internal/IsoFields.scala:4:21
353[warn] 4 |import scala.quoted.{quotes, Expr, Quotes, Type}
354[warn] | ^^^^^^
355[warn] | unused import
356[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/core/shared/src/main/scala-3/monocle/internal/focus/features/as/AsGenerator.scala:14:4
357[warn] 14 | (fromType.asType, toType.asType) match {
358[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
359[warn] | match may not be exhaustive.
360[warn] |
361[warn] | It would fail on pattern case: (_, _)
362[warn] |
363[warn] | longer explanation available when compiling with `-explain`
364[info] [patched file /build/repo/core/shared/src/main/scala-3/monocle/internal/IsoFields.scala]
365[warn] three warnings found
366[info] done compiling
367[info] compiling 18 Scala sources to /build/repo/core/jvm/target/scala-3.7.4/classes ...
368[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
369[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/main/scala/monocle/function/Each.scala:84:31
370[warn] 84 | implicit def mapEach[K: Order, V]: Each[SortedMap[K, V], V] =
371[warn] | ^
372[warn] | unused implicit parameter
373Warning: mocking up superclass for module class focus
374Warning: mocking up superclass for module class internal
375[warn] 5 warnings found
376[info] done compiling
377[info] compiling 21 Scala sources to /build/repo/core/jvm/target/scala-3.7.4/classes ...
378[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
379Warning: mocking up superclass for module class focus
380Warning: mocking up superclass for module class internal
381[warn] 6 warnings found
382[info] done compiling
383[info] compiling 1 Scala source to /build/repo/core/jvm/target/scala-3.7.4/classes ...
384[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
385[warn] one warning found
386[info] done compiling
387[info] compiling 1 Scala source to /build/repo/core/jvm/target/scala-3.7.4/classes ...
388[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
389Warning: mocking up superclass for module class internal
390[warn] two warnings found
391[info] done compiling
392Starting build for ProjectRef(file:/build/repo/,refinedJVM) (monocle-refined)... [1/6]
393Compile scalacOptions: -encoding, UTF-8, -unchecked, -Ykind-projector, -language:implicitConversions, -language:higherKinds, -language:postfixOps, -Wunused:all, -rewrite, -Wconf:msg=can be rewritten automatically under:s, -source:3.4-migration
394[info] compiling 18 Scala sources to /build/repo/law/.jvm/target/scala-3.7.4/classes ...
395[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
396[warn] -- [E198] Unused Symbol Warning: /build/repo/law/src/main/scala/monocle/law/discipline/SetterTests.scala:12:46
397[warn] 12 | def apply[S: Arbitrary: Eq, A: Arbitrary: Eq](setter: Setter[S, A])(implicit arbAA: Arbitrary[A => A]): RuleSet = {
398[warn] | ^
399[warn] | unused implicit parameter
400[info] [patched file /build/repo/law/src/main/scala/monocle/law/discipline/function/PossibleTests.scala]
401[info] [patched file /build/repo/law/src/main/scala/monocle/law/discipline/function/FilterIndexTests.scala]
402[info] [patched file /build/repo/law/src/main/scala/monocle/law/discipline/function/Snoc1Tests.scala]
403[info] [patched file /build/repo/law/src/main/scala/monocle/law/discipline/function/Cons1Tests.scala]
404[info] [patched file /build/repo/law/src/main/scala/monocle/law/discipline/function/SnocTests.scala]
405[info] [patched file /build/repo/law/src/main/scala/monocle/law/discipline/function/AtTests.scala]
406[info] [patched file /build/repo/law/src/main/scala/monocle/law/discipline/function/IndexTests.scala]
407[info] [patched file /build/repo/law/src/main/scala/monocle/law/discipline/function/EachTests.scala]
408[info] [patched file /build/repo/law/src/main/scala/monocle/law/discipline/function/ConsTests.scala]
409[warn] two warnings found
410[info] done compiling
411[info] compiling 6 Scala sources to /build/repo/refined/.jvm/target/scala-3.7.4/classes ...
412[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
413[warn] one warning found
414[info] done compiling
415[info] compiling 9 Scala sources to /build/repo/law/.jvm/target/scala-3.7.4/classes ...
416[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
417[warn] one warning found
418[info] done compiling
419[info] compiling 3 Scala sources to /build/repo/refined/.jvm/target/scala-3.7.4/test-classes ...
420[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
421[warn] one warning found
422[info] done compiling
423Starting build for ProjectRef(file:/build/repo/,unsafeJVM) (monocle-unsafe)... [2/6]
424Compile scalacOptions: -encoding, UTF-8, -unchecked, -Ykind-projector, -language:implicitConversions, -language:higherKinds, -language:postfixOps, -Wunused:all, -rewrite, -Wconf:msg=can be rewritten automatically under:s, -source:3.4-migration
425[info] compiling 2 Scala sources to /build/repo/unsafe/.jvm/target/scala-3.7.4/classes ...
426[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
427[info] [patched file /build/repo/unsafe/src/main/scala/monocle/unsafe/MapTraversal.scala]
428[warn] one warning found
429[info] done compiling
430[info] compiling 1 Scala source to /build/repo/unsafe/.jvm/target/scala-3.7.4/classes ...
431[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
432[warn] one warning found
433[info] done compiling
434Starting build for ProjectRef(file:/build/repo/,coreJVM) (monocle-core)... [3/6]
435Compile scalacOptions: -encoding, UTF-8, -unchecked, -Ykind-projector, -language:implicitConversions, -language:higherKinds, -language:postfixOps, -Wunused:all, -rewrite, -Wconf:msg=can be rewritten automatically under:s, -source:3.4-migration
436[info] compiling 14 Scala sources to /build/repo/core/jvm/target/scala-3.7.4/test-classes ...
437[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
438[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala-3/monocle/focus/AppliedFocusTest.scala:3:15
439[warn] 3 |import monocle.Focus
440[warn] | ^^^^^
441[warn] | unused import
442[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala-3/monocle/focus/FocusAsTest.scala:6:24
443[warn] 6 |import scala.annotation.nowarn
444[warn] | ^^^^^^
445[warn] | unused import
446[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala-3/monocle/focus/FocusAsTest.scala:45:8
447[warn] 45 | val asBanana = Focus[Food](_.as[Banana])
448[warn] | ^^^^^^^^
449[warn] | unused local definition
450[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala-3/monocle/focus/FocusEachTest.scala:4:21
451[warn] 4 |import monocle.Focus._
452[warn] | ^
453[warn] | unused import
454[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala-3/monocle/focus/FocusEachTest.scala:6:24
455[warn] 6 |import monocle.std.list._
456[warn] | ^
457[warn] | unused import
458[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala-3/monocle/focus/FocusEachTest.scala:31:8
459[warn] 31 | val studentYears = Focus[School](_.students.each.yearLevel)
460[warn] | ^^^^^^^^^^^^
461[warn] | unused local definition
462[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala-3/monocle/focus/FocusImportTest.scala:3:15
463[warn] 3 |import monocle.Focus
464[warn] | ^^^^^
465[warn] | unused import
466[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala-3/monocle/focus/FocusSomeTest.scala:4:21
467[warn] 4 |import monocle.Focus._
468[warn] | ^
469[warn] | unused import
470[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala/monocle/CatsCompatTest.scala:6:27
471[warn] 6 | import cats.syntax.all._
472[warn] | ^
473[warn] | unused import
474[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala/monocle/CatsCompatTest.scala:8:8
475[warn] 8 | val composed: Setter[List[Int], Int] = setter.index(5)
476[warn] | ^^^^^^^^
477[warn] | unused local definition
478[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala/monocle/CatsCompatTest.scala:12:27
479[warn] 12 | import cats.syntax.all._
480[warn] | ^
481[warn] | unused import
482[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala/monocle/CatsCompatTest.scala:14:8
483[warn] 14 | val composed: Traversal[List[Int], Int] = traversal.index(5)
484[warn] | ^^^^^^^^
485[warn] | unused local definition
486[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala/monocle/CatsCompatTest.scala:18:27
487[warn] 18 | import cats.syntax.all._
488[warn] | ^
489[warn] | unused import
490[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala/monocle/CatsCompatTest.scala:20:8
491[warn] 20 | val composed: Optional[List[Int], Int] = optional.index(5)
492[warn] | ^^^^^^^^
493[warn] | unused local definition
494[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala/monocle/CatsCompatTest.scala:24:27
495[warn] 24 | import cats.syntax.all._
496[warn] | ^
497[warn] | unused import
498[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala/monocle/CatsCompatTest.scala:26:8
499[warn] 26 | val composed: Optional[List[Int], Int] = lens.index(5)
500[warn] | ^^^^^^^^
501[warn] | unused local definition
502[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala/monocle/CatsCompatTest.scala:30:27
503[warn] 30 | import cats.syntax.all._
504[warn] | ^
505[warn] | unused import
506[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala/monocle/CatsCompatTest.scala:32:8
507[warn] 32 | val composed: Optional[List[Int], Int] = prism.index(5)
508[warn] | ^^^^^^^^
509[warn] | unused local definition
510[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala/monocle/CatsCompatTest.scala:36:27
511[warn] 36 | import cats.syntax.all._
512[warn] | ^
513[warn] | unused import
514[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala/monocle/CatsCompatTest.scala:38:8
515[warn] 38 | val composed: Optional[List[Int], Int] = iso.index(5)
516[warn] | ^^^^^^^^
517[warn] | unused local definition
518[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala/monocle/CatsCompatTest.scala:42:27
519[warn] 42 | import cats.syntax.all._
520[warn] | ^
521[warn] | unused import
522[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala/monocle/CatsCompatTest.scala:44:8
523[warn] 44 | val composed: Fold[List[Int], Int] = getter.index(5)
524[warn] | ^^^^^^^^
525[warn] | unused local definition
526[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala/monocle/CatsCompatTest.scala:48:27
527[warn] 48 | import cats.syntax.all._
528[warn] | ^
529[warn] | unused import
530[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala/monocle/CatsCompatTest.scala:50:8
531[warn] 50 | val composed: Fold[List[Int], Int] = fold.index(5)
532[warn] | ^^^^^^^^
533[warn] | unused local definition
534[info] [patched file /build/repo/core/shared/src/test/scala-3/monocle/focus/FocusAsTest.scala]
535[info] [patched file /build/repo/core/shared/src/test/scala-3/monocle/focus/FocusSomeTest.scala]
536[info] [patched file /build/repo/core/shared/src/test/scala-3/monocle/focus/FocusImportTest.scala]
537[info] [patched file /build/repo/core/shared/src/test/scala-3/monocle/focus/FocusEachTest.scala]
538[info] [patched file /build/repo/core/shared/src/test/scala-3/monocle/focus/AppliedFocusTest.scala]
539[info] [patched file /build/repo/core/shared/src/test/scala/monocle/CatsCompatTest.scala]
540[warn] /build/repo/core/shared/src/main/scala-3/monocle/internal/AsPrism.scala:14:43: the type test for FocusAsTest.this.MysteryFood[String] cannot be checked at runtime because its type arguments can't be determined from FocusAsTest.this.Food
541[warn] Prism[From, To]((from: From) => if (from.isInstanceOf[To]) Some(from.asInstanceOf[To]) else None)((to: To) =>
542[warn] ^
543[warn] there were 9 deprecation warnings; re-run with -deprecation for details
544[warn] 27 warnings found
545[info] done compiling
546[info] compiling 6 Scala sources to /build/repo/core/jvm/target/scala-3.7.4/test-classes ...
547[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
548[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala-3/monocle/focus/FocusAsTest.scala:43:8
549[warn] 43 | val asBanana = Focus[Food](_.as[Banana])
550[warn] | ^^^^^^^^
551[warn] | unused local definition
552[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala-3/monocle/focus/FocusEachTest.scala:29:8
553[warn] 29 | val studentYears = Focus[School](_.students.each.yearLevel)
554[warn] | ^^^^^^^^^^^^
555[warn] | unused local definition
556[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala/monocle/CatsCompatTest.scala:7:8
557[warn] 7 | val composed: Setter[List[Int], Int] = setter.index(5)
558[warn] | ^^^^^^^^
559[warn] | unused local definition
560[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala/monocle/CatsCompatTest.scala:12:8
561[warn] 12 | val composed: Traversal[List[Int], Int] = traversal.index(5)
562[warn] | ^^^^^^^^
563[warn] | unused local definition
564[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala/monocle/CatsCompatTest.scala:17:8
565[warn] 17 | val composed: Optional[List[Int], Int] = optional.index(5)
566[warn] | ^^^^^^^^
567[warn] | unused local definition
568[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala/monocle/CatsCompatTest.scala:22:8
569[warn] 22 | val composed: Optional[List[Int], Int] = lens.index(5)
570[warn] | ^^^^^^^^
571[warn] | unused local definition
572[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala/monocle/CatsCompatTest.scala:27:8
573[warn] 27 | val composed: Optional[List[Int], Int] = prism.index(5)
574[warn] | ^^^^^^^^
575[warn] | unused local definition
576[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala/monocle/CatsCompatTest.scala:32:8
577[warn] 32 | val composed: Optional[List[Int], Int] = iso.index(5)
578[warn] | ^^^^^^^^
579[warn] | unused local definition
580[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala/monocle/CatsCompatTest.scala:37:8
581[warn] 37 | val composed: Fold[List[Int], Int] = getter.index(5)
582[warn] | ^^^^^^^^
583[warn] | unused local definition
584[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala/monocle/CatsCompatTest.scala:42:8
585[warn] 42 | val composed: Fold[List[Int], Int] = fold.index(5)
586[warn] | ^^^^^^^^
587[warn] | unused local definition
588[warn] /build/repo/core/shared/src/main/scala-3/monocle/internal/AsPrism.scala:14:43: the type test for FocusAsTest.this.MysteryFood[String] cannot be checked at runtime because its type arguments can't be determined from FocusAsTest.this.Food
589[warn] Prism[From, To]((from: From) => if (from.isInstanceOf[To]) Some(from.asInstanceOf[To]) else None)((to: To) =>
590[warn] ^
591[warn] there were 7 deprecation warnings; re-run with -deprecation for details
592[warn] 13 warnings found
593[info] done compiling
594Starting build for ProjectRef(file:/build/repo/,lawJVM) (monocle-law)... [4/6]
595Compile scalacOptions: -encoding, UTF-8, -unchecked, -Ykind-projector, -language:implicitConversions, -language:higherKinds, -language:postfixOps, -Wunused:all, -rewrite, -Wconf:msg=can be rewritten automatically under:s, -source:3.4-migration
596Starting build for ProjectRef(file:/build/repo/,macrosJVM) (monocle-macro)... [5/6]
597Compile scalacOptions: -encoding, UTF-8, -unchecked, -Ykind-projector, -language:implicitConversions, -language:higherKinds, -language:postfixOps, -Wunused:all, -language:experimental.macros, -rewrite, -Wconf:msg=can be rewritten automatically under:s, -source:3.4-migration
598[info] compiling 4 Scala sources to /build/repo/macro/.jvm/target/scala-3.7.4/classes ...
599[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
600[warn] -- [E198] Unused Symbol Warning: /build/repo/macro/src/main/scala-3/monocle/macros/GenIso.scala:26:15
601[warn] 26 | case '{ $m: Mirror.ProductOf[S] { type MirroredElemTypes = a } } =>
602[warn] | ^
603[warn] | unused pattern variable
604[warn] -- [E198] Unused Symbol Warning: /build/repo/macro/src/main/scala-3/monocle/macros/GenIso.scala:48:15
605[warn] 48 | case '{ $m: Mirror.ProductOf[S] { type MirroredElemTypes = a } } =>
606[warn] | ^
607[warn] | unused pattern variable
608[warn] -- [E198] Unused Symbol Warning: /build/repo/macro/src/main/scala-3/monocle/macros/GenIso.scala:65:26
609[warn] 65 | import quotes.reflect.*
610[warn] | ^
611[warn] | unused import
612[warn] -- [E198] Unused Symbol Warning: /build/repo/macro/src/main/scala-3/monocle/macros/GenIso.scala:71:15
613[warn] 71 | case '{ $m: Mirror.ProductOf[S] { type MirroredElemTypes = EmptyTuple } } =>
614[warn] | ^
615[warn] | unused pattern variable
616[warn] -- [E198] Unused Symbol Warning: /build/repo/macro/src/main/scala-3/monocle/macros/GenIso.scala:74:15
617[warn] 74 | case '{ $m: Mirror.ProductOf[S] { type MirroredElemTypes = a *: EmptyTuple } } =>
618[warn] | ^
619[warn] | unused pattern variable
620[warn] -- [E198] Unused Symbol Warning: /build/repo/macro/src/main/scala-3/monocle/macros/GenLens.scala:3:15
621[warn] 3 |import monocle.Lens
622[warn] | ^^^^
623[warn] | unused import
624[info] [patched file /build/repo/macro/src/main/scala-3/monocle/macros/GenLens.scala]
625[info] [patched file /build/repo/macro/src/main/scala-3/monocle/macros/GenIso.scala]
626[warn] there were 2 deprecation warnings; re-run with -deprecation for details
627[warn] 8 warnings found
628[info] done compiling
629[info] compiling 2 Scala sources to /build/repo/macro/.jvm/target/scala-3.7.4/classes ...
630[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
631[warn] -- [E198] Unused Symbol Warning: /build/repo/macro/src/main/scala-3/monocle/macros/GenIso.scala:26:15
632[warn] 26 | case '{ $m: Mirror.ProductOf[S] { type MirroredElemTypes = a } } =>
633[warn] | ^
634[warn] | unused pattern variable
635[warn] -- [E198] Unused Symbol Warning: /build/repo/macro/src/main/scala-3/monocle/macros/GenIso.scala:48:15
636[warn] 48 | case '{ $m: Mirror.ProductOf[S] { type MirroredElemTypes = a } } =>
637[warn] | ^
638[warn] | unused pattern variable
639[warn] -- [E198] Unused Symbol Warning: /build/repo/macro/src/main/scala-3/monocle/macros/GenIso.scala:70:15
640[warn] 70 | case '{ $m: Mirror.ProductOf[S] { type MirroredElemTypes = EmptyTuple } } =>
641[warn] | ^
642[warn] | unused pattern variable
643[warn] -- [E198] Unused Symbol Warning: /build/repo/macro/src/main/scala-3/monocle/macros/GenIso.scala:73:15
644[warn] 73 | case '{ $m: Mirror.ProductOf[S] { type MirroredElemTypes = a *: EmptyTuple } } =>
645[warn] | ^
646[warn] | unused pattern variable
647[warn] there were 2 deprecation warnings; re-run with -deprecation for details
648[warn] 6 warnings found
649[info] done compiling
650[info] compiling 4 Scala sources to /build/repo/macro/.jvm/target/scala-3.7.4/test-classes ...
651[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
652[warn] -- Warning: /build/repo/macro/src/test/scala/monocle/macros/GenPrismSpec.scala:14:65
653[warn] 14 | implicit val iArb: Arbitrary[I] = Arbitrary(arbitrary[Int].map(I))
654[warn] | ^
655[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `this.I.apply` explicitly.
656[warn] -- Warning: /build/repo/macro/src/test/scala/monocle/macros/GenPrismSpec.scala:15:68
657[warn] 15 | implicit val sArb: Arbitrary[S] = Arbitrary(arbitrary[String].map(S))
658[warn] | ^
659[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `this.S.apply` explicitly.
660[warn] -- [E198] Unused Symbol Warning: /build/repo/macro/src/test/scala/monocle/macros/GenIsoSpec.scala:29:27
661[warn] 29 | implicit def eqOneT[A: Eq]: Eq[OneT[A]] = Eq.fromUniversalEquals
662[warn] | ^
663[warn] | unused implicit parameter
664[warn] there were 24 deprecation warnings; re-run with -deprecation for details
665[warn] 5 warnings found
666[info] done compiling
667
668************************
669Build summary:
670[{
671 "module": "monocle-state",
672 "compile": {"status": "ok", "tookMs": 23164, "warnings": 0, "errors": 0, "sourceVersion": "3.4-migration"},
673 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
674 "test-compile": {"status": "ok", "tookMs": 9951, "warnings": 0, "errors": 0, "sourceVersion": "3.4-migration"},
675 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
676 "publish": {"status": "skipped", "tookMs": 0},
677 "metadata": {
678 "crossScalaVersions": ["2.13.14", "3.3.3"]
679}
680},{
681 "module": "monocle-refined",
682 "compile": {"status": "ok", "tookMs": 2156, "warnings": 0, "errors": 0, "sourceVersion": "3.4-migration"},
683 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
684 "test-compile": {"status": "ok", "tookMs": 1869, "warnings": 0, "errors": 0, "sourceVersion": "3.4-migration"},
685 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
686 "publish": {"status": "skipped", "tookMs": 0},
687 "metadata": {
688 "crossScalaVersions": ["2.13.14", "3.3.3"]
689}
690},{
691 "module": "monocle-unsafe",
692 "compile": {"status": "ok", "tookMs": 613, "warnings": 0, "errors": 0, "sourceVersion": "3.4-migration"},
693 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
694 "test-compile": {"status": "ok", "tookMs": 590, "warnings": 0, "errors": 0, "sourceVersion": "3.4-migration"},
695 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
696 "publish": {"status": "skipped", "tookMs": 0},
697 "metadata": {
698 "crossScalaVersions": ["2.13.14", "3.3.3"]
699}
700},{
701 "module": "monocle-core",
702 "compile": {"status": "ok", "tookMs": 52, "warnings": 10, "errors": 0, "sourceVersion": "3.4-migration"},
703 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
704 "test-compile": {"status": "ok", "tookMs": 5430, "warnings": 24, "errors": 0, "sourceVersion": "3.4-migration"},
705 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
706 "publish": {"status": "skipped", "tookMs": 0},
707 "metadata": {
708 "crossScalaVersions": ["2.13.14", "3.3.3"]
709}
710},{
711 "module": "monocle-law",
712 "compile": {"status": "ok", "tookMs": 110, "warnings": 1, "errors": 0, "sourceVersion": "3.4-migration"},
713 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
714 "test-compile": {"status": "ok", "tookMs": 124, "warnings": 0, "errors": 0, "sourceVersion": "3.4-migration"},
715 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
716 "publish": {"status": "skipped", "tookMs": 0},
717 "metadata": {
718 "crossScalaVersions": ["2.13.14", "3.3.3"]
719}
720},{
721 "module": "monocle-macro",
722 "compile": {"status": "ok", "tookMs": 521, "warnings": 6, "errors": 0, "sourceVersion": "3.4-migration"},
723 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
724 "test-compile": {"status": "ok", "tookMs": 1625, "warnings": 3, "errors": 0, "sourceVersion": "3.4-migration"},
725 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
726 "publish": {"status": "skipped", "tookMs": 0},
727 "metadata": {
728 "crossScalaVersions": ["2.13.14", "3.3.3"]
729}
730}]
731************************
732[success] Total time: 72 s (0:01:12.0), completed Dec 21, 2025, 9:19:14 PM
733[0JChecking patch project/plugins.sbt...
734Checking patch project/build.properties...
735Checking patch build.sbt...
736Applied patch project/plugins.sbt cleanly.
737Applied patch project/build.properties cleanly.
738Applied patch build.sbt cleanly.
739Commit migration rewrites
740Switched to a new branch 'opencb/migrate-source-3.4'
741[opencb/migrate-source-3.4 f68e90af] Apply Scala compiler rewrites using -source:3.4-migration using Scala 3.7.4
742 39 files changed, 39 insertions(+), 68 deletions(-)
743Using target Scala version for migration: 3.7.4
744Migrating project for -source:3.7 using Scala 3.7.4
745----
746Preparing build for 3.7.4
747Would try to apply common scalacOption (best-effort, sbt/mill only):
748Append: -rewrite,REQUIRE:-source:3.7-migration
749Remove: -indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
750
751Try apply source patch:
752Path: build.sbt
753Pattern: val scala3Version = "3.3.3"
754Replacement: val scala3Version = "3.7.4"
755Successfully applied pattern 'val scala3Version = "3.3.3"' in build.sbt
756----
757Starting build for 3.7.4
758Execute tests: false
759sbt project found:
760Sbt version 1.10.1 is not supported, minimal supported version is 1.11.5
761Enforcing usage of sbt in version 1.11.5
762No prepare script found for project optics-dev/monocle
763##################################
764Scala version: 3.7.4
765Targets: dev.optics%monocle-core dev.optics%monocle-law dev.optics%monocle-macro dev.optics%monocle-refined dev.optics%monocle-state dev.optics%monocle-unsafe
766Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"21"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.4","3.7"],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3Version = \"3.3.3\"","replaceWith":"val scala3Version = \"<SCALA_VERSION>\""}]}
767##################################
768Using extra scalacOptions: -rewrite,REQUIRE:-source:3.7-migration
769Filtering out scalacOptions: -indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
770[sbt_options] declare -a sbt_options=()
771[process_args] java_version = '21'
772[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_21/rt.jar'
773# Executing command line:
774java
775-Dsbt.color=always
776-Dsbt.supershell=true
777-Xms2g
778-Xmx3g
779-Xss2m
780-Dcommunitybuild.scala=3.7.4
781-Dcommunitybuild.project.dependencies.add=
782-Xmx7G
783-Xms4G
784-Xss8M
785-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
786-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_21
787-jar
788/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
789"setCrossScalaVersions 3.7.4"
790"++3.7.4 -v"
791"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""
792"set every credentials := Nil"
793"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
794"removeScalacOptionsStartingWith -P:wartremover"
795
796moduleMappings
797"runBuild 3.7.4 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"21"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.4","3.7"],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3Version = \"3.3.3\"","replaceWith":"val scala3Version = \"<SCALA_VERSION>\""}]}""" dev.optics%monocle-core dev.optics%monocle-law dev.optics%monocle-macro dev.optics%monocle-refined dev.optics%monocle-state dev.optics%monocle-unsafe"
798
799[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 21)
800[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
801[info] loading project definition from /build/repo/project
802[info] loading settings for project root from build.sbt...
803[info] resolving key references (30263 settings) ...
804[info] set scmInfo to https://github.com/optics-dev/monocle
805java.lang.RuntimeException: Your tlBaseVersion 3.2 is behind the latest tag 3.3.0
806 at scala.sys.package$.error(package.scala:30)
807 at org.typelevel.sbt.TypelevelVersioningPlugin$.$anonfun$buildSettings$12(TypelevelVersioningPlugin.scala:95)
808 at scala.Option.flatMap(Option.scala:271)
809 at org.typelevel.sbt.TypelevelVersioningPlugin$.$anonfun$buildSettings$10(TypelevelVersioningPlugin.scala:93)
810 at scala.Option.getOrElse(Option.scala:189)
811 at org.typelevel.sbt.TypelevelVersioningPlugin$.$anonfun$buildSettings$6(TypelevelVersioningPlugin.scala:86)
812 at scala.Function1.$anonfun$compose$1(Function1.scala:49)
813 at sbt.internal.util.EvaluateSettings$MixedNode.evaluate0(INode.scala:229)
814 at sbt.internal.util.EvaluateSettings$INode.evaluate(INode.scala:171)
815 at sbt.internal.util.EvaluateSettings.$anonfun$submitEvaluate$1(INode.scala:88)
816 at sbt.internal.util.EvaluateSettings.sbt$internal$util$EvaluateSettings$$run0(INode.scala:100)
817 at sbt.internal.util.EvaluateSettings$$anon$3.run(INode.scala:95)
818 at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
819 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
820 at java.base/java.lang.Thread.run(Thread.java:1583)
821[error] Your tlBaseVersion 3.2 is behind the latest tag 3.3.0
822[error] Use 'last' for the full log.
823[warn] Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? (default: r)
824[0JSuccessfully applied pattern 'tlBaseVersion := [^,\n]+' in ./build.sbt
825Retrying build, retry 1/2, force Scala version:false, enable migration:
826[sbt_options] declare -a sbt_options=()
827[process_args] java_version = '21'
828[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_21/rt.jar'
829# Executing command line:
830java
831-Dsbt.color=always
832-Dsbt.supershell=true
833-Xms2g
834-Xmx3g
835-Xss2m
836-Dcommunitybuild.scala=3.7.4
837-Dcommunitybuild.project.dependencies.add=
838-Xmx7G
839-Xms4G
840-Xss8M
841-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
842-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_21
843-jar
844/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
845"setCrossScalaVersions 3.7.4"
846"++3.7.4 -v"
847"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""
848"set every credentials := Nil"
849"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
850"removeScalacOptionsStartingWith -P:wartremover"
851
852moduleMappings
853"runBuild 3.7.4 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"21"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.4","3.7"],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3Version = \"3.3.3\"","replaceWith":"val scala3Version = \"<SCALA_VERSION>\""}]}""" dev.optics%monocle-core dev.optics%monocle-law dev.optics%monocle-macro dev.optics%monocle-refined dev.optics%monocle-state dev.optics%monocle-unsafe"
854
855[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 21)
856[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
857[info] loading project definition from /build/repo/project
858[info] loading settings for project root from build.sbt...
859[info] resolving key references (30263 settings) ...
860[info] set scmInfo to https://github.com/optics-dev/monocle
861[info] set current project to root (in build file:/build/repo/)
862Execute setCrossScalaVersions: 3.7.4
863OpenCB::Limitting incorrect crossVersions List() -> List(2.13.14) in root/crossScalaVersions
864[info] set scmInfo to https://github.com/optics-dev/monocle
865OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in bench/crossScalaVersions
866OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in example/crossScalaVersions
867OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in rootJVM/crossScalaVersions
868OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in testNative/crossScalaVersions
869OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in rootJS/crossScalaVersions
870OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in testJS/crossScalaVersions
871OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in rootNative/crossScalaVersions
872OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in testJVM/crossScalaVersions
873OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in coreJVM/crossScalaVersions
874OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in stateNative/crossScalaVersions
875OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in genericNative/crossScalaVersions
876OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in macrosNative/crossScalaVersions
877OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in unsafeNative/crossScalaVersions
878OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in lawNative/crossScalaVersions
879OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in genericJS/crossScalaVersions
880OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in stateJS/crossScalaVersions
881OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in unsafeJS/crossScalaVersions
882OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in lawJS/crossScalaVersions
883OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in coreJS/crossScalaVersions
884OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in refinedNative/crossScalaVersions
885OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in lawJVM/crossScalaVersions
886OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in coreNative/crossScalaVersions
887OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in genericJVM/crossScalaVersions
888OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in unsafeJVM/crossScalaVersions
889OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in refinedJS/crossScalaVersions
890OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in macrosJS/crossScalaVersions
891OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in stateJVM/crossScalaVersions
892OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in macrosJVM/crossScalaVersions
893OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in refinedJVM/crossScalaVersions
894[info] set current project to root (in build file:/build/repo/)
895[info] Setting Scala version to 3.7.4 on 29 projects.
896[info] Switching Scala version on:
897[info] unsafeJS (2.13.14, 3.7.4)
898[info] testJVM (2.13.14, 3.7.4)
899[info] testNative (2.13.14, 3.7.4)
900[info] genericJVM (2.13.14, 3.7.4)
901[info] lawJS (2.13.14, 3.7.4)
902[info] macrosJVM (2.13.14, 3.7.4)
903[info] unsafeNative (2.13.14, 3.7.4)
904[info] stateJVM (2.13.14, 3.7.4)
905[info] rootJS (2.13.14, 3.7.4)
906[info] coreNative (2.13.14, 3.7.4)
907[info] unsafeJVM (2.13.14, 3.7.4)
908[info] macrosNative (2.13.14, 3.7.4)
909[info] coreJS (2.13.14, 3.7.4)
910[info] macrosJS (2.13.14, 3.7.4)
911[info] lawJVM (2.13.14, 3.7.4)
912[info] genericJS (2.13.14, 3.7.4)
913[info] coreJVM (2.13.14, 3.7.4)
914[info] refinedNative (2.13.14, 3.7.4)
915[info] lawNative (2.13.14, 3.7.4)
916[info] rootJVM (2.13.14, 3.7.4)
917[info] rootNative (2.13.14, 3.7.4)
918[info] refinedJS (2.13.14, 3.7.4)
919[info] refinedJVM (2.13.14, 3.7.4)
920[info] stateNative (2.13.14, 3.7.4)
921[info] testJS (2.13.14, 3.7.4)
922[info] stateJS (2.13.14, 3.7.4)
923[info] example (2.13.14, 3.7.4)
924[info] genericNative (2.13.14, 3.7.4)
925[info] bench (2.13.14, 3.7.4)
926[info] Excluding projects:
927[info] * root (2.13.14)
928[info] docs (2.13.14)
929[info] Reapplying settings...
930[info] set scmInfo to https://github.com/optics-dev/monocle
931[info] set current project to root (in build file:/build/repo/)
932Execute 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
933[info] Reapplying settings...
934[info] set scmInfo to https://github.com/optics-dev/monocle
935[info] set current project to root (in build file:/build/repo/)
936[info] Defining Global / credentials, bench / credentials and 29 others.
937[info] The new values will be used by Compile / scalafmtOnly, IntegrationTest / scalafmtOnly and 276 others.
938[info] Run `last` for details.
939[info] Reapplying settings...
940[info] set scmInfo to https://github.com/optics-dev/monocle
941[info] set current project to root (in build file:/build/repo/)
942Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
943[info] Reapplying settings...
944OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
945
946 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
947 Did you mean rootJVM / allExcludeDependencies ?
948 , retry without global scopes
949[info] Reapplying settings...
950[info] set scmInfo to https://github.com/optics-dev/monocle
951[info] set current project to root (in build file:/build/repo/)
952Execute removeScalacOptionsStartingWith: -P:wartremover
953[info] Reapplying settings...
954[info] set scmInfo to https://github.com/optics-dev/monocle
955[info] set current project to root (in build file:/build/repo/)
956[success] Total time: 0 s, completed Dec 21, 2025, 9:19:45 PM
957Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"21"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.4","3.7"],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3Version = \"3.3.3\"","replaceWith":"val scala3Version = \"<SCALA_VERSION>\""}]}
958Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
959Starting build...
960Projects: Set(macrosJVM, stateJVM, unsafeJVM, lawJVM, coreJVM, refinedJVM)
961Starting build for ProjectRef(file:/build/repo/,stateJVM) (monocle-state)... [0/6]
962OpenCB::Exclude Scala3 specific scalacOption `-rewrite` in Scala 2.12.20 module Global
963OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.7-migration` in Scala 2.12.20 module Global
964OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
965OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
966OpenCB::Filter out '-source:3.0-migration', matches setting pattern '^-?-source(:.*)?'
967Compile scalacOptions: -encoding, UTF-8, -unchecked, -Ykind-projector, -language:implicitConversions, -language:higherKinds, -language:postfixOps, -Wunused:all, -rewrite, -Wconf:msg=can be rewritten automatically under:s, -source:3.7-migration
968[info] compiling 107 Scala sources to /build/repo/core/jvm/target/scala-3.7.4/classes ...
969[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
970[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/main/scala/monocle/function/Each.scala:84:31
971[warn] 84 | implicit def mapEach[K: Order, V]: Each[SortedMap[K, V], V] =
972[warn] | ^
973[warn] | unused implicit parameter
974[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/main/scala/monocle/std/String.scala:41:29
975[warn] 41 | def inputBreaksPrismLaws(input: String): Boolean =
976[warn] | ^^^^^
977[warn] | unused explicit parameter
978[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/main/scala/monocle/std/Try.scala:21:19
979[warn] 21 | case Success(a) => None
980[warn] | ^
981[warn] | unused pattern variable
982[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/core/shared/src/main/scala-3/monocle/internal/focus/features/as/AsGenerator.scala:14:4
983[warn] 14 | (fromType.asType, toType.asType) match {
984[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
985[warn] | match may not be exhaustive.
986[warn] |
987[warn] | It would fail on pattern case: (_, _)
988[warn] |
989[warn] | longer explanation available when compiling with `-explain`
990[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/core/shared/src/main/scala-3/monocle/internal/focus/features/at/AtGenerator.scala:14:4
991[warn] 14 | (fromType.asType, index.tpe.asType, toType.asType) match {
992[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
993[warn] | match may not be exhaustive.
994[warn] |
995[warn] | It would fail on pattern case: (_, _, _)
996[warn] |
997[warn] | longer explanation available when compiling with `-explain`
998[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/core/shared/src/main/scala-3/monocle/internal/focus/features/each/EachGenerator.scala:14:4
999[warn] 14 | (fromType.asType, toType.asType) match {
1000[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1001[warn] | match may not be exhaustive.
1002[warn] |
1003[warn] | It would fail on pattern case: (_, _)
1004[warn] |
1005[warn] | longer explanation available when compiling with `-explain`
1006[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/core/shared/src/main/scala-3/monocle/internal/focus/features/index/IndexGenerator.scala:14:4
1007[warn] 14 | (fromType.asType, index.tpe.widen.asType, toType.asType) match {
1008[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1009[warn] | match may not be exhaustive.
1010[warn] |
1011[warn] | It would fail on pattern case: (_, _, _)
1012[warn] |
1013[warn] | longer explanation available when compiling with `-explain`
1014[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/core/shared/src/main/scala-3/monocle/internal/focus/features/selectfield/SelectFieldGenerator.scala:21:4
1015[warn] 21 | (fromType.asType, toType.asType) match {
1016[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1017[warn] | match may not be exhaustive.
1018[warn] |
1019[warn] | It would fail on pattern case: (_, _)
1020[warn] |
1021[warn] | longer explanation available when compiling with `-explain`
1022[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/core/shared/src/main/scala-3/monocle/internal/focus/features/selectonlyfield/SelectOnlyFieldGenerator.scala:21:4
1023[warn] 21 | (fromType.asType, toType.asType) match {
1024[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1025[warn] | match may not be exhaustive.
1026[warn] |
1027[warn] | It would fail on pattern case: (_, _)
1028[warn] |
1029[warn] | longer explanation available when compiling with `-explain`
1030Warning: mocking up superclass for module class focus
1031Warning: mocking up superclass for module class internal
1032[info] [patched file /build/repo/core/shared/src/main/scala/monocle/function/FilterIndex.scala]
1033[info] [patched file /build/repo/core/shared/src/main/scala/monocle/Getter.scala]
1034[info] [patched file /build/repo/core/shared/src/main/scala/monocle/Setter.scala]
1035[info] [patched file /build/repo/core/shared/src/main/scala/monocle/Lens.scala]
1036[info] [patched file /build/repo/core/shared/src/main/scala/monocle/Optional.scala]
1037[info] [patched file /build/repo/core/shared/src/main/scala/monocle/Fold.scala]
1038[info] [patched file /build/repo/core/shared/src/main/scala/monocle/Iso.scala]
1039[info] [patched file /build/repo/core/shared/src/main/scala/monocle/function/Empty.scala]
1040[info] [patched file /build/repo/core/shared/src/main/scala/monocle/Traversal.scala]
1041[info] [patched file /build/repo/core/shared/src/main/scala/monocle/Prism.scala]
1042[warn] there were 169 deprecation warnings; re-run with -deprecation for details
1043[warn] 11 warnings found
1044[info] done compiling
1045[info] compiling 7 Scala sources to /build/repo/state/.jvm/target/scala-3.7.4/classes ...
1046[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
1047[warn] one warning found
1048[info] done compiling
1049[info] compiling 10 Scala sources to /build/repo/core/jvm/target/scala-3.7.4/classes ...
1050[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
1051[warn] there were 14 deprecation warnings; re-run with -deprecation for details
1052[warn] two warnings found
1053[info] done compiling
1054[info] compiling 16 Scala sources to /build/repo/core/jvm/target/scala-3.7.4/classes ...
1055[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
1056[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/main/scala/monocle/function/Each.scala:84:31
1057[warn] 84 | implicit def mapEach[K: Order, V]: Each[SortedMap[K, V], V] =
1058[warn] | ^
1059[warn] | unused implicit parameter
1060Warning: mocking up superclass for module class focus
1061[warn] four warnings found
1062[info] done compiling
1063[info] compiling 21 Scala sources to /build/repo/core/jvm/target/scala-3.7.4/classes ...
1064[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
1065Warning: mocking up superclass for module class focus
1066Warning: mocking up superclass for module class internal
1067[warn] 5 warnings found
1068[info] done compiling
1069Starting build for ProjectRef(file:/build/repo/,refinedJVM) (monocle-refined)... [1/6]
1070Compile scalacOptions: -encoding, UTF-8, -unchecked, -Ykind-projector, -language:implicitConversions, -language:higherKinds, -language:postfixOps, -Wunused:all, -rewrite, -Wconf:msg=can be rewritten automatically under:s, -source:3.7-migration
1071[info] compiling 18 Scala sources to /build/repo/law/.jvm/target/scala-3.7.4/classes ...
1072[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
1073[warn] -- [E198] Unused Symbol Warning: /build/repo/law/src/main/scala/monocle/law/discipline/SetterTests.scala:12:46
1074[warn] 12 | def apply[S: Arbitrary: Eq, A: Arbitrary: Eq](setter: Setter[S, A])(implicit arbAA: Arbitrary[A => A]): RuleSet = {
1075[warn] | ^
1076[warn] | unused implicit parameter
1077[info] [patched file /build/repo/law/src/main/scala/monocle/law/discipline/function/IndexTests.scala]
1078[info] [patched file /build/repo/law/src/main/scala/monocle/law/discipline/function/FilterIndexTests.scala]
1079[warn] two warnings found
1080[info] done compiling
1081[info] compiling 6 Scala sources to /build/repo/refined/.jvm/target/scala-3.7.4/classes ...
1082[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
1083[warn] one warning found
1084[info] done compiling
1085[info] compiling 2 Scala sources to /build/repo/law/.jvm/target/scala-3.7.4/classes ...
1086[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
1087[warn] one warning found
1088[info] done compiling
1089[info] compiling 3 Scala sources to /build/repo/refined/.jvm/target/scala-3.7.4/test-classes ...
1090[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
1091[warn] one warning found
1092[info] done compiling
1093Starting build for ProjectRef(file:/build/repo/,unsafeJVM) (monocle-unsafe)... [2/6]
1094Compile scalacOptions: -encoding, UTF-8, -unchecked, -Ykind-projector, -language:implicitConversions, -language:higherKinds, -language:postfixOps, -Wunused:all, -rewrite, -Wconf:msg=can be rewritten automatically under:s, -source:3.7-migration
1095[info] compiling 2 Scala sources to /build/repo/unsafe/.jvm/target/scala-3.7.4/classes ...
1096[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
1097[warn] one warning found
1098[info] done compiling
1099Starting build for ProjectRef(file:/build/repo/,coreJVM) (monocle-core)... [3/6]
1100Compile scalacOptions: -encoding, UTF-8, -unchecked, -Ykind-projector, -language:implicitConversions, -language:higherKinds, -language:postfixOps, -Wunused:all, -rewrite, -Wconf:msg=can be rewritten automatically under:s, -source:3.7-migration
1101[info] compiling 14 Scala sources to /build/repo/core/jvm/target/scala-3.7.4/test-classes ...
1102[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
1103[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala-3/monocle/focus/FocusAsTest.scala:43:8
1104[warn] 43 | val asBanana = Focus[Food](_.as[Banana])
1105[warn] | ^^^^^^^^
1106[warn] | unused local definition
1107[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala-3/monocle/focus/FocusEachTest.scala:29:8
1108[warn] 29 | val studentYears = Focus[School](_.students.each.yearLevel)
1109[warn] | ^^^^^^^^^^^^
1110[warn] | unused local definition
1111[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala/monocle/CatsCompatTest.scala:7:8
1112[warn] 7 | val composed: Setter[List[Int], Int] = setter.index(5)
1113[warn] | ^^^^^^^^
1114[warn] | unused local definition
1115[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala/monocle/CatsCompatTest.scala:12:8
1116[warn] 12 | val composed: Traversal[List[Int], Int] = traversal.index(5)
1117[warn] | ^^^^^^^^
1118[warn] | unused local definition
1119[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala/monocle/CatsCompatTest.scala:17:8
1120[warn] 17 | val composed: Optional[List[Int], Int] = optional.index(5)
1121[warn] | ^^^^^^^^
1122[warn] | unused local definition
1123[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala/monocle/CatsCompatTest.scala:22:8
1124[warn] 22 | val composed: Optional[List[Int], Int] = lens.index(5)
1125[warn] | ^^^^^^^^
1126[warn] | unused local definition
1127[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala/monocle/CatsCompatTest.scala:27:8
1128[warn] 27 | val composed: Optional[List[Int], Int] = prism.index(5)
1129[warn] | ^^^^^^^^
1130[warn] | unused local definition
1131[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala/monocle/CatsCompatTest.scala:32:8
1132[warn] 32 | val composed: Optional[List[Int], Int] = iso.index(5)
1133[warn] | ^^^^^^^^
1134[warn] | unused local definition
1135[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala/monocle/CatsCompatTest.scala:37:8
1136[warn] 37 | val composed: Fold[List[Int], Int] = getter.index(5)
1137[warn] | ^^^^^^^^
1138[warn] | unused local definition
1139[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala/monocle/CatsCompatTest.scala:42:8
1140[warn] 42 | val composed: Fold[List[Int], Int] = fold.index(5)
1141[warn] | ^^^^^^^^
1142[warn] | unused local definition
1143[warn] /build/repo/core/shared/src/main/scala-3/monocle/internal/AsPrism.scala:14:43: the type test for FocusAsTest.this.MysteryFood[String] cannot be checked at runtime because its type arguments can't be determined from FocusAsTest.this.Food
1144[warn] Prism[From, To]((from: From) => if (from.isInstanceOf[To]) Some(from.asInstanceOf[To]) else None)((to: To) =>
1145[warn] ^
1146[warn] there were 9 deprecation warnings; re-run with -deprecation for details
1147[warn] 13 warnings found
1148[info] done compiling
1149Starting build for ProjectRef(file:/build/repo/,lawJVM) (monocle-law)... [4/6]
1150Compile scalacOptions: -encoding, UTF-8, -unchecked, -Ykind-projector, -language:implicitConversions, -language:higherKinds, -language:postfixOps, -Wunused:all, -rewrite, -Wconf:msg=can be rewritten automatically under:s, -source:3.7-migration
1151Starting build for ProjectRef(file:/build/repo/,macrosJVM) (monocle-macro)... [5/6]
1152Compile scalacOptions: -encoding, UTF-8, -unchecked, -Ykind-projector, -language:implicitConversions, -language:higherKinds, -language:postfixOps, -Wunused:all, -language:experimental.macros, -rewrite, -Wconf:msg=can be rewritten automatically under:s, -source:3.7-migration
1153[info] compiling 4 Scala sources to /build/repo/macro/.jvm/target/scala-3.7.4/classes ...
1154[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
1155[warn] -- [E198] Unused Symbol Warning: /build/repo/macro/src/main/scala-3/monocle/macros/GenIso.scala:26:15
1156[warn] 26 | case '{ $m: Mirror.ProductOf[S] { type MirroredElemTypes = a } } =>
1157[warn] | ^
1158[warn] | unused pattern variable
1159[warn] -- [E198] Unused Symbol Warning: /build/repo/macro/src/main/scala-3/monocle/macros/GenIso.scala:48:15
1160[warn] 48 | case '{ $m: Mirror.ProductOf[S] { type MirroredElemTypes = a } } =>
1161[warn] | ^
1162[warn] | unused pattern variable
1163[warn] -- [E198] Unused Symbol Warning: /build/repo/macro/src/main/scala-3/monocle/macros/GenIso.scala:70:15
1164[warn] 70 | case '{ $m: Mirror.ProductOf[S] { type MirroredElemTypes = EmptyTuple } } =>
1165[warn] | ^
1166[warn] | unused pattern variable
1167[warn] -- [E198] Unused Symbol Warning: /build/repo/macro/src/main/scala-3/monocle/macros/GenIso.scala:73:15
1168[warn] 73 | case '{ $m: Mirror.ProductOf[S] { type MirroredElemTypes = a *: EmptyTuple } } =>
1169[warn] | ^
1170[warn] | unused pattern variable
1171[warn] there were 2 deprecation warnings; re-run with -deprecation for details
1172[warn] 6 warnings found
1173[info] done compiling
1174[info] compiling 4 Scala sources to /build/repo/macro/.jvm/target/scala-3.7.4/test-classes ...
1175[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
1176[warn] -- Warning: /build/repo/macro/src/test/scala/monocle/macros/GenPrismSpec.scala:14:65
1177[warn] 14 | implicit val iArb: Arbitrary[I] = Arbitrary(arbitrary[Int].map(I))
1178[warn] | ^
1179[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `this.I.apply` explicitly.
1180[warn] -- Warning: /build/repo/macro/src/test/scala/monocle/macros/GenPrismSpec.scala:15:68
1181[warn] 15 | implicit val sArb: Arbitrary[S] = Arbitrary(arbitrary[String].map(S))
1182[warn] | ^
1183[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `this.S.apply` explicitly.
1184[warn] -- [E198] Unused Symbol Warning: /build/repo/macro/src/test/scala/monocle/macros/GenIsoSpec.scala:29:27
1185[warn] 29 | implicit def eqOneT[A: Eq]: Eq[OneT[A]] = Eq.fromUniversalEquals
1186[warn] | ^
1187[warn] | unused implicit parameter
1188[warn] there were 24 deprecation warnings; re-run with -deprecation for details
1189[warn] 5 warnings found
1190[info] done compiling
1191
1192************************
1193Build summary:
1194[{
1195 "module": "monocle-state",
1196 "compile": {"status": "ok", "tookMs": 21904, "warnings": 0, "errors": 0, "sourceVersion": "3.7-migration"},
1197 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
1198 "test-compile": {"status": "ok", "tookMs": 10124, "warnings": 0, "errors": 0, "sourceVersion": "3.7-migration"},
1199 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
1200 "publish": {"status": "skipped", "tookMs": 0},
1201 "metadata": {
1202 "crossScalaVersions": ["2.13.14", "3.3.3"]
1203}
1204},{
1205 "module": "monocle-refined",
1206 "compile": {"status": "ok", "tookMs": 2434, "warnings": 0, "errors": 0, "sourceVersion": "3.7-migration"},
1207 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
1208 "test-compile": {"status": "ok", "tookMs": 1275, "warnings": 0, "errors": 0, "sourceVersion": "3.7-migration"},
1209 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
1210 "publish": {"status": "skipped", "tookMs": 0},
1211 "metadata": {
1212 "crossScalaVersions": ["2.13.14", "3.3.3"]
1213}
1214},{
1215 "module": "monocle-unsafe",
1216 "compile": {"status": "ok", "tookMs": 533, "warnings": 0, "errors": 0, "sourceVersion": "3.7-migration"},
1217 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
1218 "test-compile": {"status": "ok", "tookMs": 130, "warnings": 0, "errors": 0, "sourceVersion": "3.7-migration"},
1219 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
1220 "publish": {"status": "skipped", "tookMs": 0},
1221 "metadata": {
1222 "crossScalaVersions": ["2.13.14", "3.3.3"]
1223}
1224},{
1225 "module": "monocle-core",
1226 "compile": {"status": "ok", "tookMs": 54, "warnings": 10, "errors": 0, "sourceVersion": "3.7-migration"},
1227 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
1228 "test-compile": {"status": "ok", "tookMs": 5635, "warnings": 10, "errors": 0, "sourceVersion": "3.7-migration"},
1229 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
1230 "publish": {"status": "skipped", "tookMs": 0},
1231 "metadata": {
1232 "crossScalaVersions": ["2.13.14", "3.3.3"]
1233}
1234},{
1235 "module": "monocle-law",
1236 "compile": {"status": "ok", "tookMs": 107, "warnings": 1, "errors": 0, "sourceVersion": "3.7-migration"},
1237 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
1238 "test-compile": {"status": "ok", "tookMs": 128, "warnings": 0, "errors": 0, "sourceVersion": "3.7-migration"},
1239 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
1240 "publish": {"status": "skipped", "tookMs": 0},
1241 "metadata": {
1242 "crossScalaVersions": ["2.13.14", "3.3.3"]
1243}
1244},{
1245 "module": "monocle-macro",
1246 "compile": {"status": "ok", "tookMs": 461, "warnings": 4, "errors": 0, "sourceVersion": "3.7-migration"},
1247 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
1248 "test-compile": {"status": "ok", "tookMs": 1387, "warnings": 3, "errors": 0, "sourceVersion": "3.7-migration"},
1249 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
1250 "publish": {"status": "skipped", "tookMs": 0},
1251 "metadata": {
1252 "crossScalaVersions": ["2.13.14", "3.3.3"]
1253}
1254}]
1255************************
1256[success] Total time: 49 s, completed Dec 21, 2025, 9:20:35 PM
1257[0JChecking patch project/plugins.sbt...
1258Checking patch project/build.properties...
1259Checking patch build.sbt...
1260Applied patch project/plugins.sbt cleanly.
1261Applied patch project/build.properties cleanly.
1262Applied patch build.sbt cleanly.
1263Commit migration rewrites
1264Switched to a new branch 'opencb/migrate-source-3.7'
1265[opencb/migrate-source-3.7 e32ecee4] Apply Scala compiler rewrites using -source:3.7-migration using Scala 3.7.4
1266 13 files changed, 13 insertions(+), 13 deletions(-)
1267----
1268Preparing build for 3.8.0-RC3-bin-20251221-04feaed
1269Scala binary version found: 3.8
1270Implicitly using source version 3.8
1271Scala binary version found: 3.8
1272Implicitly using source version 3.8
1273Would try to apply common scalacOption (best-effort, sbt/mill only):
1274Append: ,REQUIRE:-source:3.8
1275Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
1276
1277Try apply source patch:
1278Path: build.sbt
1279Pattern: val scala3Version = "3.3.3"
1280Replacement: val scala3Version = "3.8.0-RC3-bin-20251221-04feaed"
1281Successfully applied pattern 'val scala3Version = "3.3.3"' in build.sbt
1282----
1283Starting build for 3.8.0-RC3-bin-20251221-04feaed
1284Execute tests: false
1285sbt project found:
1286Sbt version 1.10.1 is not supported, minimal supported version is 1.11.5
1287Enforcing usage of sbt in version 1.11.5
1288No prepare script found for project optics-dev/monocle
1289##################################
1290Scala version: 3.8.0-RC3-bin-20251221-04feaed
1291Targets: dev.optics%monocle-core dev.optics%monocle-law dev.optics%monocle-macro dev.optics%monocle-refined dev.optics%monocle-state dev.optics%monocle-unsafe
1292Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"21"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.4","3.7"],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3Version = \"3.3.3\"","replaceWith":"val scala3Version = \"<SCALA_VERSION>\""}]}
1293##################################
1294Using extra scalacOptions: ,REQUIRE:-source:3.8
1295Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
1296[sbt_options] declare -a sbt_options=()
1297[process_args] java_version = '21'
1298[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_21/rt.jar'
1299# Executing command line:
1300java
1301-Dsbt.color=always
1302-Dsbt.supershell=true
1303-Xms2g
1304-Xmx3g
1305-Xss2m
1306-Dcommunitybuild.scala=3.8.0-RC3-bin-20251221-04feaed
1307-Dcommunitybuild.project.dependencies.add=
1308-Xmx7G
1309-Xms4G
1310-Xss8M
1311-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
1312-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_21
1313-jar
1314/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
1315"setCrossScalaVersions 3.8.0-RC3-bin-20251221-04feaed"
1316"++3.8.0-RC3-bin-20251221-04feaed -v"
1317"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
1318"set every credentials := Nil"
1319"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
1320"removeScalacOptionsStartingWith -P:wartremover"
1321
1322moduleMappings
1323"runBuild 3.8.0-RC3-bin-20251221-04feaed """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"21"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.4","3.7"],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3Version = \"3.3.3\"","replaceWith":"val scala3Version = \"<SCALA_VERSION>\""}]}""" dev.optics%monocle-core dev.optics%monocle-law dev.optics%monocle-macro dev.optics%monocle-refined dev.optics%monocle-state dev.optics%monocle-unsafe"
1324
1325[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 21)
1326[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
1327[info] loading project definition from /build/repo/project
1328[info] loading settings for project root from build.sbt...
1329[info] resolving key references (30263 settings) ...
1330[info] set scmInfo to https://github.com/optics-dev/monocle
1331[info] set current project to root (in build file:/build/repo/)
1332Execute setCrossScalaVersions: 3.8.0-RC3-bin-20251221-04feaed
1333OpenCB::Limitting incorrect crossVersions List() -> List(2.13.14) in root/crossScalaVersions
1334[info] set scmInfo to https://github.com/optics-dev/monocle
1335OpenCB::Changing crossVersion 3.8.0-RC3-bin-20251221-04feaed -> 3.8.0-RC3-bin-20251221-04feaed in bench/crossScalaVersions
1336OpenCB::Changing crossVersion 3.8.0-RC3-bin-20251221-04feaed -> 3.8.0-RC3-bin-20251221-04feaed in rootJS/crossScalaVersions
1337OpenCB::Changing crossVersion 3.8.0-RC3-bin-20251221-04feaed -> 3.8.0-RC3-bin-20251221-04feaed in rootNative/crossScalaVersions
1338OpenCB::Changing crossVersion 3.8.0-RC3-bin-20251221-04feaed -> 3.8.0-RC3-bin-20251221-04feaed in testJVM/crossScalaVersions
1339OpenCB::Changing crossVersion 3.8.0-RC3-bin-20251221-04feaed -> 3.8.0-RC3-bin-20251221-04feaed in testJS/crossScalaVersions
1340OpenCB::Changing crossVersion 3.8.0-RC3-bin-20251221-04feaed -> 3.8.0-RC3-bin-20251221-04feaed in example/crossScalaVersions
1341OpenCB::Changing crossVersion 3.8.0-RC3-bin-20251221-04feaed -> 3.8.0-RC3-bin-20251221-04feaed in testNative/crossScalaVersions
1342OpenCB::Changing crossVersion 3.8.0-RC3-bin-20251221-04feaed -> 3.8.0-RC3-bin-20251221-04feaed in rootJVM/crossScalaVersions
1343OpenCB::Changing crossVersion 3.8.0-RC3-bin-20251221-04feaed -> 3.8.0-RC3-bin-20251221-04feaed in coreJVM/crossScalaVersions
1344OpenCB::Changing crossVersion 3.8.0-RC3-bin-20251221-04feaed -> 3.8.0-RC3-bin-20251221-04feaed in stateNative/crossScalaVersions
1345OpenCB::Changing crossVersion 3.8.0-RC3-bin-20251221-04feaed -> 3.8.0-RC3-bin-20251221-04feaed in genericNative/crossScalaVersions
1346OpenCB::Changing crossVersion 3.8.0-RC3-bin-20251221-04feaed -> 3.8.0-RC3-bin-20251221-04feaed in macrosNative/crossScalaVersions
1347OpenCB::Changing crossVersion 3.8.0-RC3-bin-20251221-04feaed -> 3.8.0-RC3-bin-20251221-04feaed in unsafeNative/crossScalaVersions
1348OpenCB::Changing crossVersion 3.8.0-RC3-bin-20251221-04feaed -> 3.8.0-RC3-bin-20251221-04feaed in lawNative/crossScalaVersions
1349OpenCB::Changing crossVersion 3.8.0-RC3-bin-20251221-04feaed -> 3.8.0-RC3-bin-20251221-04feaed in genericJS/crossScalaVersions
1350OpenCB::Changing crossVersion 3.8.0-RC3-bin-20251221-04feaed -> 3.8.0-RC3-bin-20251221-04feaed in stateJS/crossScalaVersions
1351OpenCB::Changing crossVersion 3.8.0-RC3-bin-20251221-04feaed -> 3.8.0-RC3-bin-20251221-04feaed in unsafeJS/crossScalaVersions
1352OpenCB::Changing crossVersion 3.8.0-RC3-bin-20251221-04feaed -> 3.8.0-RC3-bin-20251221-04feaed in lawJS/crossScalaVersions
1353OpenCB::Changing crossVersion 3.8.0-RC3-bin-20251221-04feaed -> 3.8.0-RC3-bin-20251221-04feaed in coreJS/crossScalaVersions
1354OpenCB::Changing crossVersion 3.8.0-RC3-bin-20251221-04feaed -> 3.8.0-RC3-bin-20251221-04feaed in coreNative/crossScalaVersions
1355OpenCB::Changing crossVersion 3.8.0-RC3-bin-20251221-04feaed -> 3.8.0-RC3-bin-20251221-04feaed in genericJVM/crossScalaVersions
1356OpenCB::Changing crossVersion 3.8.0-RC3-bin-20251221-04feaed -> 3.8.0-RC3-bin-20251221-04feaed in unsafeJVM/crossScalaVersions
1357OpenCB::Changing crossVersion 3.8.0-RC3-bin-20251221-04feaed -> 3.8.0-RC3-bin-20251221-04feaed in refinedNative/crossScalaVersions
1358OpenCB::Changing crossVersion 3.8.0-RC3-bin-20251221-04feaed -> 3.8.0-RC3-bin-20251221-04feaed in refinedJS/crossScalaVersions
1359OpenCB::Changing crossVersion 3.8.0-RC3-bin-20251221-04feaed -> 3.8.0-RC3-bin-20251221-04feaed in lawJVM/crossScalaVersions
1360OpenCB::Changing crossVersion 3.8.0-RC3-bin-20251221-04feaed -> 3.8.0-RC3-bin-20251221-04feaed in refinedJVM/crossScalaVersions
1361OpenCB::Changing crossVersion 3.8.0-RC3-bin-20251221-04feaed -> 3.8.0-RC3-bin-20251221-04feaed in macrosJS/crossScalaVersions
1362OpenCB::Changing crossVersion 3.8.0-RC3-bin-20251221-04feaed -> 3.8.0-RC3-bin-20251221-04feaed in stateJVM/crossScalaVersions
1363OpenCB::Changing crossVersion 3.8.0-RC3-bin-20251221-04feaed -> 3.8.0-RC3-bin-20251221-04feaed in macrosJVM/crossScalaVersions
1364[info] set current project to root (in build file:/build/repo/)
1365[info] Setting Scala version to 3.8.0-RC3-bin-20251221-04feaed on 29 projects.
1366[info] Switching Scala version on:
1367[info] unsafeJS (2.13.14, 3.8.0-RC3-bin-20251221-04feaed)
1368[info] testJVM (2.13.14, 3.8.0-RC3-bin-20251221-04feaed)
1369[info] testNative (2.13.14, 3.8.0-RC3-bin-20251221-04feaed)
1370[info] genericJVM (2.13.14, 3.8.0-RC3-bin-20251221-04feaed)
1371[info] lawJS (2.13.14, 3.8.0-RC3-bin-20251221-04feaed)
1372[info] macrosJVM (2.13.14, 3.8.0-RC3-bin-20251221-04feaed)
1373[info] unsafeNative (2.13.14, 3.8.0-RC3-bin-20251221-04feaed)
1374[info] stateJVM (2.13.14, 3.8.0-RC3-bin-20251221-04feaed)
1375[info] rootJS (2.13.14, 3.8.0-RC3-bin-20251221-04feaed)
1376[info] coreNative (2.13.14, 3.8.0-RC3-bin-20251221-04feaed)
1377[info] unsafeJVM (2.13.14, 3.8.0-RC3-bin-20251221-04feaed)
1378[info] macrosNative (2.13.14, 3.8.0-RC3-bin-20251221-04feaed)
1379[info] coreJS (2.13.14, 3.8.0-RC3-bin-20251221-04feaed)
1380[info] macrosJS (2.13.14, 3.8.0-RC3-bin-20251221-04feaed)
1381[info] lawJVM (2.13.14, 3.8.0-RC3-bin-20251221-04feaed)
1382[info] genericJS (2.13.14, 3.8.0-RC3-bin-20251221-04feaed)
1383[info] coreJVM (2.13.14, 3.8.0-RC3-bin-20251221-04feaed)
1384[info] refinedNative (2.13.14, 3.8.0-RC3-bin-20251221-04feaed)
1385[info] lawNative (2.13.14, 3.8.0-RC3-bin-20251221-04feaed)
1386[info] rootJVM (2.13.14, 3.8.0-RC3-bin-20251221-04feaed)
1387[info] rootNative (2.13.14, 3.8.0-RC3-bin-20251221-04feaed)
1388[info] refinedJS (2.13.14, 3.8.0-RC3-bin-20251221-04feaed)
1389[info] refinedJVM (2.13.14, 3.8.0-RC3-bin-20251221-04feaed)
1390[info] stateNative (2.13.14, 3.8.0-RC3-bin-20251221-04feaed)
1391[info] testJS (2.13.14, 3.8.0-RC3-bin-20251221-04feaed)
1392[info] stateJS (2.13.14, 3.8.0-RC3-bin-20251221-04feaed)
1393[info] example (2.13.14, 3.8.0-RC3-bin-20251221-04feaed)
1394[info] genericNative (2.13.14, 3.8.0-RC3-bin-20251221-04feaed)
1395[info] bench (2.13.14, 3.8.0-RC3-bin-20251221-04feaed)
1396[info] Excluding projects:
1397[info] * root (2.13.14)
1398[info] docs (2.13.14)
1399[info] Reapplying settings...
1400[info] set scmInfo to https://github.com/optics-dev/monocle
1401[info] set current project to root (in build file:/build/repo/)
1402Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
1403[info] Reapplying settings...
1404[info] set scmInfo to https://github.com/optics-dev/monocle
1405[info] set current project to root (in build file:/build/repo/)
1406[info] Defining Global / credentials, bench / credentials and 29 others.
1407[info] The new values will be used by Compile / scalafmtOnly, IntegrationTest / scalafmtOnly and 276 others.
1408[info] Run `last` for details.
1409[info] Reapplying settings...
1410[info] set scmInfo to https://github.com/optics-dev/monocle
1411[info] set current project to root (in build file:/build/repo/)
1412Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
1413[info] Reapplying settings...
1414OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
1415
1416 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
1417 Did you mean rootJVM / allExcludeDependencies ?
1418 , retry without global scopes
1419[info] Reapplying settings...
1420[info] set scmInfo to https://github.com/optics-dev/monocle
1421[info] set current project to root (in build file:/build/repo/)
1422Execute removeScalacOptionsStartingWith: -P:wartremover
1423[info] Reapplying settings...
1424[info] set scmInfo to https://github.com/optics-dev/monocle
1425[info] set current project to root (in build file:/build/repo/)
1426[success] Total time: 0 s, completed Dec 21, 2025, 9:21:01 PM
1427Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"21"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.4","3.7"],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3Version = \"3.3.3\"","replaceWith":"val scala3Version = \"<SCALA_VERSION>\""}]}
1428Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
1429Starting build...
1430Projects: Set(macrosJVM, stateJVM, unsafeJVM, lawJVM, coreJVM, refinedJVM)
1431Starting build for ProjectRef(file:/build/repo/,stateJVM) (monocle-state)... [0/6]
1432OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
1433OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
1434OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
1435OpenCB::Filter out '-source:3.0-migration', matches setting pattern '^-?-source(:.*)?'
1436Compile scalacOptions: -encoding, UTF-8, -unchecked, -Ykind-projector, -language:implicitConversions, -language:higherKinds, -language:postfixOps, -Wunused:all, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
1437[info] compiling 107 Scala sources to /build/repo/core/jvm/target/scala-3.8.0-RC3-bin-20251221-04feaed/classes ...
1438[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
1439[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/main/scala/monocle/function/Each.scala:84:31
1440[warn] 84 | implicit def mapEach[K: Order, V]: Each[SortedMap[K, V], V] =
1441[warn] | ^
1442[warn] | unused implicit parameter
1443[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/main/scala/monocle/std/String.scala:41:29
1444[warn] 41 | def inputBreaksPrismLaws(input: String): Boolean =
1445[warn] | ^^^^^
1446[warn] | unused explicit parameter
1447[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/main/scala/monocle/std/Try.scala:21:19
1448[warn] 21 | case Success(a) => None
1449[warn] | ^
1450[warn] | unused pattern variable
1451[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/core/shared/src/main/scala-3/monocle/internal/focus/features/as/AsGenerator.scala:14:4
1452[warn] 14 | (fromType.asType, toType.asType) match {
1453[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1454[warn] | match may not be exhaustive.
1455[warn] |
1456[warn] | It would fail on pattern case: (_, _)
1457[warn] |
1458[warn] | longer explanation available when compiling with `-explain`
1459[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/core/shared/src/main/scala-3/monocle/internal/focus/features/at/AtGenerator.scala:14:4
1460[warn] 14 | (fromType.asType, index.tpe.asType, toType.asType) match {
1461[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1462[warn] | match may not be exhaustive.
1463[warn] |
1464[warn] | It would fail on pattern case: (_, _, _)
1465[warn] |
1466[warn] | longer explanation available when compiling with `-explain`
1467[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/core/shared/src/main/scala-3/monocle/internal/focus/features/each/EachGenerator.scala:14:4
1468[warn] 14 | (fromType.asType, toType.asType) match {
1469[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1470[warn] | match may not be exhaustive.
1471[warn] |
1472[warn] | It would fail on pattern case: (_, _)
1473[warn] |
1474[warn] | longer explanation available when compiling with `-explain`
1475[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/core/shared/src/main/scala-3/monocle/internal/focus/features/index/IndexGenerator.scala:14:4
1476[warn] 14 | (fromType.asType, index.tpe.widen.asType, toType.asType) match {
1477[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1478[warn] | match may not be exhaustive.
1479[warn] |
1480[warn] | It would fail on pattern case: (_, _, _)
1481[warn] |
1482[warn] | longer explanation available when compiling with `-explain`
1483[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/core/shared/src/main/scala-3/monocle/internal/focus/features/selectfield/SelectFieldGenerator.scala:21:4
1484[warn] 21 | (fromType.asType, toType.asType) match {
1485[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1486[warn] | match may not be exhaustive.
1487[warn] |
1488[warn] | It would fail on pattern case: (_, _)
1489[warn] |
1490[warn] | longer explanation available when compiling with `-explain`
1491[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/core/shared/src/main/scala-3/monocle/internal/focus/features/selectonlyfield/SelectOnlyFieldGenerator.scala:21:4
1492[warn] 21 | (fromType.asType, toType.asType) match {
1493[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1494[warn] | match may not be exhaustive.
1495[warn] |
1496[warn] | It would fail on pattern case: (_, _)
1497[warn] |
1498[warn] | longer explanation available when compiling with `-explain`
1499Warning: mocking up superclass for module class focus
1500Warning: mocking up superclass for module class internal
1501[warn] there were 169 deprecation warnings; re-run with -deprecation for details
1502[warn] 11 warnings found
1503[info] done compiling
1504[info] compiling 7 Scala sources to /build/repo/state/.jvm/target/scala-3.8.0-RC3-bin-20251221-04feaed/classes ...
1505[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
1506[warn] one warning found
1507[info] done compiling
1508Starting build for ProjectRef(file:/build/repo/,refinedJVM) (monocle-refined)... [1/6]
1509Compile scalacOptions: -encoding, UTF-8, -unchecked, -Ykind-projector, -language:implicitConversions, -language:higherKinds, -language:postfixOps, -Wunused:all, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
1510[info] compiling 18 Scala sources to /build/repo/law/.jvm/target/scala-3.8.0-RC3-bin-20251221-04feaed/classes ...
1511[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
1512[warn] -- [E198] Unused Symbol Warning: /build/repo/law/src/main/scala/monocle/law/discipline/SetterTests.scala:12:46
1513[warn] 12 | def apply[S: Arbitrary: Eq, A: Arbitrary: Eq](setter: Setter[S, A])(implicit arbAA: Arbitrary[A => A]): RuleSet = {
1514[warn] | ^
1515[warn] | unused implicit parameter
1516[warn] two warnings found
1517[info] done compiling
1518[info] compiling 6 Scala sources to /build/repo/refined/.jvm/target/scala-3.8.0-RC3-bin-20251221-04feaed/classes ...
1519[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
1520[warn] one warning found
1521[info] done compiling
1522[info] compiling 3 Scala sources to /build/repo/refined/.jvm/target/scala-3.8.0-RC3-bin-20251221-04feaed/test-classes ...
1523[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
1524[warn] one warning found
1525[info] done compiling
1526Starting build for ProjectRef(file:/build/repo/,unsafeJVM) (monocle-unsafe)... [2/6]
1527Compile scalacOptions: -encoding, UTF-8, -unchecked, -Ykind-projector, -language:implicitConversions, -language:higherKinds, -language:postfixOps, -Wunused:all, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
1528[info] compiling 2 Scala sources to /build/repo/unsafe/.jvm/target/scala-3.8.0-RC3-bin-20251221-04feaed/classes ...
1529[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
1530[warn] one warning found
1531[info] done compiling
1532Starting build for ProjectRef(file:/build/repo/,coreJVM) (monocle-core)... [3/6]
1533Compile scalacOptions: -encoding, UTF-8, -unchecked, -Ykind-projector, -language:implicitConversions, -language:higherKinds, -language:postfixOps, -Wunused:all, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
1534[info] compiling 14 Scala sources to /build/repo/core/jvm/target/scala-3.8.0-RC3-bin-20251221-04feaed/test-classes ...
1535[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
1536[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala-3/monocle/focus/FocusAsTest.scala:43:8
1537[warn] 43 | val asBanana = Focus[Food](_.as[Banana])
1538[warn] | ^^^^^^^^
1539[warn] | unused local definition
1540[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala-3/monocle/focus/FocusEachTest.scala:29:8
1541[warn] 29 | val studentYears = Focus[School](_.students.each.yearLevel)
1542[warn] | ^^^^^^^^^^^^
1543[warn] | unused local definition
1544[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala/monocle/CatsCompatTest.scala:7:8
1545[warn] 7 | val composed: Setter[List[Int], Int] = setter.index(5)
1546[warn] | ^^^^^^^^
1547[warn] | unused local definition
1548[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala/monocle/CatsCompatTest.scala:12:8
1549[warn] 12 | val composed: Traversal[List[Int], Int] = traversal.index(5)
1550[warn] | ^^^^^^^^
1551[warn] | unused local definition
1552[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala/monocle/CatsCompatTest.scala:17:8
1553[warn] 17 | val composed: Optional[List[Int], Int] = optional.index(5)
1554[warn] | ^^^^^^^^
1555[warn] | unused local definition
1556[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala/monocle/CatsCompatTest.scala:22:8
1557[warn] 22 | val composed: Optional[List[Int], Int] = lens.index(5)
1558[warn] | ^^^^^^^^
1559[warn] | unused local definition
1560[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala/monocle/CatsCompatTest.scala:27:8
1561[warn] 27 | val composed: Optional[List[Int], Int] = prism.index(5)
1562[warn] | ^^^^^^^^
1563[warn] | unused local definition
1564[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala/monocle/CatsCompatTest.scala:32:8
1565[warn] 32 | val composed: Optional[List[Int], Int] = iso.index(5)
1566[warn] | ^^^^^^^^
1567[warn] | unused local definition
1568[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala/monocle/CatsCompatTest.scala:37:8
1569[warn] 37 | val composed: Fold[List[Int], Int] = getter.index(5)
1570[warn] | ^^^^^^^^
1571[warn] | unused local definition
1572[warn] -- [E198] Unused Symbol Warning: /build/repo/core/shared/src/test/scala/monocle/CatsCompatTest.scala:42:8
1573[warn] 42 | val composed: Fold[List[Int], Int] = fold.index(5)
1574[warn] | ^^^^^^^^
1575[warn] | unused local definition
1576[warn] /build/repo/core/shared/src/main/scala-3/monocle/internal/AsPrism.scala:14:43: the type test for FocusAsTest.this.MysteryFood[String] cannot be checked at runtime because its type arguments can't be determined from FocusAsTest.this.Food
1577[warn] Prism[From, To]((from: From) => if (from.isInstanceOf[To]) Some(from.asInstanceOf[To]) else None)((to: To) =>
1578[warn] ^
1579[warn] there were 9 deprecation warnings; re-run with -deprecation for details
1580[warn] 13 warnings found
1581[info] done compiling
1582Starting build for ProjectRef(file:/build/repo/,lawJVM) (monocle-law)... [4/6]
1583Compile scalacOptions: -encoding, UTF-8, -unchecked, -Ykind-projector, -language:implicitConversions, -language:higherKinds, -language:postfixOps, -Wunused:all, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
1584Starting build for ProjectRef(file:/build/repo/,macrosJVM) (monocle-macro)... [5/6]
1585Compile scalacOptions: -encoding, UTF-8, -unchecked, -Ykind-projector, -language:implicitConversions, -language:higherKinds, -language:postfixOps, -Wunused:all, -language:experimental.macros, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
1586[info] compiling 4 Scala sources to /build/repo/macro/.jvm/target/scala-3.8.0-RC3-bin-20251221-04feaed/classes ...
1587[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
1588[warn] -- [E198] Unused Symbol Warning: /build/repo/macro/src/main/scala-3/monocle/macros/GenIso.scala:26:15
1589[warn] 26 | case '{ $m: Mirror.ProductOf[S] { type MirroredElemTypes = a } } =>
1590[warn] | ^
1591[warn] | unused pattern variable
1592[warn] -- [E198] Unused Symbol Warning: /build/repo/macro/src/main/scala-3/monocle/macros/GenIso.scala:48:15
1593[warn] 48 | case '{ $m: Mirror.ProductOf[S] { type MirroredElemTypes = a } } =>
1594[warn] | ^
1595[warn] | unused pattern variable
1596[warn] -- [E198] Unused Symbol Warning: /build/repo/macro/src/main/scala-3/monocle/macros/GenIso.scala:70:15
1597[warn] 70 | case '{ $m: Mirror.ProductOf[S] { type MirroredElemTypes = EmptyTuple } } =>
1598[warn] | ^
1599[warn] | unused pattern variable
1600[warn] -- [E198] Unused Symbol Warning: /build/repo/macro/src/main/scala-3/monocle/macros/GenIso.scala:73:15
1601[warn] 73 | case '{ $m: Mirror.ProductOf[S] { type MirroredElemTypes = a *: EmptyTuple } } =>
1602[warn] | ^
1603[warn] | unused pattern variable
1604[warn] there were 2 deprecation warnings; re-run with -deprecation for details
1605[warn] 6 warnings found
1606[info] done compiling
1607[info] compiling 4 Scala sources to /build/repo/macro/.jvm/target/scala-3.8.0-RC3-bin-20251221-04feaed/test-classes ...
1608[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
1609[warn] -- Warning: /build/repo/macro/src/test/scala/monocle/macros/GenPrismSpec.scala:14:65
1610[warn] 14 | implicit val iArb: Arbitrary[I] = Arbitrary(arbitrary[Int].map(I))
1611[warn] | ^
1612[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `this.I.apply` explicitly.
1613[warn] -- Warning: /build/repo/macro/src/test/scala/monocle/macros/GenPrismSpec.scala:15:68
1614[warn] 15 | implicit val sArb: Arbitrary[S] = Arbitrary(arbitrary[String].map(S))
1615[warn] | ^
1616[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `this.S.apply` explicitly.
1617[warn] -- [E198] Unused Symbol Warning: /build/repo/macro/src/test/scala/monocle/macros/GenIsoSpec.scala:29:27
1618[warn] 29 | implicit def eqOneT[A: Eq]: Eq[OneT[A]] = Eq.fromUniversalEquals
1619[warn] | ^
1620[warn] | unused implicit parameter
1621[warn] there were 24 deprecation warnings; re-run with -deprecation for details
1622[warn] 5 warnings found
1623[info] done compiling
1624
1625************************
1626Build summary:
1627[{
1628 "module": "monocle-state",
1629 "compile": {"status": "ok", "tookMs": 24601, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
1630 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
1631 "test-compile": {"status": "ok", "tookMs": 212, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
1632 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
1633 "publish": {"status": "skipped", "tookMs": 0},
1634 "metadata": {
1635 "crossScalaVersions": ["2.13.14", "3.3.3"]
1636}
1637},{
1638 "module": "monocle-refined",
1639 "compile": {"status": "ok", "tookMs": 2604, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
1640 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
1641 "test-compile": {"status": "ok", "tookMs": 1451, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
1642 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
1643 "publish": {"status": "skipped", "tookMs": 0},
1644 "metadata": {
1645 "crossScalaVersions": ["2.13.14", "3.3.3"]
1646}
1647},{
1648 "module": "monocle-unsafe",
1649 "compile": {"status": "ok", "tookMs": 722, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
1650 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
1651 "test-compile": {"status": "ok", "tookMs": 129, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
1652 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
1653 "publish": {"status": "skipped", "tookMs": 0},
1654 "metadata": {
1655 "crossScalaVersions": ["2.13.14", "3.3.3"]
1656}
1657},{
1658 "module": "monocle-core",
1659 "compile": {"status": "ok", "tookMs": 62, "warnings": 9, "errors": 0, "sourceVersion": "3.8"},
1660 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
1661 "test-compile": {"status": "ok", "tookMs": 5620, "warnings": 10, "errors": 0, "sourceVersion": "3.8"},
1662 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
1663 "publish": {"status": "skipped", "tookMs": 0},
1664 "metadata": {
1665 "crossScalaVersions": ["2.13.14", "3.3.3"]
1666}
1667},{
1668 "module": "monocle-law",
1669 "compile": {"status": "ok", "tookMs": 111, "warnings": 1, "errors": 0, "sourceVersion": "3.8"},
1670 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
1671 "test-compile": {"status": "ok", "tookMs": 136, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
1672 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
1673 "publish": {"status": "skipped", "tookMs": 0},
1674 "metadata": {
1675 "crossScalaVersions": ["2.13.14", "3.3.3"]
1676}
1677},{
1678 "module": "monocle-macro",
1679 "compile": {"status": "ok", "tookMs": 816, "warnings": 4, "errors": 0, "sourceVersion": "3.8"},
1680 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
1681 "test-compile": {"status": "ok", "tookMs": 1411, "warnings": 3, "errors": 0, "sourceVersion": "3.8"},
1682 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
1683 "publish": {"status": "skipped", "tookMs": 0},
1684 "metadata": {
1685 "crossScalaVersions": ["2.13.14", "3.3.3"]
1686}
1687}]
1688************************
1689[success] Total time: 49 s, completed Dec 21, 2025, 9:21:50 PM
1690[0JChecking patch project/plugins.sbt...
1691Checking patch project/build.properties...
1692Checking patch build.sbt...
1693Applied patch project/plugins.sbt cleanly.
1694Applied patch project/build.properties cleanly.
1695Applied patch build.sbt cleanly.