Build Logs

scala/scala-collection-compat • scheduled_3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY

Errors

0

Warnings

38

Total Lines

236

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.1-RC1-bin-20251228-e73ff2c-NIGHTLY
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.1-RC1-bin-20251228-e73ff2c-NIGHTLY 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.1-RC1-bin-20251228-e73ff2c-NIGHTLY"
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.1-RC1-bin-20251228-e73ff2c-NIGHTLY
57Execute tests: false
58sbt project found:
59No prepare script found for project scala/scala-collection-compat
60##################################
61Scala version: 3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY
62Targets: org.scala-lang.modules%scala-collection-compat
63Project 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>\""}]}
64##################################
65Using extra scalacOptions: ,REQUIRE:-source:3.8
66Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
67[sbt_options] declare -a sbt_options=()
68[process_args] java_version = '25'
69[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_25/rt.jar'
70# Executing command line:
71java
72-Xmx2G
73-Dcommunitybuild.scala=3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY
74-Dcommunitybuild.project.dependencies.add=
75-Xmx7G
76-Xms4G
77-Xss8M
78-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
79-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_25
80-jar
81/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
82"setCrossScalaVersions 3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY"
83"++3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY -v"
84"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
85"set every credentials := Nil"
86"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
87"removeScalacOptionsStartingWith -P:wartremover"
88
89moduleMappings
90"runBuild 3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY """{"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"
91
92[info] [launcher] getting org.scala-sbt sbt 1.11.7 (this may take some time)...
93WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
94WARNING: 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)
95WARNING: Please consider reporting this to the maintainers of class net.openhft.hashing.UnsafeAccess
96WARNING: sun.misc.Unsafe::arrayBaseOffset will be removed in a future release
97WARNING: A restricted method in java.lang.System has been called
98WARNING: 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)
99WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
100WARNING: Restricted methods will be blocked in a future release unless native access is enabled
101
102[info] welcome to sbt 1.11.7 (Eclipse Adoptium Java 25)
103[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
104[info] loading project definition from /build/repo/project
105[info] compiling 4 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
106[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
107[info] Compilation completed in 8.306s.
108[info] done compiling
109[info] loading settings for project root from build.sbt...
110[info] resolving key references (24959 settings) ...
111[info] set current project to scala-collection-compat (in build file:/build/repo/)
112Execute setCrossScalaVersions: 3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY
113OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(2.13.17) in compat213/crossScalaVersions
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::Changing crossVersion 3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY -> 3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY in compat3JS/crossScalaVersions
117OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY) in compat3JS/crossScalaVersions
118OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(2.13.17) in scalafixOutput213/crossScalaVersions
119OpenCB::Changing crossVersion 3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY -> 3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY in compat3Native/crossScalaVersions
120OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY) in compat3Native/crossScalaVersions
121OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(2.13.17) in compat213Native/crossScalaVersions
122OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(2.13.17) in compat213JS/crossScalaVersions
123OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(2.11.12) in scalafixData211/crossScalaVersions
124OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(2.13.17) in scalafixData213/crossScalaVersions
125OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(2.11.12) in compat211/crossScalaVersions
126OpenCB::Changing crossVersion 3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY -> 3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY in compat3/crossScalaVersions
127OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY) in compat3/crossScalaVersions
128[info] set current project to scala-collection-compat (in build file:/build/repo/)
129[info] Setting Scala version to 3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY on 3 projects.
130[info] Switching Scala version on:
131[info] compat3JS (3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY)
132[info] compat3Native (3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY)
133[info] compat3 (3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY)
134[info] Excluding projects:
135[info] scalafixRules (2.12.20)
136[info] * root (2.12.20)
137[info] compat212Native (2.12.20)
138[info] scalafixOutput213 (2.13.17)
139[info] scalafixData211 (2.11.12)
140[info] compat213Native (2.13.17)
141[info] compat212JS (2.12.20)
142[info] scalafixTests (2.12.20)
143[info] binaryCompatNew (2.12.20)
144[info] scalafixInput (2.12.20)
145[info] compat212 (2.12.20)
146[info] compat211 (2.11.12)
147[info] scalafixData212 (2.12.20)
148[info] compat211JS (2.11.12)
149[info] scalafixOutput212 (2.12.20)
150[info] binaryCompat (2.12.20)
151[info] scalafixOutput213Failure (2.12.20)
152[info] compat213 (2.13.17)
153[info] scalafixData213 (2.13.17)
154[info] binaryCompatOld (2.12.20)
155[info] scalafixOutput211 (2.11.12)
156[info] compat213JS (2.13.17)
157[info] Reapplying settings...
158[info] set current project to scala-collection-compat (in build file:/build/repo/)
159Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
160[info] Reapplying settings...
161[info] set current project to scala-collection-compat (in build file:/build/repo/)
162[info] Defining Global / credentials, binaryCompat / credentials and 23 others.
163[info] The new values will be used by Global / pgpSelectPassphrase, Global / pgpSigningKey and 125 others.
164[info] Run `last` for details.
165[info] Reapplying settings...
166[info] set current project to scala-collection-compat (in build file:/build/repo/)
167Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
168[info] Reapplying settings...
169OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
170
171 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
172 Did you mean compat3 / allExcludeDependencies ?
173 , retry without global scopes
174[info] Reapplying settings...
175[info] set current project to scala-collection-compat (in build file:/build/repo/)
176Execute removeScalacOptionsStartingWith: -P:wartremover
177[info] Reapplying settings...
178[info] set current project to scala-collection-compat (in build file:/build/repo/)
179[success] Total time: 0 s, completed Dec 28, 2025, 5:45:26 PM
180Build 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>\""}]}
181Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
182Starting build...
183Projects: Set(compat3)
184Starting build for ProjectRef(file:/build/repo/,compat3) (scala-collection-compat)... [0/1]
185OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
186[warn] Multiple resolvers having different access mechanism configured with same name 'akka-secure-mvn'. To avoid conflict, Remove duplicate project resolvers (`resolvers`) or rename publishing resolver (`publishTo`).
187OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
188[warn] Multiple resolvers having different access mechanism configured with same name 'akka-secure-mvn'. To avoid conflict, Remove duplicate project resolvers (`resolvers`) or rename publishing resolver (`publishTo`).
189Compile scalacOptions: -language:higherKinds, -language:implicitConversions, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
190[warn] Multiple resolvers having different access mechanism configured with same name 'akka-secure-mvn'. To avoid conflict, Remove duplicate project resolvers (`resolvers`) or rename publishing resolver (`publishTo`).
191[warn] Multiple resolvers having different access mechanism configured with same name 'akka-secure-mvn'. To avoid conflict, Remove duplicate project resolvers (`resolvers`) or rename publishing resolver (`publishTo`).
192[warn] Multiple resolvers having different access mechanism configured with same name 'akka-secure-mvn'. To avoid conflict, Remove duplicate project resolvers (`resolvers`) or rename publishing resolver (`publishTo`).
193OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
194[info] compiling 4 Scala sources to /build/repo/.cross/compat3/jvm/target/scala-3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY/classes ...
195[info] done compiling
196[warn] Multiple resolvers having different access mechanism configured with same name 'akka-secure-mvn'. To avoid conflict, Remove duplicate project resolvers (`resolvers`) or rename publishing resolver (`publishTo`).
197[warn] Multiple resolvers having different access mechanism configured with same name 'akka-secure-mvn'. To avoid conflict, Remove duplicate project resolvers (`resolvers`) or rename publishing resolver (`publishTo`).
198[warn] Multiple resolvers having different access mechanism configured with same name 'akka-secure-mvn'. To avoid conflict, Remove duplicate project resolvers (`resolvers`) or rename publishing resolver (`publishTo`).
199[info] compiling 27 Scala sources and 1 Java source to /build/repo/.cross/compat3/jvm/target/scala-3.8.1-RC1-bin-20251228-e73ff2c-NIGHTLY/test-classes ...
200[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/compat/src/test/scala/test/scala/collection/LazyListLazinessTest.scala:937:13
201[warn] 937 | case that: CustomLong => this.value == that.value
202[warn] | ^
203[warn] |the type test for CustomLong cannot be checked at runtime because it's a local class
204[warn] |
205[warn] | longer explanation available when compiling with `-explain`
206[warn] there were 22 deprecation warnings; re-run with -deprecation for details
207[warn] two warnings found
208[info] /build/repo/compat/src/test/scala-jvm/test/scala/jdk/javaapi/CollectionConvertersTest.java: CollectionConvertersTest.java uses unchecked or unsafe operations.
209[info] /build/repo/compat/src/test/scala-jvm/test/scala/jdk/javaapi/CollectionConvertersTest.java: Recompile with -Xlint:unchecked for details.
210[info] done compiling
211[warn] Multiple resolvers having different access mechanism configured with same name 'akka-secure-mvn'. To avoid conflict, Remove duplicate project resolvers (`resolvers`) or rename publishing resolver (`publishTo`).
212[warn] Multiple resolvers having different access mechanism configured with same name 'akka-secure-mvn'. To avoid conflict, Remove duplicate project resolvers (`resolvers`) or rename publishing resolver (`publishTo`).
213[warn] Multiple resolvers having different access mechanism configured with same name 'akka-secure-mvn'. To avoid conflict, Remove duplicate project resolvers (`resolvers`) or rename publishing resolver (`publishTo`).
214[warn] Multiple resolvers having different access mechanism configured with same name 'akka-secure-mvn'. To avoid conflict, Remove duplicate project resolvers (`resolvers`) or rename publishing resolver (`publishTo`).
215[warn] Multiple resolvers having different access mechanism configured with same name 'akka-secure-mvn'. To avoid conflict, Remove duplicate project resolvers (`resolvers`) or rename publishing resolver (`publishTo`).
216[warn] Multiple resolvers having different access mechanism configured with same name 'akka-secure-mvn'. To avoid conflict, Remove duplicate project resolvers (`resolvers`) or rename publishing resolver (`publishTo`).
217
218************************
219Build summary:
220[{
221 "module": "scala-collection-compat",
222 "compile": {"status": "ok", "tookMs": 6503, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
223 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
224 "test-compile": {"status": "ok", "tookMs": 9169, "warnings": 1, "errors": 0, "sourceVersion": "3.8"},
225 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
226 "publish": {"status": "skipped", "tookMs": 0},
227 "metadata": {
228 "crossScalaVersions": ["2.12.20", "3.3.6"]
229}
230}]
231************************
232[success] Total time: 23 s, completed Dec 28, 2025, 5:45:49 PM
233[0JChecking patch project/plugins.sbt...
234Checking patch build.sbt...
235Applied patch project/plugins.sbt cleanly.
236Applied patch build.sbt cleanly.