Build Information
Successful build of Bolt, reference 6.0.3 (54a89d), with Swift 6.4 for macOS (SPM) on 24 Sep 2026 01:17:21 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64Build 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 /Users/admin/builder/spi-builder-workspace/.git/
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: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/Neo4j-Swift/bolt-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 958]
[Planning deferred tasks]
[Constructing 2295 / 2461]
[176 / 767]
[186 / 767]
[199 / 772] NIOConcurrencyHelpers
[201 / 785] Atomics
[202 / 796]
[204 / 819]
[210 / 845]
[216 / 845]
[218 / 845]
[222 / 845] _NIOBase64
[231 / 845] CNIOWindows
[238 / 845] InternalCollectionsUtilities
[247 / 845] CNIOWindows
[250 / 845]
[257 / 845] CNIOBoringSSL
[258 / 845] CNIOBoringSSL
[259 / 845] CNIOBoringSSL
[276 / 845] CNIOBoringSSL
[280 / 845] CNIOBoringSSL
[290 / 845] NIOConcurrencyHelpers
[298 / 845] CNIOBoringSSL
[302 / 845] CNIOBoringSSL
[305 / 845] CNIOBoringSSL
[309 / 845] CNIOBoringSSL
[319 / 845] CNIOBoringSSL
[323 / 845] CNIOBoringSSL
[327 / 845] CNIOBoringSSL
[332 / 845] CNIOBoringSSL
[335 / 845] CNIOBoringSSL
[337 / 845] CNIOBoringSSL
[340 / 845] CNIOBoringSSL
[343 / 845] CNIOBoringSSL
[345 / 845] CNIOBoringSSL
[348 / 845] CNIOBoringSSL
[352 / 845] CNIOBoringSSL
[357 / 845] CNIOBoringSSL
[360 / 845] CNIOBoringSSL
[365 / 845] CNIOBoringSSL
[368 / 845] CNIOBoringSSL
[371 / 845] CNIOBoringSSL
[375 / 845] CNIOBoringSSL
[379 / 845] CNIOBoringSSL
[381 / 845] CNIOBoringSSL
[390 / 845] CNIOBoringSSL
[402 / 845] CNIOBoringSSL
[412 / 845] CNIOBoringSSL
[421 / 845] CNIOBoringSSL
[422 / 845] CNIOBoringSSL
[427 / 845] CNIOBoringSSL
[430 / 845] CNIOBoringSSL
[433 / 845] CNIOBoringSSL
[439 / 845] CNIOBoringSSL
[441 / 845] CNIOBoringSSL
[445 / 845] CNIOBoringSSL
[450 / 845] CNIOBoringSSL
[453 / 845] CNIOBoringSSL
[456 / 845] CNIOBoringSSL
[458 / 845] CNIOBoringSSL
[463 / 845] CNIOBoringSSL
[465 / 845] CNIOBoringSSL
[471 / 845] CNIOBoringSSL
[483 / 845] CNIOBoringSSL
[489 / 845] CNIOBoringSSL
[495 / 845] CNIOBoringSSL
[499 / 845] CNIOBoringSSL
[503 / 845] CNIOBoringSSL
[513 / 845] CNIOBoringSSL
[522 / 845] CNIOBoringSSL
[525 / 845] CNIOBoringSSL
[527 / 845] CNIOBoringSSL
[535 / 845] CNIOBoringSSL
[536 / 845] CNIOBoringSSL
[540 / 845] CNIOBoringSSL
[545 / 845] CNIOBoringSSL
[547 / 845] CNIOBoringSSL
[553 / 845] CNIOBoringSSL
[555 / 845] CNIOBoringSSL
[559 / 845] CNIOBoringSSL
[561 / 845] CNIOBoringSSL
[564 / 845] CNIOBoringSSL
[570 / 845] CNIOBoringSSL
[576 / 845] CNIOBoringSSL
[579 / 845] CNIOBoringSSL
[590 / 845] CNIOBoringSSL
[600 / 845] CNIOBoringSSL
[608 / 845] CNIOBoringSSL
[611 / 845] CNIOBoringSSL
[614 / 845] CNIOBoringSSL
[619 / 845] CNIOBoringSSL
[623 / 845] CNIOBoringSSL
[633 / 845] CNIOBoringSSL
[645 / 845] CNIOBoringSSL
[651 / 845] CNIOBoringSSL
[652 / 845] CNIOBoringSSL
[659 / 845] CNIOBoringSSL
[660 / 845] CNIOBoringSSL
[665 / 845]
[673 / 845] NIOConcurrencyHelpers-product
[678 / 845]
[680 / 845] _AtomicsShims
[682 / 845] _AtomicsShims
[686 / 845] InternalCollectionsUtilities
[690 / 845] InternalCollectionsUtilities
[703 / 848]
[722 / 855] Atomics
[731 / 857]
[745 / 873] _NIOBase64
[756 / 878]
[769 / 879]
[778 / 890] DequeModule
[780 / 890]
[782 / 890] DequeModule
[786 / 890] CNIODarwin
[791 / 890] DequeModule
[800 / 891] NIOCore
[803 / 908]
[805 / 908]
[815 / 908] NIOCore
[817 / 908] NIOCore
[817 / 908] CNIOAtomics
[819 / 908] NIOCore
[831 / 912] NIOEmbedded
[835 / 916] NIOEmbedded
[841 / 916] NIOFoundationEssentialsCompat
[859 / 972]
[862 / 972]
[868 / 972]
[871 / 972]
[872 / 972]
[874 / 972]
[885 / 972] PackStream
[886 / 972] NIOFoundationEssentialsCompat
[900 / 972] PackStream
[902 / 972] PackStream-product
[903 / 972] PackStream-product
[905 / 972] PackStream
[908 / 972] NIOPosix
[918 / 973] NIOFoundationEssentialsCompat
[918 / 973] PackStream
[922 / 975] NIOFoundationEssentialsCompat
[933 / 977] NIOPosix
[939 / 983] NIOFoundationCompat
[950 / 988] NIOFoundationCompat
[958 / 989] NIOTLS
[959 / 989] NIOSSL
[960 / 1002] NIOTransportServices
[964 / 1017]
[975 / 1017] NIOSSL
[982 / 1017] NIOTransportServices
[989 / 1017] NIOTransportServices-product
[991 / 1017] NIOSSL
[993 / 1017] NIOSSL
[999 / 1017] NIOSSL
[1001 / 1018] NIOSSL
[1001 / 1018] Bolt
[1011 / 1030] Bolt
[1014 / 1030] Bolt
[1015 / 1030] NIOPosix
[1027 / 1030] NIOTransportServices
[1027 / 1030] Bolt
Build complete! (31.98 sec)
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/Neo4j-Swift/PackStream-Swift.git
[1/2863] Fetching swift-nio-transport-services
[116/18928] Fetching swift-nio-transport-services, swift-nio-ssl
[3507/21663] Fetching swift-nio-transport-services, swift-nio-ssl, packstream-swift
Fetched https://github.com/apple/swift-nio-transport-services.git (1.27s)
[887/18800] Fetching swift-nio-ssl, packstream-swift
[2983/104865] Fetching swift-nio-ssl, packstream-swift, swift-nio
Fetched https://github.com/Neo4j-Swift/PackStream-Swift.git (11.12s)
Fetched https://github.com/apple/swift-nio.git (11.12s)
Fetched https://github.com/apple/swift-nio-ssl.git (11.12s)
Computing version for https://github.com/Neo4j-Swift/PackStream-Swift.git
Computed https://github.com/Neo4j-Swift/PackStream-Swift.git at 6.0.1 (11.74s)
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.58s)
Fetching https://github.com/apple/swift-atomics.git
[1/1875] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git (1.18s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.80s)
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.73s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.70s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/6916] Fetching swift-system
[831/34609] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git (3.07s)
Fetched https://github.com/apple/swift-collections.git (3.07s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.0 (3.78s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.59s)
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-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/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-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
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
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Tests/BoltTests/BoltSwiftTestConfig.sample.json
/Users/admin/builder/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,
/Users/admin/builder/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 }
/Users/admin/builder/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 {
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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 }
/Users/admin/builder/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 }
/Users/admin/builder/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 &&
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/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
/Users/admin/builder/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>
/Users/admin/builder/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 }
/Users/admin/builder/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 {
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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 }
/Users/admin/builder/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 }
/Users/admin/builder/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 &&
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/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
/Users/admin/builder/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.
{
"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" : "/Users/admin/builder/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"
}
Done.