Build Information
Failed to build NetDiagnosis with Swift 5.8 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/453jerry/NetDiagnosis.git
Reference: main
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
* 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
========================================
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-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/ReactiveX/RxSwift.git
[1/13745] Fetching swift-collections
[689/64759] 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.45s)
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] Emitting module _CollectionsUtilities
[2/162] Compiling _CollectionsUtilities UnsafeBufferPointer+Extras.swift
[3/162] Compiling _CollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[4/162] Compiling RxSwift Create.swift
[5/162] Compiling RxSwift CurrentThreadScheduler.swift
[6/162] Compiling RxSwift Date+Dispatch.swift
[7/162] Compiling RxSwift Debounce.swift
[8/162] Compiling RxSwift CombineLatest.swift
[9/162] Compiling RxSwift CompactMap.swift
[10/162] Compiling RxSwift Completable+AndThen.swift
[11/162] Compiling RxSwift ConcurrentMainScheduler.swift
[12/162] Compiling RxSwift ConnectableObservableType.swift
[13/162] Compiling RxSwift Debug.swift
[14/162] Compiling RxSwift Decode.swift
[15/162] Compiling RxSwift DefaultIfEmpty.swift
[16/162] Compiling RxSwift Concat.swift
[17/162] Compiling RxSwift ConcurrentDispatchQueueScheduler.swift
[18/162] Compiling RxSwift Completable.swift
[19/162] Compiling RxSwift CompositeDisposable.swift
[22/219] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[23/219] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[24/219] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[25/219] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[26/219] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[27/219] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[28/219] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[29/226] Emitting module RxSwift
[30/226] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[31/226] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[32/226] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[33/226] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[34/226] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[35/226] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[36/226] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[37/246] Compiling OrderedCollections OrderedSet+Initializers.swift
[38/246] Compiling OrderedCollections OrderedSet+Insertions.swift
[39/246] Compiling OrderedCollections OrderedSet+Invariants.swift
[40/246] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[41/246] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[42/246] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[43/246] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[44/246] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.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+Codable.swift
[54/246] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[55/246] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[56/246] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[57/246] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[58/246] Compiling OrderedCollections OrderedDictionary+Elements.swift
[59/246] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[60/246] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[61/246] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[62/246] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[63/246] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[64/246] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[65/246] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[66/246] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[67/246] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[68/246] Compiling OrderedCollections OrderedDictionary+Values.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 OrderedCollections OrderedSet+Sendable.swift
[78/246] Compiling OrderedCollections OrderedSet+SubSequence.swift
[79/246] Compiling OrderedCollections OrderedSet+Testing.swift
[80/246] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[81/246] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[82/246] Compiling OrderedCollections OrderedSet.swift
[83/246] Compiling OrderedCollections _UnsafeBitset.swift
[84/246] Emitting module OrderedCollections
[87/254] Compiling NetDiagnosis Utilities.swift
/host/spi-builder-workspace/Sources/NetDiagnosis/Pinger.swift:8:8: error: no such module 'Darwin'
import Darwin
^
[108/254] Compiling RxSwift Multicast.swift
[109/254] Compiling RxSwift Never.swift
[110/254] Compiling RxSwift NopDisposable.swift
[111/254] Compiling RxSwift Observable+Concurrency.swift
[112/254] Compiling RxSwift Observable.swift
[113/254] Compiling RxSwift ObservableConvertibleType+Infallible.swift
[114/254] Compiling RxSwift ObservableConvertibleType.swift
[115/254] Compiling RxSwift ObservableType+Extensions.swift
[116/254] Compiling RxSwift ObservableType+PrimitiveSequence.swift
[117/254] Compiling RxSwift ObservableType.swift
[118/254] Compiling RxSwift ObserveOn.swift
[119/254] Compiling RxSwift ObserverBase.swift
[120/254] Compiling RxSwift ObserverType.swift
[121/254] Compiling RxSwift OperationQueueScheduler.swift
[122/254] Compiling RxSwift Optional.swift
[123/254] Compiling RxSwift Platform.Darwin.swift
[124/254] Compiling RxSwift Platform.Linux.swift
[125/254] Compiling RxSwift PrimitiveSequence+Concurrency.swift
[126/254] Compiling RxSwift PrimitiveSequence+Zip+arity.swift
[127/254] Compiling RxSwift PrimitiveSequence.swift
[128/254] Compiling RxSwift PriorityQueue.swift
[129/254] Compiling RxSwift Producer.swift
[130/254] Compiling RxSwift PublishSubject.swift
[131/254] Compiling RxSwift Queue.swift
[132/254] Compiling RxSwift Range.swift
[133/254] Compiling RxSwift Reactive.swift
[134/254] Compiling RxSwift RecursiveLock.swift
[135/254] Compiling RxSwift RecursiveScheduler.swift
[136/254] Compiling RxSwift Reduce.swift
[137/254] Compiling RxSwift RefCountDisposable.swift
[138/254] Compiling RxSwift Repeat.swift
[139/254] Compiling RxSwift ReplaySubject.swift
[140/254] Compiling RxSwift RetryWhen.swift
[141/254] Compiling RxSwift Rx.swift
[142/254] Compiling RxSwift RxMutableBox.swift
[143/254] Compiling RxSwift Sample.swift
[144/254] Compiling RxSwift Scan.swift
[145/254] Compiling RxSwift ScheduledDisposable.swift
[146/254] Compiling RxSwift ScheduledItem.swift
[147/254] Compiling RxSwift ScheduledItemType.swift
[148/254] Compiling NetDiagnosis Pinger+Trace.swift
/host/spi-builder-workspace/Sources/NetDiagnosis/Pinger.swift:8:8: error: no such module 'Darwin'
import Darwin
^
[149/254] Compiling NetDiagnosis Pinger.swift
/host/spi-builder-workspace/Sources/NetDiagnosis/Pinger.swift:8:8: error: no such module 'Darwin'
import Darwin
^
[170/254] Compiling RxSwift ImmediateSchedulerType.swift
[171/254] Compiling RxSwift Infallible+CombineLatest+Collection.swift
[172/254] Compiling RxSwift Infallible+CombineLatest+arity.swift
[173/254] Compiling RxSwift Infallible+Concurrency.swift
[174/254] Compiling RxSwift Infallible+Create.swift
[175/254] Compiling RxSwift Infallible+Debug.swift
[176/254] Compiling RxSwift Infallible+Operators.swift
[177/254] Compiling RxSwift Infallible+Zip+arity.swift
[178/254] Compiling RxSwift Infallible.swift
[179/254] Compiling RxSwift InfiniteSequence.swift
[180/254] Compiling RxSwift InvocableScheduledItem.swift
[181/254] Compiling RxSwift InvocableType.swift
[182/254] Compiling RxSwift Just.swift
[183/254] Compiling RxSwift Lock.swift
[184/254] Compiling RxSwift LockOwnerType.swift
[185/254] Compiling RxSwift MainScheduler.swift
[186/254] Compiling RxSwift Map.swift
[187/254] Compiling RxSwift Materialize.swift
[188/254] Compiling RxSwift Maybe.swift
[189/254] Compiling RxSwift Merge.swift
[211/254] Compiling RxSwift AddRef.swift
[212/254] Compiling RxSwift Amb.swift
[213/254] Compiling RxSwift AnonymousDisposable.swift
[214/254] Compiling RxSwift AnonymousObserver.swift
[215/254] Compiling RxSwift AnyObserver.swift
[216/254] Compiling RxSwift AsMaybe.swift
[217/254] Compiling RxSwift AsSingle.swift
[218/254] Compiling RxSwift AsyncLock.swift
[219/254] Compiling RxSwift AsyncSubject.swift
[220/254] Compiling RxSwift AtomicInt.swift
[221/254] Compiling RxSwift Bag+Rx.swift
[222/254] Compiling RxSwift Bag.swift
[223/254] Compiling RxSwift BehaviorSubject.swift
[224/254] Compiling RxSwift BinaryDisposable.swift
[225/254] Compiling RxSwift Binder.swift
[226/254] Compiling RxSwift BooleanDisposable.swift
[227/254] Compiling RxSwift Buffer.swift
[228/254] Compiling RxSwift Cancelable.swift
[229/254] Compiling RxSwift Catch.swift
[230/254] Compiling RxSwift CombineLatest+Collection.swift
[231/254] Compiling RxSwift CombineLatest+arity.swift
[232/254] Compiling NetDiagnosis Pinger+Sockopt.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
^
[0/1] Planning build
Building for debugging...
[1/2] Emitting module _CollectionsUtilities
[4/5] Emitting module RxSwift
[7/7] Emitting module OrderedCollections
[10/15] Compiling NetDiagnosis Pinger+Sockopt.swift
/host/spi-builder-workspace/Sources/NetDiagnosis/Pinger.swift:8:8: error: no such module 'Darwin'
import Darwin
^
[11/15] Compiling NetDiagnosis Pinger+Trace.swift
/host/spi-builder-workspace/Sources/NetDiagnosis/Pinger.swift:8:8: error: no such module 'Darwin'
import Darwin
^
[12/15] Compiling NetDiagnosis Utilities.swift
/host/spi-builder-workspace/Sources/NetDiagnosis/Pinger.swift:8:8: error: no such module 'Darwin'
import Darwin
^
[13/15] 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)
[14/15] Emitting module NetDiagnosis
/host/spi-builder-workspace/Sources/NetDiagnosis/Pinger.swift:8:8: error: no such module 'Darwin'
import Darwin
^
[15/15] 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