Build Logs

scala/scala-collection-compat • 3.8.0-RC2:2025-11-26

Errors

0

Warnings

24

Total Lines

223

1##################################
2Clonning https://github.com/scala/scala-collection-compat.git into /build/repo using revision v2.14.0
3##################################
4Note: switching to '0171d0722da5a958341b09ac9bdcc75220872639'.
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.6
22----
23Preparing build for 3.8.0-RC2
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: build.sbt
34Pattern: Seq("org.scala-lang" % "scala-library" % scala213)
35Replacement: Seq("org.scala-lang" % "scala-library" % scala3)
36Patch using 3.8.0-RC2 matches version range: <3.8.0, 3.99.99>
37Starting compilation server
38Compiling project (Scala 3.7.3, JVM (25))
39Compiled project (Scala 3.7.3, JVM (25))
40WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
41WARNING: sun.misc.Unsafe::objectFieldOffset has been called by scala.runtime.LazyVals$ (file:/root/.cache/coursier/v1/https/repo1.maven.org/maven2/org/scala-lang/scala3-library_3/3.7.3/scala3-library_3-3.7.3.jar)
42WARNING: Please consider reporting this to the maintainers of class scala.runtime.LazyVals$
43WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
44Successfully applied pattern 'Seq("org.scala-lang" % "scala-library" % scala213)' in build.sbt
45
46Try apply source patch:
47Path: build.sbt
48Pattern: val scala3 = "3.3.6"
49Replacement: val scala3 = "3.8.0-RC2"
50WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
51WARNING: sun.misc.Unsafe::objectFieldOffset has been called by scala.runtime.LazyVals$ (file:/root/.cache/coursier/v1/https/repo1.maven.org/maven2/org/scala-lang/scala3-library_3/3.7.3/scala3-library_3-3.7.3.jar)
52WARNING: Please consider reporting this to the maintainers of class scala.runtime.LazyVals$
53WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
54Successfully applied pattern 'val scala3 = "3.3.6"' in build.sbt
55----
56Starting build for 3.8.0-RC2
57Execute tests: false
58sbt project found:
59No prepare script found for project scala/scala-collection-compat
60/opencb/project-builder/sbt/prepare-project.sh: line 107: /root/.ssh/config: No such file or directory
61##################################
62Scala version: 3.8.0-RC2
63Targets: org.scala-lang.modules%scala-collection-compat
64Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"25"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"Seq(\"org.scala-lang\" % \"scala-library\" % scala213)","replaceWith":"Seq(\"org.scala-lang\" % \"scala-library\" % scala3)","selectVersion":{"min":"3.8.0"}},{"path":"build.sbt","pattern":"val scala3 = \"3.3.6\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}
65##################################
66Using extra scalacOptions: ,REQUIRE:-source:3.8
67Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
68[sbt_options] declare -a sbt_options=()
69[process_args] java_version = '25'
70[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_25/rt.jar'
71# Executing command line:
72java
73-Xmx2G
74-Dcommunitybuild.scala=3.8.0-RC2
75-Dcommunitybuild.project.dependencies.add=
76-Xmx7G
77-Xms4G
78-Xss8M
79-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
80-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_25
81-jar
82/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
83"setCrossScalaVersions 3.8.0-RC2"
84"++3.8.0-RC2 -v"
85"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
86"set every credentials := Nil"
87"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
88"removeScalacOptionsStartingWith -P:wartremover"
89
90moduleMappings
91"runBuild 3.8.0-RC2 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"25"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"Seq(\"org.scala-lang\" % \"scala-library\" % scala213)","replaceWith":"Seq(\"org.scala-lang\" % \"scala-library\" % scala3)","selectVersion":{"min":"3.8.0"}},{"path":"build.sbt","pattern":"val scala3 = \"3.3.6\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}""" org.scala-lang.modules%scala-collection-compat"
92
93[info] [launcher] getting org.scala-sbt sbt 1.11.7 (this may take some time)...
94WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
95WARNING: sun.misc.Unsafe::arrayBaseOffset has been called by net.openhft.hashing.UnsafeAccess (file:/root/.sbt/boot/scala-2.12.20/org.scala-sbt/sbt/1.11.7/zero-allocation-hashing-0.16.jar)
96WARNING: Please consider reporting this to the maintainers of class net.openhft.hashing.UnsafeAccess
97WARNING: sun.misc.Unsafe::arrayBaseOffset will be removed in a future release
98WARNING: A restricted method in java.lang.System has been called
99WARNING: java.lang.System::load has been called by com.sun.jna.Native in an unnamed module (file:/root/.sbt/boot/scala-2.12.20/org.scala-sbt/sbt/1.11.7/jna-5.12.0.jar)
100WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
101WARNING: Restricted methods will be blocked in a future release unless native access is enabled
102
103[info] welcome to sbt 1.11.7 (Eclipse Adoptium Java 25)
104[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
105[info] loading project definition from /build/repo/project
106[info] compiling 4 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
107[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
108[info] Compilation completed in 7.925s.
109[info] done compiling
110[info] loading settings for project root from build.sbt...
111[info] resolving key references (24959 settings) ...
112[info] set current project to scala-collection-compat (in build file:/build/repo/)
113Execute setCrossScalaVersions: 3.8.0-RC2
114OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(2.11.12) in scalafixOutput211/crossScalaVersions
115OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(2.11.12) in compat211JS/crossScalaVersions
116OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(2.13.17) in compat213/crossScalaVersions
117OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(2.13.17) in compat213Native/crossScalaVersions
118OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in compat3JS/crossScalaVersions
119OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC2) in compat3JS/crossScalaVersions
120OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(2.13.17) in scalafixOutput213/crossScalaVersions
121OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in compat3Native/crossScalaVersions
122OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC2) in compat3Native/crossScalaVersions
123OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(2.13.17) in compat213JS/crossScalaVersions
124OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(2.11.12) in scalafixData211/crossScalaVersions
125OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(2.13.17) in scalafixData213/crossScalaVersions
126OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(2.11.12) in compat211/crossScalaVersions
127OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in compat3/crossScalaVersions
128OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC2) in compat3/crossScalaVersions
129[info] set current project to scala-collection-compat (in build file:/build/repo/)
130[info] Setting Scala version to 3.8.0-RC2 on 3 projects.
131[info] Switching Scala version on:
132[info] compat3JS (3.8.0-RC2)
133[info] compat3Native (3.8.0-RC2)
134[info] compat3 (3.8.0-RC2)
135[info] Excluding projects:
136[info] scalafixRules (2.12.20)
137[info] * root (2.12.20)
138[info] compat212Native (2.12.20)
139[info] scalafixOutput213 (2.13.17)
140[info] scalafixData211 (2.11.12)
141[info] compat213Native (2.13.17)
142[info] compat212JS (2.12.20)
143[info] scalafixTests (2.12.20)
144[info] binaryCompatNew (2.12.20)
145[info] scalafixInput (2.12.20)
146[info] compat212 (2.12.20)
147[info] compat211 (2.11.12)
148[info] scalafixData212 (2.12.20)
149[info] compat211JS (2.11.12)
150[info] scalafixOutput212 (2.12.20)
151[info] binaryCompat (2.12.20)
152[info] scalafixOutput213Failure (2.12.20)
153[info] compat213 (2.13.17)
154[info] scalafixData213 (2.13.17)
155[info] binaryCompatOld (2.12.20)
156[info] scalafixOutput211 (2.11.12)
157[info] compat213JS (2.13.17)
158[info] Reapplying settings...
159[info] set current project to scala-collection-compat (in build file:/build/repo/)
160Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
161[info] Reapplying settings...
162[info] set current project to scala-collection-compat (in build file:/build/repo/)
163[info] Defining Global / credentials, binaryCompat / credentials and 23 others.
164[info] The new values will be used by Global / pgpSelectPassphrase, Global / pgpSigningKey and 125 others.
165[info] Run `last` for details.
166[info] Reapplying settings...
167[info] set current project to scala-collection-compat (in build file:/build/repo/)
168Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
169[info] Reapplying settings...
170OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
171
172 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:336)
173 Did you mean compat3 / allExcludeDependencies ?
174 , retry without global scopes
175[info] Reapplying settings...
176[info] set current project to scala-collection-compat (in build file:/build/repo/)
177Execute removeScalacOptionsStartingWith: -P:wartremover
178[info] Reapplying settings...
179[info] set current project to scala-collection-compat (in build file:/build/repo/)
180[success] Total time: 0 s, completed Nov 26, 2025, 4:44:15 PM
181Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"25"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"Seq(\"org.scala-lang\" % \"scala-library\" % scala213)","replaceWith":"Seq(\"org.scala-lang\" % \"scala-library\" % scala3)","selectVersion":{"min":"3.8.0"}},{"path":"build.sbt","pattern":"val scala3 = \"3.3.6\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}
182Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
183Starting build...
184Projects: Set(compat3)
185Starting build for ProjectRef(file:/build/repo/,compat3) (scala-collection-compat)... [0/1]
186OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
187OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
188Compile scalacOptions: -language:higherKinds, -language:implicitConversions, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
189OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
190[info] compiling 4 Scala sources to /build/repo/.cross/compat3/jvm/target/scala-3.8.0-RC2/classes ...
191[info] done compiling
192[info] compiling 27 Scala sources and 1 Java source to /build/repo/.cross/compat3/jvm/target/scala-3.8.0-RC2/test-classes ...
193[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/compat/src/test/scala/test/scala/collection/LazyListLazinessTest.scala:937:13
194[warn] 937 | case that: CustomLong => this.value == that.value
195[warn] | ^
196[warn] |the type test for CustomLong cannot be checked at runtime because it's a local class
197[warn] |
198[warn] | longer explanation available when compiling with `-explain`
199[warn] there were 22 deprecation warnings; re-run with -deprecation for details
200[warn] two warnings found
201[info] /build/repo/compat/src/test/scala-jvm/test/scala/jdk/javaapi/CollectionConvertersTest.java: CollectionConvertersTest.java uses unchecked or unsafe operations.
202[info] /build/repo/compat/src/test/scala-jvm/test/scala/jdk/javaapi/CollectionConvertersTest.java: Recompile with -Xlint:unchecked for details.
203[info] done compiling
204
205************************
206Build summary:
207[{
208 "module": "scala-collection-compat",
209 "compile": {"status": "ok", "tookMs": 6175, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
210 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
211 "test-compile": {"status": "ok", "tookMs": 9247, "warnings": 1, "errors": 0, "sourceVersion": "3.8"},
212 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
213 "publish": {"status": "skipped", "tookMs": 0},
214 "metadata": {
215 "crossScalaVersions": ["2.12.20", "3.3.6"]
216}
217}]
218************************
219[success] Total time: 24 s, completed Nov 26, 2025, 4:44:38 PM
220[0JChecking patch project/plugins.sbt...
221Checking patch build.sbt...
222Applied patch project/plugins.sbt cleanly.
223Applied patch build.sbt cleanly.