Build Logs

zio-archive/zio-nio • 3.8.0-RC4:2025-12-22

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