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>&1Build 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: [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>
[813 / 823] Bolt
/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
/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
[821 / 824] Bolt
/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>
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.