Build Information
Failed to build Lunch with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-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: 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/fromkk/lunch
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at f6c45a8 add Bitrise status
Cloned https://github.com/fromkk/lunch.git
Revision (git rev-parse @):
f6c45a8c3699fdcbd20062814f6d346cf17fdf0e
SUCCESS checkout https://github.com/fromkk/lunch.git at master
========================================
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-4609320-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 Launcher.swift
[5/12] Compiling Lunch Makeable.swift
[6/12] Compiling LunchTest ViewControllerTestable.swift
[7/12] 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: emit-module command failed with exit code 1 (use -v to see invocation)
[8/12] 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)
^~~~~~~~~~~~~~~
[9/12] 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 {
^~~~~~~~~~~~~~~
[10/12] Compiling Lunch Creatable.swift
[11/12] Emitting module Lunch
[12/12] Compiling Lunch LaunchKeys.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/5] 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)
^~~~~~~~~~~~~~~
[3/5] Emitting module Lunch
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/6] 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)
^~~~~~~~~~~~~~~
[6/6] 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 {
^~~~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux