Build Information
Successful build of NetDiagnosis, reference main (40e048
), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 09:13:40 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/453jerry/NetDiagnosis.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/453jerry/NetDiagnosis
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 40e048e Merge pull request #8 from 453jerry/feature/support_swift_5_5-5_9
Cloned https://github.com/453jerry/NetDiagnosis.git
Revision (git rev-parse @):
40e048e69956e671a88f5a7fa9d829e5fd960546
SUCCESS checkout https://github.com/453jerry/NetDiagnosis.git at main
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/ReactiveX/RxSwift.git
[1/15475] Fetching swift-collections
[775/67833] Fetching swift-collections, rxswift
Fetched https://github.com/ReactiveX/RxSwift.git from cache (16.01s)
Fetched https://github.com/apple/swift-collections.git from cache (16.01s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 6.8.0 (0.53s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.73s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 6.8.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": "netdiagnosis",
"name": "NetDiagnosis",
"url": "https://github.com/453jerry/NetDiagnosis.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/NetDiagnosis",
"dependencies": [
{
"identity": "swift-collections",
"name": "swift-collections",
"url": "https://github.com/apple/swift-collections.git",
"version": "1.1.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
"dependencies": [
]
},
{
"identity": "rxswift",
"name": "RxSwift",
"url": "https://github.com/ReactiveX/RxSwift.git",
"version": "6.8.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/RxSwift",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/453jerry/NetDiagnosis.git
[2/147] Fetching netdiagnosis
Fetched https://github.com/453jerry/NetDiagnosis.git from cache (0.76s)
Fetching https://github.com/ReactiveX/RxSwift.git from cache
Fetching https://github.com/apple/swift-collections.git from cache
Fetched https://github.com/ReactiveX/RxSwift.git from cache (0.70s)
Fetched https://github.com/apple/swift-collections.git from cache (0.70s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 6.8.0 (0.04s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.03s)
Creating working copy for https://github.com/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 6.8.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.1.4
Creating working copy for https://github.com/453jerry/NetDiagnosis.git
Working copy of https://github.com/453jerry/NetDiagnosis.git resolved at main (40e048e)
warning: '.resolve-product-dependencies': dependency 'netdiagnosis' is not used by any target
Found 2 product dependencies
- swift-collections
- RxSwift
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/453jerry/NetDiagnosis.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/7] Write sources
[1/7] Copying PrivacyInfo.xcprivacy
[1/7] Write sources
[6/7] Write swift-version--7754E27361AE5C74.txt
[8/173] Compiling RxSwift Delay.swift
[9/173] Compiling RxSwift DelaySubscription.swift
[10/174] Compiling RxSwift Debug.swift
[11/174] Compiling RxSwift Decode.swift
[12/174] Emitting module InternalCollectionsUtilities
[13/174] Compiling RxSwift DefaultIfEmpty.swift
[14/174] Compiling RxSwift Deferred.swift
[15/174] Compiling RxSwift Dematerialize.swift
[16/174] Compiling RxSwift DispatchQueue+Extensions.swift
[17/174] Compiling RxSwift Disposables.swift
[18/174] Compiling RxSwift DisposeBag.swift
[19/174] Compiling RxSwift DispatchQueueConfiguration.swift
[20/174] Compiling RxSwift Disposable.swift
[21/174] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[22/174] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[23/174] Compiling RxSwift Do.swift
[24/174] Compiling RxSwift ElementAt.swift
[25/174] Compiling RxSwift DisposeBase.swift
[26/174] Compiling RxSwift DistinctUntilChanged.swift
[27/230] Compiling OrderedCollections OrderedDictionary+Elements.swift
[28/230] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[29/230] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[30/230] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[31/230] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[32/230] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[33/230] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[34/230] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[35/230] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[36/230] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[37/230] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[38/230] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[39/236] Compiling OrderedCollections OrderedSet+Codable.swift
[40/236] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[41/236] Compiling OrderedCollections OrderedSet+Descriptions.swift
[42/236] Compiling OrderedCollections OrderedSet+Diffing.swift
[43/236] Compiling OrderedCollections OrderedSet+Equatable.swift
[44/236] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[45/236] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[46/236] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[47/236] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[48/236] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[49/236] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[50/236] Compiling OrderedCollections OrderedSet+Sendable.swift
[51/236] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[52/236] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[53/236] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[54/236] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[55/236] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[56/236] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[57/236] Compiling OrderedCollections OrderedSet+Hashable.swift
[58/236] Compiling OrderedCollections OrderedSet+Initializers.swift
[59/236] Compiling OrderedCollections OrderedSet+Insertions.swift
[60/236] Compiling OrderedCollections OrderedSet+Invariants.swift
[61/236] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[62/236] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[63/236] Compiling OrderedCollections _Hashtable+Header.swift
[64/236] Compiling OrderedCollections OrderedDictionary+Codable.swift
[65/236] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[66/236] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[67/236] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[68/236] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[69/236] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[70/236] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[71/236] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[72/236] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[73/236] Compiling OrderedCollections OrderedDictionary+Values.swift
[74/236] Compiling OrderedCollections OrderedDictionary.swift
[75/236] Compiling OrderedCollections _HashTable+Bucket.swift
[76/236] Compiling OrderedCollections _HashTable+BucketIterator.swift
[77/236] Compiling OrderedCollections _HashTable+Constants.swift
[78/236] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[79/236] Compiling OrderedCollections _HashTable+Testing.swift
[80/236] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[81/236] Compiling OrderedCollections _HashTable.swift
[82/236] Compiling OrderedCollections OrderedSet+SubSequence.swift
[83/236] Compiling OrderedCollections OrderedSet+Testing.swift
[84/236] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[85/236] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[86/236] Compiling OrderedCollections OrderedSet.swift
[87/236] Compiling OrderedCollections _UnsafeBitset.swift
[88/236] Emitting module OrderedCollections
[89/236] Emitting module RxSwift
[90/252] Compiling RxSwift Sink.swift
[91/252] Compiling RxSwift Skip.swift
[92/252] Compiling RxSwift SkipUntil.swift
[93/252] Compiling RxSwift SkipWhile.swift
[94/252] Compiling RxSwift StartWith.swift
[95/252] Compiling RxSwift SubjectType.swift
[96/252] Compiling RxSwift SubscribeOn.swift
[97/252] Compiling RxSwift SubscriptionDisposable.swift
[98/252] Compiling RxSwift SwiftSupport.swift
[99/252] Compiling RxSwift Switch.swift
[100/252] Compiling RxSwift SwitchIfEmpty.swift
[101/252] Compiling RxSwift SynchronizedDisposeType.swift
[102/252] Compiling RxSwift SynchronizedOnType.swift
[103/252] Compiling RxSwift SynchronizedUnsubscribeType.swift
[104/252] Compiling RxSwift TailRecursiveSink.swift
[105/252] Compiling RxSwift Take.swift
[106/252] Compiling RxSwift Rx.swift
[107/252] Compiling RxSwift RxMutableBox.swift
[108/252] Compiling RxSwift Sample.swift
[109/252] Compiling RxSwift Scan.swift
[110/252] Compiling RxSwift ScheduledDisposable.swift
[111/252] Compiling RxSwift ScheduledItem.swift
[112/252] Compiling RxSwift ScheduledItemType.swift
[113/252] Compiling RxSwift SchedulerServices+Emulation.swift
[114/252] Compiling RxSwift SchedulerType.swift
[115/252] Compiling RxSwift Sequence.swift
[116/252] Compiling RxSwift SerialDispatchQueueScheduler.swift
[117/252] Compiling RxSwift SerialDisposable.swift
[118/252] Compiling RxSwift ShareReplayScope.swift
[119/252] Compiling RxSwift Single.swift
[120/252] Compiling RxSwift SingleAssignmentDisposable.swift
[121/252] Compiling RxSwift SingleAsync.swift
[122/252] Compiling RxSwift PrimitiveSequence+Concurrency.swift
[123/252] Compiling RxSwift PrimitiveSequence+Zip+arity.swift
[124/252] Compiling RxSwift PrimitiveSequence.swift
[125/252] Compiling RxSwift PriorityQueue.swift
[126/252] Compiling RxSwift Producer.swift
[127/252] Compiling RxSwift PublishSubject.swift
[128/252] Compiling RxSwift Queue.swift
[129/252] Compiling RxSwift Range.swift
[130/252] Compiling RxSwift Reactive.swift
[131/252] Compiling RxSwift RecursiveLock.swift
[132/252] Compiling RxSwift RecursiveScheduler.swift
[133/252] Compiling RxSwift Reduce.swift
[134/252] Compiling RxSwift RefCountDisposable.swift
[135/252] Compiling RxSwift Repeat.swift
[136/252] Compiling RxSwift ReplaySubject.swift
[137/252] Compiling RxSwift RetryWhen.swift
[138/258] Compiling RxSwift Infallible+Debug.swift
[139/258] Compiling RxSwift Infallible+Operators.swift
[140/258] Compiling RxSwift Infallible+Zip+arity.swift
[141/258] Compiling RxSwift Infallible.swift
[142/258] Compiling RxSwift InfiniteSequence.swift
[143/258] Compiling RxSwift InvocableScheduledItem.swift
[144/258] Compiling RxSwift InvocableType.swift
[145/258] Compiling RxSwift Just.swift
[146/258] Compiling RxSwift Lock.swift
[147/258] Compiling RxSwift LockOwnerType.swift
[148/258] Compiling RxSwift MainScheduler.swift
[149/258] Compiling RxSwift Map.swift
[150/258] Compiling RxSwift Materialize.swift
[151/258] Compiling RxSwift Maybe.swift
[152/258] Compiling RxSwift Merge.swift
[153/258] Compiling RxSwift Multicast.swift
[164/258] Compiling RxSwift ObserverBase.swift
[165/258] Compiling RxSwift ObserverType.swift
[166/258] Compiling RxSwift OperationQueueScheduler.swift
[167/258] Compiling RxSwift Optional.swift
[168/258] Compiling RxSwift Platform.Darwin.swift
[169/258] Compiling RxSwift Platform.Linux.swift
[170/258] Compiling NetDiagnosis Utilities.swift
[222/258] Compiling RxSwift Enumerated.swift
[223/258] Compiling RxSwift Error.swift
[224/258] Compiling RxSwift Errors.swift
[225/258] Compiling RxSwift Event.swift
[226/258] Compiling RxSwift Filter.swift
[227/258] Compiling RxSwift First.swift
[228/258] Compiling RxSwift Generate.swift
[229/258] Compiling RxSwift GroupBy.swift
[230/258] Compiling RxSwift GroupedObservable.swift
[231/258] Compiling RxSwift HistoricalScheduler.swift
[232/258] Compiling RxSwift HistoricalSchedulerTimeConverter.swift
[233/258] Compiling RxSwift ImmediateSchedulerType.swift
[234/258] Compiling RxSwift Infallible+CombineLatest+Collection.swift
[235/258] Compiling RxSwift Infallible+CombineLatest+arity.swift
[236/258] Compiling RxSwift Infallible+Concurrency.swift
[237/258] Compiling RxSwift Infallible+Create.swift
[238/258] Compiling NetDiagnosis Pinger+Sockopt.swift
[239/258] Emitting module NetDiagnosis
/Users/admin/builder/spi-builder-workspace/Sources/NetDiagnosis/IPAddr.swift:208:1: warning: extension declares a conformance of imported type 'in_addr' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
206 | }
207 |
208 | extension in_addr: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'in_addr' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
209 | public var description: String {
210 | var buffer = [CChar](repeating: 0, count: Int(INET_ADDRSTRLEN))
/Users/admin/builder/spi-builder-workspace/Sources/NetDiagnosis/IPAddr.swift:225:1: warning: extension declares a conformance of imported type 'in6_addr' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
223 | }
224 |
225 | extension in6_addr: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'in6_addr' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
226 | public var description: String {
227 | var buffer = [CChar](repeating: 0, count: Int(INET6_ADDRSTRLEN))
/Users/admin/builder/spi-builder-workspace/Sources/NetDiagnosis/IPAddr.swift:242:1: warning: extension declares a conformance of imported type 'in_addr' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
240 | }
241 |
242 | extension in_addr: Equatable {
| |- warning: extension declares a conformance of imported type 'in_addr' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
243 | public static func == (lhs: in_addr, rhs: in_addr) -> Bool {
244 | lhs.s_addr == rhs.s_addr
/Users/admin/builder/spi-builder-workspace/Sources/NetDiagnosis/IPAddr.swift:248:1: warning: extension declares a conformance of imported type 'in6_addr' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
246 | }
247 |
248 | extension in6_addr: Equatable {
| |- warning: extension declares a conformance of imported type 'in6_addr' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
249 | public static func == (lhs: in6_addr, rhs: in6_addr) -> Bool {
250 | (lhs.__u6_addr.__u6_addr32.0 == rhs.__u6_addr.__u6_addr32.0) &&
[240/258] Compiling NetDiagnosis IPAddr.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetDiagnosis/IPAddr.swift:208:1: warning: extension declares a conformance of imported type 'in_addr' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
206 | }
207 |
208 | extension in_addr: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'in_addr' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
209 | public var description: String {
210 | var buffer = [CChar](repeating: 0, count: Int(INET_ADDRSTRLEN))
/Users/admin/builder/spi-builder-workspace/Sources/NetDiagnosis/IPAddr.swift:225:1: warning: extension declares a conformance of imported type 'in6_addr' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
223 | }
224 |
225 | extension in6_addr: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'in6_addr' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
226 | public var description: String {
227 | var buffer = [CChar](repeating: 0, count: Int(INET6_ADDRSTRLEN))
/Users/admin/builder/spi-builder-workspace/Sources/NetDiagnosis/IPAddr.swift:242:1: warning: extension declares a conformance of imported type 'in_addr' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
240 | }
241 |
242 | extension in_addr: Equatable {
| |- warning: extension declares a conformance of imported type 'in_addr' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
243 | public static func == (lhs: in_addr, rhs: in_addr) -> Bool {
244 | lhs.s_addr == rhs.s_addr
/Users/admin/builder/spi-builder-workspace/Sources/NetDiagnosis/IPAddr.swift:248:1: warning: extension declares a conformance of imported type 'in6_addr' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
246 | }
247 |
248 | extension in6_addr: Equatable {
| |- warning: extension declares a conformance of imported type 'in6_addr' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
249 | public static func == (lhs: in6_addr, rhs: in6_addr) -> Bool {
250 | (lhs.__u6_addr.__u6_addr32.0 == rhs.__u6_addr.__u6_addr32.0) &&
[241/258] Compiling NetDiagnosis Pinger.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetDiagnosis/Pinger.swift:67:26: warning: capture of 'self' with non-sendable type 'Pinger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
10 |
11 | // swiftlint: disable type_body_length force_unwrapping function_body_length
12 | public class Pinger {
| `- note: class 'Pinger' does not conform to the 'Sendable' protocol
13 | public struct Response {
14 | public var len: Int
:
65 | ) {
66 | self.serailQueue.async {
67 | let result = self.ping(packetSize: packetSize, hopLimit: hopLimit, timeOut: timeOut)
| `- warning: capture of 'self' with non-sendable type 'Pinger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
68 | callback(result)
69 | }
/Users/admin/builder/spi-builder-workspace/Sources/NetDiagnosis/Pinger.swift:68:13: warning: capture of 'callback' with non-sendable type 'Pinger.PingCallback' (aka '(Pinger.PingResult) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
66 | self.serailQueue.async {
67 | let result = self.ping(packetSize: packetSize, hopLimit: hopLimit, timeOut: timeOut)
68 | callback(result)
| |- warning: capture of 'callback' with non-sendable type 'Pinger.PingCallback' (aka '(Pinger.PingResult) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
69 | }
70 | }
[242/258] Compiling NetDiagnosis Pinger+Trace.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetDiagnosis/Pinger+Trace.swift:45:38: warning: capture of 'self' with non-sendable type 'Pinger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
43 | for hopLimit in initHop ... maxHop {
44 | for packetIdx in 0 ..< packetCount {
45 | let pingResult = self.ping(
| `- warning: capture of 'self' with non-sendable type 'Pinger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
46 | packetSize: packetSize,
47 | hopLimit: hopLimit,
/Users/admin/builder/spi-builder-workspace/Sources/NetDiagnosis/Pinger.swift:12:14: note: class 'Pinger' does not conform to the 'Sendable' protocol
10 |
11 | // swiftlint: disable type_body_length force_unwrapping function_body_length
12 | public class Pinger {
| `- note: class 'Pinger' does not conform to the 'Sendable' protocol
13 | public struct Response {
14 | public var len: Int
/Users/admin/builder/spi-builder-workspace/Sources/NetDiagnosis/Pinger+Trace.swift:59:21: warning: capture of 'tracePacketCallback' with non-sendable type '((Pinger.TracePacketResult, (Bool) -> Void) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
57 | packetIndex: packetIdx
58 | )
59 | tracePacketCallback?(packetResult) { isStop = $0 }
| |- warning: capture of 'tracePacketCallback' with non-sendable type '((Pinger.TracePacketResult, (Bool) -> Void) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
60 | switch pingResult {
61 | case .pong:
/Users/admin/builder/spi-builder-workspace/Sources/NetDiagnosis/Pinger+Trace.swift:63:29: warning: capture of 'onTraceComplete' with non-sendable type '((OrderedDictionary<UInt8, [Pinger.PingResult]>, Pinger.TraceStatus) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
61 | case .pong:
62 | if packetIdx == packetCount - 1 {
63 | onTraceComplete?(traceResults, .traced)
| |- warning: capture of 'onTraceComplete' with non-sendable type '((OrderedDictionary<UInt8, [Pinger.PingResult]>, Pinger.TraceStatus) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
64 | return
65 | }
[243/258] Compiling RxSwift TakeLast.swift
[244/258] Compiling RxSwift TakeWithPredicate.swift
[245/258] Compiling RxSwift Throttle.swift
[246/258] Compiling RxSwift Timeout.swift
[247/258] Compiling RxSwift Timer.swift
[248/258] Compiling RxSwift ToArray.swift
[249/258] Compiling RxSwift Using.swift
[250/258] Compiling RxSwift VirtualTimeConverterType.swift
[251/258] Compiling RxSwift VirtualTimeScheduler.swift
[252/258] Compiling RxSwift Window.swift
[253/258] Compiling RxSwift WithLatestFrom.swift
[254/258] Compiling RxSwift WithUnretained.swift
[255/258] Compiling RxSwift Zip+Collection.swift
[256/258] Compiling RxSwift Zip+arity.swift
[257/258] Compiling RxSwift Zip.swift
[258/258] Compiling RxSwift resource_bundle_accessor.swift
[259/260] Compiling RxNetDiagnosis Pinger+Rx.swift
/Users/admin/builder/spi-builder-workspace/Sources/RxNetDiagnosis/Pinger+Rx.swift:12:1: warning: extension declares a conformance of imported type 'Pinger' to imported protocol 'ReactiveCompatible'; this will not behave correctly if the owners of 'NetDiagnosis' introduce this conformance in the future
10 | import RxSwift
11 |
12 | extension Pinger: ReactiveCompatible {}
| |- warning: extension declares a conformance of imported type 'Pinger' to imported protocol 'ReactiveCompatible'; this will not behave correctly if the owners of 'NetDiagnosis' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
13 |
14 | extension Reactive where Base: Pinger {
[260/260] Emitting module RxNetDiagnosis
/Users/admin/builder/spi-builder-workspace/Sources/RxNetDiagnosis/Pinger+Rx.swift:12:1: warning: extension declares a conformance of imported type 'Pinger' to imported protocol 'ReactiveCompatible'; this will not behave correctly if the owners of 'NetDiagnosis' introduce this conformance in the future
10 | import RxSwift
11 |
12 | extension Pinger: ReactiveCompatible {}
| |- warning: extension declares a conformance of imported type 'Pinger' to imported protocol 'ReactiveCompatible'; this will not behave correctly if the owners of 'NetDiagnosis' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
13 |
14 | extension Reactive where Base: Pinger {
Build complete! (21.37s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-collections",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.4",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-collections.git"
},
{
"identity" : "rxswift",
"requirement" : {
"range" : [
{
"lower_bound" : "6.6.0",
"upper_bound" : "7.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ReactiveX/RxSwift.git"
}
],
"manifest_display_name" : "NetDiagnosis",
"name" : "NetDiagnosis",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "9.0"
},
{
"name" : "macos",
"version" : "10.10"
},
{
"name" : "watchos",
"version" : "5.0"
},
{
"name" : "tvos",
"version" : "9.0"
}
],
"products" : [
{
"name" : "NetDiagnosis",
"targets" : [
"NetDiagnosis"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "RxNetDiagnosis",
"targets" : [
"RxNetDiagnosis"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "RxNetDiagnosis",
"module_type" : "SwiftTarget",
"name" : "RxNetDiagnosis",
"path" : "Sources/RxNetDiagnosis",
"product_dependencies" : [
"RxSwift"
],
"product_memberships" : [
"RxNetDiagnosis"
],
"sources" : [
"Pinger+Rx.swift"
],
"target_dependencies" : [
"NetDiagnosis"
],
"type" : "library"
},
{
"c99name" : "NetDiagnosisTests",
"module_type" : "SwiftTarget",
"name" : "NetDiagnosisTests",
"path" : "Tests/NetDiagnosisTests",
"sources" : [
"NetDiagnosisTests.swift"
],
"target_dependencies" : [
"NetDiagnosis"
],
"type" : "test"
},
{
"c99name" : "NetDiagnosis",
"module_type" : "SwiftTarget",
"name" : "NetDiagnosis",
"path" : "Sources/NetDiagnosis",
"product_dependencies" : [
"OrderedCollections"
],
"product_memberships" : [
"NetDiagnosis",
"RxNetDiagnosis"
],
"sources" : [
"IPAddr.swift",
"Pinger+Sockopt.swift",
"Pinger+Trace.swift",
"Pinger.swift",
"Utilities.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Done.