Build Information
Failed to build NetDiagnosis with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-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.10
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.10-latest swift build 2>&1
Fetching https://github.com/ReactiveX/RxSwift.git
Fetching https://github.com/apple/swift-collections.git
[1/51014] Fetching rxswift
[3572/64759] Fetching rxswift, swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (3.26s)
Fetched https://github.com/ReactiveX/RxSwift.git from cache (3.28s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 6.6.0 (0.76s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.0 (1.09s)
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...
[0/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/166] Emitting module _CollectionsUtilities
[8/168] Compiling RxSwift AddRef.swift
[9/168] Compiling RxSwift Amb.swift
[10/168] Compiling RxSwift AnonymousDisposable.swift
[11/168] Compiling RxSwift AtomicInt.swift
[12/168] Compiling RxSwift Bag+Rx.swift
[13/168] Compiling _CollectionsUtilities UnsafeBufferPointer+Extras.swift
[14/168] Compiling _CollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[15/168] Compiling RxSwift AnonymousObserver.swift
[16/168] Compiling RxSwift AnyObserver.swift
[17/168] Compiling RxSwift AsMaybe.swift
[18/168] Compiling RxSwift AsSingle.swift
[19/168] Compiling RxSwift Binder.swift
[20/168] Compiling RxSwift BooleanDisposable.swift
[21/168] Compiling RxSwift AsyncLock.swift
[22/168] Compiling RxSwift AsyncSubject.swift
[23/168] Compiling RxSwift Bag.swift
[24/168] Compiling RxSwift BehaviorSubject.swift
[25/168] Compiling RxSwift BinaryDisposable.swift
[26/169] Emitting module RxSwift
[28/244] Compiling OrderedCollections OrderedDictionary+Codable.swift
[29/244] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[30/244] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[31/244] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[32/244] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[33/244] Compiling OrderedCollections OrderedDictionary+Elements.swift
[34/244] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[35/244] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[36/251] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[37/251] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[38/251] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[39/251] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[40/251] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[41/251] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[42/251] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[43/251] Compiling OrderedCollections OrderedDictionary+Values.swift
[44/251] Compiling OrderedCollections OrderedDictionary.swift
[45/251] Compiling OrderedCollections OrderedSet+Codable.swift
[46/251] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[47/251] Compiling OrderedCollections OrderedSet+Descriptions.swift
[48/251] Compiling OrderedCollections OrderedSet+Diffing.swift
[49/251] Compiling OrderedCollections OrderedSet+Equatable.swift
[50/251] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[51/251] Compiling OrderedCollections OrderedSet+Hashable.swift
[52/251] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[53/251] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[54/251] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[55/251] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[56/251] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[57/251] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[58/251] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[59/251] Compiling OrderedCollections OrderedSet+Initializers.swift
[60/251] Compiling OrderedCollections OrderedSet+Insertions.swift
[61/251] Compiling OrderedCollections OrderedSet+Invariants.swift
[62/251] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[63/251] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[64/251] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[65/251] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[66/251] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[67/251] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[68/251] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[69/251] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[70/251] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[71/251] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[72/251] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[73/251] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[74/251] Compiling RxSwift Multicast.swift
[75/251] Compiling RxSwift Never.swift
[76/251] Compiling RxSwift NopDisposable.swift
[77/251] Compiling RxSwift Observable+Concurrency.swift
[78/251] Compiling RxSwift Observable.swift
[79/251] Compiling RxSwift ObservableConvertibleType+Infallible.swift
[80/251] Compiling RxSwift ObservableConvertibleType.swift
[81/251] Compiling RxSwift ObservableType+Extensions.swift
[82/251] Compiling RxSwift ObservableType+PrimitiveSequence.swift
[83/251] Compiling RxSwift ObservableType.swift
[84/251] Compiling RxSwift ObserveOn.swift
[85/251] Compiling RxSwift ObserverBase.swift
[86/251] Compiling RxSwift ObserverType.swift
[87/251] Compiling RxSwift OperationQueueScheduler.swift
[88/251] Compiling RxSwift Optional.swift
[89/251] Compiling RxSwift Platform.Darwin.swift
[90/251] Compiling RxSwift Platform.Linux.swift
[91/251] Compiling RxSwift PrimitiveSequence+Concurrency.swift
[92/251] Compiling RxSwift PrimitiveSequence+Zip+arity.swift
[93/251] Compiling RxSwift PrimitiveSequence.swift
[127/251] Compiling OrderedCollections OrderedSet+Sendable.swift
[128/251] Compiling OrderedCollections OrderedSet+SubSequence.swift
[129/251] Compiling OrderedCollections OrderedSet+Testing.swift
[130/251] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[131/251] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[132/251] Compiling OrderedCollections OrderedSet.swift
[133/251] Compiling OrderedCollections _UnsafeBitset.swift
[134/251] Compiling RxSwift CombineLatest.swift
[135/251] Compiling RxSwift CompactMap.swift
[136/251] Compiling RxSwift Completable+AndThen.swift
[137/251] Compiling RxSwift Completable.swift
[138/251] Compiling RxSwift CompositeDisposable.swift
[139/251] Compiling RxSwift Concat.swift
[140/251] Compiling RxSwift ConcurrentDispatchQueueScheduler.swift
[141/251] Compiling RxSwift ConcurrentMainScheduler.swift
[142/251] Compiling RxSwift ConnectableObservableType.swift
[143/251] Compiling RxSwift Create.swift
[144/251] Compiling RxSwift CurrentThreadScheduler.swift
[145/251] Compiling RxSwift Date+Dispatch.swift
[146/251] Compiling RxSwift Debounce.swift
[147/251] Compiling RxSwift Debug.swift
[148/251] Compiling RxSwift Decode.swift
[149/251] Compiling RxSwift DefaultIfEmpty.swift
[150/251] Compiling RxSwift Deferred.swift
[151/251] Compiling RxSwift Delay.swift
[152/251] Compiling RxSwift DelaySubscription.swift
[153/251] Compiling RxSwift Dematerialize.swift
[154/251] Compiling RxSwift DispatchQueue+Extensions.swift
[155/251] Compiling RxSwift SchedulerServices+Emulation.swift
[156/251] Compiling RxSwift SchedulerType.swift
[157/251] Compiling RxSwift Sequence.swift
[158/251] Compiling RxSwift SerialDispatchQueueScheduler.swift
[159/251] Compiling RxSwift SerialDisposable.swift
[160/251] Compiling RxSwift ShareReplayScope.swift
[161/251] Compiling RxSwift Single.swift
[162/251] Compiling RxSwift SingleAssignmentDisposable.swift
[163/251] Compiling RxSwift SingleAsync.swift
[164/251] Compiling RxSwift Sink.swift
[165/251] Compiling RxSwift Skip.swift
[166/251] Compiling RxSwift SkipUntil.swift
[167/251] Compiling RxSwift SkipWhile.swift
[168/251] Compiling RxSwift StartWith.swift
[169/251] Compiling RxSwift SubjectType.swift
[170/251] Compiling RxSwift SubscribeOn.swift
[171/251] Compiling RxSwift SubscriptionDisposable.swift
[172/251] Compiling RxSwift SwiftSupport.swift
[173/251] Compiling RxSwift Switch.swift
[174/251] Compiling RxSwift SwitchIfEmpty.swift
[175/251] Compiling RxSwift PriorityQueue.swift
[176/251] Compiling RxSwift Producer.swift
[177/251] Compiling RxSwift PublishSubject.swift
[178/251] Compiling RxSwift Queue.swift
[179/251] Compiling RxSwift Range.swift
[180/251] Compiling RxSwift Reactive.swift
[181/251] Compiling RxSwift RecursiveLock.swift
[182/251] Compiling RxSwift RecursiveScheduler.swift
[183/251] Compiling RxSwift Reduce.swift
[184/251] Compiling RxSwift RefCountDisposable.swift
[185/251] Compiling RxSwift Repeat.swift
[186/251] Compiling RxSwift ReplaySubject.swift
[187/251] Compiling RxSwift RetryWhen.swift
[188/251] Compiling RxSwift Rx.swift
[189/251] Compiling RxSwift RxMutableBox.swift
[190/251] Compiling RxSwift Sample.swift
[191/251] Compiling RxSwift Scan.swift
[192/251] Compiling RxSwift ScheduledDisposable.swift
[193/251] Compiling RxSwift ScheduledItem.swift
[194/251] Compiling RxSwift ScheduledItemType.swift
[195/251] Compiling OrderedCollections _HashTable+Bucket.swift
[196/251] Compiling OrderedCollections _HashTable+BucketIterator.swift
[197/251] Compiling OrderedCollections _HashTable+Constants.swift
[198/251] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[199/251] Compiling OrderedCollections _HashTable+Testing.swift
[200/251] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[201/251] Compiling OrderedCollections _HashTable.swift
[202/251] Compiling OrderedCollections _Hashtable+Header.swift
[231/251] Emitting module OrderedCollections
[233/258] Compiling NetDiagnosis Pinger+Trace.swift
/host/spi-builder-workspace/Sources/NetDiagnosis/Pinger.swift:8:8: error: no such module 'Darwin'
import Darwin
^
[234/258] Compiling NetDiagnosis Utilities.swift
/host/spi-builder-workspace/Sources/NetDiagnosis/Pinger.swift:8:8: error: no such module 'Darwin'
import Darwin
^
[235/258] Compiling NetDiagnosis Pinger.swift
/host/spi-builder-workspace/Sources/NetDiagnosis/Pinger.swift:8:8: error: no such module 'Darwin'
import Darwin
^
[236/258] Compiling NetDiagnosis Pinger+Sockopt.swift
/host/spi-builder-workspace/Sources/NetDiagnosis/Pinger.swift:8:8: error: no such module 'Darwin'
import Darwin
^
[237/258] Compiling RxSwift SynchronizedDisposeType.swift
[238/258] Compiling RxSwift SynchronizedOnType.swift
[239/258] Compiling RxSwift SynchronizedUnsubscribeType.swift
[240/258] Compiling RxSwift TailRecursiveSink.swift
[241/258] Compiling RxSwift Take.swift
[242/258] Compiling RxSwift TakeLast.swift
[243/258] Compiling RxSwift TakeWithPredicate.swift
[244/258] Compiling RxSwift Throttle.swift
[245/258] Compiling RxSwift Timeout.swift
[246/258] Compiling RxSwift Timer.swift
[247/258] Compiling RxSwift ToArray.swift
[248/258] Compiling RxSwift Using.swift
[249/258] Compiling RxSwift VirtualTimeConverterType.swift
[250/258] Compiling RxSwift VirtualTimeScheduler.swift
[251/258] Compiling RxSwift Window.swift
[252/258] Compiling RxSwift WithLatestFrom.swift
[253/258] Compiling RxSwift WithUnretained.swift
[254/258] Compiling RxSwift Zip+Collection.swift
[255/258] Compiling RxSwift Zip+arity.swift
[256/258] Compiling RxSwift Zip.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[258/259] Emitting module NetDiagnosis
/host/spi-builder-workspace/Sources/NetDiagnosis/Pinger.swift:8:8: error: no such module 'Darwin'
import Darwin
^
[259/259] 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...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/7] Compiling NetDiagnosis Utilities.swift
/host/spi-builder-workspace/Sources/NetDiagnosis/Pinger.swift:8:8: error: no such module 'Darwin'
import Darwin
^
[3/7] Compiling NetDiagnosis Pinger.swift
/host/spi-builder-workspace/Sources/NetDiagnosis/Pinger.swift:8:8: error: no such module 'Darwin'
import Darwin
^
[4/7] Compiling NetDiagnosis Pinger+Trace.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/7] Emitting module NetDiagnosis
/host/spi-builder-workspace/Sources/NetDiagnosis/Pinger.swift:8:8: error: no such module 'Darwin'
import Darwin
^
[6/7] Compiling NetDiagnosis IPAddr.swift
/host/spi-builder-workspace/Sources/NetDiagnosis/Pinger.swift:8:8: error: no such module 'Darwin'
import Darwin
^
[7/7] 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.10 linux