Build Logs
zio-archive/zio-nio • 3.8.0-RC2:2025-11-28
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-RC2
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-RC2"
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-RC2
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-RC2
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-RC2
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-RC2"
69"++3.8.0-RC2 -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-RC2 """{"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 9.157s.
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-RC2
110OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in examplesJVM/crossScalaVersions
111OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in examplesNative/crossScalaVersions
112OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in zioNioJVM/crossScalaVersions
113OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in zioNioNative/crossScalaVersions
114[info] set current project to repo (in build file:/build/repo/)
115[info] Setting Scala version to 3.8.0-RC2 on 4 projects.
116[info] Switching Scala version on:
117[info] zioNioJVM (2.12.15, 2.13.11, 3.8.0-RC2)
118[info] examplesNative (2.12.15, 2.13.11, 3.8.0-RC2)
119[info] zioNioNative (2.12.15, 2.13.11, 3.8.0-RC2)
120[info] examplesJVM (2.12.15, 2.13.11, 3.8.0-RC2)
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 Nov 28, 2025, 12:45:59 PM
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-RC2/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-RC2/classes ...
158[info] done compiling
159[info] compiling 13 Scala sources to /build/repo/nio/jvm/target/scala-3.8.0-RC2/test-classes ...
160[info] done compiling
161+ Channel
162 + explicit end-of-stream
163 + converts EOFException to None
164 + converts non EOFException to Some
165 + passes through success
166+ WatchServiceSpec
167 + Watch Service register
168+ Channel
169 + AsynchronousSocketChannel
170 + read/write
171 + read should fail when connection close
172 + close channel unbind port
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 + capacity
183 + position is 0
184 + limit is capacity
185 + apply
186 + position set
187 + wrap backed by an array
188 + limit set
189 + capacity initialized
190 + position reset
191 + reset to marked position
192 + flip
193 + clear
194 + rewind sets position to 0
195 + heap buffers a backed by an array
196 + put writes an element and increments the position
197 + failing put if this is a read-only buffer
198 + failing put if the index is not smaller than the limit
199 + failing put if the index is negative
200 + put writes an element at a specified index
201 + failing put if there are no elements remaining
202 + 0 <= mark <= position <= limit <= capacity
203 + ShortBuffer
204 + apply
205 + position is 0
206 + capacity initialized
207 + capacity
208 + wrap backed by an array
209 + limit set
210 + position set
211 + limit is capacity
212 + position reset
213 + clear
214 + reset to marked position
215 + flip
216 + rewind sets position to 0
217 + heap buffers a backed by an array
218 + put writes an element and increments the position
219 + failing put if this is a read-only buffer
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 not smaller than the limit
223 + failing put if the index is negative
224 + 0 <= mark <= position <= limit <= capacity
225 + LongBuffer
226 + apply
227 + wrap backed by an array
228 + capacity
229 + position is 0
230 + position set
231 + limit is capacity
232 + limit set
233 + capacity initialized
234 + position reset
235 + clear
236 + reset to marked position
237 + heap buffers a backed by an array
238 + flip
239 + failing put if there are no elements remaining
240 + rewind sets position to 0
241 + put writes an element and increments the position
242 + failing put if this is a read-only buffer
243 + put writes an element at a specified index
244 + failing put if the index is negative
245 + failing put if the index is not smaller than the limit
246 + 0 <= mark <= position <= limit <= capacity
247 + DoubleBuffer
248 + apply
249 + position is 0
250 + limit is capacity
251 + capacity initialized
252 + position set
253 + limit set
254 + position reset
255 + reset to marked position
256 + clear
257 + flip
258 + wrap backed by an array
259 + heap buffers a backed by an array
260 + rewind sets position to 0
261 + capacity
262 + failing put if there are no elements remaining
263 + put writes an element and increments the position
264 + failing put if this is a read-only buffer
265 + failing put if the index is negative
266 + failing put if the index is not smaller than the limit
267 + put writes an element at a specified index
268 + 0 <= mark <= position <= limit <= capacity
269 + CharBuffer
270 + apply
271 + position is 0
272 + wrap backed by an array
273 + limit is capacity
274 + capacity
275 + capacity initialized
276 + position set
277 + limit set
278 + clear
279 + flip
280 + reset to marked position
281 + rewind sets position to 0
282 + put writes an element and increments the position
283 + heap buffers a backed by an array
284 + failing put if there are no elements remaining
285 + put writes an element at a specified index
286 + failing put if this is a read-only buffer
287 + failing put if the index is negative
288 + failing put if the index is not smaller than the limit
289 + position reset
290 + 0 <= mark <= position <= limit <= capacity
291 + FloatBuffer
292 + capacity
293 + apply
294 + position is 0
295 + capacity initialized
296 + wrap backed by an array
297 + limit is capacity
298 + limit set
299 + position reset
300 + reset to marked position
301 + clear
302 + flip
303 + rewind sets position to 0
304 + put writes an element and increments the position
305 + failing put if this is a read-only buffer
306 + failing put if there are no elements remaining
307 + heap buffers a backed by an array
308 + failing put if the index is not smaller than the limit
309 + failing put if the index is negative
310 + put writes an element at a specified index
311 + position set
312 + 0 <= mark <= position <= limit <= capacity
313 + IntBuffer
314 + apply
315 + position is 0
316 + limit is capacity
317 + wrap backed by an array
318 + capacity
319 + capacity initialized
320 + position set
321 + position reset
322 + limit set
323 + clear
324 + flip
325 + rewind sets position to 0
326 + reset to marked position
327 + heap buffers a backed by an array
328 + put writes an element and increments the position
329 + failing put if this is a read-only buffer
330 + put writes an element at a specified index
331 + failing put if there are no elements remaining
332 + failing put if the index is not smaller than the limit
333 + failing put if the index is negative
334 + 0 <= mark <= position <= limit <= capacity
335+ FilesSpec
336 + createTempFileScoped cleans up temp file
337 + createTempFileInScoped cleans up temp file
338 + createTempDirectoryscoped (dir) cleans up temp dir
339 + createTempDirectoryScoped cleans up temp dir
340 + deleteRecursive deletes subdirectories
341+ FileChannelSpec
342 + asynchronous file buffer read
343 + memory mapped buffer
344 + asynchronous file chunk read
345 + asynchronous file write
346 + end of stream
347 + stream reading
348 + sink writing
349+ DatagramChannelSpec
350 + close channel unbind port
351 + read/write
352+ CharsetSpec
353 + chunk encode/decode UTF-8
354 + chunk encode/decode UTF-16
355 + buffer encode/decode UTF-8
356 + buffer encode/decode UTF-16
357 + utf8 encode
358 + stream encode/decode UTF-8
359 + stream encode/decode UTF-16BE
360 + stream decode across chunk boundaries
361 + minimum buffer size for encoding
362 + handles encoding errors
363 + minimum buffer size for decoding
364 + handles decoding errors
365+ ScatterGatherChannelSpec
366 + gathering write
367 + scattering read
368+ PathSpec
369 + Path construction
370 + Path equality
371+ AsynchronousChannelGroupSpec
372 + isTerminated
373 + isShutdown
374 + failing awaitTermination
375 + shutdown
376 + shutdownNow
377 + failing shutdownNow
378 + companion object create instance using executor and initial size
379 + failing companion object create instance using threads no and threads factory
380 + failing companion object create instance using executor and initial size
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 908 ms
390
391
392************************
393Build summary:
394[{
395 "module": "zio-nio",
396 "compile": {"status": "ok", "tookMs": 17722, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
397 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
398 "test-compile": {"status": "ok", "tookMs": 5759, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
399 "test": {"status": "ok", "tookMs": 7277, "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: 40 s, completed Nov 28, 2025, 12:46:39 PM
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.