Build Logs

sbt/io • dotty-staging/dotty:fix-23773:2025-11-22

Errors

51

Warnings

18

Total Lines

275

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