Build Logs

playframework/twirl • 3.8.0-RC6:2026-01-08

Errors

0

Warnings

14

Total Lines

723

1##################################
2Clonning https://github.com/playframework/twirl.git into /build/repo using revision 2.1.0-M7
3##################################
4Note: switching to '1fa0cdd06ffb473001092161450d84f58a9622b7'.
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.7
22Using target Scala version for migration: 3.7.4
23Migrating project for -source:3.7 using Scala 3.7.4
24----
25Preparing build for 3.7.4
26Would try to apply common scalacOption (best-effort, sbt/mill only):
27Append: -rewrite,REQUIRE:-source:3.7-migration
28Remove: -indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
29
30Try apply source patch:
31Path: compiler/src/test/scala-3/play/twirl/compiler/test/Helper.scala
32Pattern: (\s*)def printMessage\(msg: String\): Unit
33Replacement: $1def echoMessage(msg: String): Unit = printMessage(msg)
34$0
35Starting compilation server
36Compiling project (Scala 3.7.3, JVM (17))
37Compiled project (Scala 3.7.3, JVM (17))
38Successfully applied pattern '(\s*)def printMessage\(msg: String\): Unit' in compiler/src/test/scala-3/play/twirl/compiler/test/Helper.scala
39
40Try apply source patch:
41Path: project/Dependencies.scala
42Pattern: val Scala3 = "3.3.7"
43Replacement: val Scala3 = "3.7.4"
44Successfully applied pattern 'val Scala3 = "3.3.7"' in project/Dependencies.scala
45----
46Starting build for 3.7.4
47Execute tests: false
48sbt project found:
49No prepare script found for project playframework/twirl
50##################################
51Scala version: 3.7.4
52Targets: org.playframework.twirl%twirl-api org.playframework.twirl%twirl-compiler org.playframework.twirl%twirl-maven-plugin org.playframework.twirl%twirl-parser
53Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.7"],"sourcePatches":[{"path":"compiler/src/test/scala-3/play/twirl/compiler/test/Helper.scala","pattern":"(\\s*)def printMessage\\(msg: String\\): Unit","replaceWith":"$1def echoMessage(msg: String): Unit = printMessage(msg)\n$0"},{"path":"project/Dependencies.scala","pattern":"val Scala3 = \"3.3.7\"","replaceWith":"val Scala3 = \"<SCALA_VERSION>\""}]}
54##################################
55Using extra scalacOptions: -rewrite,REQUIRE:-source:3.7-migration
56Filtering out scalacOptions: -indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
57[sbt_options] declare -a sbt_options=()
58[process_args] java_version = '17'
59[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
60# Executing command line:
61java
62-Dfile.encoding=UTF-8
63-Dcommunitybuild.scala=3.7.4
64-Dcommunitybuild.project.dependencies.add=
65-Xmx7G
66-Xms4G
67-Xss8M
68-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
69-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
70-jar
71/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
72"setCrossScalaVersions 3.7.4"
73"++3.7.4 -v"
74"mapScalacOptions "-rewrite,REQUIRE:-source:3.7-migration,-Wconf:msg=can be rewritten automatically under:s" "-indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
75"set every credentials := Nil"
76"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
77"removeScalacOptionsStartingWith -P:wartremover"
78
79moduleMappings
80"runBuild 3.7.4 """{"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.7"],"sourcePatches":[{"path":"compiler/src/test/scala-3/play/twirl/compiler/test/Helper.scala","pattern":"(\\s*)def printMessage\\(msg: String\\): Unit","replaceWith":"$1def echoMessage(msg: String): Unit = printMessage(msg)\n$0"},{"path":"project/Dependencies.scala","pattern":"val Scala3 = \"3.3.7\"","replaceWith":"val Scala3 = \"<SCALA_VERSION>\""}]}""" org.playframework.twirl%twirl-api org.playframework.twirl%twirl-compiler org.playframework.twirl%twirl-maven-plugin org.playframework.twirl%twirl-parser"
81
82[info] [launcher] getting org.scala-sbt sbt 1.11.7 (this may take some time)...
83[info] welcome to sbt 1.11.7 (Eclipse Adoptium Java 17.0.8)
84[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
85[info] loading project definition from /build/repo/project
86[info] compiling 7 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
87[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
88[info] Compilation completed in 8.815s.
89[info] done compiling
90[info] loading settings for project twirl from build.sbt...
91[info] set current project to twirl (in build file:/build/repo/)
92Execute setCrossScalaVersions: 3.7.4
93OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in apiJS/crossScalaVersions
94OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in compiler/crossScalaVersions
95OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in mavenPlugin/crossScalaVersions
96OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in apiJVM/crossScalaVersions
97OpenCB::Limitting incorrect crossVersions List() -> List(2.12.20) in twirl/crossScalaVersions
98OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in parser/crossScalaVersions
99OpenCB::Changing crossVersion 3.7.2 -> 3.7.4 in plugin/crossScalaVersions
100[info] set current project to twirl (in build file:/build/repo/)
101[info] Setting Scala version to 3.7.4 on 6 projects.
102[info] Switching Scala version on:
103[info] plugin (2.12.20, 3.7.4)
104[info] apiJS (2.12.20, 2.13.17, 3.7.4)
105[info] apiJVM (2.12.20, 2.13.17, 3.7.4)
106[info] compiler (2.12.20, 2.13.17, 3.7.4)
107[info] parser (2.12.20, 2.13.17, 3.7.4)
108[info] mavenPlugin (2.12.20, 2.13.17, 3.7.4)
109[info] Excluding projects:
110[info] * twirl (2.12.20)
111[info] Reapplying settings...
112[info] set current project to twirl (in build file:/build/repo/)
113Execute mapScalacOptions: -rewrite,REQUIRE:-source:3.7-migration,-Wconf:msg=can be rewritten automatically under:s -indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
114[info] Reapplying settings...
115[info] set current project to twirl (in build file:/build/repo/)
116[info] Defining Global / credentials, apiJS / credentials and 5 others.
117[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 55 others.
118[info] Run `last` for details.
119[info] Reapplying settings...
120[info] set current project to twirl (in build file:/build/repo/)
121Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
122[info] Reapplying settings...
123OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
124
125 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
126 Did you mean apiJS / allExcludeDependencies ?
127 , retry without global scopes
128[info] Reapplying settings...
129[info] set current project to twirl (in build file:/build/repo/)
130Execute removeScalacOptionsStartingWith: -P:wartremover
131[info] Reapplying settings...
132[info] set current project to twirl (in build file:/build/repo/)
133[success] Total time: 0 s, completed Jan 8, 2026, 1:58:03 AM
134Build config: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.7"],"sourcePatches":[{"path":"compiler/src/test/scala-3/play/twirl/compiler/test/Helper.scala","pattern":"(\\s*)def printMessage\\(msg: String\\): Unit","replaceWith":"$1def echoMessage(msg: String): Unit = printMessage(msg)\n$0"},{"path":"project/Dependencies.scala","pattern":"val Scala3 = \"3.3.7\"","replaceWith":"val Scala3 = \"<SCALA_VERSION>\""}]}
135Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
136Starting build...
137Projects: Set(apiJVM, compiler, mavenPlugin, parser)
138Starting build for ProjectRef(file:/build/repo/,apiJVM) (twirl-api)... [0/4]
139OpenCB::Exclude Scala3 specific scalacOption `-rewrite` in Scala 2.12.20 module Global
140OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.7-migration` in Scala 2.12.20 module Global
141OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
142OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
143Compile scalacOptions: -release:17, -unchecked, -encoding, utf8, -rewrite, -Wconf:msg=can be rewritten automatically under:s, -source:3.7-migration
144[info] compiling 9 Scala sources to /build/repo/api/jvm/target/scala-3.7.4/classes ...
145[info] done compiling
146[info] compiling 3 Scala sources to /build/repo/api/jvm/target/scala-3.7.4/test-classes ...
147[info] done compiling
148Starting build for ProjectRef(file:/build/repo/,compiler) (twirl-compiler)... [1/4]
149Compile scalacOptions: -release:17, -unchecked, -encoding, utf8, -rewrite, -Wconf:msg=can be rewritten automatically under:s, -source:3.7-migration
150[info] compiling 3 Scala sources to /build/repo/parser/target/scala-3.7.4/classes ...
151[info] done compiling
152[info] compiling 2 Scala sources and 1 Java source to /build/repo/compiler/target/scala-3.7.4/classes ...
153[warn] /build/repo/compiler/src/main/java/play/japi/twirl/compiler/TwirlCompiler.java:85:12: scala.collection.JavaConverters$ in scala.collection has been deprecated
154[warn] JavaConverters$
155[warn] ^
156[warn] /build/repo/compiler/src/main/java/play/japi/twirl/compiler/TwirlCompiler.java:89:12: scala.collection.JavaConverters$ in scala.collection has been deprecated
157[warn] JavaConverters$
158[warn] ^
159[info] done compiling
160[info] compiling 1 Scala source to /build/repo/parser/target/scala-3.7.4/test-classes ...
161[info] done compiling
162[info] compiling 6 Scala sources and 1 Java source to /build/repo/compiler/target/scala-3.7.4/test-classes ...
163[info] done compiling
164Starting build for ProjectRef(file:/build/repo/,mavenPlugin) (twirl-maven-plugin)... [2/4]
165Compile scalacOptions: -rewrite, -Wconf:msg=can be rewritten automatically under:s, -source:3.7-migration
166[info] compiling 3 Java sources to /build/repo/maven-twirl/target/scala-3.7.4/classes ...
167[info] done compiling
168Starting build for ProjectRef(file:/build/repo/,parser) (twirl-parser)... [3/4]
169Compile scalacOptions: -release:17, -unchecked, -encoding, utf8, -rewrite, -Wconf:msg=can be rewritten automatically under:s, -source:3.7-migration
170
171************************
172Build summary:
173[{
174 "module": "twirl-api",
175 "compile": {"status": "ok", "tookMs": 5626, "warnings": 0, "errors": 0, "sourceVersion": "3.7-migration"},
176 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
177 "test-compile": {"status": "ok", "tookMs": 6053, "warnings": 0, "errors": 0, "sourceVersion": "3.7-migration"},
178 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
179 "publish": {"status": "skipped", "tookMs": 0},
180 "metadata": {
181 "crossScalaVersions": ["2.12.20", "2.13.17", "3.3.7"]
182}
183},{
184 "module": "twirl-compiler",
185 "compile": {"status": "ok", "tookMs": 4673, "warnings": 0, "errors": 0, "sourceVersion": "3.7-migration"},
186 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
187 "test-compile": {"status": "ok", "tookMs": 10397, "warnings": 0, "errors": 0, "sourceVersion": "3.7-migration"},
188 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
189 "publish": {"status": "skipped", "tookMs": 0},
190 "metadata": {
191 "crossScalaVersions": ["2.12.20", "2.13.17", "3.3.7"]
192}
193},{
194 "module": "twirl-maven-plugin",
195 "compile": {"status": "ok", "tookMs": 520, "warnings": 0, "errors": 0, "sourceVersion": "3.7-migration"},
196 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
197 "test-compile": {"status": "ok", "tookMs": 293, "warnings": 0, "errors": 0, "sourceVersion": "3.7-migration"},
198 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
199 "publish": {"status": "skipped", "tookMs": 0},
200 "metadata": {
201 "crossScalaVersions": ["2.12.20", "2.13.17", "3.3.7"]
202}
203},{
204 "module": "twirl-parser",
205 "compile": {"status": "ok", "tookMs": 41, "warnings": 0, "errors": 0, "sourceVersion": "3.7-migration"},
206 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
207 "test-compile": {"status": "ok", "tookMs": 93, "warnings": 0, "errors": 0, "sourceVersion": "3.7-migration"},
208 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
209 "publish": {"status": "skipped", "tookMs": 0},
210 "metadata": {
211 "crossScalaVersions": ["2.12.20", "2.13.17", "3.3.7"]
212}
213}]
214************************
215[success] Total time: 34 s, completed Jan 8, 2026, 1:58:38 AM
216[0JChecking patch project/plugins.sbt...
217Checking patch project/Dependencies.scala...
218Checking patch compiler/src/test/scala-3/play/twirl/compiler/test/Helper.scala...
219Checking patch build.sbt...
220Applied patch project/plugins.sbt cleanly.
221Applied patch project/Dependencies.scala cleanly.
222Applied patch compiler/src/test/scala-3/play/twirl/compiler/test/Helper.scala cleanly.
223Applied patch build.sbt cleanly.
224No migration rewrite changes found, would not commit
225----
226Preparing build for 3.8.0-RC6
227Scala binary version found: 3.8
228Implicitly using source version 3.8
229Scala binary version found: 3.8
230Implicitly using source version 3.8
231Would try to apply common scalacOption (best-effort, sbt/mill only):
232Append: ,REQUIRE:-source:3.8
233Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
234
235Try apply source patch:
236Path: compiler/src/test/scala-3/play/twirl/compiler/test/Helper.scala
237Pattern: (\s*)def printMessage\(msg: String\): Unit
238Replacement: $1def echoMessage(msg: String): Unit = printMessage(msg)
239$0
240Successfully applied pattern '(\s*)def printMessage\(msg: String\): Unit' in compiler/src/test/scala-3/play/twirl/compiler/test/Helper.scala
241
242Try apply source patch:
243Path: project/Dependencies.scala
244Pattern: val Scala3 = "3.3.7"
245Replacement: val Scala3 = "3.8.0-RC6"
246Successfully applied pattern 'val Scala3 = "3.3.7"' in project/Dependencies.scala
247----
248Starting build for 3.8.0-RC6
249Execute tests: true
250sbt project found:
251No prepare script found for project playframework/twirl
252##################################
253Scala version: 3.8.0-RC6
254Targets: org.playframework.twirl%twirl-api org.playframework.twirl%twirl-compiler org.playframework.twirl%twirl-maven-plugin org.playframework.twirl%twirl-parser
255Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":["3.7"],"sourcePatches":[{"path":"compiler/src/test/scala-3/play/twirl/compiler/test/Helper.scala","pattern":"(\\s*)def printMessage\\(msg: String\\): Unit","replaceWith":"$1def echoMessage(msg: String): Unit = printMessage(msg)\n$0"},{"path":"project/Dependencies.scala","pattern":"val Scala3 = \"3.3.7\"","replaceWith":"val Scala3 = \"<SCALA_VERSION>\""}]}
256##################################
257Using extra scalacOptions: ,REQUIRE:-source:3.8
258Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
259[sbt_options] declare -a sbt_options=()
260[process_args] java_version = '17'
261[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
262# Executing command line:
263java
264-Dfile.encoding=UTF-8
265-Dcommunitybuild.scala=3.8.0-RC6
266-Dcommunitybuild.project.dependencies.add=
267-Xmx7G
268-Xms4G
269-Xss8M
270-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
271-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
272-jar
273/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
274"setCrossScalaVersions 3.8.0-RC6"
275"++3.8.0-RC6 -v"
276"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
277"set every credentials := Nil"
278"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
279"removeScalacOptionsStartingWith -P:wartremover"
280
281moduleMappings
282"runBuild 3.8.0-RC6 """{"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":["3.7"],"sourcePatches":[{"path":"compiler/src/test/scala-3/play/twirl/compiler/test/Helper.scala","pattern":"(\\s*)def printMessage\\(msg: String\\): Unit","replaceWith":"$1def echoMessage(msg: String): Unit = printMessage(msg)\n$0"},{"path":"project/Dependencies.scala","pattern":"val Scala3 = \"3.3.7\"","replaceWith":"val Scala3 = \"<SCALA_VERSION>\""}]}""" org.playframework.twirl%twirl-api org.playframework.twirl%twirl-compiler org.playframework.twirl%twirl-maven-plugin org.playframework.twirl%twirl-parser"
283
284[info] welcome to sbt 1.11.7 (Eclipse Adoptium Java 17.0.8)
285[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
286[info] loading project definition from /build/repo/project
287[info] compiling 1 Scala source to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
288[info] done compiling
289[info] loading settings for project twirl from build.sbt...
290[info] set current project to twirl (in build file:/build/repo/)
291Execute setCrossScalaVersions: 3.8.0-RC6
292OpenCB::Changing crossVersion 3.8.0-RC6 -> 3.8.0-RC6 in compiler/crossScalaVersions
293OpenCB::Changing crossVersion 3.8.0-RC6 -> 3.8.0-RC6 in apiJS/crossScalaVersions
294OpenCB::Changing crossVersion 3.8.0-RC6 -> 3.8.0-RC6 in mavenPlugin/crossScalaVersions
295OpenCB::Changing crossVersion 3.8.0-RC6 -> 3.8.0-RC6 in apiJVM/crossScalaVersions
296OpenCB::Limitting incorrect crossVersions List() -> List(2.12.20) in twirl/crossScalaVersions
297OpenCB::Changing crossVersion 3.8.0-RC6 -> 3.8.0-RC6 in parser/crossScalaVersions
298OpenCB::Changing crossVersion 3.7.2 -> 3.8.0-RC6 in plugin/crossScalaVersions
299[info] set current project to twirl (in build file:/build/repo/)
300[info] Setting Scala version to 3.8.0-RC6 on 6 projects.
301[info] Switching Scala version on:
302[info] plugin (2.12.20, 3.8.0-RC6)
303[info] apiJS (2.12.20, 2.13.17, 3.8.0-RC6)
304[info] apiJVM (2.12.20, 2.13.17, 3.8.0-RC6)
305[info] compiler (2.12.20, 2.13.17, 3.8.0-RC6)
306[info] parser (2.12.20, 2.13.17, 3.8.0-RC6)
307[info] mavenPlugin (2.12.20, 2.13.17, 3.8.0-RC6)
308[info] Excluding projects:
309[info] * twirl (2.12.20)
310[info] Reapplying settings...
311[info] set current project to twirl (in build file:/build/repo/)
312Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
313[info] Reapplying settings...
314[info] set current project to twirl (in build file:/build/repo/)
315[info] Defining Global / credentials, apiJS / credentials and 5 others.
316[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 55 others.
317[info] Run `last` for details.
318[info] Reapplying settings...
319[info] set current project to twirl (in build file:/build/repo/)
320Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
321[info] Reapplying settings...
322OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
323
324 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
325 Did you mean apiJS / allExcludeDependencies ?
326 , retry without global scopes
327[info] Reapplying settings...
328[info] set current project to twirl (in build file:/build/repo/)
329Execute removeScalacOptionsStartingWith: -P:wartremover
330[info] Reapplying settings...
331[info] set current project to twirl (in build file:/build/repo/)
332[success] Total time: 0 s, completed Jan 8, 2026, 1:58:57 AM
333Build config: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":["3.7"],"sourcePatches":[{"path":"compiler/src/test/scala-3/play/twirl/compiler/test/Helper.scala","pattern":"(\\s*)def printMessage\\(msg: String\\): Unit","replaceWith":"$1def echoMessage(msg: String): Unit = printMessage(msg)\n$0"},{"path":"project/Dependencies.scala","pattern":"val Scala3 = \"3.3.7\"","replaceWith":"val Scala3 = \"<SCALA_VERSION>\""}]}
334Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
335Starting build...
336Projects: Set(apiJVM, compiler, mavenPlugin, parser)
337Starting build for ProjectRef(file:/build/repo/,apiJVM) (twirl-api)... [0/4]
338OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
339OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
340OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
341Compile scalacOptions: -release:17, -unchecked, -encoding, utf8, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
342[info] compiling 9 Scala sources to /build/repo/api/jvm/target/scala-3.8.0-RC6/classes ...
343[info] done compiling
344[info] compiling 3 Scala sources to /build/repo/api/jvm/target/scala-3.8.0-RC6/test-classes ...
345[info] done compiling
346[info] BufferedContentSpec:
347[info] equality checking
348[info] - should return false for BufferedContents with the same body but different implementations
349[info] - should return false for BufferedContents with different bodies but the same implementations
350[info] - should return true for BufferedContents with the same body and the same implementation
351[info] FormatSpec:
352[info] Formats
353[info] - should show null text values as empty
354[info] HtmlFormat
355[info] - should escape '<', '&' and '>'
356[info] - should escape single quotes
357[info] - should escape double quotes
358[info] - should not escape non-ASCII characters
359[info] JavaScriptFormat
360[info] - should escape ''', '"' and '\'
361[info] StringInterpolationSpec:
362[info] StringInterpolation
363[info] - should leave string parts untouched
364[info] - should escape interpolated arguments
365[info] - should leave nested templates untouched
366[info] - should display arguments as they would be displayed in a template
367Starting build for ProjectRef(file:/build/repo/,compiler) (twirl-compiler)... [1/4]
368Compile scalacOptions: -release:17, -unchecked, -encoding, utf8, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
369[info] compiling 3 Scala sources to /build/repo/parser/target/scala-3.8.0-RC6/classes ...
370[info] done compiling
371[info] compiling 2 Scala sources and 1 Java source to /build/repo/compiler/target/scala-3.8.0-RC6/classes ...
372[warn] /build/repo/compiler/src/main/java/play/japi/twirl/compiler/TwirlCompiler.java:85:12: scala.collection.JavaConverters$ in scala.collection has been deprecated
373[warn] JavaConverters$
374[warn] ^
375[warn] /build/repo/compiler/src/main/java/play/japi/twirl/compiler/TwirlCompiler.java:89:12: scala.collection.JavaConverters$ in scala.collection has been deprecated
376[warn] JavaConverters$
377[warn] ^
378[info] done compiling
379[info] compiling 1 Scala source to /build/repo/parser/target/scala-3.8.0-RC6/test-classes ...
380[info] done compiling
381[info] compiling 6 Scala sources and 1 Java source to /build/repo/compiler/target/scala-3.8.0-RC6/test-classes ...
382[warn] there was 1 deprecation warning; re-run with -deprecation for details
383[warn] one warning found
384[info] done compiling
385[info] TemplateUtilsSpec:
386[info] Templates
387[info] - should provide a HASH util
388[info] should provide a Format API
389[info] - when HTML for example
390[info] - when Text for example
391[info] CompilerSpec:
392[info] Twirl compiler
393[info] - should compile successfully (real)
394[info] - should compile successfully (static)
395[info] - should compile successfully (patternMatching)
396[info] - should compile successfully (hello)
397[info] - should compile successfully (helloNull)
398[info] - should compile successfully (zipWithIndex)
399[info] - should compile successfully (set)
400[info] - should compile successfully (arg imports)
401[info] - should compile successfully (default imports)
402[info] - should compile successfully (escape closing brace)
403[info] - should compile successfully (utf8)
404[info] - should compile successfully (existential)
405[info] - should compile successfully (triple quotes)
406[info] - should compile successfully (var args existential)
407[info] - should compile successfully (using)
408[info] - should compile successfully (call by name)
409[info] should compile successfully (if/else/elseIf)
410[info] - when input is in if clause
411[info] - when input is in else if clause
412[info] - when input is in else clause
413[info] - when if with brackets
414[info] - when if without brackets
415[info] - when complex if without brackets
416[info] - when 'if'/'else if'/'else' containing imports, val, def and subtemplates
417[info] - should compile successfully (local definitions)
418[info] - should compile successfully (block with tuple)
419[info] - should compile successfully (block with nested tuples)
420[info] - should compile successfully (nested templates)
421[info] - should compile successfully ([lazy] val)
422[info] should compile successfully (var)
423[info] - when using pure code blocks
424[info] - when using template code blocks
425[info] should compile successfully reassigning var using pure code blocks
426[info] - when within if
427[info] - when within if/elseif/else
428[info] - when within if but not visiting if
429[info] should compile successfully reassigning var using template code blocks
430[info] - when within if
431[info] - when within if/elseif/else
432[info] - when within if but not visiting if
433[info] should compile successfully shadowing using pure code blocks
434[info] - when def in if shadowing outside val
435[info] - when val in if shadowing outside val
436[info] - when def in if shadowing outside def
437[info] - when def in if shadowing val in if shadowing val
438[info] - when val in if shadowing val in if shadowing val
439[info] - when reassigning var in if defined in parent if that shadows var
440[info] - when reassigning var in if defined in parent if that shadows val
441[info] - when reassigning var in if shadowing var in if shadowing var
442[info] - when defining var in if shadowing val in if shadowing var
443[info] - when defining var in if shadowing val in if shadowing val
444[info] should compile successfully shadowing using template code blocks
445[info] - when def in if shadowing outside val
446[info] - when val in if shadowing outside val
447[info] - when def in if shadowing outside def
448[info] - when def in if shadowing val in if shadowing val
449[info] - when val in if shadowing val in if shadowing val
450[info] - when reassigning var in if defined in parent if that shadows var
451[info] - when reassigning var in if defined in parent if that shadows val
452[info] - when reassigning var in if shadowing var in if shadowing var
453[info] - when defining var in if shadowing val in if shadowing var
454[info] - when defining var in if shadowing val in if shadowing val
455[info] - should compile successfully when using 'format' as variable name
456[info] - should compile successfully (don't escape) when using sub class of Html (which is a subclass of Appendable)
457[info] should fail val shadowing var and reassigning val in if
458[info] - when using pure code blocks
459[info] - when using template code blocks
460[info] should fail compilation with same name using pure code blocks
461[info] - when two val
462[info] - when two var
463[info] - when two def
464[info] - when val and var
465[info] - when var and val
466[info] - when def and var
467[info] - when def and val
468[info] - when two var within if
469[info] - when two val within if
470[info] - when two def within if
471[info] - when val and var within if
472[info] - when var and val within if
473[info] - when def and var within if
474[info] - when def and val within if
475[info] should fail compilation with same name using template code blocks
476[info] - when two val
477[info] - when two var
478[info] - when two def
479[info] - when val and var
480[info] - when var and val
481[info] - when def and var
482[info] - when def and val
483[info] - when two var within if
484[info] - when two val within if
485[info] - when two def within if
486[info] - when val and var within if
487[info] - when var and val within if
488[info] - when def and var within if
489[info] - when def and val within if
490[info] should fail compilation reassigning using pure code blocks
491[info] - when val
492[info] - when val within if
493[info] - when reassigning def
494[info] should fail compilation reassigning using template code blocks
495[info] - when val
496[info] - when val within if
497[info] - when reassigning def
498[info] - should keep order of member and template blocks, as defined in the source template
499[info] - should fail compilation for error.scala.html
500[info] - should fail compilation for errorInTemplateArgs.scala.html
501[info] - should compile templates that have contiguous strings > than 64k
502[info] - should allow rendering a template twice
503[info] should support injectable templates
504[info] - when plain injected template
505[info] - when with no args
506[info] - when with parameter groups
507[info] - when with comments
508[info] StringGrouper
509[info] - should split before a surrogate pair
510[info] - should not split a surrogate pair
511[info] - should split after a surrogate pair
512[info] ScalaCompat
513[info] - should produce correct varargs splice syntax
514Starting build for ProjectRef(file:/build/repo/,mavenPlugin) (twirl-maven-plugin)... [2/4]
515Compile scalacOptions: -Wconf:msg=can be rewritten automatically under:s, -source:3.8
516[info] compiling 3 Java sources to /build/repo/maven-twirl/target/scala-3.8.0-RC6/classes ...
517[info] done compiling
518Starting build for ProjectRef(file:/build/repo/,parser) (twirl-parser)... [3/4]
519Compile scalacOptions: -release:17, -unchecked, -encoding, utf8, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
520[info] ParserSpec:
521[info] New twirl parser
522[info] should succeed for
523[info] - when static.scala.html
524[info] - when simple.scala.html
525[info] - when complicated.scala.html
526[info] - when elseIf.scala.html
527[info] - when imports.scala.html
528[info] - when case.scala.js
529[info] - when import expressions
530[info] - when code block containing => of another statement with curly braces in first line
531[info] - when code block containing => of another statement with parentheses in first line
532[info] - when code block containing (...) => in first line
533[info] - when text outside of code block on same line containing =>
534[info] - when match statement not allowed to have block arguments
535[info] - when whitespaces after 'else {...}' as plain
536[info] - when whitespaces after 'else if(condition) {...}' as plain
537[info] - when 'if' expression does not have body
538[info] - when 'if' expression does not have body but some plain text instead
539[info] - when @expression without curly braces or parens as 'if' expression body is currently not supported
540[info] - when @expression without curly braces or parens as 'if' expression body is currently not supported also when using escaped expression
541[info] - when @(expression) without curly braces or parens as 'if' expression body is currently not supported
542[info] - when @(expression) without curly braces or parens as 'if' expression body is currently not supported also when using escaped expression
543[info] - when 'if' expression body is invalid when it mimics a method call
544[info] - when 'if' expression body is invalid when it mimics a method call (with space between)
545[info] - when 'if' expression body is invalid when it only contains one closing bracket
546[info] - when 'if' expression with pure block body without else body is valid
547[info] - when 'if' expression with scala block body without else body is valid
548[info] - when 'if' expression with simple parens body without else body is valid
549[info] - when 'else', after an 'if' expression, that does not have a parsable body is be handled as plain text
550[info] - when 'elsewhere', after an 'if' expression, is not handled as 'else' but handled as plain text
551[info] - when @expression without curly braces or parens after 'else' expression is currently not supported
552[info] - when escaped @expression after an 'else' expression makes the whole 'else' part handled as plain text
553[info] - when @(expression) without curly braces or parens after 'else' expression is currently not supported
554[info] - when escaped @(expression) after an 'else' expression makes the whole 'else' part handled as plain text
555[info] - when 'else if' expression after an 'if' expression, without body is handled as plain text
556[info] - when @expression without curly braces or parens after 'else if' expression is currently not supported
557[info] - when escaped @expression after an 'else if' expression makes the whole 'else if' part handled as plain text
558[info] - when @(expression) without curly braces or parens after 'else if' expression is currently not supported
559[info] - when escaped @(expression) after an 'else if' expression makes the whole 'else if' part handled as plain text
560[info] - when do not render whitespaces which are part of an 'if' expression with {...}
561[info] - when do not render whitespaces which are part of an 'if' expression with @{...}
562[info] - when do not render whitespaces which are part of an 'if' expression with (...)
563[info] - when do not render whitespaces which are part of an 'if'/'else' expression with {...}
564[info] - when do not render whitespaces which are part of an 'if'/'else' expression with @{...}
565[info] - when do not render whitespaces which are part of an 'if'/'else' expression with (...)
566[info] - when do not render whitespaces which are part of an 'if'/'else if' expression with {...}
567[info] - when do not render whitespaces which are part of an 'if'/'else if' expression with @{...}
568[info] - when do not render whitespaces which are part of an 'if'/'else if' expression with (...)
569[info] - when parsing @x @{x}
570[info] - when parsing @{x} @x
571[info] - when parsing @{x} @{x}
572[info] - when parsing @x @x
573[info] should handle local val for pure code blocks
574[info] - when lazy not also defined as val should fail
575[info] - when val, resultType is not given without implicit prefixed, has empty type params should fail
576[info] - when val, resultType is not given without implicit prefixed, has empty type params (with space) should fail
577[info] - when lazy val, resultType is not given without implicit prefixed, has empty type params should fail
578[info] - when lazy val, resultType is not given without implicit prefixed, has empty type params (with space) should fail
579[info] - when val can not have type parameters
580[info] - when lazy val can not have type parameters
581[info] - when val can not have arguments
582[info] - when lazy val can not have arguments
583[info] - when val can not have empty arguments
584[info] - when lazy val can not have empty arguments
585[info] - when resultType is not given without implicit prefixed, not lazy
586[info] - when resultType is not given without implicit prefixed, lazy
587[info] should handle local val for template code blocks
588[info] - when lazy not also defined as val should fail
589[info] - when val, resultType is not given without implicit prefixed, has empty type params should fail
590[info] - when val, resultType is not given without implicit prefixed, has empty type params (with space) should fail
591[info] - when lazy val, resultType is not given without implicit prefixed, has empty type params should fail
592[info] - when lazy val, resultType is not given without implicit prefixed, has empty type params (with space) should fail
593[info] - when val can not have type parameters
594[info] - when lazy val can not have type parameters
595[info] - when val can not have arguments
596[info] - when lazy val can not have arguments
597[info] - when val can not have empty arguments
598[info] - when lazy val can not have empty arguments
599[info] - when resultType is not given without implicit prefixed, not lazy
600[info] - when resultType is not given without implicit prefixed, lazy
601[info] should handle local var for pure code blocks
602[info] - when allow reassigning variable
603[info] - when allow reassigning variable in if/elseif/else
604[info] - when fail if type annotation present on variable reassignment
605[info] - when lazy not allowed for var
606[info] - when fail to reassign a function to a var
607[info] - when fail to reassign a function with typ params and parens to a var
608[info] - when fail to reassign a function with typ params to a var
609[info] - when fail to reassign when empty type params are given
610[info] - when fail to reassign when empty type params that contain spaces are given
611[info] - when fail to define var when empty type params are given
612[info] - when fail to define var when valid type params are given
613[info] - when fail to define var when valid type params and parens are given
614[info] - when fail to define var when parameter list is given
615[info] - when fail to define var when empty parameter list is given
616[info] should handle local var for template code blocks
617[info] - when allow reassigning variable
618[info] - when allow reassigning variable in if/elseif/else
619[info] - when ignore variable reassignment and handle as string if type annotation present
620[info] - when lazy not allowed for var
621[info] - when fail to reassign a function to a var
622[info] - when fail to reassign a function with typ params and parens to a var
623[info] - when fail to reassign a function with typ params to a var
624[info] - when fail to reassign when empty type params are given
625[info] - when fail to reassign when empty type params that contain spaces are given
626[info] - when fail to define var when empty type params are given
627[info] - when fail to define var when valid type params are given
628[info] - when fail to define var when valid type params and parens are given
629[info] - when fail to define var when parameter list is given
630[info] - when fail to define var when empty parameter list is given
631[info] should handle local pure code block definitions
632[info] - when resultType is not given without implicit prefixed, no argument list
633[info] - when resultType is not given without implicit prefixed, empty argument list
634[info] - when resultType is not given without implicit prefixed but prefixed with val
635[info] - when resultType is not given without implicit prefixed but prefixed with lazy
636[info] - when resultType is not given without implicit prefixed but prefixed with lazyval
637[info] - when resultType is not given without implicit prefixed, has type params
638[info] - when resultType is given
639[info] - when resultType is given without implicit prefixed
640[info] - when resultType with type is given
641[info] - when resultType is given without spaces
642[info] - when resultType and params are given
643[info] - when no resultType and no params are given
644[info] - when no resultType but params are given
645[info] - when empty type params are given
646[info] - when empty type params that contain spaces are given
647[info] should handle local template code block definitions
648[info] - when resultType is not given without implicit prefixed, no argument list
649[info] - when resultType is not given without implicit prefixed, empty argument list
650[info] - when resultType is not given without implicit prefixed but prefixed with val
651[info] - when resultType is not given without implicit prefixed but prefixed with lazy
652[info] - when resultType is not given without implicit prefixed but prefixed with lazyval
653[info] - when resultType is not given without implicit prefixed, has type params
654[info] - when not parse when resultType is given
655[info] - when not parse when resultType is given without implicit prefixed
656[info] - when not parse when resultType is given without spaces
657[info] - when not parse when resultType and params are given
658[info] - when no resultType and no params are given
659[info] - when no resultType but params are given
660[info] - when empty type params are given
661[info] - when empty type params that contain spaces are given
662[info] should handle string literals within parentheses
663[info] - when with left parenthesis
664[info] - when with right parenthesis and '@'
665[info] - should handle escaped closing curly braces
666[info] should fail for
667[info] - when unclosedBracket.scala.html
668[info] - when unclosedBracket2.scala.html
669[info] - when invalidAt.scala.html
670
671************************
672Build summary:
673[{
674 "module": "twirl-api",
675 "compile": {"status": "ok", "tookMs": 5782, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
676 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
677 "test-compile": {"status": "ok", "tookMs": 4815, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
678 "test": {"status": "ok", "tookMs": 553, "passed": 13, "failed": 0, "ignored": 0, "skipped": 0, "total": 13, "byFramework": [{"framework": "unknown", "stats": {"passed": 13, "failed": 0, "ignored": 0, "skipped": 0, "total": 13}}]},
679 "publish": {"status": "skipped", "tookMs": 0},
680 "metadata": {
681 "crossScalaVersions": ["2.12.20", "2.13.17", "3.3.7"]
682}
683},{
684 "module": "twirl-compiler",
685 "compile": {"status": "ok", "tookMs": 5498, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
686 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
687 "test-compile": {"status": "ok", "tookMs": 10013, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
688 "test": {"status": "ok", "tookMs": 26938, "passed": 111, "failed": 0, "ignored": 0, "skipped": 0, "total": 111, "byFramework": [{"framework": "unknown", "stats": {"passed": 111, "failed": 0, "ignored": 0, "skipped": 0, "total": 111}}]},
689 "publish": {"status": "skipped", "tookMs": 0},
690 "metadata": {
691 "crossScalaVersions": ["2.12.20", "2.13.17", "3.3.7"]
692}
693},{
694 "module": "twirl-maven-plugin",
695 "compile": {"status": "ok", "tookMs": 552, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
696 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
697 "test-compile": {"status": "ok", "tookMs": 267, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
698 "test": {"status": "ok", "tookMs": 192, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
699 "publish": {"status": "skipped", "tookMs": 0},
700 "metadata": {
701 "crossScalaVersions": ["2.12.20", "2.13.17", "3.3.7"]
702}
703},{
704 "module": "twirl-parser",
705 "compile": {"status": "ok", "tookMs": 56, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
706 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
707 "test-compile": {"status": "ok", "tookMs": 112, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
708 "test": {"status": "ok", "tookMs": 385, "passed": 139, "failed": 0, "ignored": 0, "skipped": 0, "total": 139, "byFramework": [{"framework": "unknown", "stats": {"passed": 139, "failed": 0, "ignored": 0, "skipped": 0, "total": 139}}]},
709 "publish": {"status": "skipped", "tookMs": 0},
710 "metadata": {
711 "crossScalaVersions": ["2.12.20", "2.13.17", "3.3.7"]
712}
713}]
714************************
715[success] Total time: 60 s, completed Jan 8, 2026, 1:59:57 AM
716[0JChecking patch project/plugins.sbt...
717Checking patch project/Dependencies.scala...
718Checking patch compiler/src/test/scala-3/play/twirl/compiler/test/Helper.scala...
719Checking patch build.sbt...
720Applied patch project/plugins.sbt cleanly.
721Applied patch project/Dependencies.scala cleanly.
722Applied patch compiler/src/test/scala-3/play/twirl/compiler/test/Helper.scala cleanly.
723Applied patch build.sbt cleanly.