Build Information
Failed to build NetDiagnosis with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-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.10
Building package at path: $workDir
https://github.com/453jerry/NetDiagnosis.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-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
[964/64785] Fetching swift-collections, rxswift
Fetched https://github.com/apple/swift-collections.git from cache (2.46s)
Fetched https://github.com/ReactiveX/RxSwift.git from cache (2.47s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 6.6.0 (0.42s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.0 (0.54s)
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 _CollectionsUtilities UnsafeBufferPointer+Extras.swift
[9/168] Compiling _CollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[10/168] Compiling RxSwift RxMutableBox.swift
[11/168] Compiling RxSwift Sample.swift
[12/168] Compiling RxSwift PriorityQueue.swift
[13/168] Compiling RxSwift Producer.swift
[14/168] Compiling RxSwift PublishSubject.swift
[15/168] Compiling RxSwift RefCountDisposable.swift
[16/168] Compiling RxSwift Repeat.swift
[17/168] Compiling RxSwift Queue.swift
[18/168] Compiling RxSwift Range.swift
[19/168] Compiling RxSwift Reactive.swift
[20/168] Compiling RxSwift RecursiveLock.swift
[21/168] Compiling RxSwift ReplaySubject.swift
[22/168] Compiling RxSwift RetryWhen.swift
[23/168] Compiling RxSwift Rx.swift
[24/168] Compiling RxSwift RecursiveScheduler.swift
[25/168] Compiling RxSwift Reduce.swift
[27/169] Emitting module RxSwift
[28/244] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[29/244] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[30/244] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[31/244] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[32/244] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[33/244] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[34/244] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[35/244] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[36/244] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[37/244] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[38/244] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[39/244] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[40/244] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[41/244] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[42/251] Compiling OrderedCollections OrderedDictionary.swift
[43/251] Compiling OrderedCollections OrderedSet+Codable.swift
[44/251] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[45/251] Compiling OrderedCollections OrderedSet+Descriptions.swift
[46/251] Compiling OrderedCollections OrderedSet+Diffing.swift
[47/251] Compiling OrderedCollections OrderedSet+Equatable.swift
[48/251] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[49/251] Compiling OrderedCollections OrderedSet+Hashable.swift
[50/251] Compiling OrderedCollections OrderedSet+Initializers.swift
[51/251] Compiling OrderedCollections OrderedSet+Insertions.swift
[52/251] Compiling OrderedCollections OrderedSet+Invariants.swift
[53/251] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[54/251] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[55/251] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[56/251] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[57/251] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[58/251] Compiling OrderedCollections OrderedDictionary+Codable.swift
[59/251] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[60/251] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[61/251] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[62/251] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[63/251] Compiling OrderedCollections OrderedDictionary+Elements.swift
[64/251] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[65/251] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[66/251] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[67/251] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[68/251] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[69/251] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[70/251] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[71/251] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[72/251] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[73/251] Compiling OrderedCollections OrderedDictionary+Values.swift
[74/251] Compiling OrderedCollections _HashTable+Bucket.swift
[75/251] Compiling OrderedCollections _HashTable+BucketIterator.swift
[76/251] Compiling OrderedCollections _HashTable+Constants.swift
[77/251] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[78/251] Compiling OrderedCollections _HashTable+Testing.swift
[79/251] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[80/251] Compiling OrderedCollections _HashTable.swift
[81/251] Compiling OrderedCollections _Hashtable+Header.swift
[82/251] Compiling RxSwift ImmediateSchedulerType.swift
[83/251] Compiling RxSwift Infallible+CombineLatest+Collection.swift
[84/251] Compiling RxSwift Infallible+CombineLatest+arity.swift
[85/251] Compiling RxSwift Infallible+Concurrency.swift
[86/251] Compiling RxSwift Infallible+Create.swift
[87/251] Compiling RxSwift Infallible+Debug.swift
[88/251] Compiling RxSwift Infallible+Operators.swift
[89/251] Compiling RxSwift Infallible+Zip+arity.swift
[90/251] Compiling RxSwift Infallible.swift
[91/251] Compiling RxSwift InfiniteSequence.swift
[92/251] Compiling RxSwift InvocableScheduledItem.swift
[93/251] Compiling RxSwift InvocableType.swift
[94/251] Compiling RxSwift Just.swift
[95/251] Compiling RxSwift Lock.swift
[96/251] Compiling RxSwift LockOwnerType.swift
[97/251] Compiling RxSwift MainScheduler.swift
[98/251] Compiling RxSwift Map.swift
[99/251] Compiling RxSwift Materialize.swift
[100/251] Compiling RxSwift Maybe.swift
[101/251] Compiling RxSwift Merge.swift
[115/251] Compiling OrderedCollections OrderedSet+Sendable.swift
[116/251] Compiling OrderedCollections OrderedSet+SubSequence.swift
[117/251] Compiling OrderedCollections OrderedSet+Testing.swift
[118/251] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[119/251] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[120/251] Compiling OrderedCollections OrderedSet.swift
[121/251] Compiling OrderedCollections _UnsafeBitset.swift
[122/251] Compiling RxSwift DispatchQueue+Extensions.swift
[123/251] Compiling RxSwift Multicast.swift
[124/251] Compiling RxSwift Never.swift
[125/251] Compiling RxSwift NopDisposable.swift
[126/251] Compiling RxSwift Observable+Concurrency.swift
[127/251] Compiling RxSwift Observable.swift
[128/251] Compiling RxSwift ObservableConvertibleType+Infallible.swift
[129/251] Compiling RxSwift ObservableConvertibleType.swift
[130/251] Compiling RxSwift ObservableType+Extensions.swift
[131/251] Compiling RxSwift ObservableType+PrimitiveSequence.swift
[132/251] Compiling RxSwift ObservableType.swift
[133/251] Compiling RxSwift ObserveOn.swift
[134/251] Compiling RxSwift ObserverBase.swift
[135/251] Compiling RxSwift ObserverType.swift
[136/251] Compiling RxSwift OperationQueueScheduler.swift
[137/251] Compiling RxSwift Optional.swift
[138/251] Compiling RxSwift Platform.Darwin.swift
[139/251] Compiling RxSwift Platform.Linux.swift
[140/251] Compiling RxSwift PrimitiveSequence+Concurrency.swift
[141/251] Compiling RxSwift PrimitiveSequence+Zip+arity.swift
[142/251] Compiling RxSwift PrimitiveSequence.swift
[143/251] Compiling RxSwift SchedulerServices+Emulation.swift
[144/251] Compiling RxSwift SchedulerType.swift
[145/251] Compiling RxSwift Sequence.swift
[146/251] Compiling RxSwift SerialDispatchQueueScheduler.swift
[147/251] Compiling RxSwift SerialDisposable.swift
[148/251] Compiling RxSwift ShareReplayScope.swift
[149/251] Compiling RxSwift Single.swift
[150/251] Compiling RxSwift SingleAssignmentDisposable.swift
[151/251] Compiling RxSwift SingleAsync.swift
[152/251] Compiling RxSwift Sink.swift
[153/251] Compiling RxSwift Skip.swift
[154/251] Compiling RxSwift SkipUntil.swift
[155/251] Compiling RxSwift SkipWhile.swift
[156/251] Compiling RxSwift StartWith.swift
[157/251] Compiling RxSwift SubjectType.swift
[158/251] Compiling RxSwift SubscribeOn.swift
[159/251] Compiling RxSwift SubscriptionDisposable.swift
[160/251] Compiling RxSwift SwiftSupport.swift
[161/251] Compiling RxSwift Switch.swift
[162/251] Compiling RxSwift SwitchIfEmpty.swift
[163/251] Compiling RxSwift DispatchQueueConfiguration.swift
[164/251] Compiling RxSwift Disposable.swift
[165/251] Compiling RxSwift Disposables.swift
[166/251] Compiling RxSwift DisposeBag.swift
[167/251] Compiling RxSwift DisposeBase.swift
[168/251] Compiling RxSwift DistinctUntilChanged.swift
[169/251] Compiling RxSwift Do.swift
[170/251] Compiling RxSwift ElementAt.swift
[171/251] Compiling RxSwift Empty.swift
[172/251] Compiling RxSwift Enumerated.swift
[173/251] Compiling RxSwift Error.swift
[174/251] Compiling RxSwift Errors.swift
[175/251] Compiling RxSwift Event.swift
[176/251] Compiling RxSwift Filter.swift
[177/251] Compiling RxSwift First.swift
[178/251] Compiling RxSwift Generate.swift
[179/251] Compiling RxSwift GroupBy.swift
[180/251] Compiling RxSwift GroupedObservable.swift
[181/251] Compiling RxSwift HistoricalScheduler.swift
[182/251] Compiling RxSwift HistoricalSchedulerTimeConverter.swift
[210/251] Emitting module OrderedCollections
[233/258] Compiling NetDiagnosis Utilities.swift
/host/spi-builder-workspace/Sources/NetDiagnosis/Pinger.swift:8:8: error: no such module 'Darwin'
import Darwin
^
[234/258] Compiling NetDiagnosis Pinger.swift
/host/spi-builder-workspace/Sources/NetDiagnosis/Pinger.swift:8:8: error: no such module 'Darwin'
import Darwin
^
[235/258] Compiling NetDiagnosis Pinger+Trace.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 Pinger+Sockopt.swift
/host/spi-builder-workspace/Sources/NetDiagnosis/Pinger.swift:8:8: error: no such module 'Darwin'
import Darwin
^
[3/7] Compiling NetDiagnosis Utilities.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
^
[5/7] 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)
[6/7] Emitting module NetDiagnosis
/host/spi-builder-workspace/Sources/NetDiagnosis/Pinger.swift:8:8: error: no such module 'Darwin'
import Darwin
^
[7/7] 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.10 linux