Build Logs

arturopala/buffer-and-slice • 3.8.0-RC1:2025-11-14

Errors

0

Warnings

38

Total Lines

202

1##################################
2Clonning https://github.com/arturopala/buffer-and-slice.git into /build/repo using revision v1.64.0
3##################################
4Note: switching to '9cf19d787a9ff0bccec33b7381c9f99ec857b12c'.
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.4.0
22----
23Preparing build for 3.8.0-RC1
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: val scala3 = "3.4.0"
35Replacement: val scala3 = "3.8.0-RC1"
36Starting compilation server
37Compiling project (Scala 3.7.3, JVM (17))
38Compiled project (Scala 3.7.3, JVM (17))
39Successfully applied pattern 'val scala3 = "3.4.0"' in build.sbt
40----
41Starting build for 3.8.0-RC1
42Execute tests: false
43sbt project found:
44Sbt version 1.9.9 is not supported, minimal supported version is 1.11.5
45Enforcing usage of sbt in version 1.11.5
46No prepare script found for project arturopala/buffer-and-slice
47/opencb/project-builder/sbt/prepare-project.sh: line 107: /root/.ssh/config: No such file or directory
48##################################
49Scala version: 3.8.0-RC1
50Targets: com.github.arturopala%buffer-and-slice
51Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.4.0\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}
52##################################
53Using extra scalacOptions: ,REQUIRE:-source:3.8
54Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
55[sbt_options] declare -a sbt_options=()
56[process_args] java_version = '17'
57[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
58# Executing command line:
59java
60-XX:+TieredCompilation
61-Dfile.encoding=UTF-8
62-XX:+UseG1GC
63-Xmx2G
64-Dcommunitybuild.scala=3.8.0-RC1
65-Dcommunitybuild.project.dependencies.add=
66-Xmx7G
67-Xms4G
68-Xss8M
69-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
70-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
71-jar
72/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
73"setCrossScalaVersions 3.8.0-RC1"
74"++3.8.0-RC1 -v"
75"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
76"set every credentials := Nil"
77"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
78"removeScalacOptionsStartingWith -P:wartremover"
79
80moduleMappings
81"runBuild 3.8.0-RC1 """{"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.4.0\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}""" com.github.arturopala%buffer-and-slice"
82
83[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
84[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
85[info] loading project definition from /build/repo/project
86[info] compiling 2 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
87[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
88[info] Compilation completed in 8.952s.
89[info] done compiling
90/build/repo/build.sbt:41: warning: value scalafixScalaBinaryVersion in object autoImport is deprecated (since 0.12.1): scalafixScalaBinaryVersion now follows scalaVersion by default
91 scalafixScalaBinaryVersion := "2.13",
92 ^
93[info] loading settings for project repo from build.sbt...
94[info] set current project to repo (in build file:/build/repo/)
95[warn] there are 5 keys that are not used by any other settings/tasks:
96[warn]
97[warn] * ThisBuild / scalafixScalaBinaryVersion
98[warn] +- /build/repo/build.sbt:21
99[warn] * docs / doc / scalacOptions
100[warn] +- /build/repo/build.sbt:54
101[warn] * rootJS / doc / scalacOptions
102[warn] +- /build/repo/build.sbt:54
103[warn] * rootJVM / doc / scalacOptions
104[warn] +- /build/repo/build.sbt:54
105[warn] * rootNative / doc / scalacOptions
106[warn] +- /build/repo/build.sbt:54
107[warn]
108[warn] note: a setting might still be used by a command; to exclude a key from this `lintUnused` check
109[warn] either append it to `Global / excludeLintKeys` or call .withRank(KeyRanks.Invisible) on the key
110Execute setCrossScalaVersions: 3.8.0-RC1
111OpenCB::Limitting incorrect crossVersions List() -> List(2.13.13) in repo/crossScalaVersions
112OpenCB::Changing crossVersion 3.8.0-RC1 -> 3.8.0-RC1 in rootJS/crossScalaVersions
113OpenCB::Changing crossVersion 3.8.0-RC1 -> 3.8.0-RC1 in rootJVM/crossScalaVersions
114[info] set current project to repo (in build file:/build/repo/)
115[info] Setting Scala version to 3.8.0-RC1 on 2 projects.
116[info] Switching Scala version on:
117[info] rootJS (2.13.13, 2.12.19, 3.8.0-RC1)
118[info] rootJVM (2.13.13, 2.12.19, 3.8.0-RC1)
119[info] Excluding projects:
120[info] docs (2.13.13)
121[info] rootNative (2.13.13, 2.12.19)
122[info] * repo (2.13.13)
123[info] Reapplying settings...
124[info] set current project to repo (in build file:/build/repo/)
125Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
126[info] Reapplying settings...
127[info] set current project to repo (in build file:/build/repo/)
128[info] Defining Global / credentials, credentials and 3 others.
129[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 40 others.
130[info] Run `last` for details.
131[info] Reapplying settings...
132[info] set current project to repo (in build file:/build/repo/)
133Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
134[info] Reapplying settings...
135OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
136
137 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:336)
138 Did you mean rootJVM / allExcludeDependencies ?
139 , retry without global scopes
140[info] Reapplying settings...
141[info] set current project to repo (in build file:/build/repo/)
142Execute removeScalacOptionsStartingWith: -P:wartremover
143[info] Reapplying settings...
144[info] set current project to repo (in build file:/build/repo/)
145[success] Total time: 0 s, completed Nov 14, 2025, 9:11:56 PM
146Build config: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.4.0\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}
147Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
148Starting build...
149Projects: Set(rootJVM)
150Starting build for ProjectRef(file:/build/repo/,rootJVM) (buffer-and-slice)... [0/1]
151OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
152Compile scalacOptions: -Ywarn-unused, -Xsemanticdb, -semanticdb-target, /build/repo/.jvm/target/scala-3.8.0-RC1/meta, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
153[info] scalafmt: Formatting 12 Scala sources (/build/repo/.jvm)...
154[info] scalafmt: Formatting 15 Scala sources (/build/repo/.jvm)...
155[info] compiling 15 Scala sources to /build/repo/.jvm/target/scala-3.8.0-RC1/classes ...
156[warn] bad option '-Ywarn-unused' was ignored
157[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/src/main/scala/com/github/arturopala/bufferandslice/Slice.scala:378:9
158[warn] 378 | case other: Slice[T] =>
159[warn] | ^
160[warn] |the type test for com.github.arturopala.bufferandslice.Slice[T] cannot be checked at runtime because its type arguments can't be determined from Any
161[warn] |
162[warn] | longer explanation available when compiling with `-explain`
163[warn] two warnings found
164[info] done compiling
165[info] compiling 12 Scala sources to /build/repo/.jvm/target/scala-3.8.0-RC1/test-classes ...
166[warn] bad option '-Ywarn-unused' was ignored
167[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/src/test/scala/com/github/arturopala/bufferandslice/AnyWordSpecCompat.scala:49:14
168[warn] 49 | if (a.isInstanceOf[Iterable[T]] && b.isInstanceOf[Iterable[T]])
169[warn] | ^
170[warn] |the type test for Iterable[T] cannot be checked at runtime because its type arguments can't be determined from T
171[warn] |
172[warn] | longer explanation available when compiling with `-explain`
173[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/src/test/scala/com/github/arturopala/bufferandslice/AnyWordSpecCompat.scala:49:45
174[warn] 49 | if (a.isInstanceOf[Iterable[T]] && b.isInstanceOf[Iterable[T]])
175[warn] | ^
176[warn] |the type test for Iterable[T] cannot be checked at runtime because its type arguments can't be determined from T
177[warn] |
178[warn] | longer explanation available when compiling with `-explain`
179[warn] three warnings found
180[info] done compiling
181
182************************
183Build summary:
184[{
185 "module": "buffer-and-slice",
186 "compile": {"status": "ok", "tookMs": 27469, "warnings": 1, "errors": 0, "sourceVersion": "3.8"},
187 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
188 "test-compile": {"status": "ok", "tookMs": 12808, "warnings": 2, "errors": 0, "sourceVersion": "3.8"},
189 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
190 "publish": {"status": "skipped", "tookMs": 0},
191 "metadata": {
192 "crossScalaVersions": ["2.13.13", "2.12.19", "3.4.0"]
193}
194}]
195************************
196[success] Total time: 52 s, completed Nov 14, 2025, 9:12:48 PM
197[0JChecking patch project/plugins.sbt...
198Checking patch project/build.properties...
199Checking patch build.sbt...
200Applied patch project/plugins.sbt cleanly.
201Applied patch project/build.properties cleanly.
202Applied patch build.sbt cleanly.