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