Build Logs

playframework/cachecontrol • scala/scala3:release-3.8.0_backport-24775:2025-12-21

Errors

0

Warnings

19

Total Lines

173

1##################################
2Clonning https://github.com/playframework/cachecontrol.git into /build/repo using revision 3.1.0-M2
3##################################
4Note: switching to '2ab6ebc807ce67a0ea86f0aa2fa1536e875e921a'.
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.5
22----
23Preparing build for 3.8.0-RC3-bin-20251221-04feaed
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.5"
35Replacement: val Scala3 = "3.8.0-RC3-bin-20251221-04feaed"
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.5"' in project/Dependencies.scala
40----
41Starting build for 3.8.0-RC3-bin-20251221-04feaed
42Execute tests: false
43sbt project found:
44Sbt version 1.10.11 is not supported, minimal supported version is 1.11.5
45Enforcing usage of sbt in version 1.11.5
46No prepare script found for project playframework/cachecontrol
47##################################
48Scala version: 3.8.0-RC3-bin-20251221-04feaed
49Targets: org.playframework%cachecontrol
50Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[{"path":"project/Dependencies.scala","pattern":"val Scala3 = \"3.3.5\"","replaceWith":"val Scala3 = \"<SCALA_VERSION>\""}]}
51##################################
52Using extra scalacOptions: ,REQUIRE:-source:3.8
53Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
54[sbt_options] declare -a sbt_options=()
55[process_args] java_version = '17'
56[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
57# Executing command line:
58java
59-Dfile.encoding=UTF-8
60-Dcommunitybuild.scala=3.8.0-RC3-bin-20251221-04feaed
61-Dcommunitybuild.project.dependencies.add=
62-Xmx7G
63-Xms4G
64-Xss8M
65-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
66-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
67-jar
68/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
69"setCrossScalaVersions 3.8.0-RC3-bin-20251221-04feaed"
70"++3.8.0-RC3-bin-20251221-04feaed -v"
71"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
72"set every credentials := Nil"
73"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
74"removeScalacOptionsStartingWith -P:wartremover"
75
76moduleMappings
77"runBuild 3.8.0-RC3-bin-20251221-04feaed """{"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[{"path":"project/Dependencies.scala","pattern":"val Scala3 = \"3.3.5\"","replaceWith":"val Scala3 = \"<SCALA_VERSION>\""}]}""" org.playframework%cachecontrol"
78
79[info] welcome to sbt 1.11.5 (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 4 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 8.261s.
85[info] done compiling
86[info] loading settings for project cachecontrol from build.sbt, common.sbt...
87[info] set current project to cachecontrol (in build file:/build/repo/)
88Execute setCrossScalaVersions: 3.8.0-RC3-bin-20251221-04feaed
89OpenCB::Changing crossVersion 3.8.0-RC3-bin-20251221-04feaed -> 3.8.0-RC3-bin-20251221-04feaed in cachecontrol/crossScalaVersions
90[info] set current project to cachecontrol (in build file:/build/repo/)
91[info] Setting Scala version to 3.8.0-RC3-bin-20251221-04feaed on 1 projects.
92[info] Switching Scala version on:
93[info] * cachecontrol (2.12.20, 2.13.16, 3.8.0-RC3-bin-20251221-04feaed)
94[info] Excluding projects:
95[info] Reapplying settings...
96[info] set current project to cachecontrol (in build file:/build/repo/)
97Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
98[info] Reapplying settings...
99[info] set current project to cachecontrol (in build file:/build/repo/)
100[info] Defining Global / credentials, credentials
101[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 7 others.
102[info] Run `last` for details.
103[info] Reapplying settings...
104[info] set current project to cachecontrol (in build file:/build/repo/)
105Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
106[info] Reapplying settings...
107OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
108
109 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
110 Did you mean allExcludeDependencies ?
111 , retry without global scopes
112[info] Reapplying settings...
113[info] set current project to cachecontrol (in build file:/build/repo/)
114Execute removeScalacOptionsStartingWith: -P:wartremover
115[info] Reapplying settings...
116[info] set current project to cachecontrol (in build file:/build/repo/)
117[success] Total time: 0 s, completed Dec 21, 2025, 9:17:32 PM
118Build config: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[{"path":"project/Dependencies.scala","pattern":"val Scala3 = \"3.3.5\"","replaceWith":"val Scala3 = \"<SCALA_VERSION>\""}]}
119Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
120Starting build...
121Projects: Set(cachecontrol)
122Starting build for ProjectRef(file:/build/repo/,cachecontrol) (cachecontrol)... [0/1]
123OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
124OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
125OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
126Compile scalacOptions: -release, 17, -encoding, utf8, -unchecked, -Xlint, -Ywarn-unused:imports, -Xlint:nullary-unit, -Ywarn-dead-code, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
127[info] compiling 19 Scala sources to /build/repo/target/scala-3.8.0-RC3-bin-20251221-04feaed/classes ...
128[warn] Option -Xlint is deprecated: Use -Wshadow to enable shadowing lints. Scheduled for removal.
129[warn] bad option '-Ywarn-unused:imports' was ignored
130[warn] Option -Xlint is deprecated: Use -Wshadow to enable shadowing lints. Scheduled for removal.
131[warn] bad option '-Ywarn-dead-code' was ignored
132[warn] -- Warning: /build/repo/src/main/scala/org/playframework/cachecontrol/VaryParser.scala:15:54
133[warn] 15 | val headerNames = fieldValue.split(",\\s*").map(HeaderName)
134[warn] | ^^^^^^^^^^
135[warn] |The method `apply` is inserted. The auto insertion will be deprecated, please write `org.playframework.cachecontrol.HeaderName.apply` explicitly.
136[warn] -- [E121] Pattern Match Warning: /build/repo/src/main/scala/org/playframework/cachecontrol/CacheDirectiveParserCompat.scala:11:11
137[warn] 11 | case _ =>
138[warn] | ^
139[warn] |Unreachable case except for null (if this is intentional, consider writing case null => instead).
140[warn] there were 2 deprecation warnings; re-run with -deprecation for details
141[warn] 7 warnings found
142[info] done compiling
143[info] compiling 13 Scala sources to /build/repo/target/scala-3.8.0-RC3-bin-20251221-04feaed/test-classes ...
144[warn] Option -Xlint is deprecated: Use -Wshadow to enable shadowing lints. Scheduled for removal.
145[warn] bad option '-Ywarn-unused:imports' was ignored
146[warn] Option -Xlint is deprecated: Use -Wshadow to enable shadowing lints. Scheduled for removal.
147[warn] bad option '-Ywarn-dead-code' was ignored
148[warn] four warnings found
149[info] done compiling
150
151************************
152Build summary:
153[{
154 "module": "cachecontrol",
155 "compile": {"status": "ok", "tookMs": 9846, "warnings": 2, "errors": 0, "sourceVersion": "3.8"},
156 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
157 "test-compile": {"status": "ok", "tookMs": 6163, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
158 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
159 "publish": {"status": "skipped", "tookMs": 0},
160 "metadata": {
161 "crossScalaVersions": ["2.12.20", "2.13.16", "3.3.5"]
162}
163}]
164************************
165[success] Total time: 26 s, completed Dec 21, 2025, 9:17:58 PM
166[0JChecking patch project/plugins.sbt...
167Checking patch project/build.properties...
168Checking patch project/Dependencies.scala...
169Checking patch build.sbt...
170Applied patch project/plugins.sbt cleanly.
171Applied patch project/build.properties cleanly.
172Applied patch project/Dependencies.scala cleanly.
173Applied patch build.sbt cleanly.