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