The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Bolt, reference 6.0.3 (54a89d), with Swift 6.4 for Linux on 24 Sep 2026 01:00:20 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Neo4j-Swift/bolt-swift.git
Reference: 6.0.3
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/Neo4j-Swift/bolt-swift
 * tag               6.0.3      -> FETCH_HEAD
HEAD is now at 54a89d6 Use GitHub URL for PackStream-Swift dependency (6.0.1)
Cloned https://github.com/Neo4j-Swift/bolt-swift.git
Revision (git rev-parse @):
54a89d609b0e1bd9c7a11c6cd140a3e8c44845ed
SUCCESS checkout https://github.com/Neo4j-Swift/bolt-swift.git at 6.0.3
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/Neo4j-Swift/bolt-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/Neo4j-Swift/PackStream-Swift.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/2735] Fetching packstream-swift
[2736/18800] Fetching packstream-swift, swift-nio-ssl
[18801/104865] Fetching packstream-swift, swift-nio-ssl, swift-nio
Fetched https://github.com/Neo4j-Swift/PackStream-Swift.git (0.98s)
Fetched https://github.com/apple/swift-nio-ssl.git (0.99s)
[4304/86065] Fetching swift-nio
[36149/88928] Fetching swift-nio, swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git (1.28s)
[53361/86065] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (2.78s)
Computing version for https://github.com/Neo4j-Swift/PackStream-Swift.git
Computed https://github.com/Neo4j-Swift/PackStream-Swift.git at 6.0.1 (2.94s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.28.0 (0.20s)
Fetching https://github.com/apple/swift-atomics.git
[1/1875] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git (0.49s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.68s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.5 (0.23s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.33s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/6916] Fetching swift-system
[970/34609] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git (1.15s)
Fetched https://github.com/apple/swift-collections.git (1.16s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.0 (1.47s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.22s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.28.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/Neo4j-Swift/PackStream-Swift.git
Working copy of https://github.com/Neo4j-Swift/PackStream-Swift.git resolved at 6.0.1
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.5
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.103.0
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/BoltTests/BoltSwiftTestConfig.sample.json
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 841]
[Planning deferred tasks]
[Starting]
[147 / 683]
[170 / 709] _AtomicsShims
[172 / 709] _NIOBase64
[182 / 709] NIOConcurrencyHelpers
[183 / 709] InternalCollectionsUtilities
[194 / 709] NIOConcurrencyHelpers-product
[200 / 710] InternalCollectionsUtilities
[202 / 710] SpanPreview
[204 / 710] InternalCollectionsUtilities
[205 / 710] InternalCollectionsUtilities
[209 / 710] CNIOLinux
[220 / 716] CNIOFreeBSD
[233 / 727] Atomics
[236 / 728] CNIOBoringSSL
[238 / 729] CNIOBoringSSL
[242 / 729] CNIOBoringSSL
[243 / 729] CNIOBoringSSL
[245 / 729] CNIOBoringSSL
[253 / 729] CNIOBoringSSL
[256 / 729] CNIOBoringSSL
[258 / 729] CNIOBoringSSL
[263 / 729] CNIOBoringSSL
[271 / 729] CNIOBoringSSL
[273 / 729] CNIOBoringSSL
[276 / 729] CNIOBoringSSL
[284 / 729] CNIOBoringSSL
[289 / 729] CNIOBoringSSL
[290 / 729] CNIOBoringSSL
[292 / 729] CNIOBoringSSL
[293 / 729] CNIOBoringSSL
[296 / 729] CNIOBoringSSL
[298 / 729] CNIOBoringSSL
[300 / 729] CNIOBoringSSL
[302 / 729] CNIOBoringSSL
[306 / 729] CNIOBoringSSL
[308 / 729] CNIOBoringSSL
[313 / 729] CNIOBoringSSL
[314 / 729] CNIOBoringSSL
[317 / 729] CNIOBoringSSL
[319 / 729] CNIOBoringSSL
[321 / 729] CNIOBoringSSL
[322 / 729] CNIOBoringSSL
[326 / 729] CNIOBoringSSL
[328 / 729] CNIOBoringSSL
[329 / 729] CNIOBoringSSL
[336 / 729] CNIOBoringSSL
[337 / 729] CNIOBoringSSL
[338 / 729] CNIOBoringSSL
[342 / 729] CNIOBoringSSL
[345 / 729] CNIOBoringSSL
[347 / 729] CNIOBoringSSL
[349 / 729] CNIOBoringSSL
[350 / 729] CNIOBoringSSL
[352 / 729] CNIOBoringSSL
[354 / 729] CNIOBoringSSL
[358 / 729] CNIOBoringSSL
[363 / 729] CNIOBoringSSL
[377 / 729] CNIOBoringSSL
[388 / 729] CNIOBoringSSL
[394 / 729] CNIOBoringSSL
[398 / 729] CNIOBoringSSL
[399 / 729] CNIOBoringSSL
[402 / 729] CNIOBoringSSL
[405 / 729] CNIOBoringSSL
[410 / 729] CNIOBoringSSL
[413 / 729] CNIOBoringSSL
[416 / 729] CNIOBoringSSL
[419 / 729] CNIOBoringSSL
[422 / 729] CNIOBoringSSL
[424 / 729] CNIOBoringSSL
[427 / 729] CNIOBoringSSL
[429 / 729] CNIOBoringSSL
[436 / 729] CNIOBoringSSL
[438 / 729] CNIOBoringSSL
[447 / 729] CNIOBoringSSL
[455 / 729] CNIOBoringSSL
[458 / 729] CNIOBoringSSL
[464 / 729] CNIOBoringSSL
[469 / 729] CNIOBoringSSL
[472 / 729] CNIOBoringSSL
[477 / 729] CNIOBoringSSL
[487 / 729] CNIOBoringSSL
[493 / 729] CNIOBoringSSL
[499 / 729] CNIOBoringSSL
[502 / 729] CNIOBoringSSL
[504 / 729] CNIOBoringSSL
[507 / 729] CNIOBoringSSL
[511 / 729] CNIOBoringSSL
[514 / 729] CNIOBoringSSL
[517 / 729] CNIOBoringSSL
[518 / 729] CNIOBoringSSL
[521 / 729] CNIOBoringSSL
[523 / 729] CNIOBoringSSL
[526 / 729] CNIOBoringSSL
[528 / 729] CNIOBoringSSL
[530 / 729] CNIOBoringSSL
[533 / 729] CNIOBoringSSL
[534 / 729] CNIOBoringSSL
[537 / 729] CNIOBoringSSL
[539 / 729] CNIOBoringSSL
[541 / 729] CNIOBoringSSL
[542 / 729] CNIOBoringSSL
[544 / 729] CNIOBoringSSL
[545 / 729] CNIOBoringSSL
[550 / 729] CNIOBoringSSL
[554 / 729] CNIOBoringSSL
[560 / 729] CNIOBoringSSL
[573 / 729] CNIOBoringSSL
[576 / 729] CNIOBoringSSL
[581 / 729] CNIOBoringSSL
[583 / 729] CNIOBoringSSL
[588 / 729] CNIOBoringSSL
[590 / 729] CNIOBoringSSL
[596 / 729] CNIOBoringSSL
[605 / 729] CNIOBoringSSL
[613 / 729] CNIOBoringSSL
[622 / 729] CNIOBoringSSL
[626 / 729] CNIOBoringSSL
[627 / 729] CNIOBoringSSL
[629 / 729] CNIOBoringSSL
[632 / 729] CNIOBoringSSL
[634 / 729] CNIOBoringSSL
[636 / 729] CNIOBoringSSL
[643 / 729] CNIOBoringSSL
[647 / 729] Atomics-product
[651 / 729] Atomics
[652 / 730] CNIOPosix
[655 / 739] DequeModule
[658 / 739] DequeModule
[658 / 739] CNIOAtomics
[661 / 739] CNIOBoringSSL
[663 / 739] CNIOOpenBSD
[666 / 739] DequeModule
[666 / 739] Atomics
[669 / 740] DequeModule
[669 / 741] DequeModule
[687 / 751] NIOCore
[687 / 751] DequeModule
[687 / 751] NIOCore
[687 / 752] NIOCore
[705 / 777] NIOPosix
[708 / 777] NIOEmbedded
[714 / 778] PackStream
[720 / 778] PackStream
[725 / 778] PackStream
[727 / 778] PackStream
[735 / 779] NIOPosix-product
[739 / 779] NIOPosix-product
[742 / 780] NIO
[749 / 782] NIO
[753 / 790] NIOTLS
[755 / 790] NIOTLS
[764 / 791]
[766 / 800] NIOTransportServices
[774 / 800] NIOTransportServices
[776 / 800] NIOTransportServices-product
[778 / 800] NIOTransportServices-product
[787 / 812] NIOPosix
[790 / 812] NIOSSL
[791 / 812] NIOSSL
[792 / 813] NIOSSL
[793 / 813] NIOSSL
[804 / 823] Bolt
[804 / 823] NIOPosix
[808 / 823] Bolt
[810 / 823]
[813 / 823]
/host/spi-builder-workspace/Sources/EncryptedSocket.swift:36:14: warning: class 'EncryptedSocket' must restate inherited '@unchecked Sendable' conformance
 34 |
 35 | /// TLS-encrypted Bolt socket implementation
 36 | public class EncryptedSocket: UnencryptedSocket {
    |              `- warning: class 'EncryptedSocket' must restate inherited '@unchecked Sendable' conformance
 37 |     public lazy var certificateValidator: CertificateValidatorProtocol = UnsecureCertificateValidator(
 38 |         hostname: self.hostname,
/host/spi-builder-workspace/Sources/EncryptedSocket.swift:48:32: warning: 'init(file:format:)' is deprecated: Use 'fromPEMFile(_:)' to load all certificates from a PEM file or 'fromDERFile(_:)' to load a single certificate from a DER file. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 46 |         let trustRoot: NIOSSLTrustRoots = .default
 47 |         var cert: [NIOSSLCertificateSource] = []
 48 |         if let certFile = try? NIOSSLCertificate(file: "/tmp/server.der", format: .der) {
    |                                `- warning: 'init(file:format:)' is deprecated: Use 'fromPEMFile(_:)' to load all certificates from a PEM file or 'fromDERFile(_:)' to load a single certificate from a DER file. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 49 |             cert.append(NIOSSLCertificateSource.certificate(certFile))
 50 |         }
