Build Information
Failed to build XCAppTest, reference 0.14.0 (28ceff
), with Swift 5.10 for Linux on 3 Sep 2024 19:49:05 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.52.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Tunous/XCAppTest.git
Reference: 0.14.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/Tunous/XCAppTest
* tag 0.14.0 -> FETCH_HEAD
HEAD is now at 28ceff8 XCUIElementQuery.assertMatchedElements
Cloned https://github.com/Tunous/XCAppTest.git
Revision (git rev-parse @):
28ceff8ad6ead923b002e929489755b3961f9733
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Tunous/XCAppTest.git at 0.14.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $PWD
https://github.com/Tunous/XCAppTest.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:a70f701911643a3a4293839e0e79d56dcc32eed4840549b67640dc1034af7f44
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/13] Emitting module XCAppTest
/host/spi-builder-workspace/Sources/XCAppTest/AssertionUtils.swift:3:11: error: cannot find type 'XCUIElement' in scope
extension XCUIElement {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/AssertionUtils.swift:18:11: error: cannot find type 'XCUIElementQuery' in scope
extension XCUIElementQuery {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:3:11: error: cannot find type 'CGVector' in scope
extension CGVector {
^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIApplication+App.swift:3:11: error: cannot find type 'XCUIApplication' in scope
extension XCUIApplication {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Actions.swift:4:11: error: cannot find type 'XCUIElement' in scope
extension XCUIElement {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Assertions.swift:3:11: error: cannot find type 'XCUIElement' in scope
extension XCUIElement {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Properties.swift:3:11: error: cannot find type 'XCUIElement' in scope
extension XCUIElement {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Types.swift:11:11: error: cannot find type 'XCUIElement' in scope
extension XCUIElement.ElementType {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Types.swift:16:11: error: cannot find type 'XCUIElement' in scope
extension XCUIElement {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Types.swift:23:11: error: cannot find type 'XCUIElementQuery' in scope
extension XCUIElementQuery {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElementQuery+Assertions.swift:3:11: error: cannot find type 'XCUIElementQuery' in scope
extension XCUIElementQuery {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElementQuery+Matchers.swift:10:11: error: cannot find type 'XCUIElementQuery' in scope
extension XCUIElementQuery {
^~~~~~~~~~~~~~~~
[4/14] Compiling XCAppTest XCUIElement+Properties.swift
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Properties.swift:3:11: error: cannot find type 'XCUIElement' in scope
extension XCUIElement {
^~~~~~~~~~~
[5/14] Compiling XCAppTest XCUIElementQuery+Assertions.swift
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElementQuery+Assertions.swift:3:11: error: cannot find type 'XCUIElementQuery' in scope
extension XCUIElementQuery {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElementQuery+Assertions.swift:134:66: error: cannot find type 'XCUIElement' in scope
public func assertMatchedElements(perform: (_ element: () -> XCUIElement) -> Void) -> Self {
^~~~~~~~~~~
[6/14] Compiling XCAppTest XCUIElement+Types.swift
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Types.swift:11:11: error: cannot find type 'XCUIElement' in scope
extension XCUIElement.ElementType {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Types.swift:16:11: error: cannot find type 'XCUIElement' in scope
extension XCUIElement {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Types.swift:23:11: error: cannot find type 'XCUIElementQuery' in scope
extension XCUIElementQuery {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Types.swift:13:44: error: cannot find 'XCUIElement' in scope
public static let bannerNotification = XCUIElement.ElementType(rawValue: 83)!
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Types.swift:18:37: error: cannot find type 'XCUIElementQuery' in scope
public var bannerNotifications: XCUIElementQuery {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Types.swift:25:37: error: cannot find type 'XCUIElementQuery' in scope
public var bannerNotifications: XCUIElementQuery {
^~~~~~~~~~~~~~~~
[7/14] Compiling XCAppTest AssertionUtils.swift
/host/spi-builder-workspace/Sources/XCAppTest/AssertionUtils.swift:3:11: error: cannot find type 'XCUIElement' in scope
extension XCUIElement {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/AssertionUtils.swift:18:11: error: cannot find type 'XCUIElementQuery' in scope
extension XCUIElementQuery {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:3:11: error: cannot find type 'CGVector' in scope
extension CGVector {
^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/AssertionUtils.swift:6:31: error: cannot find type 'XCUIElement' in scope
condition: @escaping (XCUIElement) -> Bool,
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/AssertionUtils.swift:21:31: error: cannot find type 'XCUIElementQuery' in scope
condition: @escaping (XCUIElementQuery) -> Bool,
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:6:32: error: cannot find type 'CGVector' in scope
public static let topLeft: CGVector = CGVector(dx: 0, dy: 0)
^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:9:28: error: cannot find type 'CGVector' in scope
public static let top: CGVector = CGVector(dx: 0.5, dy: 0)
^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:12:33: error: cannot find type 'CGVector' in scope
public static let topRight: CGVector = CGVector(dx: 1, dy: 0)
^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:15:29: error: cannot find type 'CGVector' in scope
public static let left: CGVector = CGVector(dx: 0, dy: 0.5)
^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:18:31: error: cannot find type 'CGVector' in scope
public static let center: CGVector = CGVector(dx: 0.5, dy: 0.5)
^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:21:30: error: cannot find type 'CGVector' in scope
public static let right: CGVector = CGVector(dx: 1, dy: 0.5)
^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:24:35: error: cannot find type 'CGVector' in scope
public static let bottomLeft: CGVector = CGVector(dx: 0, dy: 1)
^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:27:31: error: cannot find type 'CGVector' in scope
public static let bottom: CGVector = CGVector(dx: 0.5, dy: 1)
^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:30:36: error: cannot find type 'CGVector' in scope
public static let bottomRight: CGVector = CGVector(dx: 1, dy: 1)
^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:38:59: error: cannot find type 'CGVector' in scope
public func offset(x: CGFloat = 0, y: CGFloat = 0) -> CGVector {
^~~~~~~~
[8/14] Compiling XCAppTest CGVector+Util.swift
/host/spi-builder-workspace/Sources/XCAppTest/AssertionUtils.swift:3:11: error: cannot find type 'XCUIElement' in scope
extension XCUIElement {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/AssertionUtils.swift:18:11: error: cannot find type 'XCUIElementQuery' in scope
extension XCUIElementQuery {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:3:11: error: cannot find type 'CGVector' in scope
extension CGVector {
^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/AssertionUtils.swift:6:31: error: cannot find type 'XCUIElement' in scope
condition: @escaping (XCUIElement) -> Bool,
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/AssertionUtils.swift:21:31: error: cannot find type 'XCUIElementQuery' in scope
condition: @escaping (XCUIElementQuery) -> Bool,
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:6:32: error: cannot find type 'CGVector' in scope
public static let topLeft: CGVector = CGVector(dx: 0, dy: 0)
^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:9:28: error: cannot find type 'CGVector' in scope
public static let top: CGVector = CGVector(dx: 0.5, dy: 0)
^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:12:33: error: cannot find type 'CGVector' in scope
public static let topRight: CGVector = CGVector(dx: 1, dy: 0)
^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:15:29: error: cannot find type 'CGVector' in scope
public static let left: CGVector = CGVector(dx: 0, dy: 0.5)
^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:18:31: error: cannot find type 'CGVector' in scope
public static let center: CGVector = CGVector(dx: 0.5, dy: 0.5)
^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:21:30: error: cannot find type 'CGVector' in scope
public static let right: CGVector = CGVector(dx: 1, dy: 0.5)
^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:24:35: error: cannot find type 'CGVector' in scope
public static let bottomLeft: CGVector = CGVector(dx: 0, dy: 1)
^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:27:31: error: cannot find type 'CGVector' in scope
public static let bottom: CGVector = CGVector(dx: 0.5, dy: 1)
^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:30:36: error: cannot find type 'CGVector' in scope
public static let bottomRight: CGVector = CGVector(dx: 1, dy: 1)
^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:38:59: error: cannot find type 'CGVector' in scope
public func offset(x: CGFloat = 0, y: CGFloat = 0) -> CGVector {
^~~~~~~~
[9/14] Compiling XCAppTest XCUIElementQuery+Matchers.swift
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElementQuery+Matchers.swift:10:11: error: cannot find type 'XCUIElementQuery' in scope
extension XCUIElementQuery {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElementQuery+Matchers.swift:12:27: error: cannot find type 'XCUIElement' in scope
public var lastMatch: XCUIElement {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElementQuery+Matchers.swift:20:39: error: cannot find type 'XCUIElement' in scope
public subscript(_ index: Int) -> XCUIElement {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElementQuery+Matchers.swift:29:66: error: cannot find type 'XCUIElement' in scope
public func first(where predicate: (XCUIElement) -> Bool) -> XCUIElement? {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElementQuery+Matchers.swift:29:41: error: cannot find type 'XCUIElement' in scope
public func first(where predicate: (XCUIElement) -> Bool) -> XCUIElement? {
^~~~~~~~~~~
[10/14] Compiling XCAppTest XCUIElement+Assertions.swift
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Assertions.swift:3:11: error: cannot find type 'XCUIElement' in scope
extension XCUIElement {
^~~~~~~~~~~
[11/14] Compiling XCAppTest XCAppTestConfig.swift
/host/spi-builder-workspace/Sources/XCAppTest/XCTestCase+Activity.swift:28:20: error: cannot find 'XCTContext' in scope
return try XCTContext.runActivity(named: name) { _ in
^~~~~~~~~~
[12/14] Compiling XCAppTest XCTestCase+Activity.swift
/host/spi-builder-workspace/Sources/XCAppTest/XCTestCase+Activity.swift:28:20: error: cannot find 'XCTContext' in scope
return try XCTContext.runActivity(named: name) { _ in
^~~~~~~~~~
[13/14] Compiling XCAppTest XCUIApplication+App.swift
/host/spi-builder-workspace/Sources/XCAppTest/XCUIApplication+App.swift:3:11: error: cannot find type 'XCUIApplication' in scope
extension XCUIApplication {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Actions.swift:4:11: error: cannot find type 'XCUIElement' in scope
extension XCUIElement {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIApplication+App.swift:8:32: error: cannot find 'XCUIApplication' in scope
public static let safari = XCUIApplication(bundleIdentifier: "com.apple.mobilesafari")
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIApplication+App.swift:11:37: error: cannot find 'XCUIApplication' in scope
public static let springboard = XCUIApplication(bundleIdentifier: "com.apple.springboard")
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIApplication+App.swift:14:34: error: cannot find 'XCUIApplication' in scope
public static let messages = XCUIApplication(bundleIdentifier: "com.apple.MobileSMS")
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIApplication+App.swift:17:34: error: cannot find 'XCUIApplication' in scope
public static let settings = XCUIApplication(bundleIdentifier: "com.apple.Preferences")
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Actions.swift:116:60: error: cannot find type 'CGVector' in scope
public func tap(withNormalizedOffset normalizedOffset: CGVector) -> Self {
^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Actions.swift:130:26: error: cannot find type 'CGVector' in scope
from startPoint: CGVector,
^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Actions.swift:131:22: error: cannot find type 'CGVector' in scope
to endPoint: CGVector,
^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Actions.swift:148:98: error: cannot find type 'CGVector' in scope
public func press(forDuration duration: TimeInterval, withNormalizedOffset normalizedOffset: CGVector) -> Self {
^~~~~~~~
[14/14] Compiling XCAppTest XCUIElement+Actions.swift
/host/spi-builder-workspace/Sources/XCAppTest/XCUIApplication+App.swift:3:11: error: cannot find type 'XCUIApplication' in scope
extension XCUIApplication {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Actions.swift:4:11: error: cannot find type 'XCUIElement' in scope
extension XCUIElement {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIApplication+App.swift:8:32: error: cannot find 'XCUIApplication' in scope
public static let safari = XCUIApplication(bundleIdentifier: "com.apple.mobilesafari")
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIApplication+App.swift:11:37: error: cannot find 'XCUIApplication' in scope
public static let springboard = XCUIApplication(bundleIdentifier: "com.apple.springboard")
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIApplication+App.swift:14:34: error: cannot find 'XCUIApplication' in scope
public static let messages = XCUIApplication(bundleIdentifier: "com.apple.MobileSMS")
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIApplication+App.swift:17:34: error: cannot find 'XCUIApplication' in scope
public static let settings = XCUIApplication(bundleIdentifier: "com.apple.Preferences")
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Actions.swift:116:60: error: cannot find type 'CGVector' in scope
public func tap(withNormalizedOffset normalizedOffset: CGVector) -> Self {
^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Actions.swift:130:26: error: cannot find type 'CGVector' in scope
from startPoint: CGVector,
^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Actions.swift:131:22: error: cannot find type 'CGVector' in scope
to endPoint: CGVector,
^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Actions.swift:148:98: error: cannot find type 'CGVector' in scope
public func press(forDuration duration: TimeInterval, withNormalizedOffset normalizedOffset: CGVector) -> Self {
^~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux