Build Information
Successful build of NetDiagnosis, reference main (92f603
), with Swift 6.0 for macOS (SPM) on 15 Jan 2025 20:47:47 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.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.60.1
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 92f603e Merge pull request #9 from mredig/mredig/close-socket
Cloned https://github.com/453jerry/NetDiagnosis.git
Revision (git rev-parse @):
92f603e2acdbed2534f5499328668b9ab32fbed3
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/15610] Fetching swift-collections
[2031/68046] Fetching swift-collections, rxswift
Fetched https://github.com/apple/swift-collections.git from cache (1.93s)
[39327/52436] Fetching rxswift
Fetched https://github.com/ReactiveX/RxSwift.git from cache (4.75s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 6.8.0 (0.48s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.66s)
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
========================================
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
[1/147] Fetching netdiagnosis
Fetched https://github.com/453jerry/NetDiagnosis.git from cache (0.65s)
Fetching https://github.com/apple/swift-collections.git from cache
Fetching https://github.com/ReactiveX/RxSwift.git from cache
Fetched https://github.com/apple/swift-collections.git from cache (0.69s)
Fetched https://github.com/ReactiveX/RxSwift.git from cache (0.69s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 6.8.0 (0.03s)
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/453jerry/NetDiagnosis.git
Working copy of https://github.com/453jerry/NetDiagnosis.git resolved at main (92f603e)
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
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
https://github.com/453jerry/NetDiagnosis.git
{
"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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.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/7] Write sources
[2/7] Copying PrivacyInfo.xcprivacy
[6/7] Write swift-version-5BDAB9E9C0126B9D.txt
[8/173] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[9/173] Compiling RxSwift AnyObserver.swift
[10/173] Compiling RxSwift AsMaybe.swift
[11/173] Compiling RxSwift AnonymousDisposable.swift
[12/173] Compiling RxSwift AnonymousObserver.swift
[13/174] Compiling RxSwift BehaviorSubject.swift
[14/174] Compiling RxSwift BinaryDisposable.swift
[15/174] Compiling RxSwift AsSingle.swift
[16/174] Compiling RxSwift AsyncLock.swift
[17/174] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[18/174] Compiling RxSwift AsyncSubject.swift
[19/174] Compiling RxSwift AtomicInt.swift
[20/174] Compiling RxSwift Binder.swift
[21/174] Compiling RxSwift BooleanDisposable.swift
[22/174] Compiling RxSwift AddRef.swift
[23/174] Compiling RxSwift Amb.swift
[24/174] Compiling RxSwift Bag+Rx.swift
[25/174] Compiling RxSwift Bag.swift
[26/174] Emitting module InternalCollectionsUtilities
[27/230] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[28/230] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[29/230] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[30/230] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[31/230] Compiling OrderedCollections OrderedDictionary+Values.swift
[32/230] Compiling OrderedCollections OrderedDictionary.swift
[33/236] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[34/236] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[35/236] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[36/236] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[37/236] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[38/236] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[39/236] Compiling OrderedCollections _HashTable+Bucket.swift
[40/236] Compiling OrderedCollections _HashTable+BucketIterator.swift
[41/236] Compiling OrderedCollections _HashTable+Constants.swift
[42/236] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[43/236] Compiling OrderedCollections _HashTable+Testing.swift
[44/236] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[45/236] Compiling OrderedCollections _HashTable.swift
[46/236] Emitting module RxSwift
[47/252] Compiling OrderedCollections OrderedSet+SubSequence.swift
[48/252] Compiling OrderedCollections OrderedSet+Testing.swift
[49/252] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[50/252] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[51/252] Compiling OrderedCollections OrderedSet.swift
[52/252] Compiling OrderedCollections _UnsafeBitset.swift
[53/252] Compiling OrderedCollections OrderedSet+Codable.swift
[54/252] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[55/252] Compiling OrderedCollections OrderedSet+Descriptions.swift
[56/252] Compiling OrderedCollections OrderedSet+Diffing.swift
[57/252] Compiling OrderedCollections OrderedSet+Equatable.swift
[58/252] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[59/252] Compiling OrderedCollections OrderedSet+Hashable.swift
[60/252] Compiling OrderedCollections OrderedSet+Initializers.swift
[61/252] Compiling OrderedCollections OrderedSet+Insertions.swift
[62/252] Compiling OrderedCollections OrderedSet+Invariants.swift
[63/252] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[64/252] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[65/252] Compiling OrderedCollections _Hashtable+Header.swift
[66/252] Compiling OrderedCollections OrderedDictionary+Codable.swift
[67/252] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[68/252] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[69/252] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[70/252] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[71/252] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[72/252] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[73/252] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[74/252] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[75/252] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[76/252] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[77/252] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[78/252] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[79/252] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[80/252] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[81/252] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[82/252] Compiling OrderedCollections OrderedSet+Sendable.swift
[83/252] Compiling OrderedCollections OrderedDictionary+Elements.swift
[84/252] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[85/252] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[86/252] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[87/252] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[88/252] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[89/252] Emitting module OrderedCollections
[90/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) &&
[124/258] Compiling RxSwift PrimitiveSequence+Concurrency.swift
[125/258] Compiling RxSwift PrimitiveSequence+Zip+arity.swift
[126/258] Compiling RxSwift PrimitiveSequence.swift
[127/258] Compiling RxSwift PriorityQueue.swift
[128/258] Compiling RxSwift Producer.swift
[129/258] Compiling RxSwift PublishSubject.swift
[130/258] Compiling RxSwift Queue.swift
[131/258] Compiling RxSwift Range.swift
[132/258] Compiling RxSwift Reactive.swift
[133/258] Compiling RxSwift RecursiveLock.swift
[134/258] Compiling RxSwift RecursiveScheduler.swift
[135/258] Compiling RxSwift Reduce.swift
[136/258] Compiling RxSwift RefCountDisposable.swift
[137/258] Compiling RxSwift Repeat.swift
[138/258] Compiling RxSwift ReplaySubject.swift
[139/258] Compiling RxSwift RetryWhen.swift
[140/258] Compiling RxSwift Never.swift
[141/258] Compiling RxSwift NopDisposable.swift
[142/258] Compiling RxSwift Observable+Concurrency.swift
[143/258] Compiling RxSwift Observable.swift
[144/258] Compiling RxSwift ObservableConvertibleType+Infallible.swift
[145/258] Compiling RxSwift ObservableConvertibleType.swift
[146/258] Compiling RxSwift ObservableType+Extensions.swift
[147/258] Compiling RxSwift ObservableType+PrimitiveSequence.swift
[148/258] Compiling RxSwift ObservableType.swift
[149/258] Compiling RxSwift ObserveOn.swift
[150/258] Compiling RxSwift ObserverBase.swift
[151/258] Compiling RxSwift ObserverType.swift
[152/258] Compiling RxSwift OperationQueueScheduler.swift
[153/258] Compiling RxSwift Optional.swift
[154/258] Compiling RxSwift Platform.Darwin.swift
[155/258] Compiling RxSwift Platform.Linux.swift
[156/258] Compiling RxSwift Rx.swift
[157/258] Compiling RxSwift RxMutableBox.swift
[158/258] Compiling RxSwift Sample.swift
[159/258] Compiling RxSwift Scan.swift
[160/258] Compiling RxSwift ScheduledDisposable.swift
[161/258] Compiling RxSwift ScheduledItem.swift
[162/258] Compiling RxSwift ScheduledItemType.swift
[163/258] Compiling RxSwift SchedulerServices+Emulation.swift
[164/258] Compiling RxSwift SchedulerType.swift
[165/258] Compiling RxSwift Sequence.swift
[166/258] Compiling RxSwift SerialDispatchQueueScheduler.swift
[167/258] Compiling RxSwift SerialDisposable.swift
[168/258] Compiling RxSwift ShareReplayScope.swift
[169/258] Compiling RxSwift Single.swift
[170/258] Compiling RxSwift SingleAssignmentDisposable.swift
[171/258] Compiling RxSwift SingleAsync.swift
[172/258] Compiling RxSwift Sink.swift
[173/258] Compiling RxSwift Skip.swift
[174/258] Compiling RxSwift SkipUntil.swift
[175/258] Compiling RxSwift SkipWhile.swift
[176/258] Compiling RxSwift StartWith.swift
[177/258] Compiling RxSwift SubjectType.swift
[178/258] Compiling RxSwift SubscribeOn.swift
[179/258] Compiling RxSwift SubscriptionDisposable.swift
[180/258] Compiling RxSwift SwiftSupport.swift
[181/258] Compiling RxSwift Switch.swift
[182/258] Compiling RxSwift SwitchIfEmpty.swift
[183/258] Compiling RxSwift SynchronizedDisposeType.swift
[184/258] Compiling RxSwift SynchronizedOnType.swift
[185/258] Compiling RxSwift SynchronizedUnsubscribeType.swift
[186/258] Compiling RxSwift TailRecursiveSink.swift
[187/258] Compiling RxSwift Take.swift
[188/258] Compiling RxSwift Cancelable.swift
[189/258] Compiling RxSwift Catch.swift
[190/258] Compiling RxSwift CombineLatest+Collection.swift
[191/258] Compiling RxSwift CombineLatest+arity.swift
[192/258] Compiling RxSwift CombineLatest.swift
[193/258] Compiling RxSwift CompactMap.swift
[194/258] Compiling RxSwift Completable+AndThen.swift
[195/258] Compiling RxSwift Completable.swift
[196/258] Compiling RxSwift CompositeDisposable.swift
[197/258] Compiling RxSwift Concat.swift
[198/258] Compiling RxSwift ConcurrentDispatchQueueScheduler.swift
[199/258] Compiling RxSwift ConcurrentMainScheduler.swift
[200/258] Compiling RxSwift ConnectableObservableType.swift
[201/258] Compiling RxSwift Create.swift
[202/258] Compiling RxSwift CurrentThreadScheduler.swift
[203/258] Compiling RxSwift Date+Dispatch.swift
[204/258] Compiling RxSwift Debounce.swift
[216/258] Compiling RxSwift ImmediateSchedulerType.swift
[217/258] Compiling RxSwift Infallible+CombineLatest+Collection.swift
[218/258] Compiling RxSwift Infallible+CombineLatest+arity.swift
[219/258] Compiling RxSwift Infallible+Concurrency.swift
[220/258] Compiling RxSwift Infallible+Create.swift
[238/258] Compiling RxSwift TakeLast.swift
[239/258] Compiling RxSwift TakeWithPredicate.swift
[240/258] Compiling RxSwift Throttle.swift
[241/258] Compiling RxSwift Timeout.swift
[242/258] Compiling RxSwift Timer.swift
[243/258] Compiling RxSwift ToArray.swift
[244/258] Compiling RxSwift Using.swift
[245/258] Compiling RxSwift VirtualTimeConverterType.swift
[246/258] Compiling RxSwift VirtualTimeScheduler.swift
[247/258] Compiling RxSwift Window.swift
[248/258] Compiling RxSwift WithLatestFrom.swift
[249/258] Compiling RxSwift WithUnretained.swift
[250/258] Compiling RxSwift Zip+Collection.swift
[251/258] Compiling RxSwift Zip+arity.swift
[252/258] Compiling RxSwift Zip.swift
[253/258] Compiling RxSwift resource_bundle_accessor.swift
[254/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) &&
[255/258] Compiling NetDiagnosis Pinger+Sockopt.swift
[256/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
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
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
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
| `- 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
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
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
64 | return
65 | }
[257/258] Compiling NetDiagnosis Pinger.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetDiagnosis/Pinger.swift:71:26: warning: capture of 'self' with non-sendable type 'Pinger' in a `@Sendable` closure
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
:
69 | ) {
70 | self.serailQueue.async {
71 | let result = self.ping(packetSize: packetSize, hopLimit: hopLimit, timeOut: timeOut)
| `- warning: capture of 'self' with non-sendable type 'Pinger' in a `@Sendable` closure
72 | callback(result)
73 | }
/Users/admin/builder/spi-builder-workspace/Sources/NetDiagnosis/Pinger.swift:72:13: warning: capture of 'callback' with non-sendable type 'Pinger.PingCallback' (aka '(Pinger.PingResult) -> ()') in a `@Sendable` closure
70 | self.serailQueue.async {
71 | let result = self.ping(packetSize: packetSize, hopLimit: hopLimit, timeOut: timeOut)
72 | callback(result)
| |- warning: capture of 'callback' with non-sendable type 'Pinger.PingCallback' (aka '(Pinger.PingResult) -> ()') in a `@Sendable` closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
73 | }
74 | }
[258/258] Compiling NetDiagnosis Utilities.swift
[259/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 {
[260/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 {
Build complete! (23.81s)
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.