Build Information
Failed to build Omnibar 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 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CleanCocoa/Omnibar.git
Reference: master
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/CleanCocoa/Omnibar
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 2fc1a38 update to RxSwift 6.6.0
Cloned https://github.com/CleanCocoa/Omnibar.git
Revision (git rev-parse @):
2fc1a381d8660b61ec5f1d709d0472bb5c438faa
SUCCESS checkout https://github.com/CleanCocoa/Omnibar.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/CleanCocoa/Omnibar.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 2>&1
Fetching https://github.com/ReactiveX/RxSwift
[1/51014] Fetching rxswift
Fetched https://github.com/ReactiveX/RxSwift from cache (2.18s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 6.6.0 (0.45s)
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...
[0/15] Write sources
[5/15] Write swift-version-24593BA9C3E375BF.txt
[7/170] Compiling Omnibar OmnibarDelegate.swift
/host/spi-builder-workspace/Sources/Omnibar/EditableText.swift:3:8: error: no such module 'Cocoa'
import Cocoa
^
[8/171] Compiling Omnibar TextFieldTextChange.swift
/host/spi-builder-workspace/Sources/Omnibar/EditableText.swift:3:8: error: no such module 'Cocoa'
import Cocoa
^
[9/171] Compiling Omnibar OmnibarTextFieldCell.swift
/host/spi-builder-workspace/Sources/Omnibar/EditableText.swift:3:8: error: no such module 'Cocoa'
import Cocoa
^
[10/171] Compiling RxSwift DispatchQueueConfiguration.swift
[11/171] Compiling RxSwift Disposable.swift
[12/171] Compiling RxSwift Disposables.swift
[13/171] Compiling RxSwift DisposeBag.swift
[14/171] Compiling RxSwift DisposeBase.swift
[15/171] Compiling RxSwift DistinctUntilChanged.swift
[16/171] Compiling RxSwift Do.swift
[17/171] Compiling RxSwift ElementAt.swift
[18/171] Compiling RxSwift Empty.swift
[19/171] Compiling RxSwift Enumerated.swift
[20/171] Compiling RxSwift Error.swift
[21/171] Compiling RxSwift Errors.swift
[22/171] Compiling RxSwift Event.swift
[23/171] Compiling RxSwift Filter.swift
[24/171] Compiling RxSwift First.swift
[25/171] Compiling RxSwift Generate.swift
[26/171] Compiling RxSwift GroupBy.swift
[27/171] Compiling RxSwift GroupedObservable.swift
[28/171] Compiling RxSwift HistoricalScheduler.swift
[29/171] Compiling RxSwift HistoricalSchedulerTimeConverter.swift
[30/188] Compiling RxSwift AnyObserver.swift
/host/spi-builder-workspace/Sources/Omnibar/EditableText.swift:3:8: error: no such module 'Cocoa'
import Cocoa
^
[31/188] Compiling RxSwift AsMaybe.swift
/host/spi-builder-workspace/Sources/Omnibar/EditableText.swift:3:8: error: no such module 'Cocoa'
import Cocoa
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[32/188] Emitting module Omnibar
/host/spi-builder-workspace/Sources/Omnibar/EditableText.swift:3:8: error: no such module 'Cocoa'
import Cocoa
^
[33/191] Compiling RxSwift AddRef.swift
/host/spi-builder-workspace/Sources/Omnibar/EditableText.swift:3:8: error: no such module 'Cocoa'
import Cocoa
^
[34/191] Compiling RxSwift Amb.swift
/host/spi-builder-workspace/Sources/Omnibar/EditableText.swift:3:8: error: no such module 'Cocoa'
import Cocoa
^
[35/191] Compiling RxSwift AnonymousDisposable.swift
/host/spi-builder-workspace/Sources/Omnibar/EditableText.swift:3:8: error: no such module 'Cocoa'
import Cocoa
^
[36/191] Compiling RxSwift AnonymousObserver.swift
/host/spi-builder-workspace/Sources/Omnibar/EditableText.swift:3:8: error: no such module 'Cocoa'
import Cocoa
^
[37/191] Compiling RxSwift AsSingle.swift
/host/spi-builder-workspace/Sources/Omnibar/EditableText.swift:3:8: error: no such module 'Cocoa'
import Cocoa
^
[38/191] Compiling RxSwift AsyncLock.swift
/host/spi-builder-workspace/Sources/Omnibar/EditableText.swift:3:8: error: no such module 'Cocoa'
import Cocoa
^
[39/191] Compiling Omnibar TextReplacement.swift
/host/spi-builder-workspace/Sources/Omnibar/EditableText.swift:3:8: error: no such module 'Cocoa'
import Cocoa
^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/10] Write swift-version-24593BA9C3E375BF.txt
[2/22] Compiling Omnibar TextFieldTextChange.swift
/host/spi-builder-workspace/Sources/Omnibar/EditableText.swift:3:8: error: no such module 'Cocoa'
import Cocoa
^
[3/23] Compiling Omnibar NSView+constrainToSuperviewBounds.swift
/host/spi-builder-workspace/Sources/Omnibar/EditableText.swift:3:8: error: no such module 'Cocoa'
import Cocoa
^
[4/23] Compiling Omnibar Omnibar.swift
/host/spi-builder-workspace/Sources/Omnibar/EditableText.swift:3:8: error: no such module 'Cocoa'
import Cocoa
^
[5/23] Compiling Omnibar OmnibarContent.swift
/host/spi-builder-workspace/Sources/Omnibar/EditableText.swift:3:8: error: no such module 'Cocoa'
import Cocoa
^
[6/23] Compiling Omnibar OmnibarContentChange.swift
/host/spi-builder-workspace/Sources/Omnibar/EditableText.swift:3:8: error: no such module 'Cocoa'
import Cocoa
^
[7/23] Compiling Omnibar OmnibarTextFieldCell.swift
/host/spi-builder-workspace/Sources/Omnibar/EditableText.swift:3:8: error: no such module 'Cocoa'
import Cocoa
^
[8/23] Compiling Omnibar OmnibarDelegate.swift
/host/spi-builder-workspace/Sources/Omnibar/EditableText.swift:3:8: error: no such module 'Cocoa'
import Cocoa
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/23] Compiling Omnibar FieldEditor.swift
/host/spi-builder-workspace/Sources/Omnibar/EditableText.swift:3:8: error: no such module 'Cocoa'
import Cocoa
^
[10/23] Compiling Omnibar NSText+FieldEditor.swift
/host/spi-builder-workspace/Sources/Omnibar/EditableText.swift:3:8: error: no such module 'Cocoa'
import Cocoa
^
[11/23] Emitting module Omnibar
/host/spi-builder-workspace/Sources/Omnibar/EditableText.swift:3:8: error: no such module 'Cocoa'
import Cocoa
^
[12/23] Compiling Omnibar ChangeMethod.swift
/host/spi-builder-workspace/Sources/Omnibar/EditableText.swift:3:8: error: no such module 'Cocoa'
import Cocoa
^
[13/23] Compiling Omnibar EditableText.swift
/host/spi-builder-workspace/Sources/Omnibar/EditableText.swift:3:8: error: no such module 'Cocoa'
import Cocoa
^
[14/72] Compiling Omnibar TextReplacement.swift
/host/spi-builder-workspace/Sources/Omnibar/EditableText.swift:3:8: error: no such module 'Cocoa'
import Cocoa
^
error: fatalError
BUILD FAILURE 5.10 linux