The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build NetDiagnosis with Swift 5.8 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.34.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/453jerry/NetDiagnosis.git
Reference: 1.1.2
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/453jerry/NetDiagnosis
 * tag               1.1.2      -> FETCH_HEAD
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 1.1.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  $workDir
https://github.com/453jerry/NetDiagnosis.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/ReactiveX/RxSwift.git
Fetching https://github.com/apple/swift-collections.git
[1/13745] Fetching swift-collections
[1513/64785] Fetching swift-collections, rxswift
Fetched https://github.com/apple/swift-collections.git (2.43s)
Fetched https://github.com/ReactiveX/RxSwift.git (2.44s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 6.6.0 (0.37s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.0 (0.51s)
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.0
Creating working copy for https://github.com/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 6.6.0
Building for debugging...
[1/160] Emitting module _CollectionsUtilities
[2/162] Compiling RxSwift ObserveOn.swift
[3/162] Compiling RxSwift ObserverBase.swift
[4/162] Compiling RxSwift Multicast.swift
[5/162] Compiling RxSwift Never.swift
[6/162] Compiling RxSwift NopDisposable.swift
[7/162] Compiling RxSwift Observable+Concurrency.swift
[8/162] Compiling RxSwift Observable.swift
[9/162] Compiling RxSwift ObservableConvertibleType+Infallible.swift
[10/162] Compiling RxSwift ObserverType.swift
[11/162] Compiling RxSwift OperationQueueScheduler.swift
[12/162] Compiling RxSwift ObservableType+PrimitiveSequence.swift
[13/162] Compiling RxSwift ObservableType.swift
[14/162] Compiling RxSwift ObservableConvertibleType.swift
[15/162] Compiling RxSwift ObservableType+Extensions.swift
[16/162] Compiling RxSwift Optional.swift
[17/162] Compiling RxSwift Platform.Darwin.swift
[18/162] Compiling _CollectionsUtilities UnsafeBufferPointer+Extras.swift
[19/162] Compiling _CollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[22/219] Emitting module RxSwift
[23/239] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[24/239] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[25/239] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[26/239] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[27/239] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[28/239] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[29/239] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[30/246] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[31/246] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[32/246] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[33/246] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[34/246] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[35/246] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[36/246] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[37/246] Compiling OrderedCollections OrderedDictionary+Codable.swift
[38/246] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[39/246] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[40/246] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[41/246] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[42/246] Compiling OrderedCollections OrderedDictionary+Elements.swift
[43/246] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[44/246] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[45/246] Compiling OrderedCollections OrderedDictionary.swift
[46/246] Compiling OrderedCollections OrderedSet+Codable.swift
[47/246] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[48/246] Compiling OrderedCollections OrderedSet+Descriptions.swift
[49/246] Compiling OrderedCollections OrderedSet+Diffing.swift
[50/246] Compiling OrderedCollections OrderedSet+Equatable.swift
[51/246] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[52/246] Compiling OrderedCollections OrderedSet+Hashable.swift
[53/246] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[54/246] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[55/246] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[56/246] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[57/246] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[58/246] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[59/246] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[60/246] Compiling OrderedCollections OrderedDictionary+Values.swift
[61/246] Compiling OrderedCollections OrderedSet+Initializers.swift
[62/246] Compiling OrderedCollections OrderedSet+Insertions.swift
[63/246] Compiling OrderedCollections OrderedSet+Invariants.swift
[64/246] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[65/246] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[66/246] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[67/246] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[68/246] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[69/246] Emitting module OrderedCollections
[70/246] Compiling OrderedCollections _HashTable+Bucket.swift
[71/246] Compiling OrderedCollections _HashTable+BucketIterator.swift
[72/246] Compiling OrderedCollections _HashTable+Constants.swift
[73/246] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[74/246] Compiling OrderedCollections _HashTable+Testing.swift
[75/246] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[76/246] Compiling OrderedCollections _HashTable.swift
[77/246] Compiling OrderedCollections _Hashtable+Header.swift
[78/246] Compiling OrderedCollections OrderedSet+Sendable.swift
[79/246] Compiling OrderedCollections OrderedSet+SubSequence.swift
[80/246] Compiling OrderedCollections OrderedSet+Testing.swift
[81/246] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[82/246] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[83/246] Compiling OrderedCollections OrderedSet.swift
[84/246] Compiling OrderedCollections _UnsafeBitset.swift
[107/254] Compiling RxSwift ImmediateSchedulerType.swift
[108/254] Compiling RxSwift Infallible+CombineLatest+Collection.swift
[109/254] Compiling RxSwift Infallible+CombineLatest+arity.swift
[110/254] Compiling RxSwift Infallible+Concurrency.swift
[111/254] Compiling RxSwift Infallible+Create.swift
[112/254] Compiling RxSwift Infallible+Debug.swift
[113/254] Compiling RxSwift Infallible+Operators.swift
[114/254] Compiling RxSwift Infallible+Zip+arity.swift
[115/254] Compiling RxSwift Infallible.swift
[116/254] Compiling RxSwift InfiniteSequence.swift
[117/254] Compiling RxSwift InvocableScheduledItem.swift
[118/254] Compiling RxSwift InvocableType.swift
[119/254] Compiling RxSwift Just.swift
[120/254] Compiling RxSwift Lock.swift
[121/254] Compiling RxSwift LockOwnerType.swift
[122/254] Compiling RxSwift MainScheduler.swift
[123/254] Compiling RxSwift Map.swift
[124/254] Compiling RxSwift Materialize.swift
[125/254] Compiling RxSwift Maybe.swift
[126/254] Compiling RxSwift Merge.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[127/254] Emitting module NetDiagnosis
/host/spi-builder-workspace/Sources/NetDiagnosis/Pinger.swift:8:8: error: no such module 'Darwin'
import Darwin
       ^
