Build Logs
zio-archive/zio-nio • 3.8.0-RC6:2026-01-08
Errors
2
Warnings
21
Total Lines
414
1##################################
2Clonning https://github.com/zio-archive/zio-nio.git into /build/repo using revision v2.0.2
3##################################
4Note: switching to '6bcd4659f21a050a067fb7e090c17d1f15767ef3'.
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
21----
22Preparing build for 3.8.0-RC6
23Scala binary version found: 3.8
24Implicitly using source version 3.8
25Scala binary version found: 3.8
26Implicitly using source version 3.8
27Would try to apply common scalacOption (best-effort, sbt/mill only):
28Append: ,REQUIRE:-source:3.8
29Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
30
31Try apply source patch:
32Path: project/BuildHelper.scala
33Pattern: val Scala3: String = versions("3")
34Replacement: val Scala3: String = "3.8.0-RC6"
35Starting compilation server
36Compiling project (Scala 3.7.3, JVM (17))
37Compiled project (Scala 3.7.3, JVM (17))
38Successfully applied pattern 'val Scala3: String = versions("3")' in project/BuildHelper.scala
39----
40Starting build for 3.8.0-RC6
41Execute tests: true
42sbt project found:
43Sbt version 1.8.2 is not supported, minimal supported version is 1.11.5
44Enforcing usage of sbt in version 1.11.5
45No prepare script found for project zio-archive/zio-nio
46##################################
47Scala version: 3.8.0-RC6
48Targets: dev.zio%zio-nio
49Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"project/BuildHelper.scala","pattern":"val Scala3: String = versions(\"3\")","replaceWith":"val Scala3: String = \"<SCALA_VERSION>\""}]}
50##################################
51Using extra scalacOptions: ,REQUIRE:-source:3.8
52Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
53[sbt_options] declare -a sbt_options=()
54[process_args] java_version = '17'
55[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
56# Executing command line:
57java
58-Dfile.encoding=UTF-8
59-Dcommunitybuild.scala=3.8.0-RC6
60-Dcommunitybuild.project.dependencies.add=
61-Xmx7G
62-Xms4G
63-Xss8M
64-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
65-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
66-jar
67/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
68"setCrossScalaVersions 3.8.0-RC6"
69"++3.8.0-RC6 -v"
70"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
71"set every credentials := Nil"
72"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
73"removeScalacOptionsStartingWith -P:wartremover"
74
75moduleMappings
76"runBuild 3.8.0-RC6 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"project/BuildHelper.scala","pattern":"val Scala3: String = versions(\"3\")","replaceWith":"val Scala3: String = \"<SCALA_VERSION>\""}]}""" dev.zio%zio-nio"
77
78[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
79[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
80[info] loading project definition from /build/repo/project
81[info] compiling 3 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
82[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
83[info] Compilation completed in 8.116s.
84[info] done compiling
85[info] loading settings for project repo from build.sbt...
86[info] resolving key references (10593 settings) ...
87[info] set current project to repo (in build file:/build/repo/)
88[warn] there are 8 keys that are not used by any other settings/tasks:
89[warn]
90[warn] * examplesJVM / buildInfoKeys
91[warn] +- /build/repo/project/BuildHelper.scala:64
92[warn] * examplesJVM / buildInfoPackage
93[warn] +- /build/repo/project/BuildHelper.scala:65
94[warn] * examplesNative / buildInfoKeys
95[warn] +- /build/repo/project/BuildHelper.scala:64
96[warn] * examplesNative / buildInfoPackage
97[warn] +- /build/repo/project/BuildHelper.scala:65
98[warn] * zioNioJVM / buildInfoKeys
99[warn] +- /build/repo/project/BuildHelper.scala:64
100[warn] * zioNioJVM / buildInfoPackage
101[warn] +- /build/repo/project/BuildHelper.scala:65
102[warn] * zioNioNative / buildInfoKeys
103[warn] +- /build/repo/project/BuildHelper.scala:64
104[warn] * zioNioNative / buildInfoPackage
105[warn] +- /build/repo/project/BuildHelper.scala:65
106[warn]
107[warn] note: a setting might still be used by a command; to exclude a key from this `lintUnused` check
108[warn] either append it to `Global / excludeLintKeys` or call .withRank(KeyRanks.Invisible) on the key
109Execute setCrossScalaVersions: 3.8.0-RC6
110OpenCB::Changing crossVersion 3.8.0-RC6 -> 3.8.0-RC6 in examplesJVM/crossScalaVersions
111OpenCB::Changing crossVersion 3.8.0-RC6 -> 3.8.0-RC6 in examplesNative/crossScalaVersions
112OpenCB::Changing crossVersion 3.8.0-RC6 -> 3.8.0-RC6 in zioNioJVM/crossScalaVersions
113OpenCB::Changing crossVersion 3.8.0-RC6 -> 3.8.0-RC6 in zioNioNative/crossScalaVersions
114[info] set current project to repo (in build file:/build/repo/)
115[info] Setting Scala version to 3.8.0-RC6 on 4 projects.
116[info] Switching Scala version on:
117[info] zioNioJVM (2.12.15, 2.13.11, 3.8.0-RC6)
118[info] examplesNative (2.12.15, 2.13.11, 3.8.0-RC6)
119[info] zioNioNative (2.12.15, 2.13.11, 3.8.0-RC6)
120[info] examplesJVM (2.12.15, 2.13.11, 3.8.0-RC6)
121[info] Excluding projects:
122[info] docs (2.13.11)
123[info] rootJVM (2.13.11)
124[info] rootNative (2.13.11)
125[info] * repo (2.13.11)
126[info] Reapplying settings...
127[info] set current project to repo (in build file:/build/repo/)
128Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
129[info] Reapplying settings...
130[info] set current project to repo (in build file:/build/repo/)
131[info] Defining Global / credentials, credentials and 6 others.
132[info] The new values will be used by Global / pgpSelectPassphrase, Global / pgpSigningKey and 40 others.
133[info] Run `last` for details.
134[info] Reapplying settings...
135[info] set current project to repo (in build file:/build/repo/)
136Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
137[info] Reapplying settings...
138OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
139
140 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
141 Did you mean rootJVM / allExcludeDependencies ?
142 , retry without global scopes
143[info] Reapplying settings...
144[info] set current project to repo (in build file:/build/repo/)
145Execute removeScalacOptionsStartingWith: -P:wartremover
146[info] Reapplying settings...
147[info] set current project to repo (in build file:/build/repo/)
148[success] Total time: 0 s, completed Jan 8, 2026, 2:05:26 AM
149Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"project/BuildHelper.scala","pattern":"val Scala3: String = versions(\"3\")","replaceWith":"val Scala3: String = \"<SCALA_VERSION>\""}]}
150Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
151Starting build...
152Projects: Set(zioNioJVM)
153Starting build for ProjectRef(file:/build/repo/,zioNioJVM) (zio-nio)... [0/1]
154OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
155OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
156Compile scalacOptions: -encoding, UTF-8, -unchecked, -Xsemanticdb, -semanticdb-target, /build/repo/nio/jvm/target/scala-3.8.0-RC6/meta, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
157[info] compiling 44 Scala sources to /build/repo/nio/jvm/target/scala-3.8.0-RC6/classes ...
158[info] done compiling
159[info] compiling 13 Scala sources to /build/repo/nio/jvm/target/scala-3.8.0-RC6/test-classes ...
160[info] done compiling
161+ Channel
162 + explicit end-of-stream
163 + passes through success
164 + converts EOFException to None
165 + converts non EOFException to Some
166+ WatchServiceSpec
167 + Watch Service register
168+ Channel
169 + AsynchronousSocketChannel
170 + close channel unbind port
171 + read/write
172 + read should fail when connection close
173 + read can be interrupted
174 + accept can be interrupted
175 + localAddress
176 + blocking operations
177 + write can be interrupted
178 + read can be interrupted
179 + accept can be interrupted
180+ BufferSpec
181 + ByteBuffer
182 + apply
183 + wrap backed by an array
184 + position is 0
185 + capacity initialized
186 + capacity
187 + limit set
188 + position reset
189 + reset to marked position
190 + clear
191 + flip
192 + limit is capacity
193 + position set
194 + heap buffers a backed by an array
195 + failing put if there are no elements remaining
196 + rewind sets position to 0
197 + failing put if this is a read-only buffer
198 + put writes an element at a specified index
199 + failing put if the index is negative
200 + failing put if the index is not smaller than the limit
201 + put writes an element and increments the position
202 + 0 <= mark <= position <= limit <= capacity
203 + IntBuffer
204 + apply
205 + capacity
206 + capacity initialized
207 + limit is capacity
208 + wrap backed by an array
209 + position is 0
210 + position set
211 + limit set
212 + position reset
213 + reset to marked position
214 + flip
215 + clear
216 + rewind sets position to 0
217 + failing put if this is a read-only buffer
218 + put writes an element and increments the position
219 + heap buffers a backed by an array
220 + failing put if there are no elements remaining
221 + put writes an element at a specified index
222 + failing put if the index is negative
223 + failing put if the index is not smaller than the limit
224 + 0 <= mark <= position <= limit <= capacity
225 + ShortBuffer
226 + apply
227 + capacity
228 + capacity initialized
229 + position is 0
230 + limit is capacity
231 + limit set
232 + position reset
233 + position set
234 + wrap backed by an array
235 + clear
236 + rewind sets position to 0
237 + flip
238 + reset to marked position
239 + failing put if there are no elements remaining
240 + failing put if this is a read-only buffer
241 + put writes an element at a specified index
242 + put writes an element and increments the position
243 + failing put if the index is negative
244 + failing put if the index is not smaller than the limit
245 + heap buffers a backed by an array
246 + 0 <= mark <= position <= limit <= capacity
247 + DoubleBuffer
248 + capacity
249 + capacity initialized
250 + position is 0
251 + limit is capacity
252 + position set
253 + wrap backed by an array
254 + position reset
255 + reset to marked position
256 + limit set
257 + flip
258 + clear
259 + rewind sets position to 0
260 + heap buffers a backed by an array
261 + put writes an element and increments the position
262 + failing put if this is a read-only buffer
263 + failing put if there are no elements remaining
264 + apply
265 + put writes an element at a specified index
266 + failing put if the index is negative
267 + failing put if the index is not smaller than the limit
268 + 0 <= mark <= position <= limit <= capacity
269 + CharBuffer
270 + apply
271 + capacity initialized
272 + wrap backed by an array
273 + limit is capacity
274 + position set
275 + position reset
276 + capacity
277 + limit set
278 + position is 0
279 + clear
280 + rewind sets position to 0
281 + heap buffers a backed by an array
282 + reset to marked position
283 + put writes an element and increments the position
284 + flip
285 + put writes an element at a specified index
286 + failing put if there are no elements remaining
287 + failing put if the index is negative
288 + failing put if this is a read-only buffer
289 + failing put if the index is not smaller than the limit
290 + 0 <= mark <= position <= limit <= capacity
291 + FloatBuffer
292 + wrap backed by an array
293 + capacity
294 + position is 0
295 + apply
296 + limit set
297 + capacity initialized
298 + limit is capacity
299 + position set
300 + position reset
301 + flip
302 + reset to marked position
303 + clear
304 + rewind sets position to 0
305 + heap buffers a backed by an array
306 + put writes an element and increments the position
307 + failing put if there are no elements remaining
308 + put writes an element at a specified index
309 + failing put if this is a read-only buffer
310 + failing put if the index is negative
311 + failing put if the index is not smaller than the limit
312 + 0 <= mark <= position <= limit <= capacity
313 + LongBuffer
314 + wrap backed by an array
315 + apply
316 + capacity
317 + capacity initialized
318 + position is 0
319 + limit is capacity
320 + limit set
321 + position set
322 + position reset
323 + clear
324 + reset to marked position
325 + heap buffers a backed by an array
326 + put writes an element and increments the position
327 + rewind sets position to 0
328 + flip
329 + failing put if there are no elements remaining
330 + put writes an element at a specified index
331 + failing put if the index is negative
332 + failing put if this is a read-only buffer
333 + failing put if the index is not smaller than the limit
334 + 0 <= mark <= position <= limit <= capacity
335+ FilesSpec
336 + createTempFileInScoped cleans up temp file
337 + createTempFileScoped cleans up temp file
338 + createTempDirectoryScoped cleans up temp dir
339 + createTempDirectoryscoped (dir) cleans up temp dir
340 + deleteRecursive deletes subdirectories
341+ FileChannelSpec
342 + asynchronous file chunk read
343 + asynchronous file buffer read
344 + asynchronous file write
345 + memory mapped buffer
346 + end of stream
347 + stream reading
348 + sink writing
349+ DatagramChannelSpec
350 + close channel unbind port
351 + read/write
352+ CharsetSpec
353 + buffer encode/decode UTF-16
354 + chunk encode/decode UTF-16
355 + chunk encode/decode UTF-8
356 + buffer encode/decode UTF-8
357 + utf8 encode
358 + stream decode across chunk boundaries
359 + stream encode/decode UTF-8
360 + stream encode/decode UTF-16BE
361 + handles encoding errors
362 + minimum buffer size for encoding
363 + minimum buffer size for decoding
364 + handles decoding errors
365+ ScatterGatherChannelSpec
366 + gathering write
367 + scattering read
368+ PathSpec
369 + Path equality
370 + Path construction
371+ AsynchronousChannelGroupSpec
372 + failing awaitTermination
373 + isShutdown
374 + isTerminated
375 + shutdown
376 + failing shutdownNow
377 + shutdownNow
378 + failing companion object create instance using executor and initial size
379 + companion object create instance using executor and initial size
380 + failing companion object create instance using threads no and threads factory
381 + failing companion object create instance using executor service
382 + companion object create instance using executor service
383 + awaitTermination
384+ SelectorSpec
385 + read/write
386 + select is interruptible
387204 tests passed. 0 tests failed. 0 tests ignored.
388
389Executed in 5 s 796 ms
390
391
392************************
393Build summary:
394[{
395 "module": "zio-nio",
396 "compile": {"status": "ok", "tookMs": 14123, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
397 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
398 "test-compile": {"status": "ok", "tookMs": 5040, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
399 "test": {"status": "ok", "tookMs": 7148, "passed": 204, "failed": 0, "ignored": 0, "skipped": 0, "total": 204, "byFramework": [{"framework": "unknown", "stats": {"passed": 204, "failed": 0, "ignored": 0, "skipped": 0, "total": 204}}]},
400 "publish": {"status": "skipped", "tookMs": 0},
401 "metadata": {
402 "crossScalaVersions": ["2.12.15", "2.13.11"]
403}
404}]
405************************
406[success] Total time: 28 s, completed Jan 8, 2026, 2:05:54 AM
407[0JChecking patch project/plugins.sbt...
408Checking patch project/build.properties...
409Checking patch project/BuildHelper.scala...
410Checking patch build.sbt...
411Applied patch project/plugins.sbt cleanly.
412Applied patch project/build.properties cleanly.
413Applied patch project/BuildHelper.scala cleanly.
414Applied patch build.sbt cleanly.