Build Logs
scala/scala-java8-compat • scala/scala3:release-3.8.0_backport-24643:2025-12-03
Errors
0
Warnings
12
Total Lines
160
1##################################
2Clonning https://github.com/scala/scala-java8-compat.git into /build/repo using revision v1.0.2
3##################################
4Note: switching to '96fa643285bfb0ab491b3a8fbcdd5379f8768a08'.
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
21----
22Preparing build for 3.8.0-RC2-bin-20251203-5013106
23Scala binary version found: 3.8
24Implicitly using source version 3.8
25Scala binary version found: 3.8
26Implicitly using source version 3.8
27Would try to apply common scalacOption (best-effort, sbt/mill only):
28Append: ,REQUIRE:-source:3.8
29Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
30----
31Starting build for 3.8.0-RC2-bin-20251203-5013106
32Execute tests: false
33sbt project found:
34Sbt version 1.5.5 is not supported, minimal supported version is 1.11.5
35Enforcing usage of sbt in version 1.11.5
36No prepare script found for project scala/scala-java8-compat
37##################################
38Scala version: 3.8.0-RC2-bin-20251203-5013106
39Targets: org.scala-lang.modules%scala-java8-compat
40Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[]}
41##################################
42Using extra scalacOptions: ,REQUIRE:-source:3.8
43Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
44[sbt_options] declare -a sbt_options=()
45[process_args] java_version = '17'
46[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
47# Executing command line:
48java
49-Xmx4G
50-Dcommunitybuild.scala=3.8.0-RC2-bin-20251203-5013106
51-Dcommunitybuild.project.dependencies.add=
52-Xmx7G
53-Xms4G
54-Xss8M
55-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
56-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
57-jar
58/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
59"setCrossScalaVersions 3.8.0-RC2-bin-20251203-5013106"
60"++3.8.0-RC2-bin-20251203-5013106 -v"
61"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
62"set every credentials := Nil"
63"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
64"removeScalacOptionsStartingWith -P:wartremover"
65
66moduleMappings
67"runBuild 3.8.0-RC2-bin-20251203-5013106 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[]}""" org.scala-lang.modules%scala-java8-compat"
68
69[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
70[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
71[info] loading project definition from /build/repo/project
72[info] compiling 4 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
73[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
74[info] Compilation completed in 8.699s.
75[info] done compiling
76[info] loading settings for project scalaJava8Compat from build.sbt...
77[info] set current project to scala-java8-compat (in build file:/build/repo/)
78Execute setCrossScalaVersions: 3.8.0-RC2-bin-20251203-5013106
79OpenCB::Changing crossVersion 3.0.2 -> 3.8.0-RC2-bin-20251203-5013106 in scalaJava8Compat/crossScalaVersions
80[info] set current project to scala-java8-compat (in build file:/build/repo/)
81[info] Setting Scala version to 3.8.0-RC2-bin-20251203-5013106 on 1 projects.
82[info] Switching Scala version on:
83[info] * scalaJava8Compat (2.13.6, 2.12.15, 2.11.12, 3.8.0-RC2-bin-20251203-5013106)
84[info] Excluding projects:
85[info] Reapplying settings...
86[info] set current project to scala-java8-compat (in build file:/build/repo/)
87Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
88[info] Reapplying settings...
89[info] set current project to scala-java8-compat (in build file:/build/repo/)
90[info] Defining Global / credentials, credentials
91[info] The new values will be used by Global / pgpSelectPassphrase, Global / pgpSigningKey and 4 others.
92[info] Run `last` for details.
93[info] Reapplying settings...
94[info] set current project to scala-java8-compat (in build file:/build/repo/)
95Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
96[info] Reapplying settings...
97OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
98
99 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
100 Did you mean allExcludeDependencies ?
101 , retry without global scopes
102[info] Reapplying settings...
103[info] set current project to scala-java8-compat (in build file:/build/repo/)
104Execute removeScalacOptionsStartingWith: -P:wartremover
105[info] Reapplying settings...
106[info] set current project to scala-java8-compat (in build file:/build/repo/)
107[success] Total time: 0 s, completed Dec 3, 2025, 7:28:32 PM
108Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[]}
109Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
110Starting build...
111Projects: Set(scalaJava8Compat)
112Starting build for ProjectRef(file:/build/repo/,scalaJava8Compat) (scala-java8-compat)... [0/1]
113OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
114Compile scalacOptions: -Wconf:msg=can be rewritten automatically under:s, -source:3.8
115OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
116OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
117[info] compiling 13 Scala sources and 51 Java sources to /build/repo/target/scala-3.8.0-RC2-bin-20251203-5013106/classes ...
118[warn] Option -Xlint is deprecated: Use -Wshadow to enable shadowing lints. Scheduled for removal.
119[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/src/main/scala-2.13+/scala/compat/java8/converterImpl/StepperExtensions.scala:21:9
120[warn] 21 | info.companion match {
121[warn] | ^^^^^^^^^^^^^^
122[warn] | match may not be exhaustive.
123[warn] |
124[warn] | It would fail on pattern case: _: AnyRef
125[warn] |
126[warn] | longer explanation available when compiling with `-explain`
127[warn] two warnings found
128[info] /build/repo/src/main/java-2.13+/scala/compat/java8/ScalaStreamSupport.java: Some input files use unchecked or unsafe operations.
129[info] /build/repo/src/main/java-2.13+/scala/compat/java8/ScalaStreamSupport.java: Recompile with -Xlint:unchecked for details.
130[info] done compiling
131[info] compiling 9 Scala sources and 7 Java sources to /build/repo/target/scala-3.8.0-RC2-bin-20251203-5013106/test-classes ...
132[warn] there were 36 deprecation warnings; re-run with -deprecation for details
133[warn] one warning found
134[info] /build/repo/src/test/java/scala/compat/java8/LambdaTest.java: LambdaTest.java uses or overrides a deprecated API.
135[info] /build/repo/src/test/java/scala/compat/java8/LambdaTest.java: Recompile with -Xlint:deprecation for details.
136[info] /build/repo/src/test/java/scala/compat/java8/BoxingTest.java: BoxingTest.java uses unchecked or unsafe operations.
137[info] /build/repo/src/test/java/scala/compat/java8/BoxingTest.java: Recompile with -Xlint:unchecked for details.
138[info] done compiling
139
140************************
141Build summary:
142[{
143 "module": "scala-java8-compat",
144 "compile": {"status": "ok", "tookMs": 14812, "warnings": 1, "errors": 0, "sourceVersion": "3.8"},
145 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
146 "test-compile": {"status": "ok", "tookMs": 8004, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
147 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
148 "publish": {"status": "skipped", "tookMs": 0},
149 "metadata": {
150 "crossScalaVersions": ["2.13.6", "2.12.15", "2.11.12", "3.0.2"]
151}
152}]
153************************
154[success] Total time: 32 s, completed Dec 3, 2025, 7:29:04 PM
155[0JChecking patch project/plugins.sbt...
156Checking patch project/build.properties...
157Checking patch build.sbt...
158Applied patch project/plugins.sbt cleanly.
159Applied patch project/build.properties cleanly.
160Applied patch build.sbt cleanly.