Build Logs

scala/scala-java8-compat • scala/scala3:release-3.8.0_backport-24490:2025-11-24

Errors

0

Warnings

12

Total Lines

161

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