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: main
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
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at a6ba690 funding
Cloned https://github.com/ChimeHQ/UITestingPlus.git
Revision (git rev-parse @):
a6ba6902019187300cd340d0479f8c48cd435af9
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/ChimeHQ/UITestingPlus.git at main
========================================
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/13] Compiling UITestingPlus XCUIElement+Soon.swift
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIElement+Soon.swift:4:18: error: cannot find type 'XCUIElement' in scope
public extension XCUIElement {
^~~~~~~~~~~
[4/14] 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 {
^~~~~~~~~~~
[5/14] Compiling UITestingPlus XCUIElement+Hittable.swift
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIElement+Hittable.swift:4:18: error: cannot find type 'XCUIElement' in scope
public extension XCUIElement {
^~~~~~~~~~~
[6/14] Compiling UITestingPlus XCUIApplication+Apps.swift
[7/14] Compiling UITestingPlus XCUIApplication+Documents.swift
[8/14] 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 {
^~~~~~~~~~~
[9/14] Compiling UITestingPlus XCTest+Soon.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 {
^~~~~~~~~~~
[10/14] Compiling UITestingPlus XCUIApplication+Menus.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 {
^~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/14] 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 {
^~~~~~~~~~~
[12/14] 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+Hittable.swift:4:18: error: cannot find type 'XCUIElement' in scope
public extension XCUIElement {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIElement+Soon.swift:4: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 {
^~~~~~~~~~~
[13/14] 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 {
^~~~~~~~~~~
[14/14] 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 {
^~~~~~~~~~~
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/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 {
^~~~~~~~~~~
[3/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 {
^~~~~~~~~~~
[4/11] Compiling UITestingPlus XCUIElement+Hittable.swift
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIElement+Hittable.swift:4:18: error: cannot find type 'XCUIElement' in scope
public extension XCUIElement {
^~~~~~~~~~~
[5/11] 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 {
^~~~~~~~~~~
[6/11] Compiling UITestingPlus XCUIElement+Soon.swift
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIElement+Soon.swift:4:18: error: cannot find type 'XCUIElement' in scope
public extension XCUIElement {
^~~~~~~~~~~
[7/11] Compiling UITestingPlus XCUIApplication+Menus.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/11] 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 {
^~~~~~~~~~~
[9/11] Compiling UITestingPlus XCTest+Soon.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 {
^~~~~~~~~~~
[10/11] 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+Hittable.swift:4:18: error: cannot find type 'XCUIElement' in scope
public extension XCUIElement {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIElement+Soon.swift:4: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 {
^~~~~~~~~~~
[11/11] 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 {
^~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux