Build Information
Failed to build NetDiagnosis with Swift 5.9 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-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.9
Building package at path: $workDir
https://github.com/453jerry/NetDiagnosis.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-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
[1239/64785] Fetching swift-collections, rxswift
Fetched https://github.com/apple/swift-collections.git (2.45s)
Fetched https://github.com/ReactiveX/RxSwift.git (2.47s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 6.6.0 (0.40s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.0 (0.56s)
Creating working copy for https://github.com/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 6.6.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.0
Building for debugging...
[1/160] Compiling RxSwift AsyncSubject.swift
[2/160] Compiling RxSwift AtomicInt.swift
[3/162] Compiling RxSwift BehaviorSubject.swift
[4/162] Compiling RxSwift BinaryDisposable.swift
[5/162] Compiling RxSwift Bag+Rx.swift
[6/162] Compiling RxSwift Bag.swift
[7/162] Compiling RxSwift AsSingle.swift
[8/162] Compiling RxSwift AsyncLock.swift
[9/162] Compiling RxSwift Binder.swift
[10/162] Compiling RxSwift BooleanDisposable.swift
[11/162] Emitting module _CollectionsUtilities
[12/162] Compiling RxSwift AddRef.swift
[13/162] Compiling RxSwift Amb.swift
[14/162] Compiling RxSwift AnonymousDisposable.swift
[15/162] Compiling RxSwift AnonymousObserver.swift
[16/162] Compiling RxSwift AnyObserver.swift
[17/162] Compiling RxSwift AsMaybe.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 intersection.swift
[24/239] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[25/239] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[26/239] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[27/239] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[28/239] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[29/239] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[30/246] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[31/246] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[32/246] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[33/246] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[34/246] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[35/246] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[36/246] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[37/246] Compiling OrderedCollections OrderedDictionary.swift
[38/246] Compiling OrderedCollections OrderedSet+Codable.swift
[39/246] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[40/246] Compiling OrderedCollections OrderedSet+Descriptions.swift
[41/246] Compiling OrderedCollections OrderedSet+Diffing.swift
[42/246] Compiling OrderedCollections OrderedSet+Equatable.swift
[43/246] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[44/246] Compiling OrderedCollections OrderedSet+Hashable.swift
[45/246] Compiling OrderedCollections OrderedSet+Initializers.swift
[46/246] Compiling OrderedCollections OrderedSet+Insertions.swift
[47/246] Compiling OrderedCollections OrderedSet+Invariants.swift
[48/246] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[49/246] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[50/246] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[51/246] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[52/246] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.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 OrderedDictionary+Codable.swift
[62/246] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[63/246] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[64/246] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[65/246] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[66/246] Compiling OrderedCollections OrderedDictionary+Elements.swift
[67/246] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[68/246] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[69/246] Compiling OrderedCollections _HashTable+Bucket.swift
[70/246] Compiling OrderedCollections _HashTable+BucketIterator.swift
[71/246] Compiling OrderedCollections _HashTable+Constants.swift
[72/246] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[73/246] Compiling OrderedCollections _HashTable+Testing.swift
[74/246] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[75/246] Compiling OrderedCollections _HashTable.swift
[76/246] Compiling OrderedCollections _Hashtable+Header.swift
[77/246] Compiling RxSwift Multicast.swift
[78/246] Compiling RxSwift Never.swift
[79/246] Compiling RxSwift NopDisposable.swift
[80/246] Compiling RxSwift Observable+Concurrency.swift
[81/246] Compiling RxSwift Observable.swift
[82/246] Compiling RxSwift ObservableConvertibleType+Infallible.swift
[83/246] Compiling RxSwift ObservableConvertibleType.swift
[84/246] Compiling RxSwift ObservableType+Extensions.swift
[85/246] Compiling RxSwift ObservableType+PrimitiveSequence.swift
[86/246] Compiling RxSwift ObservableType.swift
[87/246] Compiling RxSwift ObserveOn.swift
[88/246] Compiling RxSwift ObserverBase.swift
[89/246] Compiling RxSwift ObserverType.swift
[90/246] Compiling RxSwift OperationQueueScheduler.swift
[91/246] Compiling RxSwift Optional.swift
[92/246] Compiling RxSwift Platform.Darwin.swift
[93/246] Compiling RxSwift Platform.Linux.swift
[94/246] Compiling RxSwift PrimitiveSequence+Concurrency.swift
[95/246] Compiling RxSwift PrimitiveSequence+Zip+arity.swift
[96/246] Compiling RxSwift PrimitiveSequence.swift
[97/246] Compiling RxSwift PriorityQueue.swift
[98/246] Compiling RxSwift Producer.swift
[99/246] Compiling RxSwift PublishSubject.swift
[100/246] Compiling RxSwift Queue.swift
[101/246] Compiling RxSwift Range.swift
[102/246] Compiling RxSwift Reactive.swift
[103/246] Compiling RxSwift RecursiveLock.swift
[104/246] Compiling RxSwift RecursiveScheduler.swift
[105/246] Compiling RxSwift Reduce.swift
[106/246] Compiling RxSwift RefCountDisposable.swift
[107/246] Compiling RxSwift Repeat.swift
[108/246] Compiling RxSwift ReplaySubject.swift
[109/246] Compiling RxSwift RetryWhen.swift
[110/246] Compiling RxSwift Rx.swift
[111/246] Compiling RxSwift RxMutableBox.swift
[112/246] Compiling RxSwift Sample.swift
[113/246] Compiling RxSwift Scan.swift
[114/246] Compiling RxSwift ScheduledDisposable.swift
[115/246] Compiling RxSwift ScheduledItem.swift
[116/246] Compiling RxSwift ScheduledItemType.swift
[117/246] Compiling OrderedCollections OrderedSet+Sendable.swift
[118/246] Compiling OrderedCollections OrderedSet+SubSequence.swift
[119/246] Compiling OrderedCollections OrderedSet+Testing.swift
[120/246] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[121/246] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[122/246] Compiling OrderedCollections OrderedSet.swift
[123/246] Compiling OrderedCollections _UnsafeBitset.swift
[143/246] Compiling RxSwift HistoricalSchedulerTimeConverter.swift
[165/246] Compiling RxSwift ImmediateSchedulerType.swift
[166/246] Compiling RxSwift Infallible+CombineLatest+Collection.swift
[167/246] Compiling RxSwift Infallible+CombineLatest+arity.swift
[168/246] Compiling RxSwift Infallible+Concurrency.swift
[169/246] Compiling RxSwift Infallible+Create.swift
[170/246] Compiling RxSwift Infallible+Debug.swift
[171/246] Compiling RxSwift Infallible+Operators.swift
[172/246] Compiling RxSwift Infallible+Zip+arity.swift
[173/246] Compiling RxSwift Infallible.swift
[174/246] Compiling RxSwift InfiniteSequence.swift
[175/246] Compiling RxSwift InvocableScheduledItem.swift
[176/246] Compiling RxSwift InvocableType.swift
[177/246] Compiling RxSwift Just.swift
[178/246] Compiling RxSwift Lock.swift
[179/246] Compiling RxSwift LockOwnerType.swift
[180/246] Compiling RxSwift MainScheduler.swift
[181/246] Compiling RxSwift Map.swift
[182/246] Compiling RxSwift Materialize.swift
[183/246] Compiling RxSwift Maybe.swift
[184/246] Compiling RxSwift Merge.swift
[185/246] Compiling RxSwift SchedulerServices+Emulation.swift
[186/246] Compiling RxSwift SchedulerType.swift
[187/246] Compiling RxSwift Sequence.swift
[188/246] Compiling RxSwift SerialDispatchQueueScheduler.swift
[189/246] Compiling RxSwift SerialDisposable.swift
[190/246] Compiling RxSwift ShareReplayScope.swift
[191/246] Compiling RxSwift Single.swift
[192/246] Compiling RxSwift SingleAssignmentDisposable.swift
[193/246] Compiling RxSwift SingleAsync.swift
[194/246] Compiling RxSwift Sink.swift
[195/246] Compiling RxSwift Skip.swift
[196/246] Compiling RxSwift SkipUntil.swift
[197/246] Compiling RxSwift SkipWhile.swift
[198/246] Compiling RxSwift StartWith.swift
[199/246] Compiling RxSwift SubjectType.swift
[200/246] Compiling RxSwift SubscribeOn.swift
[201/246] Compiling RxSwift SubscriptionDisposable.swift
[202/246] Compiling RxSwift SwiftSupport.swift
[203/246] Compiling RxSwift Switch.swift
[204/246] Compiling RxSwift SwitchIfEmpty.swift
[226/246] Emitting module OrderedCollections
[229/254] Compiling NetDiagnosis Utilities.swift
/host/spi-builder-workspace/Sources/NetDiagnosis/Pinger.swift:8:8: error: no such module 'Darwin'
import Darwin
^
[230/254] Compiling NetDiagnosis Pinger+Sockopt.swift
/host/spi-builder-workspace/Sources/NetDiagnosis/Pinger.swift:8:8: error: no such module 'Darwin'
import Darwin
^
[231/254] Compiling NetDiagnosis Pinger.swift
/host/spi-builder-workspace/Sources/NetDiagnosis/Pinger.swift:8:8: error: no such module 'Darwin'
import Darwin
^
[232/254] Compiling NetDiagnosis Pinger+Trace.swift
/host/spi-builder-workspace/Sources/NetDiagnosis/Pinger.swift:8:8: error: no such module 'Darwin'
import Darwin
^
[233/254] Compiling RxSwift SynchronizedDisposeType.swift
[234/254] Compiling RxSwift SynchronizedOnType.swift
[235/254] Compiling RxSwift SynchronizedUnsubscribeType.swift
[236/254] Compiling RxSwift TailRecursiveSink.swift
[237/254] Compiling RxSwift Take.swift
[238/254] Compiling RxSwift TakeLast.swift
[239/254] Compiling RxSwift TakeWithPredicate.swift
[240/254] Compiling RxSwift Throttle.swift
[241/254] Compiling RxSwift Timeout.swift
[242/254] Compiling RxSwift Timer.swift
[243/254] Compiling RxSwift ToArray.swift
[244/254] Compiling RxSwift Using.swift
[245/254] Compiling RxSwift VirtualTimeConverterType.swift
[246/254] Compiling RxSwift VirtualTimeScheduler.swift
[247/254] Compiling RxSwift Window.swift
[248/254] Compiling RxSwift WithLatestFrom.swift
[249/254] Compiling RxSwift WithUnretained.swift
[250/254] Compiling RxSwift Zip+Collection.swift
[251/254] Compiling RxSwift Zip+arity.swift
[252/254] Compiling RxSwift Zip.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[255/256] Emitting module NetDiagnosis
/host/spi-builder-workspace/Sources/NetDiagnosis/Pinger.swift:8:8: error: no such module 'Darwin'
import Darwin
^
[256/256] Compiling NetDiagnosis IPAddr.swift
/host/spi-builder-workspace/Sources/NetDiagnosis/Pinger.swift:8:8: error: no such module 'Darwin'
import Darwin
^
error: fatalError
[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 Utilities.swift
/host/spi-builder-workspace/Sources/NetDiagnosis/Pinger.swift:8:8: error: no such module 'Darwin'
import Darwin
^
[3/6] Compiling NetDiagnosis Pinger+Trace.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
^
error: fatalError
BUILD FAILURE 5.9 linux