Build Logs

zio-archive/zio-nio • 3.8.0-RC3:2025-12-04

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