Build Logs

sbt/io • scheduled_3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY

Errors

51

Warnings

18

Total Lines

274

1##################################
2Clonning https://github.com/sbt/io.git into /build/repo using revision v1.10.5
3##################################
4Note: switching to '170490bd030b16f754d7b3a90086da3dd40fa82d'.
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.5
22----
23Preparing build for 3.8.1-RC1-bin-20251205-cd32c6f-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: project/Dependencies.scala
34Pattern: val scala3 = "3.3.5"
35Replacement: val scala3 = "3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY"
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.3.5"' in project/Dependencies.scala
40----
41Starting build for 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY
42Execute tests: false
43sbt project found:
44Sbt version 1.10.7 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 sbt/io
47##################################
48Scala version: 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY
49Targets: org.scala-sbt%io
50Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[{"path":"project/Dependencies.scala","pattern":"val scala3 = \"3.3.5\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}
51##################################
52Using extra scalacOptions: ,REQUIRE:-source:3.8
53Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
54[sbt_options] declare -a sbt_options=()
55[process_args] java_version = '17'
56[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
57# Executing command line:
58java
59-Dfile.encoding=UTF-8
60-Dcommunitybuild.scala=3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY
61-Dcommunitybuild.project.dependencies.add=
62-Xmx7G
63-Xms4G
64-Xss8M
65-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
66-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
67-jar
68/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
69"setCrossScalaVersions 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY"
70"++3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY -v"
71"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
72"set every credentials := Nil"
73"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
74"removeScalacOptionsStartingWith -P:wartremover"
75
76moduleMappings
77"runBuild 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY """{"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[{"path":"project/Dependencies.scala","pattern":"val scala3 = \"3.3.5\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}""" org.scala-sbt%io"
78
79[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
80[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
81[info] loading project definition from /build/repo/project
82[info] compiling 4 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
83[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
84[info] Compilation completed in 8.916s.
85[info] done compiling
86[info] loading settings for project ioRoot from build.sbt...
87[info] _
88[info] (_)___
89[info] / / __ \
90[info] / / /_/ /
91[info] /_/\____/
92[info] Welcome to the build for sbt/io.
93[info] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
94[info] Java versions is 17. We recommend 1.8.
95[info] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
96Execute setCrossScalaVersions: 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY
97OpenCB::Changing crossVersion 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY -> 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY in ioRoot/crossScalaVersions
98OpenCB::Changing crossVersion 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY -> 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY in io/crossScalaVersions
99[info] _
100[info] (_)___
101[info] / / __ \
102[info] / / /_/ /
103[info] /_/\____/
104[info] Welcome to the build for sbt/io.
105[info] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
106[info] Java versions is 17. We recommend 1.8.
107[info] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
108[info] Setting Scala version to 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY on 2 projects.
109[info] Switching Scala version on:
110[info] * ioRoot (2.12.20, 2.13.16, 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY)
111[info] io (2.12.20, 2.13.16, 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY)
112[info] Excluding projects:
113[info] Reapplying settings...
114[info] _
115[info] (_)___
116[info] / / __ \
117[info] / / /_/ /
118[info] /_/\____/
119[info] Welcome to the build for sbt/io.
120[info] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
121[info] Java versions is 17. We recommend 1.8.
122[info] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
123Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
124[info] Reapplying settings...
125[info] _
126[info] (_)___
127[info] / / __ \
128[info] / / /_/ /
129[info] /_/\____/
130[info] Welcome to the build for sbt/io.
131[info] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
132[info] Java versions is 17. We recommend 1.8.
133[info] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
134[info] Defining Global / credentials, credentials, io / credentials
135[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 15 others.
136[info] Run `last` for details.
137[info] Reapplying settings...
138[info] _
139[info] (_)___
140[info] / / __ \
141[info] / / /_/ /
142[info] /_/\____/
143[info] Welcome to the build for sbt/io.
144[info] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
145[info] Java versions is 17. We recommend 1.8.
146[info] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
147Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
148[info] Reapplying settings...
149OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
150
151 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
152 Did you mean io / allExcludeDependencies ?
153 , retry without global scopes
154[info] Reapplying settings...
155[info] _
156[info] (_)___
157[info] / / __ \
158[info] / / /_/ /
159[info] /_/\____/
160[info] Welcome to the build for sbt/io.
161[info] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
162[info] Java versions is 17. We recommend 1.8.
163[info] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
164Execute removeScalacOptionsStartingWith: -P:wartremover
165[info] Reapplying settings...
166[info] _
167[info] (_)___
168[info] / / __ \
169[info] / / /_/ /
170[info] /_/\____/
171[info] Welcome to the build for sbt/io.
172[info] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
173[info] Java versions is 17. We recommend 1.8.
174[info] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
175[success] Total time: 0 s, completed Dec 6, 2025, 1:33:39 AM
176Build config: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[{"path":"project/Dependencies.scala","pattern":"val scala3 = \"3.3.5\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}
177Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
178Starting build...
179Projects: Set(io)
180Starting build for ProjectRef(file:/build/repo/,io) (io)... [0/1]
181OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
182OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
183OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
184Compile scalacOptions: -encoding, utf8, -unchecked, -language:higherKinds, -language:implicitConversions, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
185[info] scalafmt: Formatting 38 Scala sources (/build/repo/io)...
186[info] scalafmt: Formatting 36 Scala sources (/build/repo/io)...
187[info] compiling 37 Scala sources to /build/repo/io/target/scala-3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY/classes ...
188[error] -- [E007] Type Mismatch Error: /build/repo/io/src/main/scala/sbt/io/IO.scala:447:39
189[error] 447 | fileInputStream(in)(in => transfer(in, out))
190[error] | ^^
191[error] | Found: (in : java.io.BufferedInputStream)
192[error] | Required: java.io.File
193[error] |
194[error] | longer explanation available when compiling with `-explain`
195[error] -- [E007] Type Mismatch Error: /build/repo/io/src/main/scala/sbt/io/IO.scala:454:39
196[error] 454 | fileInputStream(in)(in => transfer(in, out))
197[error] | ^^
198[error] | Found: (in : java.io.BufferedInputStream)
199[error] | Required: java.io.File
200[error] |
201[error] | longer explanation available when compiling with `-explain`
202[warn] -- [E147] Syntax Warning: /build/repo/io/src/main/scala/sbt/nio/file/Glob.scala:283:16
203[warn] 283 | private[file] final case object Empty extends RelativeGlob {
204[warn] | ^^^^^
205[warn] | Modifier final is redundant for this definition
206[warn] there were 18 deprecation warnings; re-run with -deprecation for details
207[warn] two warnings found
208[error] two errors found
209[error] (io / Compile / compileIncremental) Compilation failed
210[info] compiling 37 Scala sources to /build/repo/io/target/scala-3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY/classes ...
211[error] -- [E007] Type Mismatch Error: /build/repo/io/src/main/scala/sbt/io/IO.scala:447:39
212[error] 447 | fileInputStream(in)(in => transfer(in, out))
213[error] | ^^
214[error] | Found: (in : java.io.BufferedInputStream)
215[error] | Required: java.io.File
216[error] |
217[error] | longer explanation available when compiling with `-explain`
218[error] -- [E007] Type Mismatch Error: /build/repo/io/src/main/scala/sbt/io/IO.scala:454:39
219[error] 454 | fileInputStream(in)(in => transfer(in, out))
220[error] | ^^
221[error] | Found: (in : java.io.BufferedInputStream)
222[error] | Required: java.io.File
223[error] |
224[error] | longer explanation available when compiling with `-explain`
225[warn] -- [E147] Syntax Warning: /build/repo/io/src/main/scala/sbt/nio/file/Glob.scala:283:16
226[warn] 283 | private[file] final case object Empty extends RelativeGlob {
227[warn] | ^^^^^
228[warn] | Modifier final is redundant for this definition
229[warn] there were 18 deprecation warnings; re-run with -deprecation for details
230[warn] two warnings found
231[error] two errors found
232[error] (io / Compile / compileIncremental) Compilation failed
233[info] compiling 37 Scala sources to /build/repo/io/target/scala-3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY/classes ...
234[error] -- [E007] Type Mismatch Error: /build/repo/io/src/main/scala/sbt/io/IO.scala:447:39
235[error] 447 | fileInputStream(in)(in => transfer(in, out))
236[error] | ^^
237[error] | Found: (in : java.io.BufferedInputStream)
238[error] | Required: java.io.File
239[error] |
240[error] | longer explanation available when compiling with `-explain`
241[error] -- [E007] Type Mismatch Error: /build/repo/io/src/main/scala/sbt/io/IO.scala:454:39
242[error] 454 | fileInputStream(in)(in => transfer(in, out))
243[error] | ^^
244[error] | Found: (in : java.io.BufferedInputStream)
245[error] | Required: java.io.File
246[error] |
247[error] | longer explanation available when compiling with `-explain`
248[warn] -- [E147] Syntax Warning: /build/repo/io/src/main/scala/sbt/nio/file/Glob.scala:283:16
249[warn] 283 | private[file] final case object Empty extends RelativeGlob {
250[warn] | ^^^^^
251[warn] | Modifier final is redundant for this definition
252[warn] there were 18 deprecation warnings; re-run with -deprecation for details
253[warn] two warnings found
254[error] two errors found
255[error] (io / Compile / compileIncremental) Compilation failed
256
257************************
258Build summary:
259[{
260 "module": "io",
261 "compile": {"status": "failed", "failureContext": {"type": "buildError", "reasons": ["Compilation failed"]}, "tookMs": 24728, "warnings": 2, "errors": 2, "sourceVersion": "3.8"},
262 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
263 "test-compile": {"status": "skipped", "tookMs": 0, "warnings": 0, "errors": 0},
264 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
265 "publish": {"status": "skipped", "tookMs": 0},
266 "metadata": {
267 "crossScalaVersions": ["2.12.20", "2.13.16", "3.3.5"]
268}
269}]
270************************
271[error] Scala3CommunityBuild$ProjectBuildFailureException: 1 module(s) finished with failures: io
272[error] (Global / runBuild) Scala3CommunityBuild$ProjectBuildFailureException: 1 module(s) finished with failures: io
273[error] Total time: 45 s, completed Dec 6, 2025, 1:34:24 AM
274[0JBuild failed, not retrying.