The Swift Package Index logo.Swift Package Index

Build Information

Failed to build RxCodable with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/devxoul/RxCodable.git
Reference: 1.0.0
Cloned https://github.com/devxoul/RxCodable.git into spi-builder-workspace
SUCCESS checkout https://github.com/devxoul/RxCodable.git at 1.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/ReactiveX/RxSwift.git
[1/50678] Fetching rxswift
Fetched https://github.com/ReactiveX/RxSwift.git (2.73s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 5.0.1 (0.34s)
Creating working copy for https://github.com/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 5.0.1
Building for debugging...
[1/134] Emitting module RxSwift
[2/152] Compiling RxSwift SerialDisposable.swift
[3/152] Compiling RxSwift ShareReplayScope.swift
[4/152] Compiling RxSwift Single.swift
[5/152] Compiling RxSwift SingleAssignmentDisposable.swift
[6/152] Compiling RxSwift SingleAsync.swift
[7/152] Compiling RxSwift Sink.swift
[8/152] Compiling RxSwift Skip.swift
[9/152] Compiling RxSwift SkipUntil.swift
[10/152] Compiling RxSwift SkipWhile.swift
[11/152] Compiling RxSwift StartWith.swift
[12/152] Compiling RxSwift String+Rx.swift
[13/152] Compiling RxSwift SubjectType.swift
[14/152] Compiling RxSwift SubscribeOn.swift
[15/152] Compiling RxSwift SubscriptionDisposable.swift
[16/152] Compiling RxSwift SwiftSupport.swift
[17/152] Compiling RxSwift Switch.swift
[18/152] Compiling RxSwift SwitchIfEmpty.swift
[19/152] Compiling RxSwift SynchronizedDisposeType.swift
[20/152] Compiling RxSwift SynchronizedOnType.swift
[21/152] Compiling RxSwift CombineLatest+arity.swift
[22/152] Compiling RxSwift CombineLatest.swift
[23/152] Compiling RxSwift CompactMap.swift
[24/152] Compiling RxSwift Completable+AndThen.swift
[25/152] Compiling RxSwift Completable.swift
[26/152] Compiling RxSwift CompositeDisposable.swift
[27/152] Compiling RxSwift Concat.swift
[28/152] Compiling RxSwift ConcurrentDispatchQueueScheduler.swift
[29/152] Compiling RxSwift ConcurrentMainScheduler.swift
[30/152] Compiling RxSwift ConnectableObservableType.swift
[31/152] Compiling RxSwift Create.swift
[32/152] Compiling RxSwift CurrentThreadScheduler.swift
[33/152] Compiling RxSwift Date+Dispatch.swift
[34/152] Compiling RxSwift Debounce.swift
[35/152] Compiling RxSwift Debug.swift
[36/152] Compiling RxSwift DefaultIfEmpty.swift
[37/152] Compiling RxSwift Deferred.swift
[38/152] Compiling RxSwift Delay.swift
[39/152] Compiling RxSwift DelaySubscription.swift
[40/152] Compiling RxSwift GroupBy.swift
[41/152] Compiling RxSwift GroupedObservable.swift
[42/152] Compiling RxSwift HistoricalScheduler.swift
[43/152] Compiling RxSwift HistoricalSchedulerTimeConverter.swift
[44/152] Compiling RxSwift ImmediateSchedulerType.swift
[45/152] Compiling RxSwift InfiniteSequence.swift
[46/152] Compiling RxSwift InvocableScheduledItem.swift
[47/152] Compiling RxSwift InvocableType.swift
[48/152] Compiling RxSwift Just.swift
[49/152] Compiling RxSwift Lock.swift
[50/152] Compiling RxSwift LockOwnerType.swift
[51/152] Compiling RxSwift MainScheduler.swift
[52/152] Compiling RxSwift Map.swift
[53/152] Compiling RxSwift Materialize.swift
[54/152] Compiling RxSwift Maybe.swift
[55/152] Compiling RxSwift Merge.swift
[56/152] Compiling RxSwift Multicast.swift
[57/152] Compiling RxSwift Never.swift
[58/152] Compiling RxSwift NopDisposable.swift
[59/152] Compiling RxSwift Observable.swift
[60/152] Compiling RxSwift ObservableConvertibleType.swift
[61/152] Compiling RxSwift ObservableType+Extensions.swift
[62/152] Compiling RxSwift ObservableType+PrimitiveSequence.swift
[63/152] Compiling RxSwift ObservableType.swift
[64/152] Compiling RxSwift ObserveOn.swift
[65/152] Compiling RxSwift ObserverBase.swift
[66/152] Compiling RxSwift ObserverType.swift
[67/152] Compiling RxSwift OperationQueueScheduler.swift
[68/152] Compiling RxSwift Optional.swift
[69/152] Compiling RxSwift Platform.Darwin.swift
[70/152] Compiling RxSwift Platform.Linux.swift
[71/152] Compiling RxSwift PrimitiveSequence+Zip+arity.swift
[72/152] Compiling RxSwift PrimitiveSequence.swift
[73/152] Compiling RxSwift PriorityQueue.swift
[74/152] Compiling RxSwift Producer.swift
[75/152] Compiling RxSwift PublishSubject.swift
[76/152] Compiling RxSwift Queue.swift
[77/152] Compiling RxSwift Range.swift
[78/152] Compiling RxSwift Reactive.swift
[79/152] Compiling RxSwift RecursiveLock.swift
[80/152] Compiling RxSwift RecursiveScheduler.swift
[81/152] Compiling RxSwift Reduce.swift
[82/152] Compiling RxSwift RefCountDisposable.swift
[83/152] Compiling RxSwift Repeat.swift
[84/152] Compiling RxSwift ReplaySubject.swift
[85/152] Compiling RxSwift RetryWhen.swift
[86/152] Compiling RxSwift Rx.swift
[87/152] Compiling RxSwift RxMutableBox.swift
[88/152] Compiling RxSwift Sample.swift
[89/152] Compiling RxSwift Scan.swift
[90/152] Compiling RxSwift ScheduledDisposable.swift
[91/152] Compiling RxSwift ScheduledItem.swift
[92/152] Compiling RxSwift ScheduledItemType.swift
[93/152] Compiling RxSwift SchedulerServices+Emulation.swift
[94/152] Compiling RxSwift SchedulerType.swift
[95/152] Compiling RxSwift Sequence.swift
[96/152] Compiling RxSwift SerialDispatchQueueScheduler.swift
[97/152] Compiling RxSwift Dematerialize.swift
[98/152] Compiling RxSwift Deprecated.swift
[99/152] Compiling RxSwift DispatchQueue+Extensions.swift
[100/152] Compiling RxSwift DispatchQueueConfiguration.swift
[101/152] Compiling RxSwift Disposable.swift
[102/152] Compiling RxSwift Disposables.swift
[103/152] Compiling RxSwift DisposeBag.swift
[104/152] Compiling RxSwift DisposeBase.swift
[105/152] Compiling RxSwift DistinctUntilChanged.swift
[106/152] Compiling RxSwift Do.swift
[107/152] Compiling RxSwift ElementAt.swift
[108/152] Compiling RxSwift Empty.swift
[109/152] Compiling RxSwift Enumerated.swift
[110/152] Compiling RxSwift Error.swift
[111/152] Compiling RxSwift Errors.swift
[112/152] Compiling RxSwift Event.swift
[113/152] Compiling RxSwift Filter.swift
[114/152] Compiling RxSwift First.swift
[115/152] Compiling RxSwift Generate.swift
[116/152] Compiling RxSwift AddRef.swift
[117/152] Compiling RxSwift Amb.swift
[118/152] Compiling RxSwift AnonymousDisposable.swift
[119/152] Compiling RxSwift AnonymousObserver.swift
[120/152] Compiling RxSwift AnyObserver.swift
[121/152] Compiling RxSwift AsMaybe.swift
[122/152] Compiling RxSwift AsSingle.swift
[123/152] Compiling RxSwift AsyncLock.swift
[124/152] Compiling RxSwift AsyncSubject.swift
[125/152] Compiling RxSwift AtomicInt.swift
[126/152] Compiling RxSwift Bag+Rx.swift
[127/152] Compiling RxSwift Bag.swift
[128/152] Compiling RxSwift BehaviorSubject.swift
[129/152] Compiling RxSwift BinaryDisposable.swift
[130/152] Compiling RxSwift BooleanDisposable.swift
[131/152] Compiling RxSwift Buffer.swift
[132/152] Compiling RxSwift Cancelable.swift
[133/152] Compiling RxSwift Catch.swift
[134/152] Compiling RxSwift CombineLatest+Collection.swift
[135/152] Compiling RxSwift SynchronizedUnsubscribeType.swift
[136/152] Compiling RxSwift TailRecursiveSink.swift
[137/152] Compiling RxSwift Take.swift
[138/152] Compiling RxSwift TakeLast.swift
[139/152] Compiling RxSwift TakeUntil.swift
[140/152] Compiling RxSwift TakeWhile.swift
[141/152] Compiling RxSwift Throttle.swift
[142/152] Compiling RxSwift Timeout.swift
[143/152] Compiling RxSwift Timer.swift
[144/152] Compiling RxSwift ToArray.swift
[145/152] Compiling RxSwift Using.swift
[146/152] Compiling RxSwift VirtualTimeConverterType.swift
[147/152] Compiling RxSwift VirtualTimeScheduler.swift
[148/152] Compiling RxSwift Window.swift
[149/152] Compiling RxSwift WithLatestFrom.swift
[150/152] Compiling RxSwift Zip+Collection.swift
[151/152] Compiling RxSwift Zip+arity.swift
[152/152] Compiling RxSwift Zip.swift
[155/167] Compiling RxBlocking Resources.swift
[156/168] Compiling RxBlocking Platform.Darwin.swift
[157/168] Compiling RxBlocking ObservableConvertibleType+Blocking.swift
[158/168] Compiling RxBlocking RecursiveLock.swift
[159/168] Compiling RxBlocking Platform.Linux.swift
[160/168] Compiling RxBlocking BlockingObservable.swift
[161/168] Compiling RxCodable ObservableType+RxCodable.swift
[162/168] Compiling RxCodable Maybe+RxCodable.swift
[163/168] Emitting module RxCodable
[164/168] Compiling RxCodable Single+RxCodable.swift
[165/168] Compiling RxBlocking RunLoopLock.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxBlocking/RunLoopLock.swift:70:24: error: initializer 'init(_:)' requires that 'CFRunLoopRunResult' conform to 'BinaryFloatingPoint'
                switch Int(CFRunLoopRunInMode(runLoopModeRaw, timeout, false)) {
                       ^
Swift.FixedWidthInteger:3:23: note: where 'T' = 'CFRunLoopRunResult'
    @inlinable public init<T>(_ source: T) where T : BinaryFloatingPoint
                      ^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxBlocking/RunLoopLock.swift:71:22: error: cannot find 'kCFRunLoopRunFinished' in scope
                case kCFRunLoopRunFinished:
                     ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxBlocking/RunLoopLock.swift:73:22: error: cannot find 'kCFRunLoopRunHandledSource' in scope
                case kCFRunLoopRunHandledSource:
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxBlocking/RunLoopLock.swift:75:22: error: cannot find 'kCFRunLoopRunStopped' in scope
                case kCFRunLoopRunStopped:
                     ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxBlocking/RunLoopLock.swift:77:22: error: cannot find 'kCFRunLoopRunTimedOut' in scope
                case kCFRunLoopRunTimedOut:
                     ^~~~~~~~~~~~~~~~~~~~~
[168/170] Emitting module RxBlocking
[169/170] Compiling RxBlocking AtomicInt.swift
[170/170] Compiling RxBlocking BlockingObservable+Operators.swift
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1