Build Logs
playframework/play-json • 3.8.0-RC2:2025-11-28
Errors
0
Warnings
63
Total Lines
263
1##################################
2Clonning https://github.com/playframework/play-json.git into /build/repo using revision 3.1.0-M9
3##################################
4Note: switching to '5d4a3e3b61caf51f4061f3c6778f3e0888478cf9'.
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.3
22----
23Preparing build for 3.8.0-RC2
24Scala binary version found: 3.8
25Implicitly using source version 3.8
26Scala binary version found: 3.8
27Implicitly using source version 3.8
28Would try to apply common scalacOption (best-effort, sbt/mill only):
29Append: ,REQUIRE:-source:3.8
30Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
31
32Try apply source patch:
33Path: project/Dependencies.scala
34Pattern: val Scala3 = "3.3.3"
35Replacement: val Scala3 = "3.8.0-RC2"
36Starting compilation server
37Compiling project (Scala 3.7.3, JVM (17))
38Compiled project (Scala 3.7.3, JVM (17))
39Successfully applied pattern 'val Scala3 = "3.3.3"' in project/Dependencies.scala
40----
41Starting build for 3.8.0-RC2
42Execute tests: true
43sbt project found:
44No prepare script found for project playframework/play-json
45##################################
46Scala version: 3.8.0-RC2
47Targets: org.playframework%play-functional org.playframework%play-json org.playframework%play-json-joda
48Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[{"path":"project/Dependencies.scala","pattern":"val Scala3 = \"3.3.3\"","replaceWith":"val Scala3 = \"<SCALA_VERSION>\""}]}
49##################################
50Using extra scalacOptions: ,REQUIRE:-source:3.8
51Filtering out scalacOptions: ,-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.8.0-RC2
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.8.0-RC2"
68"++3.8.0-RC2 -v"
69"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-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.8.0-RC2 """{"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[{"path":"project/Dependencies.scala","pattern":"val Scala3 = \"3.3.3\"","replaceWith":"val Scala3 = \"<SCALA_VERSION>\""}]}""" org.playframework%play-functional org.playframework%play-json org.playframework%play-json-joda"
76
77[info] [launcher] getting org.scala-sbt sbt 1.11.7 (this may take some time)...
78[info] welcome to sbt 1.11.7 (Eclipse Adoptium Java 17.0.8)
79[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
80[info] loading project definition from /build/repo/project
81[info] compiling 6 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
82[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
83[info] Compilation completed in 8.918s.
84[info] done compiling
85[info] loading settings for project root from build.sbt...
86[info] resolving key references (10193 settings) ...
87[info] set current project to root (in build file:/build/repo/)
88Execute setCrossScalaVersions: 3.8.0-RC2
89OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in benchmarks/crossScalaVersions
90OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in play-json-joda/crossScalaVersions
91OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in play-jsonJVM/crossScalaVersions
92OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in play-jsonJS/crossScalaVersions
93OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in play-functionalJS/crossScalaVersions
94OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in play-functionalJVM/crossScalaVersions
95OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in docs/crossScalaVersions
96OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in play-jsonNative/crossScalaVersions
97OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in root/crossScalaVersions
98OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in play-functionalNative/crossScalaVersions
99[info] set current project to root (in build file:/build/repo/)
100[info] Setting Scala version to 3.8.0-RC2 on 10 projects.
101[info] Switching Scala version on:
102[info] play-jsonNative (2.12.20, 2.13.17, 3.8.0-RC2)
103[info] benchmarks (2.12.20, 2.13.17, 3.8.0-RC2)
104[info] play-functionalNative (2.12.20, 2.13.17, 3.8.0-RC2)
105[info] * root (2.12.20, 2.13.17, 3.8.0-RC2)
106[info] play-functionalJVM (2.12.20, 2.13.17, 3.8.0-RC2)
107[info] docs (2.12.20, 2.13.17, 3.8.0-RC2)
108[info] play-json-joda (2.12.20, 2.13.17, 3.8.0-RC2)
109[info] play-jsonJVM (2.12.20, 2.13.17, 3.8.0-RC2)
110[info] play-functionalJS (2.12.20, 2.13.17, 3.8.0-RC2)
111[info] play-jsonJS (2.12.20, 2.13.17, 3.8.0-RC2)
112[info] Excluding projects:
113[info] Reapplying settings...
114[info] set current project to root (in build file:/build/repo/)
115Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
116[info] Reapplying settings...
117[info] set current project to root (in build file:/build/repo/)
118[info] Defining Global / credentials, benchmarks / credentials and 8 others.
119[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 79 others.
120[info] Run `last` for details.
121[info] Reapplying settings...
122[info] set current project to root (in build file:/build/repo/)
123Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
124[info] Reapplying settings...
125OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
126
127 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
128 Did you mean allExcludeDependencies ?
129 , retry without global scopes
130[info] Reapplying settings...
131[info] set current project to root (in build file:/build/repo/)
132Execute removeScalacOptionsStartingWith: -P:wartremover
133[info] Reapplying settings...
134[info] set current project to root (in build file:/build/repo/)
135[success] Total time: 0 s, completed Nov 28, 2025, 12:04:35 PM
136Build config: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[{"path":"project/Dependencies.scala","pattern":"val Scala3 = \"3.3.3\"","replaceWith":"val Scala3 = \"<SCALA_VERSION>\""}]}
137Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
138Starting build...
139Projects: Set(play-functionalJVM, play-jsonJVM, play-json-joda)
140Starting build for ProjectRef(file:/build/repo/,play-functionalJVM) (play-functional)... [0/3]
141OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
142OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
143OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
144Compile scalacOptions: -unchecked, -encoding, utf8, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
145[info] compiling 6 Scala sources to /build/repo/play-functional/.jvm/target/scala-3.8.0-RC2/classes ...
146[info] done compiling
147Starting build for ProjectRef(file:/build/repo/,play-jsonJVM) (play-json)... [1/3]
148Compile scalacOptions: -unchecked, -encoding, utf8, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
149[info] compiling 33 Scala sources to /build/repo/play-json/jvm/target/scala-3.8.0-RC2/classes ...
150[warn] -- [E197] Potential Issue Warning: /build/repo/play-json/shared/src/main/scala-3/play/api/libs/json/JsMacroImpl.scala:88:4
151[warn] 88 | new Reads[A] { self =>
152[warn] | ^
153[warn] | New anonymous class definition will be duplicated at each inline site
154[warn] |
155[warn] | longer explanation available when compiling with `-explain`
156[warn] -- [E197] Potential Issue Warning: /build/repo/play-json/shared/src/main/scala-3/play/api/libs/json/JsMacroImpl.scala:448:4
157[warn] 448 | new OWrites[A] { self =>
158[warn] | ^
159[warn] | New anonymous class definition will be duplicated at each inline site
160[warn] |
161[warn] | longer explanation available when compiling with `-explain`
162[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/play-json/shared/src/main/scala-3/play/api/libs/json/JsMacroImpl.scala:722:14
163[warn] 722 | case WritableField(param, i, optType @ OptionTypeParameter(pt)) =>
164[warn] | ^
165[warn] | match may not be exhaustive.
166[warn] |
167[warn] | It would fail on pattern case: WritableField(_, _, _)
168[warn] |
169[warn] | longer explanation available when compiling with `-explain`
170[warn] there were 4 deprecation warnings; re-run with -deprecation for details
171[warn] four warnings found
172[info] done compiling
173[info] compiling 33 Scala sources to /build/repo/play-json/jvm/target/scala-3.8.0-RC2/test-classes ...
174[warn] -- Warning: /build/repo/play-json/shared/src/test/scala/play/api/libs/json/MacroSpec.scala:107:62
175[warn] 107 | implicit val familyReads: Reads[Family] = Json.reads[Family]
176[warn] | ^^^^^^^^^^^^^^^^^^
177[warn] |Generic type play.api.libs.json.MacroSpec.Lorem[T] is not supported as member of sealed family play.api.libs.json.MacroSpec.Family.
178[warn] -- Warning: /build/repo/play-json/shared/src/test/scala/play/api/libs/json/MacroSpec.scala:206:62
179[warn] 206 | implicit val familyWrites: OWrites[Family] = Json.writes[Family]
180[warn] | ^^^^^^^^^^^^^^^^^^^
181[warn] |Generic type play.api.libs.json.MacroSpec.Lorem[T] is not supported as a member of sealed family play.api.libs.json.MacroSpec.Family
182[warn] -- Warning: /build/repo/play-json/shared/src/test/scala/play/api/libs/json/MacroSpec.scala:383:66
183[warn] 383 | implicit val familyFormat: OFormat[Family] = Json.format[Family]
184[warn] | ^^^^^^^^^^^^^^^^^^^
185[warn] |Generic type play.api.libs.json.MacroSpec.Lorem[T] is not supported as member of sealed family play.api.libs.json.MacroSpec.Family.
186[warn] -- Warning: /build/repo/play-json/shared/src/test/scala/play/api/libs/json/MacroSpec.scala:415:66
187[warn] 415 | implicit val familyFormat: OFormat[Family] = Json.format[Family]
188[warn] | ^^^^^^^^^^^^^^^^^^^
189[warn] |Generic type play.api.libs.json.MacroSpec.Lorem[T] is not supported as member of sealed family play.api.libs.json.MacroSpec.Family.
190[warn] -- Warning: /build/repo/play-json/shared/src/test/scala/play/api/libs/json/MacroSpec.scala:454:65
191[warn] 454 | implicit val familyFormat: OFormat[Family] = Json.format[Family]
192[warn] | ^^^^^^^^^^^^^^^^^^^
193[warn] |Generic type play.api.libs.json.MacroSpec.Lorem[T] is not supported as member of sealed family play.api.libs.json.MacroSpec.Family.
194[warn] -- Warning: /build/repo/play-json/shared/src/test/scala/play/api/libs/json/MacroSpec.scala:595:60
195[warn] 595 | implicit val familyWrites: OWrites[Family] = Json.writes[Family] // Failing:
196[warn] | ^^^^^^^^^^^^^^^^^^^
197[warn] |Generic type play.api.libs.json.MacroSpec.Lorem[T] is not supported as a member of sealed family play.api.libs.json.MacroSpec.Family
198[warn] -- Warning: /build/repo/play-json/shared/src/test/scala/play/api/libs/json/MacroSpec.scala:607:76
199[warn] 607 | implicit val idReads: Reads[Id] = implicitly[Reads[String]].asInstanceOf[Reads[Id]]
200[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
201[warn] | Infinite loop in function body
202[warn] | implicitly[play.api.libs.json.Reads[String]](
203[warn] | play.api.libs.json.MacroSpec.Foo.idReads).asInstanceOf[
204[warn] | play.api.libs.json.Reads[play.api.libs.json.MacroSpec.Foo.Id]]
205[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/docs/manual/working/scalaGuide/main/json/code/ScalaJsonCombinatorsSpec.scala:443:46
206[warn] 443 | userResult.must(beLike { case JsSuccess(u: User, _) => u.name === "Fiver" })
207[warn] | ^
208[warn] |the type test for User cannot be checked at runtime because it's a local class
209[warn] |
210[warn] | longer explanation available when compiling with `-explain`
211[warn] there were 6 deprecation warnings; re-run with -deprecation for details
212[warn] 9 warnings found
213[warn] there were 6 deprecation warnings; re-run with -deprecation for details
214[warn] 10 warnings found
215[info] done compiling
216Starting build for ProjectRef(file:/build/repo/,play-json-joda) (play-json-joda)... [2/3]
217Compile scalacOptions: -unchecked, -encoding, utf8, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
218[info] compiling 2 Scala sources to /build/repo/play-json-joda/target/scala-3.8.0-RC2/classes ...
219[info] done compiling
220[info] compiling 1 Scala source to /build/repo/play-json-joda/target/scala-3.8.0-RC2/test-classes ...
221[info] done compiling
222
223************************
224Build summary:
225[{
226 "module": "play-functional",
227 "compile": {"status": "ok", "tookMs": 13846, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
228 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
229 "test-compile": {"status": "ok", "tookMs": 127, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
230 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
231 "publish": {"status": "skipped", "tookMs": 0},
232 "metadata": {
233 "crossScalaVersions": ["2.12.20", "2.13.17", "3.3.3"]
234}
235},{
236 "module": "play-json",
237 "compile": {"status": "ok", "tookMs": 14607, "warnings": 3, "errors": 0, "sourceVersion": "3.8"},
238 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
239 "test-compile": {"status": "ok", "tookMs": 26250, "warnings": 9, "errors": 0, "sourceVersion": "3.8"},
240 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
241 "publish": {"status": "skipped", "tookMs": 0},
242 "metadata": {
243 "crossScalaVersions": ["2.12.20", "2.13.17", "3.3.3"]
244}
245},{
246 "module": "play-json-joda",
247 "compile": {"status": "ok", "tookMs": 801, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
248 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
249 "test-compile": {"status": "ok", "tookMs": 1294, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
250 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
251 "publish": {"status": "skipped", "tookMs": 0},
252 "metadata": {
253 "crossScalaVersions": ["2.12.20", "2.13.17", "3.3.3"]
254}
255}]
256************************
257[success] Total time: 90 s (0:01:30.0), completed Nov 28, 2025, 12:06:06 PM
258[0JChecking patch project/plugins.sbt...
259Checking patch project/Dependencies.scala...
260Checking patch build.sbt...
261Applied patch project/plugins.sbt cleanly.
262Applied patch project/Dependencies.scala cleanly.
263Applied patch build.sbt cleanly.