Build Logs

optics-dev/monocle • 3.8.0-RC2:2025-11-25

Errors

3

Warnings

718

Total Lines

1698

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