Build Logs

circe/circe-golden • 3.8.0-RC2:2025-11-28

Errors

0

Warnings

0

Total Lines

357

1##################################
2Clonning https://github.com/circe/circe-golden.git into /build/repo using revision v0.5.1
3##################################
4Note: switching to '87ce1f979b1e203413a2c8a0df38180866f22bdc'.
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
22Using target Scala version for migration: 3.7.4
23Migrating project for -source:3.4 using Scala 3.7.4
24----
25Preparing build for 3.7.4
26Would try to apply common scalacOption (best-effort, sbt/mill only):
27Append: -rewrite,REQUIRE:-source:3.4-migration
28Remove: -indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
29
30Try apply source patch:
31Path: build.sbt
32Pattern: val scala3 = "3.3.6"
33Replacement: val scala3 = "3.7.4"
34Starting compilation server
35Compiling project (Scala 3.7.3, JVM (17))
36Compiled project (Scala 3.7.3, JVM (17))
37Successfully applied pattern 'val scala3 = "3.3.6"' in build.sbt
38----
39Starting build for 3.7.4
40Execute tests: false
41sbt project found:
42Sbt version 1.11.2 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 circe/circe-golden
45##################################
46Scala version: 3.7.4
47Targets: io.circe%circe-golden
48Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.4"],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.3.6\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}
49##################################
50Using extra scalacOptions: -rewrite,REQUIRE:-source:3.4-migration
51Filtering out scalacOptions: -indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
52[sbt_options] declare -a sbt_options=()
53[process_args] java_version = '17'
54[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
55# Executing command line:
56java
57-Dfile.encoding=UTF-8
58-Dcommunitybuild.scala=3.7.4
59-Dcommunitybuild.project.dependencies.add=
60-Xmx7G
61-Xms4G
62-Xss8M
63-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
64-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
65-jar
66/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
67"setCrossScalaVersions 3.7.4"
68"++3.7.4 -v"
69"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""
70"set every credentials := Nil"
71"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
72"removeScalacOptionsStartingWith -P:wartremover"
73
74moduleMappings
75"runBuild 3.7.4 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.4"],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.3.6\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}""" io.circe%circe-golden"
76
77[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
78[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
79[info] loading project definition from /build/repo/project
80[info] compiling 2 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
81[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
82[info] Compilation completed in 8.764s.
83[info] done compiling
84[info] loading settings for project root from build.sbt...
85[info] set scmInfo to https://github.com/circe/circe-golden
86[info] set current project to root (in build file:/build/repo/)
87Execute setCrossScalaVersions: 3.7.4
88OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in rootJVM/crossScalaVersions
89OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in rootNative/crossScalaVersions
90OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in rootJS/crossScalaVersions
91OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in goldenJVM/crossScalaVersions
92OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in example1JVM/crossScalaVersions
93[info] set scmInfo to https://github.com/circe/circe-golden
94OpenCB::Limitting incorrect crossVersions List() -> List(2.13.16) in root/crossScalaVersions
95[info] set current project to root (in build file:/build/repo/)
96[info] Setting Scala version to 3.7.4 on 5 projects.
97[info] Switching Scala version on:
98[info] rootJS (2.12.20, 2.13.16, 3.7.4)
99[info] goldenJVM (2.12.20, 2.13.16, 3.7.4)
100[info] rootJVM (2.12.20, 2.13.16, 3.7.4)
101[info] rootNative (2.12.20, 2.13.16, 3.7.4)
102[info] example1JVM (2.12.20, 2.13.16, 3.7.4)
103[info] Excluding projects:
104[info] * root (2.13.16)
105[info] Reapplying settings...
106[info] set scmInfo to https://github.com/circe/circe-golden
107[info] set current project to root (in build file:/build/repo/)
108Execute 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
109[info] Reapplying settings...
110[info] set scmInfo to https://github.com/circe/circe-golden
111[info] set current project to root (in build file:/build/repo/)
112[info] Defining Global / credentials, credentials and 4 others.
113[info] The new values will be used by Compile / scalafmtOnly, IntegrationTest / scalafmtOnly and 52 others.
114[info] Run `last` for details.
115[info] Reapplying settings...
116[info] set scmInfo to https://github.com/circe/circe-golden
117[info] set current project to root (in build file:/build/repo/)
118Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
119[info] Reapplying settings...
120OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
121
122 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
123 Did you mean allExcludeDependencies ?
124 , retry without global scopes
125[info] Reapplying settings...
126[info] set scmInfo to https://github.com/circe/circe-golden
127[info] set current project to root (in build file:/build/repo/)
128Execute removeScalacOptionsStartingWith: -P:wartremover
129[info] Reapplying settings...
130[info] set scmInfo to https://github.com/circe/circe-golden
131[info] set current project to root (in build file:/build/repo/)
132[success] Total time: 0 s, completed Nov 28, 2025, 1:59:55 PM
133Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.4"],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.3.6\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}
134Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
135Starting build...
136Projects: Set(goldenJVM)
137Starting build for ProjectRef(file:/build/repo/,goldenJVM) (circe-golden)... [0/1]
138OpenCB::Exclude Scala3 specific scalacOption `-rewrite` in Scala 2.12.20 module Global
139OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.4-migration` in Scala 2.12.20 module Global
140OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
141OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
142Compile 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, 8, -Xsemanticdb, -semanticdb-target, /build/repo/golden/.jvm/target/scala-3.7.4/meta, -rewrite, -Wconf:msg=can be rewritten automatically under:s, -source:3.4-migration
143[info] compiling 8 Scala sources to /build/repo/golden/.jvm/target/scala-3.7.4/classes ...
144[info] [patched file /build/repo/golden/src/main/scala/io/circe/testing/golden/GoldenCodecLaws.scala]
145[info] [patched file /build/repo/golden/src/main/scala/io/circe/testing/golden/GoldenCodecTests.scala]
146[info] [patched file /build/repo/golden/src/main/scala/io/circe/testing/golden/Resources.scala]
147[info] [patched file /build/repo/golden/src/main/scala/io/circe/testing/golden/ResourceFileGoldenCodecLaws.scala]
148[info] done compiling
149[info] compiling 4 Scala sources to /build/repo/golden/.jvm/target/scala-3.7.4/classes ...
150[info] done compiling
151[info] compiling 2 Scala sources to /build/repo/golden/.jvm/target/scala-3.7.4/test-classes ...
152[info] done compiling
153
154************************
155Build summary:
156[{
157 "module": "circe-golden",
158 "compile": {"status": "ok", "tookMs": 7274, "warnings": 0, "errors": 0, "sourceVersion": "3.4-migration"},
159 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
160 "test-compile": {"status": "ok", "tookMs": 4921, "warnings": 0, "errors": 0, "sourceVersion": "3.4-migration"},
161 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
162 "publish": {"status": "skipped", "tookMs": 0},
163 "metadata": {
164 "crossScalaVersions": ["2.12.20", "2.13.16", "3.3.6"]
165}
166}]
167************************
168[success] Total time: 28 s, completed Nov 28, 2025, 2:00:23 PM
169[0JChecking patch project/plugins.sbt...
170Checking patch project/build.properties...
171Checking patch build.sbt...
172Applied patch project/plugins.sbt cleanly.
173Applied patch project/build.properties cleanly.
174Applied patch build.sbt cleanly.
175Commit migration rewrites
176Switched to a new branch 'opencb/migrate-source-3.4'
177[opencb/migrate-source-3.4 bfc5e90] Apply Scala compiler rewrites using -source:3.4-migration using Scala 3.7.4
178 4 files changed, 9 insertions(+), 9 deletions(-)
179----
180Preparing build for 3.8.0-RC2
181Scala binary version found: 3.8
182Implicitly using source version 3.8
183Scala binary version found: 3.8
184Implicitly using source version 3.8
185Would try to apply common scalacOption (best-effort, sbt/mill only):
186Append: ,REQUIRE:-source:3.8
187Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
188
189Try apply source patch:
190Path: build.sbt
191Pattern: val scala3 = "3.3.6"
192Replacement: val scala3 = "3.8.0-RC2"
193Successfully applied pattern 'val scala3 = "3.3.6"' in build.sbt
194----
195Starting build for 3.8.0-RC2
196Execute tests: true
197sbt project found:
198Sbt version 1.11.2 is not supported, minimal supported version is 1.11.5
199Enforcing usage of sbt in version 1.11.5
200No prepare script found for project circe/circe-golden
201##################################
202Scala version: 3.8.0-RC2
203Targets: io.circe%circe-golden
204Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":["3.4"],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.3.6\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}
205##################################
206Using extra scalacOptions: ,REQUIRE:-source:3.8
207Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
208[sbt_options] declare -a sbt_options=()
209[process_args] java_version = '17'
210[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
211# Executing command line:
212java
213-Dfile.encoding=UTF-8
214-Dcommunitybuild.scala=3.8.0-RC2
215-Dcommunitybuild.project.dependencies.add=
216-Xmx7G
217-Xms4G
218-Xss8M
219-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
220-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
221-jar
222/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
223"setCrossScalaVersions 3.8.0-RC2"
224"++3.8.0-RC2 -v"
225"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
226"set every credentials := Nil"
227"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
228"removeScalacOptionsStartingWith -P:wartremover"
229
230moduleMappings
231"runBuild 3.8.0-RC2 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":["3.4"],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.3.6\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}""" io.circe%circe-golden"
232
233[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
234[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
235[info] loading project definition from /build/repo/project
236[info] loading settings for project root from build.sbt...
237[info] set scmInfo to https://github.com/circe/circe-golden
238[info] set current project to root (in build file:/build/repo/)
239Execute setCrossScalaVersions: 3.8.0-RC2
240OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in rootJVM/crossScalaVersions
241OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in rootNative/crossScalaVersions
242OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in rootJS/crossScalaVersions
243OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in goldenJVM/crossScalaVersions
244[info] set scmInfo to https://github.com/circe/circe-golden
245OpenCB::Limitting incorrect crossVersions List() -> List(2.13.16) in root/crossScalaVersions
246OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in example1JVM/crossScalaVersions
247[info] set current project to root (in build file:/build/repo/)
248[info] Setting Scala version to 3.8.0-RC2 on 5 projects.
249[info] Switching Scala version on:
250[info] rootJS (2.12.20, 2.13.16, 3.8.0-RC2)
251[info] goldenJVM (2.12.20, 2.13.16, 3.8.0-RC2)
252[info] rootJVM (2.12.20, 2.13.16, 3.8.0-RC2)
253[info] rootNative (2.12.20, 2.13.16, 3.8.0-RC2)
254[info] example1JVM (2.12.20, 2.13.16, 3.8.0-RC2)
255[info] Excluding projects:
256[info] * root (2.13.16)
257[info] Reapplying settings...
258[info] set scmInfo to https://github.com/circe/circe-golden
259[info] set current project to root (in build file:/build/repo/)
260Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
261[info] Reapplying settings...
262[info] set scmInfo to https://github.com/circe/circe-golden
263[info] set current project to root (in build file:/build/repo/)
264[info] Defining Global / credentials, credentials and 4 others.
265[info] The new values will be used by Compile / scalafmtOnly, IntegrationTest / scalafmtOnly and 52 others.
266[info] Run `last` for details.
267[info] Reapplying settings...
268[info] set scmInfo to https://github.com/circe/circe-golden
269[info] set current project to root (in build file:/build/repo/)
270Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
271[info] Reapplying settings...
272OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
273
274 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
275 Did you mean allExcludeDependencies ?
276 , retry without global scopes
277[info] Reapplying settings...
278[info] set scmInfo to https://github.com/circe/circe-golden
279[info] set current project to root (in build file:/build/repo/)
280Execute removeScalacOptionsStartingWith: -P:wartremover
281[info] Reapplying settings...
282[info] set scmInfo to https://github.com/circe/circe-golden
283[info] set current project to root (in build file:/build/repo/)
284[success] Total time: 0 s, completed Nov 28, 2025, 2:00:39 PM
285Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":["3.4"],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.3.6\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}
286Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
287Starting build...
288Projects: Set(goldenJVM)
289Starting build for ProjectRef(file:/build/repo/,goldenJVM) (circe-golden)... [0/1]
290OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
291OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
292OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
293Compile 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/golden/.jvm/target/scala-3.8.0-RC2/meta, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
294[info] compiling 8 Scala sources to /build/repo/golden/.jvm/target/scala-3.8.0-RC2/classes ...
295[info] done compiling
296[info] compiling 2 Scala sources to /build/repo/golden/.jvm/target/scala-3.8.0-RC2/test-classes ...
297[info] done compiling
298[info] OldVisitSuite:
299[info] Codec[Visit]
300[info] - should codec.consistency with Codec.from
301[info] - should codec.consistency with accumulating
302[info] - should codec.decoder serializability
303[info] - should codec.encoder serializability
304[info] - should codec.roundTrip
305[info] codecForVisit
306[info] - should decode JSON that's known to be good
307[info] - should produce the expected results
308[info] VisitSuite:
309[info] GoldenCodec[Visit]
310[info] - should goldenCodec.consistency with Codec.from
311[info] - should goldenCodec.consistency with accumulating
312[info] - should goldenCodec.decoder serializability
313[info] - should goldenCodec.decoding golden files
314[info] - should goldenCodec.encoder serializability
315[info] - should goldenCodec.encoding golden files
316[info] - should goldenCodec.roundTrip
317[info] OldVisitRepositorySuite:
318[info] Codec[VisitRepository]
319[info] - should codec.consistency with Codec.from
320[info] - should codec.consistency with accumulating
321[info] - should codec.decoder serializability
322[info] - should codec.encoder serializability
323[info] - should codec.roundTrip
324[info] codecForVisitRepository
325[info] - should decode JSON that's known to be good
326[info] - should produce the expected results
327[info] VisitRepositorySuite:
328[info] GoldenCodec[VisitRepository]
329[info] - should goldenCodec.consistency with Codec.from
330[info] - should goldenCodec.consistency with accumulating
331[info] - should goldenCodec.decoder serializability
332[info] - should goldenCodec.decoding golden files
333[info] - should goldenCodec.encoder serializability
334[info] - should goldenCodec.encoding golden files
335[info] - should goldenCodec.roundTrip
336
337************************
338Build summary:
339[{
340 "module": "circe-golden",
341 "compile": {"status": "ok", "tookMs": 9650, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
342 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
343 "test-compile": {"status": "ok", "tookMs": 3648, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
344 "test": {"status": "ok", "tookMs": 1471, "passed": 28, "failed": 0, "ignored": 0, "skipped": 0, "total": 28, "byFramework": [{"framework": "unknown", "stats": {"passed": 28, "failed": 0, "ignored": 0, "skipped": 0, "total": 28}}]},
345 "publish": {"status": "skipped", "tookMs": 0},
346 "metadata": {
347 "crossScalaVersions": ["2.12.20", "2.13.16", "3.3.6"]
348}
349}]
350************************
351[success] Total time: 23 s, completed Nov 28, 2025, 2:01:02 PM
352[0JChecking patch project/plugins.sbt...
353Checking patch project/build.properties...
354Checking patch build.sbt...
355Applied patch project/plugins.sbt cleanly.
356Applied patch project/build.properties cleanly.
357Applied patch build.sbt cleanly.