Build Information
Failed to build Lunch 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/fromkk/lunch.git
Reference: 1.1.0
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/fromkk/lunch
* tag 1.1.0 -> FETCH_HEAD
HEAD is now at 3577d09 Merge pull request #5 from fromkk/feature/swift5_1
Cloned https://github.com/fromkk/lunch.git
Revision (git rev-parse @):
3577d09cbbb23099e691baa39c1927afc6e84923
SUCCESS checkout https://github.com/fromkk/lunch.git at 1.1.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/fromkk/lunch.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
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/12] Compiling Lunch Makeable.swift
[5/12] Compiling Lunch Launcher.swift
[6/12] Compiling Lunch LaunchKeys.swift
[7/12] Emitting module Lunch
[8/12] Compiling Lunch Creatable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/13] Compiling LunchTest ViewControllerTestable.swift
[10/13] Emitting module LunchTest
/host/spi-builder-workspace/LunchTest/Launcher.swift:21:34: error: cannot find type 'XCUIApplication' in scope
public lazy var application: XCUIApplication = {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/LunchTest/Launcher.swift:79:58: error: cannot find type 'XCUIApplication' in scope
public func launch(_ app: XCUIApplication? = nil) -> XCUIApplication {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/LunchTest/Launcher.swift:79:31: error: cannot find type 'XCUIApplication' in scope
public func launch(_ app: XCUIApplication? = nil) -> XCUIApplication {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/LunchTest/PageObjectsRepresentable.swift:12:14: error: cannot find type 'XCUIApplication' in scope
var app: XCUIApplication { get set }
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/LunchTest/PageObjectsRepresentable.swift:13:15: error: cannot find type 'XCUIApplication' in scope
init(app: XCUIApplication)
^~~~~~~~~~~~~~~
[11/13] Compiling LunchTest Launcher.swift
/host/spi-builder-workspace/LunchTest/Launcher.swift:21:34: error: cannot find type 'XCUIApplication' in scope
public lazy var application: XCUIApplication = {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/LunchTest/Launcher.swift:79:58: error: cannot find type 'XCUIApplication' in scope
public func launch(_ app: XCUIApplication? = nil) -> XCUIApplication {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/LunchTest/Launcher.swift:79:31: error: cannot find type 'XCUIApplication' in scope
public func launch(_ app: XCUIApplication? = nil) -> XCUIApplication {
^~~~~~~~~~~~~~~
[12/13] Compiling LunchTest PageObjectsRepresentable.swift
/host/spi-builder-workspace/LunchTest/PageObjectsRepresentable.swift:12:14: error: cannot find type 'XCUIApplication' in scope
var app: XCUIApplication { get set }
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/LunchTest/PageObjectsRepresentable.swift:13:15: error: cannot find type 'XCUIApplication' in scope
init(app: XCUIApplication)
^~~~~~~~~~~~~~~
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/4] Emitting module LunchTest
/host/spi-builder-workspace/LunchTest/Launcher.swift:21:34: error: cannot find type 'XCUIApplication' in scope
public lazy var application: XCUIApplication = {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/LunchTest/Launcher.swift:79:58: error: cannot find type 'XCUIApplication' in scope
public func launch(_ app: XCUIApplication? = nil) -> XCUIApplication {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/LunchTest/Launcher.swift:79:31: error: cannot find type 'XCUIApplication' in scope
public func launch(_ app: XCUIApplication? = nil) -> XCUIApplication {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/LunchTest/PageObjectsRepresentable.swift:12:14: error: cannot find type 'XCUIApplication' in scope
var app: XCUIApplication { get set }
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/LunchTest/PageObjectsRepresentable.swift:13:15: error: cannot find type 'XCUIApplication' in scope
init(app: XCUIApplication)
^~~~~~~~~~~~~~~
[3/4] Compiling LunchTest Launcher.swift
/host/spi-builder-workspace/LunchTest/Launcher.swift:21:34: error: cannot find type 'XCUIApplication' in scope
public lazy var application: XCUIApplication = {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/LunchTest/Launcher.swift:79:58: error: cannot find type 'XCUIApplication' in scope
public func launch(_ app: XCUIApplication? = nil) -> XCUIApplication {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/LunchTest/Launcher.swift:79:31: error: cannot find type 'XCUIApplication' in scope
public func launch(_ app: XCUIApplication? = nil) -> XCUIApplication {
^~~~~~~~~~~~~~~
[4/4] Compiling LunchTest PageObjectsRepresentable.swift
/host/spi-builder-workspace/LunchTest/PageObjectsRepresentable.swift:12:14: error: cannot find type 'XCUIApplication' in scope
var app: XCUIApplication { get set }
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/LunchTest/PageObjectsRepresentable.swift:13:15: error: cannot find type 'XCUIApplication' in scope
init(app: XCUIApplication)
^~~~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux