Build Logs
scalapb/scalapb-json4s • 3.8.0-RC2:2025-11-27
Errors
0
Warnings
8
Total Lines
313
1##################################
2Clonning https://github.com/scalapb/scalapb-json4s.git into /build/repo using revision v0.12.2
3##################################
4Note: switching to 'f2776a6a0641731e0005440a1679eb62ceac3ec0'.
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
21Using target Scala version for migration: 3.7.4
22Migrating project for -source:3.4 using Scala 3.7.4
23----
24Preparing build for 3.7.4
25Would try to apply common scalacOption (best-effort, sbt/mill only):
26Append: -rewrite,REQUIRE:-source:3.4-migration
27Remove: -indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
28----
29Starting build for 3.7.4
30Execute tests: false
31sbt project found:
32Sbt version 1.9.7 is not supported, minimal supported version is 1.11.5
33Enforcing usage of sbt in version 1.11.5
34No prepare script found for project scalapb/scalapb-json4s
35##################################
36Scala version: 3.7.4
37Targets: com.thesamet.scalapb%scalapb-json4s
38Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.4"],"sourcePatches":[]}
39##################################
40Using extra scalacOptions: -rewrite,REQUIRE:-source:3.4-migration
41Filtering out scalacOptions: -indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
42[sbt_options] declare -a sbt_options=()
43[process_args] java_version = '17'
44[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
45# Executing command line:
46java
47-Dfile.encoding=UTF-8
48-Dcommunitybuild.scala=3.7.4
49-Dcommunitybuild.project.dependencies.add=
50-Xmx7G
51-Xms4G
52-Xss8M
53-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
54-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
55-jar
56/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
57"setCrossScalaVersions 3.7.4"
58"++3.7.4 -v"
59"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""
60"set every credentials := Nil"
61"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
62"removeScalacOptionsStartingWith -P:wartremover"
63
64moduleMappings
65"runBuild 3.7.4 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.4"],"sourcePatches":[]}""" com.thesamet.scalapb%scalapb-json4s"
66
67[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
68[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
69[info] loading project definition from /build/repo/project
70[info] compiling 2 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
71[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
72[info] Compilation completed in 8.73s.
73[info] done compiling
74[info] loading settings for project root from build.sbt, sonatype.sbt...
75[info] set current project to scalapb-json4s (in build file:/build/repo/)
76Execute setCrossScalaVersions: 3.7.4
77OpenCB::Changing crossVersion 3.3.3 -> 3.7.4 in root/crossScalaVersions
78[info] set current project to scalapb-json4s (in build file:/build/repo/)
79[info] Setting Scala version to 3.7.4 on 1 projects.
80[info] Switching Scala version on:
81[info] * root (2.12.18, 2.13.16, 3.7.4, 2.13.12)
82[info] Excluding projects:
83[info] Reapplying settings...
84[info] set current project to scalapb-json4s (in build file:/build/repo/)
85Execute 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
86[info] Reapplying settings...
87[info] set current project to scalapb-json4s (in build file:/build/repo/)
88[info] Defining Global / credentials, credentials
89[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 7 others.
90[info] Run `last` for details.
91[info] Reapplying settings...
92[info] set current project to scalapb-json4s (in build file:/build/repo/)
93Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
94[info] Reapplying settings...
95OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
96
97 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
98 Did you mean allExcludeDependencies ?
99 , retry without global scopes
100[info] Reapplying settings...
101[info] set current project to scalapb-json4s (in build file:/build/repo/)
102Execute removeScalacOptionsStartingWith: -P:wartremover
103[info] Reapplying settings...
104[info] set current project to scalapb-json4s (in build file:/build/repo/)
105[success] Total time: 0 s, completed Nov 27, 2025, 9:47:35 PM
106Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.4"],"sourcePatches":[]}
107Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
108Starting build...
109Projects: Set(root)
110Starting build for ProjectRef(file:/build/repo/,root) (scalapb-json4s)... [0/1]
111OpenCB::Exclude Scala3 specific scalacOption `-rewrite` in Scala 2.12.20 module Global
112OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.4-migration` in Scala 2.12.20 module Global
113OpenCB::Exclude Scala3 specific scalacOption `-rewrite` in Scala 2.12.20 module Scope(Select(BuildRef(file:/build/repo/)), Zero, Zero, Zero)
114OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.4-migration` in Scala 2.12.20 module Scope(Select(BuildRef(file:/build/repo/)), Zero, Zero, Zero)
115OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
116Compile scalacOptions: -rewrite, -Wconf:msg=can be rewritten automatically under:s, -source:3.4-migration
117[info] compiling 6 Scala sources to /build/repo/target/scala-3.7.4/classes ...
118[info] [patched file /build/repo/src/main/scala/scalapb/json4s/JsonFormat.scala]
119[info] [patched file /build/repo/src/main/scala/scalapb/json4s/AnyFormat.scala]
120[warn] there were 2 deprecation warnings; re-run with -deprecation for details
121[warn] one warning found
122[info] done compiling
123[info] compiling 2 Scala sources to /build/repo/target/scala-3.7.4/classes ...
124[warn] there were 2 deprecation warnings; re-run with -deprecation for details
125[warn] one warning found
126[info] done compiling
127[info] Compiling 7 protobuf files to /build/repo/target/scala-3.7.4/src_managed/test
128anytests.proto:6:1: warning: Import google/protobuf/struct.proto is unused.
129[info] compiling 46 Scala sources and 7 Java sources to /build/repo/target/scala-3.7.4/test-classes ...
130[info] [patched file /build/repo/target/scala-3.7.4/src_managed/test/jsontest/oneof/OneOfMessage.scala]
131[info] [patched file /build/repo/target/scala-3.7.4/src_managed/test/scalapb/e2e/repeatables/RepeatablesProto.scala]
132[info] [patched file /build/repo/target/scala-3.7.4/src_managed/test/jsontest/test3/EnumTest3.scala]
133[info] [patched file /build/repo/target/scala-3.7.4/src_managed/test/jsontest/test3/Wrapper.scala]
134[info] [patched file /build/repo/target/scala-3.7.4/src_managed/test/jsontest/test/MyTest.scala]
135[info] [patched file /build/repo/target/scala-3.7.4/src_managed/test/jsontest/test/IntFields.scala]
136[info] [patched file /build/repo/target/scala-3.7.4/src_managed/test/jsontest/custom_collection/Studio.scala]
137[info] [patched file /build/repo/src/test/scala/scalapb/json4s/JsonFormatSpec.scala]
138[info] [patched file /build/repo/target/scala-3.7.4/src_managed/test/jsontest/test3/StructTest.scala]
139[info] [patched file /build/repo/target/scala-3.7.4/src_managed/test/jsontest/issue315/Issue315Proto.scala]
140[info] [patched file /build/repo/target/scala-3.7.4/src_managed/test/jsontest/anytests/AnyContainer.scala]
141[info] [patched file /build/repo/target/scala-3.7.4/src_managed/test/jsontest/issue315/Foo.scala]
142[info] [patched file /build/repo/target/scala-3.7.4/src_managed/test/jsontest/anytests/AnytestsProto.scala]
143[info] [patched file /build/repo/target/scala-3.7.4/src_managed/test/jsontest/test/TestProto.scala]
144[info] [patched file /build/repo/target/scala-3.7.4/src_managed/test/jsontest/test3/ValueTest.scala]
145[info] [patched file /build/repo/target/scala-3.7.4/src_managed/test/jsontest/anytests/AnyTest.scala]
146[info] [patched file /build/repo/target/scala-3.7.4/src_managed/test/jsontest/oneof/Pair.scala]
147[info] [patched file /build/repo/target/scala-3.7.4/src_managed/test/jsontest/oneof/OneOf.scala]
148[info] [patched file /build/repo/target/scala-3.7.4/src_managed/test/jsontest/issue315/Msg.scala]
149[info] [patched file /build/repo/target/scala-3.7.4/src_managed/test/jsontest/test3/MyTest3.scala]
150[info] [patched file /build/repo/target/scala-3.7.4/src_managed/test/jsontest/issue315/Bar.scala]
151[info] [patched file /build/repo/target/scala-3.7.4/src_managed/test/jsontest/oneof/Dictionary.scala]
152[info] [patched file /build/repo/target/scala-3.7.4/src_managed/test/jsontest/test/WellKnownTest.scala]
153[info] [patched file /build/repo/target/scala-3.7.4/src_managed/test/scalapb/e2e/repeatables/RepeatablesTest.scala]
154[info] [patched file /build/repo/target/scala-3.7.4/src_managed/test/jsontest/oneof/OneofProto.scala]
155[info] [patched file /build/repo/target/scala-3.7.4/src_managed/test/jsontest/anytests/ManyAnyTest.scala]
156[info] [patched file /build/repo/target/scala-3.7.4/src_managed/test/jsontest/custom_collection/Guitar.scala]
157[info] [patched file /build/repo/target/scala-3.7.4/src_managed/test/jsontest/custom_collection/GoogleWrapped.scala]
158[info] [patched file /build/repo/target/scala-3.7.4/src_managed/test/jsontest/custom_collection/CustomCollectionProto.scala]
159[info] [patched file /build/repo/target/scala-3.7.4/src_managed/test/jsontest/test/EnumTest.scala]
160[info] [patched file /build/repo/target/scala-3.7.4/src_managed/test/jsontest/test/TestAllTypes.scala]
161[info] [patched file /build/repo/src/test/scala/scalapb/json4s/JavaAssertions.scala]
162[info] [patched file /build/repo/target/scala-3.7.4/src_managed/test/jsontest/test3/Test3Proto.scala]
163[info] done compiling
164[info] compiling 46 Scala sources and 7 Java sources to /build/repo/target/scala-3.7.4/test-classes ...
165[info] done compiling
166
167************************
168Build summary:
169[{
170 "module": "scalapb-json4s",
171 "compile": {"status": "ok", "tookMs": 8412, "warnings": 0, "errors": 0, "sourceVersion": "3.4-migration"},
172 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
173 "test-compile": {"status": "ok", "tookMs": 27117, "warnings": 0, "errors": 0, "sourceVersion": "3.4-migration"},
174 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
175 "publish": {"status": "skipped", "tookMs": 0},
176 "metadata": {
177 "crossScalaVersions": ["2.12.18", "2.13.16", "3.3.3"]
178}
179}]
180************************
181[success] Total time: 67 s (0:01:07.0), completed Nov 27, 2025, 9:48:41 PM
182[0JChecking patch project/plugins.sbt...
183Checking patch project/build.properties...
184Checking patch build.sbt...
185Applied patch project/plugins.sbt cleanly.
186Applied patch project/build.properties cleanly.
187Applied patch build.sbt cleanly.
188Commit migration rewrites
189Switched to a new branch 'opencb/migrate-source-3.4'
190[opencb/migrate-source-3.4 d3a56a4] Apply Scala compiler rewrites using -source:3.4-migration using Scala 3.7.4
191 4 files changed, 18 insertions(+), 18 deletions(-)
192----
193Preparing build for 3.8.0-RC2
194Scala binary version found: 3.8
195Implicitly using source version 3.8
196Scala binary version found: 3.8
197Implicitly using source version 3.8
198Would try to apply common scalacOption (best-effort, sbt/mill only):
199Append: ,REQUIRE:-source:3.8
200Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
201----
202Starting build for 3.8.0-RC2
203Execute tests: false
204sbt project found:
205Sbt version 1.9.7 is not supported, minimal supported version is 1.11.5
206Enforcing usage of sbt in version 1.11.5
207No prepare script found for project scalapb/scalapb-json4s
208##################################
209Scala version: 3.8.0-RC2
210Targets: com.thesamet.scalapb%scalapb-json4s
211Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.4"],"sourcePatches":[]}
212##################################
213Using extra scalacOptions: ,REQUIRE:-source:3.8
214Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
215[sbt_options] declare -a sbt_options=()
216[process_args] java_version = '17'
217[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
218# Executing command line:
219java
220-Dfile.encoding=UTF-8
221-Dcommunitybuild.scala=3.8.0-RC2
222-Dcommunitybuild.project.dependencies.add=
223-Xmx7G
224-Xms4G
225-Xss8M
226-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
227-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
228-jar
229/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
230"setCrossScalaVersions 3.8.0-RC2"
231"++3.8.0-RC2 -v"
232"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
233"set every credentials := Nil"
234"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
235"removeScalacOptionsStartingWith -P:wartremover"
236
237moduleMappings
238"runBuild 3.8.0-RC2 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.4"],"sourcePatches":[]}""" com.thesamet.scalapb%scalapb-json4s"
239
240[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
241[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
242[info] loading project definition from /build/repo/project
243[info] loading settings for project root from build.sbt, sonatype.sbt...
244[info] set current project to scalapb-json4s (in build file:/build/repo/)
245Execute setCrossScalaVersions: 3.8.0-RC2
246OpenCB::Changing crossVersion 3.3.3 -> 3.8.0-RC2 in root/crossScalaVersions
247[info] set current project to scalapb-json4s (in build file:/build/repo/)
248[info] Setting Scala version to 3.8.0-RC2 on 1 projects.
249[info] Switching Scala version on:
250[info] * root (2.12.18, 2.13.16, 3.8.0-RC2, 2.13.12)
251[info] Excluding projects:
252[info] Reapplying settings...
253[info] set current project to scalapb-json4s (in build file:/build/repo/)
254Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
255[info] Reapplying settings...
256[info] set current project to scalapb-json4s (in build file:/build/repo/)
257[info] Defining Global / credentials, credentials
258[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 7 others.
259[info] Run `last` for details.
260[info] Reapplying settings...
261[info] set current project to scalapb-json4s (in build file:/build/repo/)
262Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
263[info] Reapplying settings...
264OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
265
266 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
267 Did you mean allExcludeDependencies ?
268 , retry without global scopes
269[info] Reapplying settings...
270[info] set current project to scalapb-json4s (in build file:/build/repo/)
271Execute removeScalacOptionsStartingWith: -P:wartremover
272[info] Reapplying settings...
273[info] set current project to scalapb-json4s (in build file:/build/repo/)
274[success] Total time: 0 s, completed Nov 27, 2025, 9:48:50 PM
275Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.4"],"sourcePatches":[]}
276Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
277Starting build...
278Projects: Set(root)
279Starting build for ProjectRef(file:/build/repo/,root) (scalapb-json4s)... [0/1]
280OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
281OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Scope(Select(BuildRef(file:/build/repo/)), Zero, Zero, Zero)
282OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
283Compile scalacOptions: -Wconf:msg=can be rewritten automatically under:s, -source:3.8
284[info] compiling 6 Scala sources to /build/repo/target/scala-3.8.0-RC2/classes ...
285[warn] there were 2 deprecation warnings; re-run with -deprecation for details
286[warn] one warning found
287[info] done compiling
288[info] Compiling 7 protobuf files to /build/repo/target/scala-3.8.0-RC2/src_managed/test
289anytests.proto:6:1: warning: Import google/protobuf/struct.proto is unused.
290[info] compiling 46 Scala sources and 7 Java sources to /build/repo/target/scala-3.8.0-RC2/test-classes ...
291[info] done compiling
292
293************************
294Build summary:
295[{
296 "module": "scalapb-json4s",
297 "compile": {"status": "ok", "tookMs": 10040, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
298 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
299 "test-compile": {"status": "ok", "tookMs": 24193, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
300 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
301 "publish": {"status": "skipped", "tookMs": 0},
302 "metadata": {
303 "crossScalaVersions": ["2.12.18", "2.13.16", "3.3.3"]
304}
305}]
306************************
307[success] Total time: 42 s, completed Nov 27, 2025, 9:49:32 PM
308[0JChecking patch project/plugins.sbt...
309Checking patch project/build.properties...
310Checking patch build.sbt...
311Applied patch project/plugins.sbt cleanly.
312Applied patch project/build.properties cleanly.
313Applied patch build.sbt cleanly.