Build Information
Failed to build UITestingPlus with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/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/ChimeHQ/UITestingPlus.git
Reference: 0.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/ChimeHQ/UITestingPlus
* tag 0.1.0 -> FETCH_HEAD
HEAD is now at 241c995 Fix iOS build
Cloned https://github.com/ChimeHQ/UITestingPlus.git
Revision (git rev-parse @):
241c9953b119683cc9b6cbf07d9c3db923ba1053
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/ChimeHQ/UITestingPlus.git at 0.1.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/ChimeHQ/UITestingPlus.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/10] Compiling UITestingPlus XCUIElement+TextEditing.swift
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIElement+TextEditing.swift:41:18: error: cannot find type 'XCUIElement' in scope
public extension XCUIElement {
^~~~~~~~~~~
[4/10] Compiling UITestingPlus XCUIElement+Accessors.swift
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIElement+Accessors.swift:3:18: error: cannot find type 'XCUIElement' in scope
public extension XCUIElement {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIElement+Accessors.swift:9:18: error: cannot find type 'XCUIElement' in scope
public extension XCUIElement {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIElement+Accessors.swift:15:18: error: cannot find type 'XCUIElementQuery' in scope
public extension XCUIElementQuery {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIElement+Accessors.swift:21:18: error: cannot find type 'XCUIElement' in scope
public extension XCUIElement {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIElement+Accessors.swift:4:33: error: cannot find type 'XCUIElement' in scope
var outlineDisclosureTriangle: XCUIElement {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIElement+Accessors.swift:10:25: error: cannot find type 'XCUIElement' in scope
var closeWindowButton: XCUIElement {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIElement+Accessors.swift:16:27: error: cannot find type 'XCUIElement' in scope
subscript(index: Int) -> XCUIElement {
^~~~~~~~~~~
[5/10] Compiling UITestingPlus XCUIApplication+Menus.swift
[6/10] Compiling UITestingPlus XCUIApplication+Windows.swift
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIApplication+Windows.swift:4:18: error: cannot find type 'XCUIApplication' in scope
public extension XCUIApplication {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIApplication+Windows.swift:47:19: error: cannot find type 'XCUIElement' in scope
var frontWindow: XCUIElement {
^~~~~~~~~~~
[7/10] Compiling UITestingPlus XCUIElement+Existence.swift
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIElement+Existence.swift:3:18: error: cannot find type 'XCUIElement' in scope
public extension XCUIElement {
^~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/10] Compiling UITestingPlus XCUIApplication+Documents.swift
[9/10] Emitting module UITestingPlus
/host/spi-builder-workspace/Sources/UITestingPlus/HittableElementExpectation.swift:8:23: error: cannot find type 'XCUIElement' in scope
public init(element: XCUIElement) {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/UITestingPlus/HittableElementExpectation.swift:6:41: error: 'init(format:_:)' has been renamed to 'init(block:)': Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.
private static let hittablePredicate = NSPredicate(format: "exists == 1 && isHittable == 1")
^
Foundation.NSPredicate:3:24: note: 'init(format:_:)' has been explicitly marked unavailable here
public convenience init(format predicateFormat: String, _ args: any CVarArg...)
^
/host/spi-builder-workspace/Sources/UITestingPlus/HittableElementExpectation.swift:14:22: error: cannot find type 'XCUIElement' in scope
public var element: XCUIElement {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIApplication+Windows.swift:4:18: error: cannot find type 'XCUIApplication' in scope
public extension XCUIApplication {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIElement+Accessors.swift:3:18: error: cannot find type 'XCUIElement' in scope
public extension XCUIElement {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIElement+Accessors.swift:9:18: error: cannot find type 'XCUIElement' in scope
public extension XCUIElement {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIElement+Accessors.swift:15:18: error: cannot find type 'XCUIElementQuery' in scope
public extension XCUIElementQuery {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIElement+Accessors.swift:21:18: error: cannot find type 'XCUIElement' in scope
public extension XCUIElement {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIElement+Existence.swift:3:18: error: cannot find type 'XCUIElement' in scope
public extension XCUIElement {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIElement+TextEditing.swift:41:18: error: cannot find type 'XCUIElement' in scope
public extension XCUIElement {
^~~~~~~~~~~
[10/10] Compiling UITestingPlus HittableElementExpectation.swift
/host/spi-builder-workspace/Sources/UITestingPlus/HittableElementExpectation.swift:8:23: error: cannot find type 'XCUIElement' in scope
public init(element: XCUIElement) {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/UITestingPlus/HittableElementExpectation.swift:6:41: error: 'init(format:_:)' has been renamed to 'init(block:)': Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.
private static let hittablePredicate = NSPredicate(format: "exists == 1 && isHittable == 1")
^
Foundation.NSPredicate:3:24: note: 'init(format:_:)' has been explicitly marked unavailable here
public convenience init(format predicateFormat: String, _ args: any CVarArg...)
^
/host/spi-builder-workspace/Sources/UITestingPlus/HittableElementExpectation.swift:14:22: error: cannot find type 'XCUIElement' in scope
public var element: XCUIElement {
^~~~~~~~~~~
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/7] Compiling UITestingPlus XCUIApplication+Windows.swift
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIApplication+Windows.swift:4:18: error: cannot find type 'XCUIApplication' in scope
public extension XCUIApplication {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIApplication+Windows.swift:47:19: error: cannot find type 'XCUIElement' in scope
var frontWindow: XCUIElement {
^~~~~~~~~~~
[3/7] Compiling UITestingPlus HittableElementExpectation.swift
/host/spi-builder-workspace/Sources/UITestingPlus/HittableElementExpectation.swift:8:23: error: cannot find type 'XCUIElement' in scope
public init(element: XCUIElement) {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/UITestingPlus/HittableElementExpectation.swift:6:41: error: 'init(format:_:)' has been renamed to 'init(block:)': Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.
private static let hittablePredicate = NSPredicate(format: "exists == 1 && isHittable == 1")
^
Foundation.NSPredicate:3:24: note: 'init(format:_:)' has been explicitly marked unavailable here
public convenience init(format predicateFormat: String, _ args: any CVarArg...)
^
/host/spi-builder-workspace/Sources/UITestingPlus/HittableElementExpectation.swift:14:22: error: cannot find type 'XCUIElement' in scope
public var element: XCUIElement {
^~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/7] Emitting module UITestingPlus
/host/spi-builder-workspace/Sources/UITestingPlus/HittableElementExpectation.swift:8:23: error: cannot find type 'XCUIElement' in scope
public init(element: XCUIElement) {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/UITestingPlus/HittableElementExpectation.swift:6:41: error: 'init(format:_:)' has been renamed to 'init(block:)': Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.
private static let hittablePredicate = NSPredicate(format: "exists == 1 && isHittable == 1")
^
Foundation.NSPredicate:3:24: note: 'init(format:_:)' has been explicitly marked unavailable here
public convenience init(format predicateFormat: String, _ args: any CVarArg...)
^
/host/spi-builder-workspace/Sources/UITestingPlus/HittableElementExpectation.swift:14:22: error: cannot find type 'XCUIElement' in scope
public var element: XCUIElement {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIApplication+Windows.swift:4:18: error: cannot find type 'XCUIApplication' in scope
public extension XCUIApplication {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIElement+Accessors.swift:3:18: error: cannot find type 'XCUIElement' in scope
public extension XCUIElement {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIElement+Accessors.swift:9:18: error: cannot find type 'XCUIElement' in scope
public extension XCUIElement {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIElement+Accessors.swift:15:18: error: cannot find type 'XCUIElementQuery' in scope
public extension XCUIElementQuery {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIElement+Accessors.swift:21:18: error: cannot find type 'XCUIElement' in scope
public extension XCUIElement {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIElement+Existence.swift:3:18: error: cannot find type 'XCUIElement' in scope
public extension XCUIElement {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIElement+TextEditing.swift:41:18: error: cannot find type 'XCUIElement' in scope
public extension XCUIElement {
^~~~~~~~~~~
[5/7] Compiling UITestingPlus XCUIElement+TextEditing.swift
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIElement+TextEditing.swift:41:18: error: cannot find type 'XCUIElement' in scope
public extension XCUIElement {
^~~~~~~~~~~
[6/7] Compiling UITestingPlus XCUIElement+Accessors.swift
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIElement+Accessors.swift:3:18: error: cannot find type 'XCUIElement' in scope
public extension XCUIElement {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIElement+Accessors.swift:9:18: error: cannot find type 'XCUIElement' in scope
public extension XCUIElement {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIElement+Accessors.swift:15:18: error: cannot find type 'XCUIElementQuery' in scope
public extension XCUIElementQuery {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIElement+Accessors.swift:21:18: error: cannot find type 'XCUIElement' in scope
public extension XCUIElement {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIElement+Accessors.swift:4:33: error: cannot find type 'XCUIElement' in scope
var outlineDisclosureTriangle: XCUIElement {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIElement+Accessors.swift:10:25: error: cannot find type 'XCUIElement' in scope
var closeWindowButton: XCUIElement {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIElement+Accessors.swift:16:27: error: cannot find type 'XCUIElement' in scope
subscript(index: Int) -> XCUIElement {
^~~~~~~~~~~
[7/7] Compiling UITestingPlus XCUIElement+Existence.swift
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIElement+Existence.swift:3:18: error: cannot find type 'XCUIElement' in scope
public extension XCUIElement {
^~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux