Build Logs

scalapb/scalapb-json4s • dotty-staging/dotty:fix-23773:2025-11-22

Errors

0

Warnings

8

Total Lines

315

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