Build Logs
scalapb-json/scalapb-playjson • 3.8.0-RC3:2025-12-04
Errors
0
Warnings
66
Total Lines
560
1##################################
2Clonning https://github.com/scalapb-json/scalapb-playjson.git into /build/repo using revision v0.18.0
3##################################
4Note: switching to '8945f4792a2e3514cd05f154cf3f3feaa275208e'.
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.10.0 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-json/scalapb-playjson
35##################################
36Scala version: 3.7.4
37Targets: io.github.scalapb-json%scalapb-playjson io.github.scalapb-json%scalapb-playjson-macros
38Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{},"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-Xmx4G
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":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.4"],"sourcePatches":[]}""" io.github.scalapb-json%scalapb-playjson io.github.scalapb-json%scalapb-playjson-macros"
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 3 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.578s.
73[info] done compiling
74[info] loading settings for project repo from build.sbt, version.sbt...
75[info] set current project to repo (in build file:/build/repo/)
76[warn] there are 4 keys that are not used by any other settings/tasks:
77[warn]
78[warn] * repo / playJsonVersion
79[warn] +- /build/repo/build.sbt:155
80[warn] * testsJS / playJsonVersion
81[warn] +- /build/repo/build.sbt:190
82[warn] * testsJVM / playJsonVersion
83[warn] +- /build/repo/build.sbt:190
84[warn] * testsNative / playJsonVersion
85[warn] +- /build/repo/build.sbt:190
86[warn]
87[warn] note: a setting might still be used by a command; to exclude a key from this `lintUnused` check
88[warn] either append it to `Global / excludeLintKeys` or call .withRank(KeyRanks.Invisible) on the key
89Execute setCrossScalaVersions: 3.7.4
90OpenCB::Changing crossVersion 3.3.3 -> 3.7.4 in scalapbPlayJsonJS/crossScalaVersions
91OpenCB::Changing crossVersion 3.3.3 -> 3.7.4 in scalapbPlayJsonNative/crossScalaVersions
92OpenCB::Changing crossVersion 3.3.3 -> 3.7.4 in repo/crossScalaVersions
93OpenCB::Changing crossVersion 3.3.3 -> 3.7.4 in testsJS/crossScalaVersions
94OpenCB::Changing crossVersion 3.3.3 -> 3.7.4 in testsJVM/crossScalaVersions
95OpenCB::Changing crossVersion 3.3.3 -> 3.7.4 in testsNative/crossScalaVersions
96OpenCB::Changing crossVersion 3.3.3 -> 3.7.4 in macros/crossScalaVersions
97OpenCB::Changing crossVersion 3.3.3 -> 3.7.4 in scalapbPlayJsonJVM/crossScalaVersions
98[info] set current project to repo (in build file:/build/repo/)
99[info] Setting Scala version to 3.7.4 on 8 projects.
100[info] Switching Scala version on:
101[info] scalapbPlayJsonJS (2.12.19, 2.13.14, 3.7.4)
102[info] scalapbPlayJsonJVM (2.12.19, 2.13.14, 3.7.4)
103[info] testsJS (2.12.19, 2.13.14, 3.7.4)
104[info] macros (2.12.19, 2.13.14, 3.7.4)
105[info] scalapbPlayJsonNative (2.12.19, 2.13.14, 3.7.4)
106[info] * repo (2.12.19, 2.13.14, 3.7.4)
107[info] testsJVM (2.12.19, 2.13.14, 3.7.4)
108[info] testsNative (2.12.19, 2.13.14, 3.7.4)
109[info] Excluding projects:
110[info] Reapplying settings...
111[info] set current project to repo (in build file:/build/repo/)
112Execute 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
113[info] Reapplying settings...
114[info] set current project to repo (in build file:/build/repo/)
115[info] Defining Global / credentials, credentials and 6 others.
116[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 63 others.
117[info] Run `last` for details.
118[info] Reapplying settings...
119[info] set current project to repo (in build file:/build/repo/)
120Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
121[info] Reapplying settings...
122OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
123
124 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
125 Did you mean allExcludeDependencies ?
126 , retry without global scopes
127[info] Reapplying settings...
128[info] set current project to repo (in build file:/build/repo/)
129Execute removeScalacOptionsStartingWith: -P:wartremover
130[info] Reapplying settings...
131[info] set current project to repo (in build file:/build/repo/)
132[success] Total time: 0 s, completed Dec 4, 2025, 3:47:48 PM
133Build config: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.4"],"sourcePatches":[]}
134Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
135Starting build...
136Projects: Set(scalapbPlayJsonJVM, macros)
137Starting build for ProjectRef(file:/build/repo/,scalapbPlayJsonJVM) (scalapb-playjson)... [0/2]
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 '-feature', matches setting pattern '^-?-feature'
141OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
142Compile scalacOptions: -Ywarn-unused:imports, -language:existentials, -rewrite, -Wconf:msg=can be rewritten automatically under:s, -source:3.4-migration
143[info] compiling 5 Scala sources to /build/repo/core/jvm/target/scala-3.7.4/classes ...
144[warn] bad option '-Ywarn-unused:imports' was ignored
145[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/core/shared/src/main/scala/scalapb_playjson/StructFormat.scala:21:34
146[warn] 21 | val kind: struct.Value.Kind = v match {
147[warn] | ^
148[warn] | match may not be exhaustive.
149[warn] |
150[warn] | It would fail on pattern case: JsTrue, JsFalse
151[warn] |
152[warn] | longer explanation available when compiling with `-explain`
153[info] [patched file /build/repo/core/shared/src/main/scala/scalapb_playjson/JsonFormat.scala]
154[warn] two warnings found
155[info] done compiling
156[info] compiling 1 Scala source to /build/repo/core/jvm/target/scala-3.7.4/classes ...
157[warn] bad option '-Ywarn-unused:imports' was ignored
158[warn] one warning found
159[info] done compiling
160[info] Compiling 7 protobuf files to /build/repo/core/jvm/target/scala-3.7.4/src_managed/test
161[libprotobuf WARNING src/google/protobuf/compiler/java/file.cc:235] oneof.proto: The file's outer class name, "Oneof", matches the name of one of the types declared inside it when case is ignored. This can cause compilation issues on Windows / MacOS. Please either rename the type or use the java_outer_classname option to specify a different outer class name for the .proto file to be safe.
162[info] compiling 46 Scala sources and 7 Java sources to /build/repo/core/jvm/target/scala-3.7.4/test-classes ...
163[warn] bad option '-Ywarn-unused:imports' was ignored
164[info] [patched file /build/repo/core/jvm/src/test/scala/scalapb_playjson/RepeatablesSpecJVM.scala]
165[info] [patched file /build/repo/core/shared/src/test/scala/scalapb_playjson/RepeatableTestGen.scala]
166[info] [patched file /build/repo/core/jvm/src/test/scala/scalapb_playjson/JavaAssertionsPlatform.scala]
167[info] [patched file /build/repo/core/shared/src/test/scala/scalapb_playjson/JsonFormatSpecBase.scala]
168[warn] there were 21 deprecation warnings; re-run with -deprecation for details
169[warn] two warnings found
170[info] /build/repo/core/jvm/target/scala-3.7.4/src_managed/test/jsontest/Test.java: Some input files use or override a deprecated API.
171[info] /build/repo/core/jvm/target/scala-3.7.4/src_managed/test/jsontest/Test.java: Recompile with -Xlint:deprecation for details.
172[info] done compiling
173[info] compiling 4 Scala sources to /build/repo/core/jvm/target/scala-3.7.4/test-classes ...
174[warn] bad option '-Ywarn-unused:imports' was ignored
175[warn] there were 7 deprecation warnings; re-run with -deprecation for details
176[warn] two warnings found
177[info] done compiling
178[info] compiling 2 Scala sources to /build/repo/core/jvm/target/scala-3.7.4/test-classes ...
179[warn] bad option '-Ywarn-unused:imports' was ignored
180[warn] there were 8 deprecation warnings; re-run with -deprecation for details
181[warn] four warnings found
182[info] done compiling
183Starting build for ProjectRef(file:/build/repo/,macros) (scalapb-playjson-macros)... [1/2]
184Compile scalacOptions: -Ywarn-unused:imports, -language:existentials, -rewrite, -Wconf:msg=can be rewritten automatically under:s, -source:3.4-migration
185[info] compiling 1 Scala source to /build/repo/macros/target/scala-3.7.4/classes ...
186[warn] bad option '-Ywarn-unused:imports' was ignored
187[info] [patched file /build/repo/macros/src/main/scala-3/scalapb_playjson/ProtoMacrosPlay.scala]
188[warn] one warning found
189[info] done compiling
190[info] compiling 1 Scala source to /build/repo/macros/target/scala-3.7.4/classes ...
191[warn] bad option '-Ywarn-unused:imports' was ignored
192[warn] one warning found
193[info] done compiling
194
195************************
196Build summary:
197[{
198 "module": "scalapb-playjson",
199 "compile": {"status": "ok", "tookMs": 7923, "warnings": 1, "errors": 0, "sourceVersion": "3.4-migration"},
200 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
201 "test-compile": {"status": "ok", "tookMs": 31359, "warnings": 0, "errors": 0, "sourceVersion": "3.4-migration"},
202 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
203 "publish": {"status": "skipped", "tookMs": 0},
204 "metadata": {
205 "crossScalaVersions": ["2.12.19", "2.13.14", "3.3.3"]
206}
207},{
208 "module": "scalapb-playjson-macros",
209 "compile": {"status": "ok", "tookMs": 869, "warnings": 0, "errors": 0, "sourceVersion": "3.4-migration"},
210 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
211 "test-compile": {"status": "ok", "tookMs": 710, "warnings": 0, "errors": 0, "sourceVersion": "3.4-migration"},
212 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
213 "publish": {"status": "skipped", "tookMs": 0},
214 "metadata": {
215 "crossScalaVersions": ["2.12.19", "2.13.14", "3.3.3"]
216}
217}]
218************************
219[success] Total time: 73 s (0:01:13.0), completed Dec 4, 2025, 3:49:02 PM
220[0JChecking patch project/plugins.sbt...
221Checking patch project/build.properties...
222Checking patch build.sbt...
223Applied patch project/plugins.sbt cleanly.
224Applied patch project/build.properties cleanly.
225Applied patch build.sbt cleanly.
226Commit migration rewrites
227Switched to a new branch 'opencb/migrate-source-3.4'
228[opencb/migrate-source-3.4 fe6307d] Apply Scala compiler rewrites using -source:3.4-migration using Scala 3.7.4
229 6 files changed, 23 insertions(+), 23 deletions(-)
230----
231Preparing build for 3.8.0-RC3
232Scala binary version found: 3.8
233Implicitly using source version 3.8
234Scala binary version found: 3.8
235Implicitly using source version 3.8
236Would try to apply common scalacOption (best-effort, sbt/mill only):
237Append: ,REQUIRE:-source:3.8
238Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
239----
240Starting build for 3.8.0-RC3
241Execute tests: true
242sbt project found:
243Sbt version 1.10.0 is not supported, minimal supported version is 1.11.5
244Enforcing usage of sbt in version 1.11.5
245No prepare script found for project scalapb-json/scalapb-playjson
246##################################
247Scala version: 3.8.0-RC3
248Targets: io.github.scalapb-json%scalapb-playjson io.github.scalapb-json%scalapb-playjson-macros
249Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":["3.4"],"sourcePatches":[]}
250##################################
251Using extra scalacOptions: ,REQUIRE:-source:3.8
252Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
253[sbt_options] declare -a sbt_options=()
254[process_args] java_version = '17'
255[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
256# Executing command line:
257java
258-Xmx4G
259-Dcommunitybuild.scala=3.8.0-RC3
260-Dcommunitybuild.project.dependencies.add=
261-Xmx7G
262-Xms4G
263-Xss8M
264-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
265-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
266-jar
267/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
268"setCrossScalaVersions 3.8.0-RC3"
269"++3.8.0-RC3 -v"
270"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
271"set every credentials := Nil"
272"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
273"removeScalacOptionsStartingWith -P:wartremover"
274
275moduleMappings
276"runBuild 3.8.0-RC3 """{"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":["3.4"],"sourcePatches":[]}""" io.github.scalapb-json%scalapb-playjson io.github.scalapb-json%scalapb-playjson-macros"
277
278[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
279[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
280[info] loading project definition from /build/repo/project
281[info] loading settings for project repo from build.sbt, version.sbt...
282[info] set current project to repo (in build file:/build/repo/)
283[warn] there are 4 keys that are not used by any other settings/tasks:
284[warn]
285[warn] * repo / playJsonVersion
286[warn] +- /build/repo/build.sbt:155
287[warn] * testsJS / playJsonVersion
288[warn] +- /build/repo/build.sbt:190
289[warn] * testsJVM / playJsonVersion
290[warn] +- /build/repo/build.sbt:190
291[warn] * testsNative / playJsonVersion
292[warn] +- /build/repo/build.sbt:190
293[warn]
294[warn] note: a setting might still be used by a command; to exclude a key from this `lintUnused` check
295[warn] either append it to `Global / excludeLintKeys` or call .withRank(KeyRanks.Invisible) on the key
296Execute setCrossScalaVersions: 3.8.0-RC3
297OpenCB::Changing crossVersion 3.3.3 -> 3.8.0-RC3 in scalapbPlayJsonJS/crossScalaVersions
298OpenCB::Changing crossVersion 3.3.3 -> 3.8.0-RC3 in scalapbPlayJsonNative/crossScalaVersions
299OpenCB::Changing crossVersion 3.3.3 -> 3.8.0-RC3 in testsJS/crossScalaVersions
300OpenCB::Changing crossVersion 3.3.3 -> 3.8.0-RC3 in repo/crossScalaVersions
301OpenCB::Changing crossVersion 3.3.3 -> 3.8.0-RC3 in testsJVM/crossScalaVersions
302OpenCB::Changing crossVersion 3.3.3 -> 3.8.0-RC3 in testsNative/crossScalaVersions
303OpenCB::Changing crossVersion 3.3.3 -> 3.8.0-RC3 in macros/crossScalaVersions
304OpenCB::Changing crossVersion 3.3.3 -> 3.8.0-RC3 in scalapbPlayJsonJVM/crossScalaVersions
305[info] set current project to repo (in build file:/build/repo/)
306[info] Setting Scala version to 3.8.0-RC3 on 8 projects.
307[info] Switching Scala version on:
308[info] scalapbPlayJsonJS (2.12.19, 2.13.14, 3.8.0-RC3)
309[info] scalapbPlayJsonJVM (2.12.19, 2.13.14, 3.8.0-RC3)
310[info] testsJS (2.12.19, 2.13.14, 3.8.0-RC3)
311[info] macros (2.12.19, 2.13.14, 3.8.0-RC3)
312[info] scalapbPlayJsonNative (2.12.19, 2.13.14, 3.8.0-RC3)
313[info] * repo (2.12.19, 2.13.14, 3.8.0-RC3)
314[info] testsJVM (2.12.19, 2.13.14, 3.8.0-RC3)
315[info] testsNative (2.12.19, 2.13.14, 3.8.0-RC3)
316[info] Excluding projects:
317[info] Reapplying settings...
318[info] set current project to repo (in build file:/build/repo/)
319Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
320[info] Reapplying settings...
321[info] set current project to repo (in build file:/build/repo/)
322[info] Defining Global / credentials, credentials and 6 others.
323[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 63 others.
324[info] Run `last` for details.
325[info] Reapplying settings...
326[info] set current project to repo (in build file:/build/repo/)
327Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
328[info] Reapplying settings...
329OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
330
331 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
332 Did you mean allExcludeDependencies ?
333 , retry without global scopes
334[info] Reapplying settings...
335[info] set current project to repo (in build file:/build/repo/)
336Execute removeScalacOptionsStartingWith: -P:wartremover
337[info] Reapplying settings...
338[info] set current project to repo (in build file:/build/repo/)
339[success] Total time: 0 s, completed Dec 4, 2025, 3:49:13 PM
340Build config: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":["3.4"],"sourcePatches":[]}
341Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
342Starting build...
343Projects: Set(scalapbPlayJsonJVM, macros)
344Starting build for ProjectRef(file:/build/repo/,scalapbPlayJsonJVM) (scalapb-playjson)... [0/2]
345OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
346OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
347OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
348Compile scalacOptions: -Ywarn-unused:imports, -language:existentials, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
349[info] compiling 5 Scala sources to /build/repo/core/jvm/target/scala-3.8.0-RC3/classes ...
350[warn] bad option '-Ywarn-unused:imports' was ignored
351[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/core/shared/src/main/scala/scalapb_playjson/StructFormat.scala:21:34
352[warn] 21 | val kind: struct.Value.Kind = v match {
353[warn] | ^
354[warn] | match may not be exhaustive.
355[warn] |
356[warn] | It would fail on pattern case: JsTrue, JsFalse
357[warn] |
358[warn] | longer explanation available when compiling with `-explain`
359[warn] two warnings found
360[info] done compiling
361[info] Compiling 7 protobuf files to /build/repo/core/jvm/target/scala-3.8.0-RC3/src_managed/test
362[libprotobuf WARNING src/google/protobuf/compiler/java/file.cc:235] oneof.proto: The file's outer class name, "Oneof", matches the name of one of the types declared inside it when case is ignored. This can cause compilation issues on Windows / MacOS. Please either rename the type or use the java_outer_classname option to specify a different outer class name for the .proto file to be safe.
363[info] compiling 46 Scala sources and 7 Java sources to /build/repo/core/jvm/target/scala-3.8.0-RC3/test-classes ...
364[warn] bad option '-Ywarn-unused:imports' was ignored
365[warn] there were 21 deprecation warnings; re-run with -deprecation for details
366[warn] two warnings found
367[info] /build/repo/core/jvm/target/scala-3.8.0-RC3/src_managed/test/jsontest/Test.java: Some input files use or override a deprecated API.
368[info] /build/repo/core/jvm/target/scala-3.8.0-RC3/src_managed/test/jsontest/Test.java: Recompile with -Xlint:deprecation for details.
369[info] done compiling
370
371scalapb_playjson.RepeatablesSpecJVM$
372`- UnknownFieldSet same as java .................................................. Passed(100,0,LongSeed(1493511704141)) 794ms
373[info] scalapb_playjson.RepeatablesSpecJVM$ 823 ms
374[info] PrimitiveWrappersSpec:
375[info] Empty object
376[info] - should give empty json for Wrapper
377[info] primitive values
378[info] - should serialize properly
379[info] primitive values
380[info] - should parse properly
381[info] StructFormatSpec:
382[info] Empty value
383[info] - should be serialized to null
384[info] NullValue
385[info] - should be serialized and parsed from JSON correctly
386[info] StructFormatSpecJVM:
387[info] Empty value
388[info] - should be serialized to null
389[info] Value
390[info] - should be serialized the same as in Java (and parsed back to original)
391[info] Struct
392[info] - should be serialized the same as in Java (and parsed back to original)
393[info] ListValue
394[info] - should be serialized the same as in Java (and parsed back to original)
395[info] NullValue
396[info] - should be serialized and parsed from JSON correctly
397[info] JsonFormatSpec:
398[info] Empty object
399[info] - should give empty json
400[info] Empty object
401[info] - should give empty json for MyTest3
402[info] Zero maps
403[info] - should give correct json
404[info] Zero maps
405[info] - should give correct json for MyTest3
406[info] Set treat
407[info] - should give correct json
408[info] Parse treat
409[info] - should give correct proto with proto2
410[info] Parse treat
411[info] - should give correct proto with proto3
412[info] JsonFormat
413[info] - should encode and decode enums for proto3
414[info] parsing one offs
415[info] - should work correctly for issue 315
416[info] parsing null
417[info] - should give default value
418[info] TestProto
419[info] - should be TestJson when converted to Proto
420[info] TestJson
421[info] - should be TestProto when parsed from json
422[info] Empty object
423[info] - should give full json if including default values
424[info] Empty object
425[info] - should with preserve field names should work
426[info] TestProto
427[info] - should print empty array if configured
428[info] TestProto
429[info] - should format int64 as JSON string
430[info] TestProto
431[info] - should format int64 as JSON number
432[info] TestProto
433[info] - should parse numbers formatted as JSON string
434[info] TestProto
435[info] - should produce valid JSON output for unsigned integers
436[info] TestProto
437[info] - should parse an enum formatted as number
438[info] TestProto
439[info] - should parse original field names
440[info] PreservedTestJson
441[info] - should be TestProto when parsed from json
442[info] TestAllTypesProto
443[info] - should parse NaNs
444[info] TestAllTypesProto
445[info] - should parse Infinity
446[info] TestAllTypesProto
447[info] - should parse -Infinity
448[info] TestAllTypesProto
449[info] - should take strings
450[info] parser
451[info] - should reject out of range numeric values
452[info] TestProto packed as any
453[info] - should give TestJsonWithType after JSON serialization
454[info] TestJsonWithType
455[info] - should be TestProto packed as any when parsed from JSON
456[info] toJsonString
457[info] - should generate correct JSON for messages with custom collection type
458[info] fromJsonString
459[info] - should parse JSON correctly to message with custom collection type
460[info] formatEnumAsNumber
461[info] - should format enums as number
462[info] unknown fields
463[info] - should not get rejected when ignoreUnknownFields is set
464[info] FieldMask
465[info] - should parse and write
466[info] AnyFormatSpec:
467[info] Any
468[info] - should fail to serialize if its respective companion is not registered
469[info] Any
470[info] - should fail to deserialize if its respective companion is not registered
471[info] Any
472[info] - should serialize correctly if its respective companion is registered
473[info] Any
474[info] - should fail to serialize with a custom URL prefix if specified
475[info] Any
476[info] - should fail to deserialize for a non-Google-prefixed type URL
477[info] Any
478[info] - should deserialize correctly if its respective companion is registered
479[info] Any
480[info] - should resolve printers recursively
481[info] Any
482[info] - should resolve parsers recursively
483[info] OneOfSpec:
484[info] JsonFormatSpecJVM:
485[info] fromJsonString
486[info] - should read json produced by Java
487[info] Java parser
488[info] - should read json strings produced by us
489[info] Any
490[info] - should parse JSON produced by Java for a packed TestProto
491[info] booleans
492[info] - should be accepted as string
493[info] unknown fields
494[info] - should get rejected
495[info] unknown fields
496[info] - should not get rejected when ignoreUnknownFields is set
497[info] parser
498[info] - should reject out of range numeric values
499[info] WellKnownTypesSpec:
500[info] duration
501[info] - should serialize and parse correctly
502[info] timestamp
503[info] - should serialize and parse correctly
504
505scalapb_playjson.RepeatablesSpec$
506+- fromJson invert toJson .................................................. Passed(100,0,LongSeed(1495076200329)) 380ms
507`- fromJson invert toJson single Proven(1,0,LongSeed(1495457241334)) 1ms
508[info] scalapb_playjson.RepeatablesSpec$ 383 ms
509[info] AnyFormatSpecJVM:
510[info] Any
511[info] - should be serialized the same as in Java (and parsed back to original)
512[info] EnumFormatSpec:
513[info] default parser
514[info] - should match Java behavior for string enums
515[info] default parser
516[info] - should match Java behavior for int enums
517[info] ignoring unknown fields parser
518[info] - should match Java behavior for strings enums
519[info] ignoring unknown fields parser
520[info] - should match Java behavior for int enums
521[info] Enum
522[info] - should be serialized the same way as java
523Starting build for ProjectRef(file:/build/repo/,macros) (scalapb-playjson-macros)... [1/2]
524Compile scalacOptions: -Ywarn-unused:imports, -language:existentials, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
525[info] compiling 1 Scala source to /build/repo/macros/target/scala-3.8.0-RC3/classes ...
526[warn] bad option '-Ywarn-unused:imports' was ignored
527[warn] one warning found
528[info] done compiling
529
530************************
531Build summary:
532[{
533 "module": "scalapb-playjson",
534 "compile": {"status": "ok", "tookMs": 10115, "warnings": 1, "errors": 0, "sourceVersion": "3.8"},
535 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
536 "test-compile": {"status": "ok", "tookMs": 25578, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
537 "test": {"status": "ok", "tookMs": 2375, "passed": 70, "failed": 0, "ignored": 0, "skipped": 0, "total": 70, "byFramework": [{"framework": "unknown", "stats": {"passed": 70, "failed": 0, "ignored": 0, "skipped": 0, "total": 70}}]},
538 "publish": {"status": "skipped", "tookMs": 0},
539 "metadata": {
540 "crossScalaVersions": ["2.12.19", "2.13.14", "3.3.3"]
541}
542},{
543 "module": "scalapb-playjson-macros",
544 "compile": {"status": "ok", "tookMs": 912, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
545 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
546 "test-compile": {"status": "ok", "tookMs": 190, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
547 "test": {"status": "ok", "tookMs": 179, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
548 "publish": {"status": "skipped", "tookMs": 0},
549 "metadata": {
550 "crossScalaVersions": ["2.12.19", "2.13.14", "3.3.3"]
551}
552}]
553************************
554[success] Total time: 51 s, completed Dec 4, 2025, 3:50:05 PM
555[0JChecking patch project/plugins.sbt...
556Checking patch project/build.properties...
557Checking patch build.sbt...
558Applied patch project/plugins.sbt cleanly.
559Applied patch project/build.properties cleanly.
560Applied patch build.sbt cleanly.