The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Omnibar with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-0":/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/CleanCocoa/Omnibar.git
Reference: 0.20.0
Cloned https://github.com/CleanCocoa/Omnibar.git into spi-builder-workspace
SUCCESS checkout https://github.com/CleanCocoa/Omnibar.git at 0.20.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-0":/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
[1/50678] Fetching rxswift
Fetched https://github.com/ReactiveX/RxSwift (2.04s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 6.6.0 (0.34s)
Creating working copy for https://github.com/ReactiveX/RxSwift
Working copy of https://github.com/ReactiveX/RxSwift resolved at 6.6.0
Building for debugging...
[1/162] Compiling Omnibar OmnibarDelegate.swift
/host/spi-builder-workspace/Sources/Omnibar/EditableText.swift:3:8: error: no such module 'Cocoa'
import Cocoa
       ^
[2/163] Compiling Omnibar TextReplacement.swift
/host/spi-builder-workspace/Sources/Omnibar/EditableText.swift:3:8: error: no such module 'Cocoa'
import Cocoa
       ^
[3/163] Compiling RxSwift PriorityQueue.swift
[4/163] Compiling RxSwift Producer.swift
[5/163] Compiling RxSwift PublishSubject.swift
[6/163] Compiling RxSwift Queue.swift
[7/163] Compiling RxSwift Range.swift
[8/163] Compiling RxSwift Reactive.swift
[9/163] Compiling RxSwift RecursiveLock.swift
[10/163] Compiling RxSwift RecursiveScheduler.swift
[11/163] Compiling RxSwift Reduce.swift
[12/163] Compiling RxSwift RefCountDisposable.swift
[13/163] Compiling RxSwift Repeat.swift
[14/163] Compiling RxSwift ReplaySubject.swift
[15/163] Compiling RxSwift RetryWhen.swift
[16/163] Compiling RxSwift Rx.swift
[17/163] Compiling RxSwift RxMutableBox.swift
[18/163] Compiling RxSwift Sample.swift
[19/163] Compiling RxSwift Scan.swift
[20/163] Compiling RxSwift ScheduledDisposable.swift
[21/163] Compiling RxSwift ScheduledItem.swift
[22/163] Compiling RxSwift ScheduledItemType.swift
[23/183] Compiling Omnibar OmnibarTextFieldCell.swift
/host/spi-builder-workspace/Sources/Omnibar/EditableText.swift:3:8: error: no such module 'Cocoa'
import Cocoa
       ^
[24/183] Compiling Omnibar TextFieldTextChange.swift
/host/spi-builder-workspace/Sources/Omnibar/EditableText.swift:3:8: error: no such module 'Cocoa'
import Cocoa
       ^