/host/spi-builder-workspace/Sources/EncryptedSocket.swift:77:35: warning: 'init(context:serverHostname:verificationCallback:)' is deprecated: replaced by 'init(context:serverHostname:customVerificationCallback:)' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 75 |         }
 76 |
 77 |         let openSslHandler = try! NIOSSLClientHandler(
    |                                   |- warning: 'init(context:serverHostname:verificationCallback:)' is deprecated: replaced by 'init(context:serverHostname:customVerificationCallback:)' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |                                   `- note: use 'init(context:serverHostname:customVerificationCallback:)' instead
 78 |             context: sslContext,
 79 |             serverHostname: self.hostname,
/host/spi-builder-workspace/Sources/EncryptedSocket.swift:89:52: warning: conformance of 'NIOSSLHandler' to 'Sendable' is unavailable
 87 |                     return channel.eventLoop.makeSucceededVoidFuture()
 88 |                 }
 89 |                 return channel.pipeline.addHandler(openSslHandler).flatMap {
    |                                                    `- warning: conformance of 'NIOSSLHandler' to 'Sendable' is unavailable
 90 |                     channel.pipeline.addHandler(dataHandler)
 91 |                 }
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOSSL/NIOSSLHandler.swift:839:1: note: conformance of 'NIOSSLHandler' to 'Sendable' has been explicitly marked unavailable here
 837 |
 838 | @available(*, unavailable)
 839 | extension NIOSSLHandler: Sendable {}
     | `- note: conformance of 'NIOSSLHandler' to 'Sendable' has been explicitly marked unavailable here
 840 |
 841 | extension NIOSSLHandler {
/host/spi-builder-workspace/Sources/EncryptedSocket.swift:86:27: warning: value 'self' was defined but never used; consider replacing with boolean test [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
 84 |             .channelOption(ChannelOptions.socket(SocketOptionLevel(SOL_SOCKET), SO_REUSEADDR), value: 1)
 85 |             .channelInitializer { [weak self] channel in
 86 |                 guard let self = self else {
    |                           `- warning: value 'self' was defined but never used; consider replacing with boolean test [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
 87 |                     return channel.eventLoop.makeSucceededVoidFuture()
 88 |                 }
