Build Information
Successful build of pingx, reference 1.1.0 (3fd821
), with Swift 6.1 for macOS (SPM) on 13 Jul 2025 16:21:54 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/shineRR/pingx.git
Reference: 1.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/shineRR/pingx
* tag 1.1.0 -> FETCH_HEAD
HEAD is now at 3fd8211 [IMP-3] Migrate pinger to async/await (#8)
Cloned https://github.com/shineRR/pingx.git
Revision (git rev-parse @):
3fd8211bde0ce53e33ae9c27f8807a379ba78d21
SUCCESS checkout https://github.com/shineRR/pingx.git at 1.1.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "pingx",
"name": "pingx",
"url": "https://github.com/shineRR/pingx.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/pingx",
"dependencies": [
]
}
]
}
Fetching https://github.com/shineRR/pingx.git
[1/1844] Fetching pingx
Fetched https://github.com/shineRR/pingx.git from cache (0.84s)
Creating working copy for https://github.com/shineRR/pingx.git
Working copy of https://github.com/shineRR/pingx.git resolved at 1.1.0 (3fd8211)
warning: '.resolve-product-dependencies': dependency 'pingx' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/shineRR/pingx.git
https://github.com/shineRR/pingx.git
{
"dependencies" : [
],
"manifest_display_name" : "pingx",
"name" : "pingx",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "pingx",
"targets" : [
"pingx"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "pingxTests",
"module_type" : "SwiftTarget",
"name" : "pingxTests",
"path" : "Tests/pingxTests",
"sources" : [
"Converter/IPv4AddressConverterTests.swift",
"Extenstions/Assertion+Extensions.swift",
"Extenstions/PingResult+Extensions.swift",
"Extenstions/PingSequence+Assertions.swift",
"Mocks/Generated/AsyncPinger+AutoMockable.generated.swift",
"Mocks/Generated/ICMPHeaderFactory+AutoMockable.generated.swift",
"Mocks/Generated/ICMPPacketExtractor+AutoMockable.generated.swift",
"Mocks/Generated/PingxSocket+AutoMockable.generated.swift",
"Mocks/Generated/SocketFactory+AutoMockable.generated.swift",
"Mocks/MockFunc.swift",
"Mocks/MockPingSequence.swift",
"Mocks/ThreadSafeMockFunc.swift",
"Samples/Error+Sample.swift",
"Samples/ICMPHeader+Sample.swift",
"Samples/ICMPPacket+Sample.swift",
"Samples/IPHeader+Sample.swift",
"Samples/IPv4Address+Sample.swift",
"Samples/Payload+Sample.swift",
"Samples/PingxIdentifier+Sample.swift",
"Samples/Request+Sample.swift",
"Samples/Response+Sample.swift",
"Tests/ICMPChecksum/ICMPChecksumTests.swift",
"Tests/ICMPPackageExtractor/ICMPPackageExtractorTests.swift",
"Tests/Pinger/AsyncPingerTests.swift",
"Tests/Pinger/PingerTests.swift",
"Tests/Request/DemandTests.swift",
"Tests/Request/RequestTests.swift"
],
"target_dependencies" : [
"pingx"
],
"type" : "test"
},
{
"c99name" : "pingx",
"module_type" : "SwiftTarget",
"name" : "pingx",
"path" : "Sources/pingx",
"product_memberships" : [
"pingx"
],
"sources" : [
"Checksum/ICMPChecksum.swift",
"Converter/Api/IPv4AddressStringConverter.swift",
"Converter/Error/IPv4AddressConverterError.swift",
"Converter/Impl/IPv4AddressConverter.swift",
"Extensions/Result+Extensions.swift",
"Extensions/String+Extensions.swift",
"Factory/ICMPHeaderFactory/ICMPHeaderFactory.swift",
"Factory/SocketFactory/SocketFactory.swift",
"Model/Atomic/Atomic.swift",
"Model/CommandBlock/CommandBlock.swift",
"Model/IP/IPv4/IPv4Address.swift",
"Model/IPHeader/IPHeader.swift",
"Model/Identifier/PingxIdentifier.swift",
"Model/Interval/Interval.swift",
"Model/Packets/ICMP/ICMPHeader.swift",
"Model/Packets/ICMP/ICMPPacket.swift",
"Model/Packets/ICMP/ICMPType.swift",
"Model/Payload/Payload.swift",
"Model/Request/Request.swift",
"Model/Response/PingError.swift",
"Model/Response/PingResult.swift",
"Model/Response/Response.swift",
"Model/Socket/PingxSocket.swift",
"Pinger/Configuration/PingConfiguration.swift",
"Pinger/Error/AsyncPingerError.swift",
"Pinger/Error/ICMPResponseValidationError.swift",
"Pinger/Helpers/ICMPPackageExtractor.swift",
"Pinger/Helpers/SafeCheckedContinuation.swift",
"Pinger/Model/AsyncPingerResult.swift",
"Pinger/Pingers/AsyncPinger.swift",
"Pinger/Pingers/Pinger.swift",
"Pinger/Sequence/AnyPingSequence.swift",
"Pinger/Sequence/PingSequence.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/33] Emitting module pingx
[4/36] Compiling pingx Pinger.swift
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Pingers/Pinger.swift:62:25: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
60 | cancel(requestId: request.identifier)
61 |
62 | let task = Task { [weak self] in
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
63 | let sequence = self?.asyncPinger.ping(request: request)
| `- note: closure captures non-Sendable 'self'
64 |
65 | while let result = try? await sequence?.next() as? PingResult, !Task.isCancelled {
66 | completion(result)
| `- note: closure captures non-Sendable 'completion'
67 | }
68 |
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Sequence/PingSequence.swift:73:36: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
71 | let safeContinuation = SafeCheckedContinuation(continuation: continuation)
72 |
73 | let timeoutTask = Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
74 | try? await Task.sleep(nanoseconds: UInt64(request.timeoutInterval.nanoseconds))
75 |
76 | guard !Task.isCancelled else { return }
77 |
78 | pinger?.removeCompletion(for: request.identifier)
| `- note: closure captures reference to mutable var 'pinger' which is accessible to code in the current task
79 | safeContinuation.resume(returning: .failure(.timeout))
80 | }
[5/36] Compiling pingx AnyPingSequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Pingers/Pinger.swift:62:25: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
60 | cancel(requestId: request.identifier)
61 |
62 | let task = Task { [weak self] in
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
63 | let sequence = self?.asyncPinger.ping(request: request)
| `- note: closure captures non-Sendable 'self'
64 |
65 | while let result = try? await sequence?.next() as? PingResult, !Task.isCancelled {
66 | completion(result)
| `- note: closure captures non-Sendable 'completion'
67 | }
68 |
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Sequence/PingSequence.swift:73:36: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
71 | let safeContinuation = SafeCheckedContinuation(continuation: continuation)
72 |
73 | let timeoutTask = Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
74 | try? await Task.sleep(nanoseconds: UInt64(request.timeoutInterval.nanoseconds))
75 |
76 | guard !Task.isCancelled else { return }
77 |
78 | pinger?.removeCompletion(for: request.identifier)
| `- note: closure captures reference to mutable var 'pinger' which is accessible to code in the current task
79 | safeContinuation.resume(returning: .failure(.timeout))
80 | }
[6/36] Compiling pingx PingSequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Pingers/Pinger.swift:62:25: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
60 | cancel(requestId: request.identifier)
61 |
62 | let task = Task { [weak self] in
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
63 | let sequence = self?.asyncPinger.ping(request: request)
| `- note: closure captures non-Sendable 'self'
64 |
65 | while let result = try? await sequence?.next() as? PingResult, !Task.isCancelled {
66 | completion(result)
| `- note: closure captures non-Sendable 'completion'
67 | }
68 |
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Sequence/PingSequence.swift:73:36: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
71 | let safeContinuation = SafeCheckedContinuation(continuation: continuation)
72 |
73 | let timeoutTask = Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
74 | try? await Task.sleep(nanoseconds: UInt64(request.timeoutInterval.nanoseconds))
75 |
76 | guard !Task.isCancelled else { return }
77 |
78 | pinger?.removeCompletion(for: request.identifier)
| `- note: closure captures reference to mutable var 'pinger' which is accessible to code in the current task
79 | safeContinuation.resume(returning: .failure(.timeout))
80 | }
[7/36] Compiling pingx Request.swift
[8/36] Compiling pingx PingError.swift
[9/36] Compiling pingx PingResult.swift
[10/36] Compiling pingx Response.swift
[11/36] Compiling pingx PingxSocket.swift
[12/36] Compiling pingx PingConfiguration.swift
[13/36] Compiling pingx Atomic.swift
[14/36] Compiling pingx CommandBlock.swift
[15/36] Compiling pingx IPv4Address.swift
[16/36] Compiling pingx IPHeader.swift
[17/36] Compiling pingx ICMPPacket.swift
[18/36] Compiling pingx ICMPType.swift
[19/36] Compiling pingx Payload.swift
[20/36] Compiling pingx SafeCheckedContinuation.swift
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Helpers/SafeCheckedContinuation.swift:51:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
49 | isResumed = true
50 |
51 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
52 | }
53 | }
[21/36] Compiling pingx AsyncPingerResult.swift
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Helpers/SafeCheckedContinuation.swift:51:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
49 | isResumed = true
50 |
51 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
52 | }
53 | }
[22/36] Compiling pingx AsyncPinger.swift
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Helpers/SafeCheckedContinuation.swift:51:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
49 | isResumed = true
50 |
51 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
52 | }
53 | }
[23/36] Compiling pingx Result+Extensions.swift
[24/36] Compiling pingx String+Extensions.swift
[25/36] Compiling pingx ICMPHeaderFactory.swift
[26/36] Compiling pingx SocketFactory.swift
[27/36] Compiling pingx AsyncPingerError.swift
[28/36] Compiling pingx ICMPResponseValidationError.swift
[29/36] Compiling pingx ICMPPackageExtractor.swift
[30/36] Compiling pingx PingxIdentifier.swift
[31/36] Compiling pingx Interval.swift
[32/36] Compiling pingx ICMPHeader.swift
[33/36] Compiling pingx ICMPChecksum.swift
[34/36] Compiling pingx IPv4AddressStringConverter.swift
[35/36] Compiling pingx IPv4AddressConverterError.swift
[36/36] Compiling pingx IPv4AddressConverter.swift
Build complete! (6.35s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "pingx",
"name" : "pingx",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "pingx",
"targets" : [
"pingx"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "pingxTests",
"module_type" : "SwiftTarget",
"name" : "pingxTests",
"path" : "Tests/pingxTests",
"sources" : [
"Converter/IPv4AddressConverterTests.swift",
"Extenstions/Assertion+Extensions.swift",
"Extenstions/PingResult+Extensions.swift",
"Extenstions/PingSequence+Assertions.swift",
"Mocks/Generated/AsyncPinger+AutoMockable.generated.swift",
"Mocks/Generated/ICMPHeaderFactory+AutoMockable.generated.swift",
"Mocks/Generated/ICMPPacketExtractor+AutoMockable.generated.swift",
"Mocks/Generated/PingxSocket+AutoMockable.generated.swift",
"Mocks/Generated/SocketFactory+AutoMockable.generated.swift",
"Mocks/MockFunc.swift",
"Mocks/MockPingSequence.swift",
"Mocks/ThreadSafeMockFunc.swift",
"Samples/Error+Sample.swift",
"Samples/ICMPHeader+Sample.swift",
"Samples/ICMPPacket+Sample.swift",
"Samples/IPHeader+Sample.swift",
"Samples/IPv4Address+Sample.swift",
"Samples/Payload+Sample.swift",
"Samples/PingxIdentifier+Sample.swift",
"Samples/Request+Sample.swift",
"Samples/Response+Sample.swift",
"Tests/ICMPChecksum/ICMPChecksumTests.swift",
"Tests/ICMPPackageExtractor/ICMPPackageExtractorTests.swift",
"Tests/Pinger/AsyncPingerTests.swift",
"Tests/Pinger/PingerTests.swift",
"Tests/Request/DemandTests.swift",
"Tests/Request/RequestTests.swift"
],
"target_dependencies" : [
"pingx"
],
"type" : "test"
},
{
"c99name" : "pingx",
"module_type" : "SwiftTarget",
"name" : "pingx",
"path" : "Sources/pingx",
"product_memberships" : [
"pingx"
],
"sources" : [
"Checksum/ICMPChecksum.swift",
"Converter/Api/IPv4AddressStringConverter.swift",
"Converter/Error/IPv4AddressConverterError.swift",
"Converter/Impl/IPv4AddressConverter.swift",
"Extensions/Result+Extensions.swift",
"Extensions/String+Extensions.swift",
"Factory/ICMPHeaderFactory/ICMPHeaderFactory.swift",
"Factory/SocketFactory/SocketFactory.swift",
"Model/Atomic/Atomic.swift",
"Model/CommandBlock/CommandBlock.swift",
"Model/IP/IPv4/IPv4Address.swift",
"Model/IPHeader/IPHeader.swift",
"Model/Identifier/PingxIdentifier.swift",
"Model/Interval/Interval.swift",
"Model/Packets/ICMP/ICMPHeader.swift",
"Model/Packets/ICMP/ICMPPacket.swift",
"Model/Packets/ICMP/ICMPType.swift",
"Model/Payload/Payload.swift",
"Model/Request/Request.swift",
"Model/Response/PingError.swift",
"Model/Response/PingResult.swift",
"Model/Response/Response.swift",
"Model/Socket/PingxSocket.swift",
"Pinger/Configuration/PingConfiguration.swift",
"Pinger/Error/AsyncPingerError.swift",
"Pinger/Error/ICMPResponseValidationError.swift",
"Pinger/Helpers/ICMPPackageExtractor.swift",
"Pinger/Helpers/SafeCheckedContinuation.swift",
"Pinger/Model/AsyncPingerResult.swift",
"Pinger/Pingers/AsyncPinger.swift",
"Pinger/Pingers/Pinger.swift",
"Pinger/Sequence/AnyPingSequence.swift",
"Pinger/Sequence/PingSequence.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.