[128/254] Compiling NetDiagnosis Pinger+Sockopt.swift
/host/spi-builder-workspace/Sources/NetDiagnosis/Pinger.swift:8:8: error: no such module 'Darwin'
import Darwin
       ^
[129/254] Compiling NetDiagnosis Utilities.swift
/host/spi-builder-workspace/Sources/NetDiagnosis/Pinger.swift:8:8: error: no such module 'Darwin'
import Darwin
       ^
[130/254] Compiling NetDiagnosis Pinger+Trace.swift
/host/spi-builder-workspace/Sources/NetDiagnosis/Pinger.swift:8:8: error: no such module 'Darwin'
import Darwin
       ^
[131/254] Compiling NetDiagnosis Pinger.swift
/host/spi-builder-workspace/Sources/NetDiagnosis/Pinger.swift:8:8: error: no such module 'Darwin'
import Darwin
       ^
[132/254] Compiling RxSwift PriorityQueue.swift
[133/254] Compiling RxSwift Producer.swift
[134/254] Compiling RxSwift PublishSubject.swift
[135/254] Compiling RxSwift Queue.swift
[136/254] Compiling RxSwift Range.swift
[137/254] Compiling RxSwift Reactive.swift
[138/254] Compiling RxSwift RecursiveLock.swift
[139/254] Compiling RxSwift RecursiveScheduler.swift
[140/254] Compiling RxSwift Reduce.swift
[141/254] Compiling RxSwift RefCountDisposable.swift
[142/254] Compiling RxSwift Repeat.swift
[143/254] Compiling RxSwift ReplaySubject.swift
[144/254] Compiling RxSwift RetryWhen.swift
[145/254] Compiling RxSwift Rx.swift
[146/254] Compiling RxSwift RxMutableBox.swift
[147/254] Compiling RxSwift Sample.swift
[148/254] Compiling RxSwift Scan.swift
[149/254] Compiling RxSwift ScheduledDisposable.swift
[150/254] Compiling RxSwift ScheduledItem.swift
[151/254] Compiling RxSwift ScheduledItemType.swift
[152/254] Compiling RxSwift DispatchQueueConfiguration.swift
[153/254] Compiling RxSwift Disposable.swift
[154/254] Compiling RxSwift Disposables.swift
[155/254] Compiling RxSwift DisposeBag.swift
[156/254] Compiling RxSwift DisposeBase.swift
[157/254] Compiling RxSwift DistinctUntilChanged.swift
[158/254] Compiling RxSwift Do.swift
[159/254] Compiling RxSwift ElementAt.swift
[160/254] Compiling RxSwift Empty.swift
[161/254] Compiling RxSwift Enumerated.swift
[162/254] Compiling RxSwift Error.swift
[163/254] Compiling RxSwift Errors.swift
[164/254] Compiling RxSwift Event.swift
[165/254] Compiling RxSwift Filter.swift
[166/254] Compiling RxSwift First.swift
[167/254] Compiling RxSwift Generate.swift
[168/254] Compiling RxSwift GroupBy.swift
[169/254] Compiling RxSwift GroupedObservable.swift
[170/254] Compiling RxSwift HistoricalScheduler.swift
[171/254] Compiling RxSwift HistoricalSchedulerTimeConverter.swift
[193/254] Compiling RxSwift AddRef.swift
[194/254] Compiling RxSwift Amb.swift
[195/254] Compiling RxSwift AnonymousDisposable.swift
[196/254] Compiling RxSwift AnonymousObserver.swift
[197/254] Compiling RxSwift AnyObserver.swift
[198/254] Compiling RxSwift AsMaybe.swift
[199/254] Compiling RxSwift AsSingle.swift
[200/254] Compiling RxSwift AsyncLock.swift
[201/254] Compiling RxSwift AsyncSubject.swift
[202/254] Compiling RxSwift AtomicInt.swift
[203/254] Compiling RxSwift Bag+Rx.swift
[204/254] Compiling RxSwift Bag.swift
[205/254] Compiling RxSwift BehaviorSubject.swift
[206/254] Compiling RxSwift BinaryDisposable.swift
[207/254] Compiling RxSwift Binder.swift
[208/254] Compiling RxSwift BooleanDisposable.swift
[209/254] Compiling RxSwift Buffer.swift
[210/254] Compiling RxSwift Cancelable.swift
[211/254] Compiling RxSwift Catch.swift
[212/254] Compiling RxSwift CombineLatest+Collection.swift
[213/254] Compiling RxSwift CombineLatest+arity.swift
[234/254] Compiling RxSwift SynchronizedDisposeType.swift
[235/254] Compiling RxSwift SynchronizedOnType.swift
[236/254] Compiling RxSwift SynchronizedUnsubscribeType.swift
[237/254] Compiling RxSwift TailRecursiveSink.swift
[238/254] Compiling RxSwift Take.swift
[239/254] Compiling RxSwift TakeLast.swift
[240/254] Compiling RxSwift TakeWithPredicate.swift
[241/254] Compiling RxSwift Throttle.swift
[242/254] Compiling RxSwift Timeout.swift
[243/254] Compiling RxSwift Timer.swift
[244/254] Compiling RxSwift ToArray.swift
[245/254] Compiling RxSwift Using.swift
[246/254] Compiling RxSwift VirtualTimeConverterType.swift
[247/254] Compiling RxSwift VirtualTimeScheduler.swift
[248/254] Compiling RxSwift Window.swift
[249/254] Compiling RxSwift WithLatestFrom.swift
[250/254] Compiling RxSwift WithUnretained.swift
[251/254] Compiling RxSwift Zip+Collection.swift
[252/254] Compiling RxSwift Zip+arity.swift
[253/254] Compiling RxSwift Zip.swift
[256/256] Compiling NetDiagnosis IPAddr.swift
/host/spi-builder-workspace/Sources/NetDiagnosis/Pinger.swift:8:8: error: no such module 'Darwin'
import Darwin
       ^