/host/spi-builder-workspace/Sources/EncryptedSocket.swift:89:52: warning: capture of 'openSslHandler' with non-Sendable type 'NIOSSLClientHandler' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 87 |                     return channel.eventLoop.makeSucceededVoidFuture()
 88 |                 }
 89 |                 return channel.pipeline.addHandler(openSslHandler).flatMap {
    |                                                    `- warning: capture of 'openSslHandler' with non-Sendable type 'NIOSSLClientHandler' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 90 |                     channel.pipeline.addHandler(dataHandler)
 91 |                 }
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOSSL/NIOSSLClientHandler.swift:59:20: note: class 'NIOSSLClientHandler' does not conform to the 'Sendable' protocol
 57 | /// This handler can be used in channels that are acting as the client
 58 | /// in the TLS dialog. For server connections, use the ``NIOSSLServerHandler``.
 59 | public final class NIOSSLClientHandler: NIOSSLHandler {
    |                    `- note: class 'NIOSSLClientHandler' does not conform to the 'Sendable' protocol
 60 |     /// Construct a new ``NIOSSLClientHandler`` with the given `context` and a specific `serverHostname`.
 61 |     ///
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[813 / 823] Bolt
/host/spi-builder-workspace/Sources/Connection.swift:204:25: warning: capture of 'loop()' with non-Sendable type '() -> ()' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
202 |
203 |                     if responseData.count < 2 {
204 |                         loop()
    |                         |- warning: capture of 'loop()' with non-Sendable type '() -> ()' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
    |                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
205 |                         return
206 |                     }
/host/spi-builder-workspace/Sources/Connection.swift:201:21: warning: mutation of captured var 'accumulatedData' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
199 |                 let receiveFuture = try socket.receive(expectedNumberOfBytes: maxChunkSize)
200 |                 _ = receiveFuture?.map { responseData in
201 |                     accumulatedData.append(contentsOf: responseData)
    |                     `- warning: mutation of captured var 'accumulatedData' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
202 |
203 |                     if responseData.count < 2 {
/host/spi-builder-workspace/Sources/Connection.swift:197:14: warning: concurrently-executed local function 'loop()' must be marked as '@Sendable'
195 |         var accumulatedData: [Byte] = []
196 |
197 |         func loop() {
    |              `- warning: concurrently-executed local function 'loop()' must be marked as '@Sendable'
198 |             do {
199 |                 let receiveFuture = try socket.receive(expectedNumberOfBytes: maxChunkSize)
/host/spi-builder-workspace/Sources/Connection.swift:218:74: warning: reference to captured var 'accumulatedData' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
216 |
217 |                     // Parse responses
218 |                     guard let unchunkedResponses = try? Response.unchunk(accumulatedData) else {
    |                                                                          `- warning: reference to captured var 'accumulatedData' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
219 |                         promise.fail(BoltError.protocol(message: "Failed to unchunk response"))
220 |                         return
/host/spi-builder-workspace/Sources/Connection.swift:270:17: warning: capture of 'loop()' with non-Sendable type '() -> ()' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
268 |                 promise.fail(error)
269 |             case .success:
270 |                 loop()
    |                 |- warning: capture of 'loop()' with non-Sendable type '() -> ()' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
271 |             }
272 |         }
/host/spi-builder-workspace/Sources/Connection.swift:300:29: warning: capture of 'loop()' with non-Sendable type '() -> ()' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
298 |
299 |                         if !isTerminated {
300 |                             loop()
    |                             |- warning: capture of 'loop()' with non-Sendable type '() -> ()' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
    |                             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
301 |                             return
302 |                         }
/host/spi-builder-workspace/Sources/Connection.swift:293:25: warning: mutation of captured var 'accumulatedData' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
291 |                 do {
292 |                     try socket.receive(expectedNumberOfBytes: maxChunkSize)?.map { responseData in
293 |                         accumulatedData.append(contentsOf: responseData)
    |                         `- warning: mutation of captured var 'accumulatedData' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
294 |
295 |                         let isTerminated = responseData.count >= 2 &&
/host/spi-builder-workspace/Sources/Connection.swift:290:18: warning: concurrently-executed local function 'loop()' must be marked as '@Sendable'
288 |             var accumulatedData: [Byte] = []
289 |
290 |             func loop() {
    |                  `- warning: concurrently-executed local function 'loop()' must be marked as '@Sendable'
291 |                 do {
292 |                     try socket.receive(expectedNumberOfBytes: maxChunkSize)?.map { responseData in
/host/spi-builder-workspace/Sources/Connection.swift:304:69: warning: reference to captured var 'accumulatedData' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
302 |                         }
303 |
304 |                         guard let unchunked = try? Response.unchunk(accumulatedData),
    |                                                                     `- warning: reference to captured var 'accumulatedData' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
305 |                               let responseBytes = unchunked.first,
306 |                               let response = try? Response.unpack(responseBytes) else {
/host/spi-builder-workspace/Sources/Connection.swift:328:17: warning: capture of 'loop()' with non-Sendable type '() -> ()' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
326 |
327 |             sendFuture.whenSuccess {
328 |                 loop()
    |                 |- warning: capture of 'loop()' with non-Sendable type '() -> ()' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
329 |             }
330 |             sendFuture.whenFailure { error in
/host/spi-builder-workspace/Sources/EncryptedSocket.swift:36:14: warning: class 'EncryptedSocket' must restate inherited '@unchecked Sendable' conformance
 34 |
 35 | /// TLS-encrypted Bolt socket implementation
 36 | public class EncryptedSocket: UnencryptedSocket {
    |              `- warning: class 'EncryptedSocket' must restate inherited '@unchecked Sendable' conformance
 37 |     public lazy var certificateValidator: CertificateValidatorProtocol = UnsecureCertificateValidator(
 38 |         hostname: self.hostname,
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[818 / 823] Bolt
/host/spi-builder-workspace/Sources/SHA1.swift:103:17: warning: using '_' to ignore the result of a Void-returning function is redundant
101 |             //print("Reading \(range.count) bytes @ position \(range.lowerBound)")
102 |             w.withUnsafeMutableBufferPointer { dest in
103 |                 _=data.copyBytes(to: dest, from: range)               // Retrieve one chunk
    |                 `- warning: using '_' to ignore the result of a Void-returning function is redundant
104 |             }
105 |             context.process(chunk: &w)                                // Process the chunk
/host/spi-builder-workspace/Sources/SHA1.swift:113:13: warning: using '_' to ignore the result of a Void-returning function is redundant
111 |         range = range.lowerBound..<data.count                         // Range for remainder of message
112 |         w.withUnsafeMutableBufferPointer { dest in
113 |             _=data.copyBytes(to: dest, from: range)                   // Retrieve remainder
    |             `- warning: using '_' to ignore the result of a Void-returning function is redundant
114 |         }
115 |         let bytetochange=range.count % 4                              // The bit to the right of the
[821 / 824] Bolt
/host/spi-builder-workspace/Sources/Connection.swift:204:25: warning: capture of 'loop()' with non-Sendable type '() -> ()' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
202 |
203 |                     if responseData.count < 2 {
204 |                         loop()
    |                         |- warning: capture of 'loop()' with non-Sendable type '() -> ()' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
    |                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
205 |                         return
206 |                     }
/host/spi-builder-workspace/Sources/Connection.swift:201:21: warning: mutation of captured var 'accumulatedData' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
199 |                 let receiveFuture = try socket.receive(expectedNumberOfBytes: maxChunkSize)
200 |                 _ = receiveFuture?.map { responseData in
201 |                     accumulatedData.append(contentsOf: responseData)
    |                     `- warning: mutation of captured var 'accumulatedData' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
202 |
203 |                     if responseData.count < 2 {
/host/spi-builder-workspace/Sources/Connection.swift:197:14: warning: concurrently-executed local function 'loop()' must be marked as '@Sendable'
195 |         var accumulatedData: [Byte] = []
196 |
197 |         func loop() {
    |              `- warning: concurrently-executed local function 'loop()' must be marked as '@Sendable'
198 |             do {
199 |                 let receiveFuture = try socket.receive(expectedNumberOfBytes: maxChunkSize)
/host/spi-builder-workspace/Sources/Connection.swift:218:74: warning: reference to captured var 'accumulatedData' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
216 |
217 |                     // Parse responses
218 |                     guard let unchunkedResponses = try? Response.unchunk(accumulatedData) else {
    |                                                                          `- warning: reference to captured var 'accumulatedData' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
219 |                         promise.fail(BoltError.protocol(message: "Failed to unchunk response"))
220 |                         return
/host/spi-builder-workspace/Sources/Connection.swift:270:17: warning: capture of 'loop()' with non-Sendable type '() -> ()' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
268 |                 promise.fail(error)
269 |             case .success:
270 |                 loop()
    |                 |- warning: capture of 'loop()' with non-Sendable type '() -> ()' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
271 |             }
272 |         }
/host/spi-builder-workspace/Sources/Connection.swift:300:29: warning: capture of 'loop()' with non-Sendable type '() -> ()' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
298 |
299 |                         if !isTerminated {
300 |                             loop()
    |                             |- warning: capture of 'loop()' with non-Sendable type '() -> ()' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
    |                             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
301 |                             return
302 |                         }
/host/spi-builder-workspace/Sources/Connection.swift:293:25: warning: mutation of captured var 'accumulatedData' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
291 |                 do {
292 |                     try socket.receive(expectedNumberOfBytes: maxChunkSize)?.map { responseData in
293 |                         accumulatedData.append(contentsOf: responseData)
    |                         `- warning: mutation of captured var 'accumulatedData' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
294 |
295 |                         let isTerminated = responseData.count >= 2 &&
/host/spi-builder-workspace/Sources/Connection.swift:290:18: warning: concurrently-executed local function 'loop()' must be marked as '@Sendable'
288 |             var accumulatedData: [Byte] = []
289 |
290 |             func loop() {
    |                  `- warning: concurrently-executed local function 'loop()' must be marked as '@Sendable'
291 |                 do {
292 |                     try socket.receive(expectedNumberOfBytes: maxChunkSize)?.map { responseData in
/host/spi-builder-workspace/Sources/Connection.swift:304:69: warning: reference to captured var 'accumulatedData' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
302 |                         }
303 |
304 |                         guard let unchunked = try? Response.unchunk(accumulatedData),
    |                                                                     `- warning: reference to captured var 'accumulatedData' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
305 |                               let responseBytes = unchunked.first,
306 |                               let response = try? Response.unpack(responseBytes) else {
/host/spi-builder-workspace/Sources/Connection.swift:328:17: warning: capture of 'loop()' with non-Sendable type '() -> ()' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
326 |
327 |             sendFuture.whenSuccess {
328 |                 loop()
    |                 |- warning: capture of 'loop()' with non-Sendable type '() -> ()' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
329 |             }
330 |             sendFuture.whenFailure { error in
/host/spi-builder-workspace/Sources/Connection.swift:468:17: warning: capture of 'blockToBePerformed' with non-Sendable type '() -> Void' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
466 |             let future = EventLoopFuture<Void>.andAllSucceed(futures, on: currentEventLoop)
467 |             future.whenSuccess {
468 |                 blockToBePerformed()
    |                 |- warning: capture of 'blockToBePerformed' with non-Sendable type '() -> Void' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
469 |             }
470 |         }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
Build complete! (42.18 secs)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "packstream-swift",
      "requirement" : {
        "exact" : [
          "6.0.1"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Neo4j-Swift/PackStream-Swift.git"
    },
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.65.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    },
    {
      "identity" : "swift-nio-ssl",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.27.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio-ssl.git"
    },
    {
      "identity" : "swift-nio-transport-services",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.20.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio-transport-services.git"
    }
  ],
  "manifest_display_name" : "Bolt",
  "name" : "Bolt",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "tvos",
      "version" : "17.0"
    },
    {
      "name" : "watchos",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "Bolt",
      "targets" : [
        "Bolt"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "BoltTests",
      "module_type" : "SwiftTarget",
      "name" : "BoltTests",
      "path" : "Tests/BoltTests",
      "sources" : [
        "BoltTests.swift",
        "CertificateValidatorTests.swift",
        "ConnectionTests.swift",
        "EncryptedSocketTests.swift",
        "ErrorTests.swift",
        "MockSocket.swift",
        "RequestTests.swift",
        "ResponseTests.swift",
        "SocketTests.swift",
        "TestConfig.swift",
        "UnencryptedSocketTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Bolt"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Bolt",
      "module_type" : "SwiftTarget",
      "name" : "Bolt",
      "path" : "Sources",
      "product_dependencies" : [
        "PackStream",
        "NIO",
        "NIOCore",
        "NIOPosix",
        "NIOSSL",
        "NIOTransportServices"
      ],
      "product_memberships" : [
        "Bolt"
      ],
      "sources" : [
        "BoltProtocol.swift",
        "CertificateValidatorProtocol.swift",
        "CertificateValidators.swift",
        "Connection.swift",
        "ConnectionSettings.swift",
        "EncryptedSocket.swift",
        "ReadDataHandler.swift",
        "Request.swift",
        "Response.swift",
        "SHA1.swift",
        "SSLConfiguration.swift",
        "SSLKeyGeneratorConfig.swift",
        "SocketProtocol.swift",
        "UnencryptedSocket.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Done.