Build Information
Successful build of Bolt, reference master (54a89d), with Swift 6.4 for macOS (SPM) on 24 Sep 2026 01:17:50 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: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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: 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 2320 / 2461]
[176 / 767]
[186 / 767]
[202 / 772] CNIOWindows
[207 / 772] CNIOWASI
[218 / 795] CNIOBoringSSL
[223 / 829]
[237 / 868]
[245 / 868] CNIOBoringSSL
[249 / 868] InternalCollectionsUtilities
[257 / 868] CNIOBoringSSL
[260 / 868]
[273 / 868] CNIOBoringSSL
[280 / 868]
[282 / 868] CNIOBoringSSL
[285 / 868] CNIOBoringSSL
[289 / 868] CNIOBoringSSL
[290 / 868] _NIODataStructures
[294 / 868] CNIOBoringSSL
[300 / 868] _NIODataStructures
[317 / 868] NIOConcurrencyHelpers
[329 / 868] CNIOBoringSSL
[333 / 868] CNIOBoringSSL
[336 / 868] CNIOBoringSSL
[340 / 868] CNIOBoringSSL
[344 / 868] CNIOBoringSSL
[346 / 868] CNIOBoringSSL
[348 / 868] CNIOBoringSSL
[353 / 868] CNIOBoringSSL
[356 / 868] CNIOBoringSSL
[360 / 868] CNIOBoringSSL
[364 / 868] CNIOBoringSSL
[365 / 868] CNIOBoringSSL
[370 / 868] CNIOBoringSSL
[371 / 868] CNIOBoringSSL
[377 / 868] CNIOBoringSSL
[380 / 868] CNIOBoringSSL
[381 / 868] CNIOBoringSSL
[385 / 868] CNIOBoringSSL
[386 / 868] CNIOBoringSSL
[390 / 868] CNIOBoringSSL
[391 / 868] CNIOBoringSSL
[395 / 868] CNIOBoringSSL
[397 / 868] CNIOBoringSSL
[401 / 868] CNIOBoringSSL
[411 / 868] CNIOBoringSSL
[422 / 868] CNIOBoringSSL
[434 / 868] CNIOBoringSSL
[437 / 868] CNIOBoringSSL
[438 / 868] CNIOBoringSSL
[444 / 868] CNIOBoringSSL
[448 / 868] CNIOBoringSSL
[455 / 868] CNIOBoringSSL
[457 / 868] CNIOBoringSSL
[461 / 868] CNIOBoringSSL
[465 / 868] CNIOBoringSSL
[467 / 868] CNIOBoringSSL
[471 / 868] CNIOBoringSSL
[474 / 868] CNIOBoringSSL
[480 / 868] CNIOBoringSSL
[481 / 868] CNIOBoringSSL
[490 / 868] CNIOBoringSSL
[501 / 868] CNIOBoringSSL
[505 / 868] CNIOBoringSSL
[511 / 868] CNIOBoringSSL
[515 / 868] CNIOBoringSSL
[519 / 868] CNIOBoringSSL
[528 / 868] CNIOBoringSSL
[539 / 868] CNIOBoringSSL
[542 / 868] CNIOBoringSSL
[550 / 868] CNIOBoringSSL
[552 / 868] CNIOBoringSSL
[556 / 868] CNIOBoringSSL
[561 / 868] CNIOBoringSSL
[563 / 868] CNIOBoringSSL
[570 / 868] CNIOBoringSSL
[572 / 868] CNIOBoringSSL
[577 / 868] CNIOBoringSSL
[579 / 868] CNIOBoringSSL
[584 / 868] CNIOBoringSSL
[586 / 868] CNIOBoringSSL
[592 / 868] CNIOBoringSSL
[595 / 868] CNIOBoringSSL
[608 / 868] CNIOBoringSSL
[618 / 868] CNIOBoringSSL
[626 / 868] CNIOBoringSSL
[627 / 868] CNIOBoringSSL
[632 / 868] CNIOBoringSSL
[636 / 868] CNIOBoringSSL
[641 / 868] CNIOBoringSSL
[652 / 868] CNIOBoringSSL
[666 / 868] CNIOBoringSSL
[667 / 868] CNIOBoringSSL
[668 / 868] CNIOBoringSSL
[675 / 868] CNIOBoringSSL
[676 / 868] CNIOBoringSSL
[681 / 868]
[699 / 868]
[704 / 868] NIOConcurrencyHelpers
[712 / 868] NIOConcurrencyHelpers
[719 / 868] NIOConcurrencyHelpers
[721 / 868] CNIOPosix
[727 / 868] _NIOBase64
[735 / 868] InternalCollectionsUtilities
[740 / 868] CNIOAtomics
[752 / 873]
[759 / 873] _NIOBase64
[766 / 878] InternalCollectionsUtilities
[775 / 879]
[782 / 890] DequeModule
[783 / 890] DequeModule
[788 / 890] DequeModule
[789 / 890] CNIOBoringSSLShims
[791 / 890] DequeModule
[800 / 891] NIOCore
[803 / 908]
[805 / 908]
[815 / 908] NIOCore
[816 / 908] NIOCore
[817 / 908] NIOCore
[817 / 908] CNIOAtomics
[819 / 908] NIOCore
[830 / 912] NIOCore
[831 / 912]
[831 / 912] NIOEmbedded
[835 / 916] NIOEmbedded
[841 / 916] NIOFoundationEssentialsCompat
[860 / 972] NIOEmbedded
[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
[912 / 972] PackStream
[918 / 973] PackStream
[924 / 975] NIOFoundationEssentialsCompat
[933 / 977] NIOTLS
[939 / 983] NIOFoundationCompat
[950 / 988] NIOFoundationCompat
[958 / 989] NIOTLS
[959 / 989] NIOSSL
[960 / 1002] NIOTransportServices
[964 / 1017]
[973 / 1017]
[975 / 1017] NIOSSL
[986 / 1017] NIOTransportServices-product
[989 / 1017] NIOSSL
[991 / 1017] NIOSSL
[995 / 1017] NIOPosix
[1003 / 1018]
[1007 / 1018] NIOTransportServices
[1007 / 1018] Bolt
[1017 / 1030] Bolt
[1019 / 1030] Bolt
[1019 / 1030] NIOSSL
[1021 / 1030] Bolt
[1027 / 1030] Bolt
Build complete! (30.91 sec)
Fetching https://github.com/apple/swift-nio-ssl.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-transport-services.git
[1/2863] Fetching swift-nio-transport-services
[30/18928] Fetching swift-nio-transport-services, swift-nio-ssl
[3828/21663] Fetching swift-nio-transport-services, swift-nio-ssl, packstream-swift
[6783/107728] Fetching swift-nio-transport-services, swift-nio-ssl, packstream-swift, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git (7.43s)
Fetched https://github.com/apple/swift-nio.git (7.43s)
Fetched https://github.com/apple/swift-nio-transport-services.git (7.43s)
Fetched https://github.com/Neo4j-Swift/PackStream-Swift.git (7.43s)
Computing version for https://github.com/Neo4j-Swift/PackStream-Swift.git
Computed https://github.com/Neo4j-Swift/PackStream-Swift.git at 6.0.1 (8.02s)
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.56s)
Fetching https://github.com/apple/swift-atomics.git
[1/1875] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git (1.19s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.82s)
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.76s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.68s)
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-collections.git (2.87s)
Fetched https://github.com/apple/swift-system.git (2.87s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.0 (3.55s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.57s)
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-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-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.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.103.0
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
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.