Build Information
Successful build of Bolt, reference master (54a89d), with Swift 6.4 for Linux on 24 Sep 2026 01:01:08 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-1":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Neo4j-Swift/bolt-swift.git
Reference: master
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
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
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 master
========================================
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-54344845-1":/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/Neo4j-Swift/PackStream-Swift.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/2863] Fetching swift-nio-transport-services
[488/5598] Fetching swift-nio-transport-services, packstream-swift
[743/21663] Fetching swift-nio-transport-services, packstream-swift, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git (0.52s)
[3699/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 (3.19s)
Fetched https://github.com/apple/swift-nio-ssl.git (3.20s)
Fetched https://github.com/apple/swift-nio.git (3.23s)
Computing version for https://github.com/Neo4j-Swift/PackStream-Swift.git
Computed https://github.com/Neo4j-Swift/PackStream-Swift.git at 6.0.1 (3.39s)
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.18s)
Fetching https://github.com/apple/swift-atomics.git
[1/1875] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git (0.55s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.73s)
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.22s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.32s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/6916] Fetching swift-system
[6917/34609] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git (0.62s)
[831/27693] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.08s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.0 (1.37s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.19s)
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-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-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-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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
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]
[166 / 709] _AtomicsShims
[167 / 709] _NIODataStructures
[178 / 709] NIOConcurrencyHelpers
[179 / 709] InternalCollectionsUtilities
[191 / 709] NIOConcurrencyHelpers
[193 / 709] SpanPreview
[197 / 710] InternalCollectionsUtilities
[201 / 710] InternalCollectionsUtilities
[212 / 715] SpanPreview
[231 / 719] Atomics
[234 / 728] InternalCollectionsUtilities
[238 / 728] CNIOBoringSSL
[240 / 728] CNIOBoringSSL
[243 / 728] InternalCollectionsUtilities
[244 / 729] CNIOBoringSSL
[252 / 729] CNIOBoringSSL
[256 / 729] CNIOBoringSSL
[258 / 729] CNIOBoringSSL
[261 / 729] CNIOBoringSSL
[264 / 729] Atomics
[271 / 729] CNIOBoringSSL
[272 / 729] CNIOBoringSSL
[277 / 729] CNIOBoringSSL
[284 / 729] CNIOBoringSSL
[288 / 729] CNIOBoringSSL
[290 / 729] CNIOBoringSSL
[293 / 729] CNIOBoringSSL
[296 / 729] CNIOBoringSSL
[297 / 729] CNIOBoringSSL
[301 / 729] CNIOBoringSSL
[303 / 729] CNIOBoringSSL
[304 / 729] CNIOBoringSSL
[305 / 729] CNIOBoringSSL
[308 / 729] CNIOBoringSSL
[311 / 729] CNIOBoringSSL
[313 / 729] CNIOBoringSSL
[316 / 729] CNIOBoringSSL
[319 / 729] CNIOBoringSSL
[322 / 729] CNIOBoringSSL
[324 / 729] CNIOBoringSSL
[326 / 729] CNIOBoringSSL
[327 / 729] CNIOBoringSSL
[329 / 729] CNIOBoringSSL
[335 / 729] CNIOBoringSSL
[336 / 729] CNIOBoringSSL
[338 / 729] CNIOBoringSSL
[342 / 729] CNIOBoringSSL
[343 / 729] CNIOBoringSSL
[346 / 729] CNIOBoringSSL
[348 / 729] CNIOBoringSSL
[349 / 729] CNIOBoringSSL
[350 / 729] CNIOBoringSSL
[351 / 729] CNIOBoringSSL
[352 / 729] CNIOBoringSSL
[356 / 729] CNIOBoringSSL
[358 / 729] CNIOBoringSSL
[364 / 729] CNIOBoringSSL
[376 / 729] CNIOBoringSSL
[390 / 729] CNIOBoringSSL
[395 / 729] CNIOBoringSSL
[399 / 729] CNIOBoringSSL
[401 / 729] CNIOBoringSSL
[405 / 729] CNIOBoringSSL
[407 / 729] CNIOBoringSSL
[408 / 729] CNIOBoringSSL
[414 / 729] CNIOBoringSSL
[417 / 729] CNIOBoringSSL
[421 / 729] CNIOBoringSSL
[425 / 729] CNIOBoringSSL
[429 / 729] CNIOBoringSSL
[432 / 729] CNIOBoringSSL
[437 / 729] CNIOBoringSSL
[440 / 729] CNIOBoringSSL
[443 / 729] CNIOBoringSSL
[456 / 729] CNIOBoringSSL
[457 / 729] CNIOBoringSSL
[464 / 729] CNIOBoringSSL
[468 / 729] CNIOBoringSSL
[472 / 729] CNIOBoringSSL
[476 / 729] CNIOBoringSSL
[485 / 729] CNIOBoringSSL
[494 / 729] CNIOBoringSSL
[501 / 729] CNIOBoringSSL
[504 / 729] CNIOBoringSSL
[507 / 729] CNIOBoringSSL
[512 / 729] CNIOBoringSSL
[514 / 729] CNIOBoringSSL
[517 / 729] CNIOBoringSSL
[519 / 729] CNIOBoringSSL
[521 / 729] CNIOBoringSSL
[524 / 729] CNIOBoringSSL
[528 / 729] CNIOBoringSSL
[531 / 729] CNIOBoringSSL
[533 / 729] CNIOBoringSSL
[535 / 729] CNIOBoringSSL
[538 / 729] CNIOBoringSSL
[540 / 729] CNIOBoringSSL
[542 / 729] CNIOBoringSSL
[543 / 729] CNIOBoringSSL
[545 / 729] CNIOBoringSSL
[549 / 729] CNIOBoringSSL
[552 / 729] CNIOBoringSSL
[558 / 729] CNIOBoringSSL
[569 / 729] CNIOBoringSSL
[576 / 729] CNIOBoringSSL
[581 / 729] CNIOBoringSSL
[585 / 729] CNIOBoringSSL
[588 / 729] CNIOBoringSSL
[592 / 729] CNIOBoringSSL
[596 / 729] CNIOBoringSSL
[606 / 729] CNIOBoringSSL
[614 / 729] CNIOBoringSSL
[622 / 729] CNIOBoringSSL
[625 / 729] CNIOBoringSSL
[627 / 729] CNIOBoringSSL
[629 / 729] CNIOBoringSSL
[630 / 729] CNIOBoringSSL
[632 / 729] CNIOBoringSSL
[635 / 729] CNIOBoringSSL
[638 / 729] CNIOBoringSSL
[645 / 729] InternalCollectionsUtilities
[649 / 729] Atomics
[651 / 729] Atomics
[652 / 730] Atomics
[657 / 739] SpanPreview
[659 / 739] DequeModule
[661 / 739] CNIOAtomics
[664 / 739] DequeModule
[666 / 739] DequeModule
[666 / 739] Atomics
[669 / 740] DequeModule
[669 / 741] DequeModule
[687 / 751] NIOCore
[687 / 752] NIOCore
[705 / 777] NIOCore
[706 / 777] NIOEmbedded
[708 / 777] NIOEmbedded
[710 / 777] NIOEmbedded
[716 / 778] PackStream
[717 / 778] PackStream
[726 / 778] PackStream-product
[727 / 778] NIOPosix
[734 / 778] PackStream-product
[736 / 779] PackStream
[740 / 780]
[743 / 782] NIO
[750 / 783] NIOCore-product
[752 / 784]
[754 / 790] PackStream
[756 / 790] NIOTLS
[762 / 790] NIOTLS
[763 / 790] NIOTLS-product
[767 / 793] NIOTransportServices
[772 / 811] NIOTransportServices
[780 / 811] NIOTransportServices
[783 / 811] NIOTransportServices-product
[787 / 812] NIOTransportServices
[788 / 812] NIOPosix
[791 / 812] NIOSSL
[793 / 812] NIOSSL
[800 / 822] Bolt
[802 / 823] NIOPosix
[806 / 823] Bolt
[807 / 823] NIOPosix
/host/spi-builder-workspace/Sources/EncryptedSocket.swift:36:14: [1;33mwarning: [1;39mclass 'EncryptedSocket' must restate inherited '@unchecked Sendable' conformance[0;0m
[0;36m34 |[0;0m
[0;36m35 |[0;0m /// TLS-encrypted Bolt socket implementation
[0;36m36 |[0;0m public class EncryptedSocket: UnencryptedSocket {
[0;36m|[0;0m `- [1;33mwarning: [1;39mclass 'EncryptedSocket' must restate inherited '@unchecked Sendable' conformance[0;0m
[0;36m37 |[0;0m public lazy var certificateValidator: CertificateValidatorProtocol = UnsecureCertificateValidator(
[0;36m38 |[0;0m hostname: self.hostname,
/host/spi-builder-workspace/Sources/EncryptedSocket.swift:48:32: [1;33mwarning: [1;39m'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.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m46 |[0;0m let trustRoot: NIOSSLTrustRoots = .default
[0;36m47 |[0;0m var cert: [NIOSSLCertificateSource] = []
[0;36m48 |[0;0m if let certFile = try? NIOSSLCertificate(file: "/tmp/server.der", format: .der) {
[0;36m|[0;0m `- [1;33mwarning: [1;39m'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.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m49 |[0;0m cert.append(NIOSSLCertificateSource.certificate(certFile))
[0;36m50 |[0;0m }
/host/spi-builder-workspace/Sources/EncryptedSocket.swift:77:35: [1;33mwarning: [1;39m'init(context:serverHostname:verificationCallback:)' is deprecated: replaced by 'init(context:serverHostname:customVerificationCallback:)'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m75 |[0;0m }
[0;36m76 |[0;0m
[0;36m77 |[0;0m let openSslHandler = try! NIOSSLClientHandler(
[0;36m|[0;0m |- [1;33mwarning: [1;39m'init(context:serverHostname:verificationCallback:)' is deprecated: replaced by 'init(context:serverHostname:customVerificationCallback:)'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'init(context:serverHostname:customVerificationCallback:)' instead[0;0m
[0;36m78 |[0;0m context: sslContext,
[0;36m79 |[0;0m serverHostname: self.hostname,
/host/spi-builder-workspace/Sources/EncryptedSocket.swift:89:52: [1;33mwarning: [1;39mconformance of 'NIOSSLHandler' to 'Sendable' is unavailable[0;0m
[0;36m87 |[0;0m return channel.eventLoop.makeSucceededVoidFuture()
[0;36m88 |[0;0m }
[0;36m89 |[0;0m return channel.pipeline.addHandler(openSslHandler).flatMap {
[0;36m|[0;0m `- [1;33mwarning: [1;39mconformance of 'NIOSSLHandler' to 'Sendable' is unavailable[0;0m
[0;36m90 |[0;0m channel.pipeline.addHandler(dataHandler)
[0;36m91 |[0;0m }
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOSSL/NIOSSLHandler.swift:839:1: [1;39mnote: [1;39mconformance of 'NIOSSLHandler' to 'Sendable' has been explicitly marked unavailable here[0;0m
[0;36m837 |[0;0m
[0;36m838 |[0;0m @available(*, unavailable)
[0;36m839 |[0;0m extension NIOSSLHandler: Sendable {}
[0;36m|[0;0m `- [1;39mnote: [1;39mconformance of 'NIOSSLHandler' to 'Sendable' has been explicitly marked unavailable here[0;0m
[0;36m840 |[0;0m
[0;36m841 |[0;0m extension NIOSSLHandler {
/host/spi-builder-workspace/Sources/EncryptedSocket.swift:86:27: [1;33mwarning: [1;39mvalue 'self' was defined but never used; consider replacing with boolean test[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m84 |[0;0m .channelOption(ChannelOptions.socket(SocketOptionLevel(SOL_SOCKET), SO_REUSEADDR), value: 1)
[0;36m85 |[0;0m .channelInitializer { [weak self] channel in
[0;36m86 |[0;0m guard let self = self else {
[0;36m|[0;0m `- [1;33mwarning: [1;39mvalue 'self' was defined but never used; consider replacing with boolean test[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m87 |[0;0m return channel.eventLoop.makeSucceededVoidFuture()
[0;36m88 |[0;0m }
/host/spi-builder-workspace/Sources/EncryptedSocket.swift:89:52: [1;33mwarning: [1;39mcapture of 'openSslHandler' with non-Sendable type 'NIOSSLClientHandler' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m87 |[0;0m return channel.eventLoop.makeSucceededVoidFuture()
[0;36m88 |[0;0m }
[0;36m89 |[0;0m return channel.pipeline.addHandler(openSslHandler).flatMap {
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'openSslHandler' with non-Sendable type 'NIOSSLClientHandler' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m90 |[0;0m channel.pipeline.addHandler(dataHandler)
[0;36m91 |[0;0m }
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOSSL/NIOSSLClientHandler.swift:59:20: [1;39mnote: [1;39mclass 'NIOSSLClientHandler' does not conform to the 'Sendable' protocol[0;0m
[0;36m57 |[0;0m /// This handler can be used in channels that are acting as the client
[0;36m58 |[0;0m /// in the TLS dialog. For server connections, use the ``NIOSSLServerHandler``.
[0;36m59 |[0;0m public final class NIOSSLClientHandler: NIOSSLHandler {
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'NIOSSLClientHandler' does not conform to the 'Sendable' protocol[0;0m
[0;36m60 |[0;0m /// Construct a new ``NIOSSLClientHandler`` with the given `context` and a specific `serverHostname`.
[0;36m61 |[0;0m ///
[#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>
[810 / 823] NIOPosix
/host/spi-builder-workspace/Sources/Connection.swift:204:25: [1;33mwarning: [1;39mcapture of 'loop()' with non-Sendable type '() -> ()' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m202 |[0;0m
[0;36m203 |[0;0m if responseData.count < 2 {
[0;36m204 |[0;0m loop()
[0;36m|[0;0m |- [1;33mwarning: [1;39mcapture of 'loop()' with non-Sendable type '() -> ()' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39ma function type must be marked '@Sendable' to conform to 'Sendable'[0;0m
[0;36m205 |[0;0m return
[0;36m206 |[0;0m }
/host/spi-builder-workspace/Sources/Connection.swift:201:21: [1;33mwarning: [1;39mmutation of captured var 'accumulatedData' in concurrently-executing code[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m199 |[0;0m let receiveFuture = try socket.receive(expectedNumberOfBytes: maxChunkSize)
[0;36m200 |[0;0m _ = receiveFuture?.map { responseData in
[0;36m201 |[0;0m accumulatedData.append(contentsOf: responseData)
[0;36m|[0;0m `- [1;33mwarning: [1;39mmutation of captured var 'accumulatedData' in concurrently-executing code[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m202 |[0;0m
[0;36m203 |[0;0m if responseData.count < 2 {
/host/spi-builder-workspace/Sources/Connection.swift:197:14: [1;33mwarning: [1;39mconcurrently-executed local function 'loop()' must be marked as '@Sendable'[0;0m
[0;36m195 |[0;0m var accumulatedData: [Byte] = []
[0;36m196 |[0;0m
[0;36m197 |[0;0m func loop() {
[0;36m|[0;0m `- [1;33mwarning: [1;39mconcurrently-executed local function 'loop()' must be marked as '@Sendable'[0;0m
[0;36m198 |[0;0m do {
[0;36m199 |[0;0m let receiveFuture = try socket.receive(expectedNumberOfBytes: maxChunkSize)
/host/spi-builder-workspace/Sources/Connection.swift:218:74: [1;33mwarning: [1;39mreference to captured var 'accumulatedData' in concurrently-executing code[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m216 |[0;0m
[0;36m217 |[0;0m // Parse responses
[0;36m218 |[0;0m guard let unchunkedResponses = try? Response.unchunk(accumulatedData) else {
[0;36m|[0;0m `- [1;33mwarning: [1;39mreference to captured var 'accumulatedData' in concurrently-executing code[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m219 |[0;0m promise.fail(BoltError.protocol(message: "Failed to unchunk response"))
[0;36m220 |[0;0m return
/host/spi-builder-workspace/Sources/Connection.swift:270:17: [1;33mwarning: [1;39mcapture of 'loop()' with non-Sendable type '() -> ()' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m268 |[0;0m promise.fail(error)
[0;36m269 |[0;0m case .success:
[0;36m270 |[0;0m loop()
[0;36m|[0;0m |- [1;33mwarning: [1;39mcapture of 'loop()' with non-Sendable type '() -> ()' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39ma function type must be marked '@Sendable' to conform to 'Sendable'[0;0m
[0;36m271 |[0;0m }
[0;36m272 |[0;0m }
/host/spi-builder-workspace/Sources/Connection.swift:300:29: [1;33mwarning: [1;39mcapture of 'loop()' with non-Sendable type '() -> ()' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m298 |[0;0m
[0;36m299 |[0;0m if !isTerminated {
[0;36m300 |[0;0m loop()
[0;36m|[0;0m |- [1;33mwarning: [1;39mcapture of 'loop()' with non-Sendable type '() -> ()' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39ma function type must be marked '@Sendable' to conform to 'Sendable'[0;0m
[0;36m301 |[0;0m return
[0;36m302 |[0;0m }
/host/spi-builder-workspace/Sources/Connection.swift:293:25: [1;33mwarning: [1;39mmutation of captured var 'accumulatedData' in concurrently-executing code[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m291 |[0;0m do {
[0;36m292 |[0;0m try socket.receive(expectedNumberOfBytes: maxChunkSize)?.map { responseData in
[0;36m293 |[0;0m accumulatedData.append(contentsOf: responseData)
[0;36m|[0;0m `- [1;33mwarning: [1;39mmutation of captured var 'accumulatedData' in concurrently-executing code[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m294 |[0;0m
[0;36m295 |[0;0m let isTerminated = responseData.count >= 2 &&
/host/spi-builder-workspace/Sources/Connection.swift:290:18: [1;33mwarning: [1;39mconcurrently-executed local function 'loop()' must be marked as '@Sendable'[0;0m
[0;36m288 |[0;0m var accumulatedData: [Byte] = []
[0;36m289 |[0;0m
[0;36m290 |[0;0m func loop() {
[0;36m|[0;0m `- [1;33mwarning: [1;39mconcurrently-executed local function 'loop()' must be marked as '@Sendable'[0;0m
[0;36m291 |[0;0m do {
[0;36m292 |[0;0m try socket.receive(expectedNumberOfBytes: maxChunkSize)?.map { responseData in
/host/spi-builder-workspace/Sources/Connection.swift:304:69: [1;33mwarning: [1;39mreference to captured var 'accumulatedData' in concurrently-executing code[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m302 |[0;0m }
[0;36m303 |[0;0m
[0;36m304 |[0;0m guard let unchunked = try? Response.unchunk(accumulatedData),
[0;36m|[0;0m `- [1;33mwarning: [1;39mreference to captured var 'accumulatedData' in concurrently-executing code[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m305 |[0;0m let responseBytes = unchunked.first,
[0;36m306 |[0;0m let response = try? Response.unpack(responseBytes) else {
/host/spi-builder-workspace/Sources/Connection.swift:328:17: [1;33mwarning: [1;39mcapture of 'loop()' with non-Sendable type '() -> ()' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m326 |[0;0m
[0;36m327 |[0;0m sendFuture.whenSuccess {
[0;36m328 |[0;0m loop()
[0;36m|[0;0m |- [1;33mwarning: [1;39mcapture of 'loop()' with non-Sendable type '() -> ()' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39ma function type must be marked '@Sendable' to conform to 'Sendable'[0;0m
[0;36m329 |[0;0m }
[0;36m330 |[0;0m sendFuture.whenFailure { error in
/host/spi-builder-workspace/Sources/EncryptedSocket.swift:36:14: [1;33mwarning: [1;39mclass 'EncryptedSocket' must restate inherited '@unchecked Sendable' conformance[0;0m
[0;36m34 |[0;0m
[0;36m35 |[0;0m /// TLS-encrypted Bolt socket implementation
[0;36m36 |[0;0m public class EncryptedSocket: UnencryptedSocket {
[0;36m|[0;0m `- [1;33mwarning: [1;39mclass 'EncryptedSocket' must restate inherited '@unchecked Sendable' conformance[0;0m
[0;36m37 |[0;0m public lazy var certificateValidator: CertificateValidatorProtocol = UnsecureCertificateValidator(
[0;36m38 |[0;0m hostname: self.hostname,
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[818 / 823] Bolt
[818 / 823] NIOSSL
/host/spi-builder-workspace/Sources/SHA1.swift:103:17: [1;33mwarning: [1;39musing '_' to ignore the result of a Void-returning function is redundant[0;0m
[0;36m101 |[0;0m //print("Reading \(range.count) bytes @ position \(range.lowerBound)")
[0;36m102 |[0;0m w.withUnsafeMutableBufferPointer { dest in
[0;36m103 |[0;0m _=data.copyBytes(to: dest, from: range) // Retrieve one chunk
[0;36m|[0;0m `- [1;33mwarning: [1;39musing '_' to ignore the result of a Void-returning function is redundant[0;0m
[0;36m104 |[0;0m }
[0;36m105 |[0;0m context.process(chunk: &w) // Process the chunk
/host/spi-builder-workspace/Sources/SHA1.swift:113:13: [1;33mwarning: [1;39musing '_' to ignore the result of a Void-returning function is redundant[0;0m
[0;36m111 |[0;0m range = range.lowerBound..<data.count // Range for remainder of message
[0;36m112 |[0;0m w.withUnsafeMutableBufferPointer { dest in
[0;36m113 |[0;0m _=data.copyBytes(to: dest, from: range) // Retrieve remainder
[0;36m|[0;0m `- [1;33mwarning: [1;39musing '_' to ignore the result of a Void-returning function is redundant[0;0m
[0;36m114 |[0;0m }
[0;36m115 |[0;0m let bytetochange=range.count % 4 // The bit to the right of the
/host/spi-builder-workspace/Sources/Connection.swift:204:25: [1;33mwarning: [1;39mcapture of 'loop()' with non-Sendable type '() -> ()' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m202 |[0;0m
[0;36m203 |[0;0m if responseData.count < 2 {
[0;36m204 |[0;0m loop()
[0;36m|[0;0m |- [1;33mwarning: [1;39mcapture of 'loop()' with non-Sendable type '() -> ()' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39ma function type must be marked '@Sendable' to conform to 'Sendable'[0;0m
[0;36m205 |[0;0m return
[0;36m206 |[0;0m }
/host/spi-builder-workspace/Sources/Connection.swift:201:21: [1;33mwarning: [1;39mmutation of captured var 'accumulatedData' in concurrently-executing code[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m199 |[0;0m let receiveFuture = try socket.receive(expectedNumberOfBytes: maxChunkSize)
[0;36m200 |[0;0m _ = receiveFuture?.map { responseData in
[0;36m201 |[0;0m accumulatedData.append(contentsOf: responseData)
[0;36m|[0;0m `- [1;33mwarning: [1;39mmutation of captured var 'accumulatedData' in concurrently-executing code[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m202 |[0;0m
[0;36m203 |[0;0m if responseData.count < 2 {
/host/spi-builder-workspace/Sources/Connection.swift:197:14: [1;33mwarning: [1;39mconcurrently-executed local function 'loop()' must be marked as '@Sendable'[0;0m
[0;36m195 |[0;0m var accumulatedData: [Byte] = []
[0;36m196 |[0;0m
[0;36m197 |[0;0m func loop() {
[0;36m|[0;0m `- [1;33mwarning: [1;39mconcurrently-executed local function 'loop()' must be marked as '@Sendable'[0;0m
[0;36m198 |[0;0m do {
[0;36m199 |[0;0m let receiveFuture = try socket.receive(expectedNumberOfBytes: maxChunkSize)
/host/spi-builder-workspace/Sources/Connection.swift:218:74: [1;33mwarning: [1;39mreference to captured var 'accumulatedData' in concurrently-executing code[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m216 |[0;0m
[0;36m217 |[0;0m // Parse responses
[0;36m218 |[0;0m guard let unchunkedResponses = try? Response.unchunk(accumulatedData) else {
[0;36m|[0;0m `- [1;33mwarning: [1;39mreference to captured var 'accumulatedData' in concurrently-executing code[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m219 |[0;0m promise.fail(BoltError.protocol(message: "Failed to unchunk response"))
[0;36m220 |[0;0m return
/host/spi-builder-workspace/Sources/Connection.swift:270:17: [1;33mwarning: [1;39mcapture of 'loop()' with non-Sendable type '() -> ()' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m268 |[0;0m promise.fail(error)
[0;36m269 |[0;0m case .success:
[0;36m270 |[0;0m loop()
[0;36m|[0;0m |- [1;33mwarning: [1;39mcapture of 'loop()' with non-Sendable type '() -> ()' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39ma function type must be marked '@Sendable' to conform to 'Sendable'[0;0m
[0;36m271 |[0;0m }
[0;36m272 |[0;0m }
/host/spi-builder-workspace/Sources/Connection.swift:300:29: [1;33mwarning: [1;39mcapture of 'loop()' with non-Sendable type '() -> ()' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m298 |[0;0m
[0;36m299 |[0;0m if !isTerminated {
[0;36m300 |[0;0m loop()
[0;36m|[0;0m |- [1;33mwarning: [1;39mcapture of 'loop()' with non-Sendable type '() -> ()' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39ma function type must be marked '@Sendable' to conform to 'Sendable'[0;0m
[0;36m301 |[0;0m return
[0;36m302 |[0;0m }
/host/spi-builder-workspace/Sources/Connection.swift:293:25: [1;33mwarning: [1;39mmutation of captured var 'accumulatedData' in concurrently-executing code[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m291 |[0;0m do {
[0;36m292 |[0;0m try socket.receive(expectedNumberOfBytes: maxChunkSize)?.map { responseData in
[0;36m293 |[0;0m accumulatedData.append(contentsOf: responseData)
[0;36m|[0;0m `- [1;33mwarning: [1;39mmutation of captured var 'accumulatedData' in concurrently-executing code[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m294 |[0;0m
[0;36m295 |[0;0m let isTerminated = responseData.count >= 2 &&
/host/spi-builder-workspace/Sources/Connection.swift:290:18: [1;33mwarning: [1;39mconcurrently-executed local function 'loop()' must be marked as '@Sendable'[0;0m
[0;36m288 |[0;0m var accumulatedData: [Byte] = []
[0;36m289 |[0;0m
[0;36m290 |[0;0m func loop() {
[0;36m|[0;0m `- [1;33mwarning: [1;39mconcurrently-executed local function 'loop()' must be marked as '@Sendable'[0;0m
[0;36m291 |[0;0m do {
[0;36m292 |[0;0m try socket.receive(expectedNumberOfBytes: maxChunkSize)?.map { responseData in
/host/spi-builder-workspace/Sources/Connection.swift:304:69: [1;33mwarning: [1;39mreference to captured var 'accumulatedData' in concurrently-executing code[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m302 |[0;0m }
[0;36m303 |[0;0m
[0;36m304 |[0;0m guard let unchunked = try? Response.unchunk(accumulatedData),
[0;36m|[0;0m `- [1;33mwarning: [1;39mreference to captured var 'accumulatedData' in concurrently-executing code[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m305 |[0;0m let responseBytes = unchunked.first,
[0;36m306 |[0;0m let response = try? Response.unpack(responseBytes) else {
/host/spi-builder-workspace/Sources/Connection.swift:328:17: [1;33mwarning: [1;39mcapture of 'loop()' with non-Sendable type '() -> ()' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m326 |[0;0m
[0;36m327 |[0;0m sendFuture.whenSuccess {
[0;36m328 |[0;0m loop()
[0;36m|[0;0m |- [1;33mwarning: [1;39mcapture of 'loop()' with non-Sendable type '() -> ()' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39ma function type must be marked '@Sendable' to conform to 'Sendable'[0;0m
[0;36m329 |[0;0m }
[0;36m330 |[0;0m sendFuture.whenFailure { error in
/host/spi-builder-workspace/Sources/Connection.swift:468:17: [1;33mwarning: [1;39mcapture of 'blockToBePerformed' with non-Sendable type '() -> Void' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m466 |[0;0m let future = EventLoopFuture<Void>.andAllSucceed(futures, on: currentEventLoop)
[0;36m467 |[0;0m future.whenSuccess {
[0;36m468 |[0;0m blockToBePerformed()
[0;36m|[0;0m |- [1;33mwarning: [1;39mcapture of 'blockToBePerformed' with non-Sendable type '() -> Void' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39ma function type must be marked '@Sendable' to conform to 'Sendable'[0;0m
[0;36m469 |[0;0m }
[0;36m470 |[0;0m }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[821 / 824] Bolt
Build complete! (40.86 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.