[25/183] Emitting module RxSwift
[26/183] Compiling RxSwift DispatchQueueConfiguration.swift
[27/183] Compiling RxSwift Disposable.swift
[28/183] Compiling RxSwift Disposables.swift
[29/183] Compiling RxSwift DisposeBag.swift
[30/183] Compiling RxSwift DisposeBase.swift
[31/183] Compiling RxSwift DistinctUntilChanged.swift
[32/183] Compiling RxSwift Do.swift
[33/183] Compiling RxSwift ElementAt.swift
[34/183] Compiling RxSwift Empty.swift
[35/183] Compiling RxSwift Enumerated.swift
[36/183] Compiling RxSwift Error.swift
[37/183] Compiling RxSwift Errors.swift
[38/183] Compiling RxSwift Event.swift
[39/183] Compiling RxSwift Filter.swift
[40/183] Compiling RxSwift First.swift
[41/183] Compiling RxSwift Generate.swift
[42/183] Compiling RxSwift GroupBy.swift
[43/183] Compiling RxSwift GroupedObservable.swift
[44/183] Compiling RxSwift HistoricalScheduler.swift
[45/183] Compiling RxSwift HistoricalSchedulerTimeConverter.swift
[46/183] Compiling RxSwift SchedulerServices+Emulation.swift
[47/183] Compiling RxSwift SchedulerType.swift
[48/183] Compiling RxSwift Sequence.swift
[49/183] Compiling RxSwift SerialDispatchQueueScheduler.swift
[50/183] Compiling RxSwift SerialDisposable.swift
[51/183] Compiling RxSwift ShareReplayScope.swift
[52/183] Compiling RxSwift Single.swift
[53/183] Compiling RxSwift SingleAssignmentDisposable.swift
[54/183] Compiling RxSwift SingleAsync.swift
[55/183] Compiling RxSwift Sink.swift
[56/183] Compiling RxSwift Skip.swift
[57/183] Compiling RxSwift SkipUntil.swift
[58/183] Compiling RxSwift SkipWhile.swift
[59/183] Compiling RxSwift StartWith.swift
[60/183] Compiling RxSwift SubjectType.swift
[61/183] Compiling RxSwift SubscribeOn.swift
[62/183] Compiling RxSwift SubscriptionDisposable.swift
[63/183] Compiling RxSwift SwiftSupport.swift
[64/183] Compiling RxSwift Switch.swift
[65/183] Compiling RxSwift SwitchIfEmpty.swift
[66/183] Compiling RxSwift CombineLatest.swift
[67/183] Compiling RxSwift CompactMap.swift
[68/183] Compiling RxSwift Completable+AndThen.swift
[69/183] Compiling RxSwift Completable.swift
[70/183] Compiling RxSwift CompositeDisposable.swift
[71/183] Compiling RxSwift Concat.swift
[72/183] Compiling RxSwift ConcurrentDispatchQueueScheduler.swift
[73/183] Compiling RxSwift ConcurrentMainScheduler.swift
[74/183] Compiling RxSwift ConnectableObservableType.swift
[75/183] Compiling RxSwift Create.swift
[76/183] Compiling RxSwift CurrentThreadScheduler.swift
[77/183] Compiling RxSwift Date+Dispatch.swift
[78/183] Compiling RxSwift Debounce.swift
[79/183] Compiling RxSwift Debug.swift
[80/183] Compiling RxSwift Decode.swift
[81/183] Compiling RxSwift DefaultIfEmpty.swift
[82/183] Compiling RxSwift Deferred.swift
[83/183] Compiling RxSwift Delay.swift
[84/183] Compiling RxSwift DelaySubscription.swift
[85/183] Compiling RxSwift Dematerialize.swift
[86/183] Compiling RxSwift DispatchQueue+Extensions.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[87/183] Emitting module Omnibar
/host/spi-builder-workspace/Sources/Omnibar/EditableText.swift:3:8: error: no such module 'Cocoa'
import Cocoa
       ^
[88/183] Compiling RxSwift AsSingle.swift
/host/spi-builder-workspace/Sources/Omnibar/EditableText.swift:3:8: error: no such module 'Cocoa'
import Cocoa
       ^
[89/183] Compiling RxSwift AsyncLock.swift
/host/spi-builder-workspace/Sources/Omnibar/EditableText.swift:3:8: error: no such module 'Cocoa'
import Cocoa
       ^
[90/183] Compiling RxSwift AnyObserver.swift
/host/spi-builder-workspace/Sources/Omnibar/EditableText.swift:3:8: error: no such module 'Cocoa'
import Cocoa
       ^
[91/183] Compiling RxSwift AsMaybe.swift
/host/spi-builder-workspace/Sources/Omnibar/EditableText.swift:3:8: error: no such module 'Cocoa'
import Cocoa
       ^
[92/183] Compiling RxSwift AddRef.swift
/host/spi-builder-workspace/Sources/Omnibar/EditableText.swift:3:8: error: no such module 'Cocoa'
import Cocoa
       ^
[93/183] Compiling RxSwift Amb.swift
/host/spi-builder-workspace/Sources/Omnibar/EditableText.swift:3:8: error: no such module 'Cocoa'
import Cocoa
       ^
[94/183] Compiling RxSwift AnonymousDisposable.swift
/host/spi-builder-workspace/Sources/Omnibar/EditableText.swift:3:8: error: no such module 'Cocoa'
import Cocoa
       ^
[95/183] Compiling RxSwift AnonymousObserver.swift
/host/spi-builder-workspace/Sources/Omnibar/EditableText.swift:3:8: error: no such module 'Cocoa'
import Cocoa
       ^
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1