Build Information
Failed to build NetDiagnosis with Swift 5.9 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-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.9
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.9-latest swift build 2>&1
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/ReactiveX/RxSwift.git
[1/51014] Fetching rxswift
[2/64759] Fetching rxswift, swift-collections
Fetched https://github.com/apple/swift-collections.git (2.56s)
Fetched https://github.com/ReactiveX/RxSwift.git (2.57s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 6.6.0 (0.63s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.0 (0.82s)
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/160] Compiling RxSwift ImmediateSchedulerType.swift
[3/160] Compiling RxSwift Infallible+CombineLatest+Collection.swift
[4/160] Compiling RxSwift Infallible+CombineLatest+arity.swift
[5/162] Compiling RxSwift Infallible+Zip+arity.swift
[6/162] Compiling RxSwift Infallible.swift
[7/162] Compiling RxSwift Infallible+Concurrency.swift
[8/162] Compiling RxSwift Infallible+Create.swift
[9/162] Compiling RxSwift LockOwnerType.swift
[10/162] Compiling RxSwift MainScheduler.swift
[11/162] Compiling RxSwift Just.swift
[12/162] Compiling RxSwift Lock.swift
[13/162] Compiling RxSwift Infallible+Debug.swift
[14/162] Compiling RxSwift Infallible+Operators.swift
[15/162] Compiling RxSwift InfiniteSequence.swift
[16/162] Compiling RxSwift InvocableScheduledItem.swift
[17/162] Compiling RxSwift InvocableType.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/239] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[31/239] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[32/239] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[33/239] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[34/239] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[35/239] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[36/239] Compiling OrderedCollections OrderedSet+ReserveCapacity.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] Compiling OrderedCollections OrderedSet+Sendable.swift
[70/246] Compiling OrderedCollections OrderedSet+SubSequence.swift
[71/246] Compiling OrderedCollections OrderedSet+Testing.swift
[72/246] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[73/246] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[74/246] Compiling OrderedCollections OrderedSet.swift
[75/246] Compiling OrderedCollections _UnsafeBitset.swift
[76/246] Compiling RxSwift CombineLatest.swift
[77/246] Compiling RxSwift CompactMap.swift
[78/246] Compiling RxSwift Completable+AndThen.swift
[79/246] Compiling RxSwift Completable.swift
[80/246] Compiling RxSwift CompositeDisposable.swift
[81/246] Compiling RxSwift Concat.swift
[82/246] Compiling RxSwift ConcurrentDispatchQueueScheduler.swift
[83/246] Compiling RxSwift ConcurrentMainScheduler.swift
[84/246] Compiling RxSwift ConnectableObservableType.swift
[85/246] Compiling RxSwift Create.swift
[86/246] Compiling RxSwift CurrentThreadScheduler.swift
[87/246] Compiling RxSwift Date+Dispatch.swift
[88/246] Compiling RxSwift Debounce.swift
[89/246] Compiling RxSwift Debug.swift
[90/246] Compiling RxSwift Decode.swift
[91/246] Compiling RxSwift DefaultIfEmpty.swift
[92/246] Compiling RxSwift Deferred.swift
[93/246] Compiling RxSwift Delay.swift
[94/246] Compiling RxSwift DelaySubscription.swift
[95/246] Compiling RxSwift Dematerialize.swift
[96/246] Compiling RxSwift DispatchQueue+Extensions.swift
[117/246] Compiling RxSwift PriorityQueue.swift
[118/246] Compiling RxSwift Producer.swift
[119/246] Compiling RxSwift PublishSubject.swift
[120/246] Compiling RxSwift Queue.swift
[121/246] Compiling RxSwift Range.swift
[122/246] Compiling RxSwift Reactive.swift
[123/246] Compiling RxSwift RecursiveLock.swift
[124/246] Compiling RxSwift RecursiveScheduler.swift
[125/246] Compiling RxSwift Reduce.swift
[126/246] Compiling RxSwift RefCountDisposable.swift
[127/246] Compiling RxSwift Repeat.swift
[128/246] Compiling RxSwift ReplaySubject.swift
[129/246] Compiling RxSwift RetryWhen.swift
[130/246] Compiling RxSwift Rx.swift
[131/246] Compiling RxSwift RxMutableBox.swift
[132/246] Compiling RxSwift Sample.swift
[133/246] Compiling RxSwift Scan.swift
[134/246] Compiling RxSwift ScheduledDisposable.swift
[135/246] Compiling RxSwift ScheduledItem.swift
[136/246] Compiling RxSwift ScheduledItemType.swift
[137/246] Compiling RxSwift DispatchQueueConfiguration.swift
[138/246] Compiling RxSwift Disposable.swift
[139/246] Compiling RxSwift Disposables.swift
[140/246] Compiling RxSwift DisposeBag.swift
[141/246] Compiling RxSwift DisposeBase.swift
[142/246] Compiling RxSwift DistinctUntilChanged.swift
[143/246] Compiling RxSwift Do.swift
[144/246] Compiling RxSwift ElementAt.swift
[145/246] Compiling RxSwift Empty.swift
[146/246] Compiling RxSwift Enumerated.swift
[147/246] Compiling RxSwift Error.swift
[148/246] Compiling RxSwift Errors.swift
[149/246] Compiling RxSwift Event.swift
[150/246] Compiling RxSwift Filter.swift
[151/246] Compiling RxSwift First.swift
[152/246] Compiling RxSwift Generate.swift
[153/246] Compiling RxSwift GroupBy.swift
[154/246] Compiling RxSwift GroupedObservable.swift
[155/246] Compiling RxSwift HistoricalScheduler.swift
[156/246] Compiling RxSwift HistoricalSchedulerTimeConverter.swift
[157/246] Compiling OrderedCollections _HashTable+Bucket.swift
[158/246] Compiling OrderedCollections _HashTable+BucketIterator.swift
[159/246] Compiling OrderedCollections _HashTable+Constants.swift
[160/246] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[161/246] Compiling OrderedCollections _HashTable+Testing.swift
[162/246] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[163/246] Compiling OrderedCollections _HashTable.swift
[164/246] Compiling OrderedCollections _Hashtable+Header.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
[205/246] Emitting module OrderedCollections
[229/254] Compiling NetDiagnosis Pinger+Sockopt.swift
/host/spi-builder-workspace/Sources/NetDiagnosis/Pinger.swift:8:8: error: no such module 'Darwin'
import Darwin
^
[230/254] Compiling NetDiagnosis Utilities.swift
/host/spi-builder-workspace/Sources/NetDiagnosis/Pinger.swift:8:8: error: no such module 'Darwin'
import Darwin
^
[231/254] Compiling NetDiagnosis Pinger+Trace.swift
/host/spi-builder-workspace/Sources/NetDiagnosis/Pinger.swift:8:8: error: no such module 'Darwin'
import Darwin
^
[232/254] Compiling NetDiagnosis Pinger.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+Trace.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.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)
[4/6] Emitting module NetDiagnosis
/host/spi-builder-workspace/Sources/NetDiagnosis/Pinger.swift:8:8: error: no such module 'Darwin'
import Darwin
^
[5/6] Compiling NetDiagnosis IPAddr.swift
/host/spi-builder-workspace/Sources/NetDiagnosis/Pinger.swift:8:8: error: no such module 'Darwin'
import Darwin
^
[6/6] Compiling NetDiagnosis Pinger+Sockopt.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