Build Logs

circe/circe-optics • 3.8.0-RC4:2025-12-22

Errors

0

Warnings

15

Total Lines

405

1##################################
2Clonning https://github.com/circe/circe-optics.git into /build/repo using revision v0.15.1
3##################################
4Note: switching to '3cb04660d4f99ee4130656bd87945f185edd9efd'.
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.6
22----
23Preparing build for 3.8.0-RC4
24Scala binary version found: 3.8
25Implicitly using source version 3.8
26Scala binary version found: 3.8
27Implicitly using source version 3.8
28Would try to apply common scalacOption (best-effort, sbt/mill only):
29Append: ,REQUIRE:-source:3.8
30Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
31
32Try apply source patch:
33Path: build.sbt
34Pattern: val scala3 = "3.3.6"
35Replacement: val scala3 = "3.8.0-RC4"
36Starting compilation server
37Compiling project (Scala 3.7.3, JVM (17))
38Compiled project (Scala 3.7.3, JVM (17))
39Successfully applied pattern 'val scala3 = "3.3.6"' in build.sbt
40----
41Starting build for 3.8.0-RC4
42Execute tests: true
43sbt project found:
44Sbt version 1.11.2 is not supported, minimal supported version is 1.11.5
45Enforcing usage of sbt in version 1.11.5
46No prepare script found for project circe/circe-optics
47##################################
48Scala version: 3.8.0-RC4
49Targets: io.circe%circe-optics
50Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.3.6\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}
51##################################
52Using extra scalacOptions: ,REQUIRE:-source:3.8
53Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
54[sbt_options] declare -a sbt_options=()
55[process_args] java_version = '17'
56[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
57# Executing command line:
58java
59-Dfile.encoding=UTF-8
60-Dcommunitybuild.scala=3.8.0-RC4
61-Dcommunitybuild.project.dependencies.add=
62-Xmx7G
63-Xms4G
64-Xss8M
65-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
66-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
67-jar
68/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
69"setCrossScalaVersions 3.8.0-RC4"
70"++3.8.0-RC4 -v"
71"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
72"set every credentials := Nil"
73"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
74"removeScalacOptionsStartingWith -P:wartremover"
75
76moduleMappings
77"runBuild 3.8.0-RC4 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.3.6\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}""" io.circe%circe-optics"
78
79[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
80[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
81[info] loading project definition from /build/repo/project
82[info] compiling 2 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
83[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
84[info] Compilation completed in 9.43s.
85[info] done compiling
86[info] loading settings for project root from build.sbt...
87[info] set scmInfo to https://github.com/circe/circe-optics
88[info] set current project to root (in build file:/build/repo/)
89Execute setCrossScalaVersions: 3.8.0-RC4
90OpenCB::Changing crossVersion 3.8.0-RC4 -> 3.8.0-RC4 in rootJVM/crossScalaVersions
91OpenCB::Changing crossVersion 3.8.0-RC4 -> 3.8.0-RC4 in optics/crossScalaVersions
92OpenCB::Changing crossVersion 3.8.0-RC4 -> 3.8.0-RC4 in opticsJS/crossScalaVersions
93OpenCB::Changing crossVersion 3.8.0-RC4 -> 3.8.0-RC4 in rootJS/crossScalaVersions
94OpenCB::Changing crossVersion 3.8.0-RC4 -> 3.8.0-RC4 in opticsNative/crossScalaVersions
95OpenCB::Changing crossVersion 3.8.0-RC4 -> 3.8.0-RC4 in rootNative/crossScalaVersions
96[info] set scmInfo to https://github.com/circe/circe-optics
97OpenCB::Limitting incorrect crossVersions List() -> List(2.13.16) in root/crossScalaVersions
98[info] set current project to root (in build file:/build/repo/)
99[info] Setting Scala version to 3.8.0-RC4 on 6 projects.
100[info] Switching Scala version on:
101[info] rootJS (2.13.16, 3.8.0-RC4)
102[info] opticsNative (2.13.16, 3.8.0-RC4)
103[info] optics (2.13.16, 3.8.0-RC4)
104[info] rootJVM (2.13.16, 3.8.0-RC4)
105[info] opticsJS (2.13.16, 3.8.0-RC4)
106[info] rootNative (2.13.16, 3.8.0-RC4)
107[info] Excluding projects:
108[info] * root (2.13.16)
109[info] Reapplying settings...
110[info] set scmInfo to https://github.com/circe/circe-optics
111[info] set current project to root (in build file:/build/repo/)
112Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
113[info] Reapplying settings...
114[info] set scmInfo to https://github.com/circe/circe-optics
115[info] set current project to root (in build file:/build/repo/)
116[info] Defining Global / credentials, credentials and 5 others.
117[info] The new values will be used by Compile / scalafmtOnly, IntegrationTest / scalafmtOnly and 61 others.
118[info] Run `last` for details.
119[info] Reapplying settings...
120[info] set scmInfo to https://github.com/circe/circe-optics
121[info] set current project to root (in build file:/build/repo/)
122Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
123[info] Reapplying settings...
124OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
125
126 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
127 Did you mean allExcludeDependencies ?
128 , retry without global scopes
129[info] Reapplying settings...
130[info] set scmInfo to https://github.com/circe/circe-optics
131[info] set current project to root (in build file:/build/repo/)
132Execute removeScalacOptionsStartingWith: -P:wartremover
133[info] Reapplying settings...
134[info] set scmInfo to https://github.com/circe/circe-optics
135[info] set current project to root (in build file:/build/repo/)
136[success] Total time: 0 s, completed Dec 22, 2025, 6:37:15 PM
137Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.3.6\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}
138Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
139Starting build...
140Projects: Set(optics)
141Starting build for ProjectRef(file:/build/repo/,optics) (circe-optics)... [0/1]
142OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
143OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
144OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
145Compile scalacOptions: -encoding, UTF-8, -unchecked, -Wunused:implicits, -Wunused:explicits, -Wunused:imports, -Wunused:locals, -Wunused:params, -Wunused:privates, -Wvalue-discard, -language:implicitConversions, -Xkind-projector, --java-output-version:17, -Xsemanticdb, -semanticdb-target, /build/repo/optics/.jvm/target/scala-3.8.0-RC4/meta, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
146[info] compiling 5 Scala sources to /build/repo/optics/.jvm/target/scala-3.8.0-RC4/classes ...
147[info] done compiling
148[info] compiling 5 Scala sources to /build/repo/optics/.jvm/target/scala-3.8.0-RC4/test-classes ...
149[warn] -- [E175] Potential Issue Warning: /build/repo/optics/src/test/scala/io/circe/optics/CirceSuite.scala:53:4
150[warn] 53 | assert(
151[warn] | ^
152[warn] |discarded non-Unit value of type org.scalatest.compatible.Assertion. Add `: Unit` to discard silently.
153[warn] 54 | expected === actual,
154[warn] 55 | s"""Expected did not match actual:
155[warn] 56 | |
156[warn] 57 | |Expected: $expected
157[warn] 58 | |Actual: $actual"""
158[warn] 59 | )
159[warn] -- [E198] Unused Symbol Warning: /build/repo/optics/src/test/scala/io/circe/optics/LawsTests.scala:45:34
160[warn] 45 | def atTests[S: Arbitrary: Shrink: Eq, I: Arbitrary: Shrink, A: Arbitrary: Eq](implicit
161[warn] | ^
162[warn] | unused implicit parameter
163[warn] two warnings found
164[info] done compiling
165[info] DeriveWithIsoSuite:
166[info] deriveDecoderWithIso[A, B]
167[info] - should create a decoder[B] with an Iso[A, B]
168[info] deriveEncoderWithIso[A, B]
169[info] - should create an encoder[B] with an Iso[A, B]
170[info] deriveDecoderWithIsoReverse[B, A]
171[info] - should create a decoder[B] with an Iso[B, A]
172[info] deriveEncoderWithIsoReverse[B, A]
173[info] - should create an encoder[B] with an Iso[B, A]
174[info] JsonPathSuite:
175[info] JsonPath
176[info] - should support traversal by field name
177[info] - should return Some(None) when selected field doesn't exist
178[info] - should support traversal by array index
179[info] - should support traversal by array index using apply
180[info] - should support traversal by array index using apply on the root
181[info] - should support insertion and deletion
182[info] - should support codec
183[info] JsonTraversalPath
184[info] - should support traversal over each values of a json object
185[info] - should support traversal over each values of a json array
186[info] - should support filtering by field of json object
187[info] - should support filtering by index of json array
188[info] - should support a safe filtering by value
189[info] - should support an unsafe filtering by value
190[info] OpticsSuite:
191[info] Json to Unit
192[info] - should Prism.compose modify
193[info] - should Prism.consistent getOption with modifyId
194[info] - should Prism.consistent modify with modifyId
195[info] - should Prism.consistent set with modify
196[info] - should Prism.modify id = id
197[info] - should Prism.partial round trip one way
198[info] - should Prism.round trip other way
199[info] Json to Boolean
200[info] - should Prism.compose modify
201[info] - should Prism.consistent getOption with modifyId
202[info] - should Prism.consistent modify with modifyId
203[info] - should Prism.consistent set with modify
204[info] - should Prism.modify id = id
205[info] - should Prism.partial round trip one way
206[info] - should Prism.round trip other way
207[info] Json to BigDecimal
208[info] - should Prism.compose modify
209[info] - should Prism.consistent getOption with modifyId
210[info] - should Prism.consistent modify with modifyId
211[info] - should Prism.consistent set with modify
212[info] - should Prism.modify id = id
213[info] - should Prism.partial round trip one way
214[info] - should Prism.round trip other way
215[info] Json to Double
216[info] - should Prism.compose modify
217[info] - should Prism.consistent getOption with modifyId
218[info] - should Prism.consistent modify with modifyId
219[info] - should Prism.consistent set with modify
220[info] - should Prism.modify id = id
221[info] - should Prism.partial round trip one way
222[info] - should Prism.round trip other way
223[info] Json to BigInt
224[info] - should Prism.compose modify
225[info] - should Prism.consistent getOption with modifyId
226[info] - should Prism.consistent modify with modifyId
227[info] - should Prism.consistent set with modify
228[info] - should Prism.modify id = id
229[info] - should Prism.partial round trip one way
230[info] - should Prism.round trip other way
231[info] Json to Long
232[info] - should Prism.compose modify
233[info] - should Prism.consistent getOption with modifyId
234[info] - should Prism.consistent modify with modifyId
235[info] - should Prism.consistent set with modify
236[info] - should Prism.modify id = id
237[info] - should Prism.partial round trip one way
238[info] - should Prism.round trip other way
239[info] Json to Int
240[info] - should Prism.compose modify
241[info] - should Prism.consistent getOption with modifyId
242[info] - should Prism.consistent modify with modifyId
243[info] - should Prism.consistent set with modify
244[info] - should Prism.modify id = id
245[info] - should Prism.partial round trip one way
246[info] - should Prism.round trip other way
247[info] Json to Short
248[info] - should Prism.compose modify
249[info] - should Prism.consistent getOption with modifyId
250[info] - should Prism.consistent modify with modifyId
251[info] - should Prism.consistent set with modify
252[info] - should Prism.modify id = id
253[info] - should Prism.partial round trip one way
254[info] - should Prism.round trip other way
255[info] Json to Byte
256[info] - should Prism.compose modify
257[info] - should Prism.consistent getOption with modifyId
258[info] - should Prism.consistent modify with modifyId
259[info] - should Prism.consistent set with modify
260[info] - should Prism.modify id = id
261[info] - should Prism.partial round trip one way
262[info] - should Prism.round trip other way
263[info] Json to String
264[info] - should Prism.compose modify
265[info] - should Prism.consistent getOption with modifyId
266[info] - should Prism.consistent modify with modifyId
267[info] - should Prism.consistent set with modify
268[info] - should Prism.modify id = id
269[info] - should Prism.partial round trip one way
270[info] - should Prism.round trip other way
271[info] Json to JsonNumber
272[info] - should Prism.compose modify
273[info] - should Prism.consistent getOption with modifyId
274[info] - should Prism.consistent modify with modifyId
275[info] - should Prism.consistent set with modify
276[info] - should Prism.modify id = id
277[info] - should Prism.partial round trip one way
278[info] - should Prism.round trip other way
279[info] Json to JsonObject
280[info] - should Prism.compose modify
281[info] - should Prism.consistent getOption with modifyId
282[info] - should Prism.consistent modify with modifyId
283[info] - should Prism.consistent set with modify
284[info] - should Prism.modify id = id
285[info] - should Prism.partial round trip one way
286[info] - should Prism.round trip other way
287[info] Json to Vector[Json]
288[info] - should Prism.compose modify
289[info] - should Prism.consistent getOption with modifyId
290[info] - should Prism.consistent modify with modifyId
291[info] - should Prism.consistent set with modify
292[info] - should Prism.modify id = id
293[info] - should Prism.partial round trip one way
294[info] - should Prism.round trip other way
295[info] JsonNumber to BigDecimal
296[info] - should Prism.compose modify
297[info] - should Prism.consistent getOption with modifyId
298[info] - should Prism.consistent modify with modifyId
299[info] - should Prism.consistent set with modify
300[info] - should Prism.modify id = id
301[info] - should Prism.partial round trip one way
302[info] - should Prism.round trip other way
303[info] JsonNumber to BigInt
304[info] - should Prism.compose modify
305[info] - should Prism.consistent getOption with modifyId
306[info] - should Prism.consistent modify with modifyId
307[info] - should Prism.consistent set with modify
308[info] - should Prism.modify id = id
309[info] - should Prism.partial round trip one way
310[info] - should Prism.round trip other way
311[info] JsonNumber to Long
312[info] - should Prism.compose modify
313[info] - should Prism.consistent getOption with modifyId
314[info] - should Prism.consistent modify with modifyId
315[info] - should Prism.consistent set with modify
316[info] - should Prism.modify id = id
317[info] - should Prism.partial round trip one way
318[info] - should Prism.round trip other way
319[info] JsonNumber to Int
320[info] - should Prism.compose modify
321[info] - should Prism.consistent getOption with modifyId
322[info] - should Prism.consistent modify with modifyId
323[info] - should Prism.consistent set with modify
324[info] - should Prism.modify id = id
325[info] - should Prism.partial round trip one way
326[info] - should Prism.round trip other way
327[info] JsonNumber to Short
328[info] - should Prism.compose modify
329[info] - should Prism.consistent getOption with modifyId
330[info] - should Prism.consistent modify with modifyId
331[info] - should Prism.consistent set with modify
332[info] - should Prism.modify id = id
333[info] - should Prism.partial round trip one way
334[info] - should Prism.round trip other way
335[info] JsonNumber to Byte
336[info] - should Prism.compose modify
337[info] - should Prism.consistent getOption with modifyId
338[info] - should Prism.consistent modify with modifyId
339[info] - should Prism.consistent set with modify
340[info] - should Prism.modify id = id
341[info] - should Prism.partial round trip one way
342[info] - should Prism.round trip other way
343[info] plated Json
344[info] - should Traversal.compose modify
345[info] - should Traversal.get what you set
346[info] - should Traversal.headOption
347[info] - should Traversal.modify id = id
348[info] - should Traversal.set idempotent
349[info] jsonObjectEach
350[info] - should Each.compose modify
351[info] - should Each.get what you set
352[info] - should Each.headOption
353[info] - should Each.modify id = id
354[info] - should Each.set idempotent
355[info] jsonObjectAt
356[info] - should At.compose modify
357[info] - should At.consistent get with modifyId
358[info] - should At.consistent modify with modifyId
359[info] - should At.consistent set with modify
360[info] - should At.get what you set
361[info] - should At.modify id = id
362[info] - should At.set idempotent
363[info] - should At.set what you get
364[info] jsonObjectIndex
365[info] - should Index.compose modify
366[info] - should Index.consistent getOption with modifyId
367[info] - should Index.consistent modify with modifyId
368[info] - should Index.consistent set with modify
369[info] - should Index.get what you set
370[info] - should Index.modify id = id
371[info] - should Index.set idempotent
372[info] - should Index.set what you get
373[info] jsonObjectFilterIndex
374[info] - should FilterIndex.compose modify
375[info] - should FilterIndex.get what you set
376[info] - should FilterIndex.headOption
377[info] - should FilterIndex.modify id = id
378[info] - should FilterIndex.set idempotent
379[info] jsonDouble
380[info] - should round-trip in reverse with Double.NaN
381[info] - should partial round-trip with numbers larger than Double.MaxValue
382[info] jsonObjectFields
383[info] - should fold over all fields
384
385************************
386Build summary:
387[{
388 "module": "circe-optics",
389 "compile": {"status": "ok", "tookMs": 9763, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
390 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
391 "test-compile": {"status": "ok", "tookMs": 11632, "warnings": 2, "errors": 0, "sourceVersion": "3.8"},
392 "test": {"status": "ok", "tookMs": 2120, "passed": 184, "failed": 0, "ignored": 0, "skipped": 0, "total": 184, "byFramework": [{"framework": "unknown", "stats": {"passed": 184, "failed": 0, "ignored": 0, "skipped": 0, "total": 184}}]},
393 "publish": {"status": "skipped", "tookMs": 0},
394 "metadata": {
395 "crossScalaVersions": ["2.13.16", "3.3.6"]
396}
397}]
398************************
399[success] Total time: 43 s, completed Dec 22, 2025, 6:37:57 PM
400[0JChecking patch project/plugins.sbt...
401Checking patch project/build.properties...
402Checking patch build.sbt...
403Applied patch project/plugins.sbt cleanly.
404Applied patch project/build.properties cleanly.
405Applied patch build.sbt cleanly.