[0/1] Planning build
Building for debugging...
[1/6] Compiling NetDiagnosis Pinger+Sockopt.swift
/host/spi-builder-workspace/Sources/NetDiagnosis/Pinger.swift:8:8: error: no such module 'Darwin'
import Darwin
       ^
[2/6] Compiling NetDiagnosis Pinger+Trace.swift
/host/spi-builder-workspace/Sources/NetDiagnosis/Pinger.swift:8:8: error: no such module 'Darwin'
import Darwin
       ^
[3/6] Compiling NetDiagnosis Utilities.swift
/host/spi-builder-workspace/Sources/NetDiagnosis/Pinger.swift:8:8: error: no such module 'Darwin'
import Darwin
       ^
[4/6] Compiling NetDiagnosis Pinger.swift
/host/spi-builder-workspace/Sources/NetDiagnosis/Pinger.swift:8:8: error: no such module 'Darwin'
import Darwin
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/6] Emitting module NetDiagnosis
/host/spi-builder-workspace/Sources/NetDiagnosis/Pinger.swift:8:8: error: no such module 'Darwin'
import Darwin
       ^
[6/6] Compiling NetDiagnosis IPAddr.swift
/host/spi-builder-workspace/Sources/NetDiagnosis/Pinger.swift:8:8: error: no such module 'Darwin'
import Darwin
       ^
BUILD FAILURE 5.8 linux