The Swift Package Index logo.Swift Package Index

Build Information

Failed to build UITestingPlus with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ChimeHQ/UITestingPlus.git
Reference: 0.1.0
Cloned https://github.com/ChimeHQ/UITestingPlus.git into spi-builder-workspace
SPI manifest file found: spi-builder-workspace/.spi.yml
SUCCESS checkout https://github.com/ChimeHQ/UITestingPlus.git at 0.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Building for debugging...
[1/8] 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 {
                                 ^~~~~~~~~~~
[2/8] 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 {
                 ^~~~~~~~~~~
[3/8] 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/8] Compiling UITestingPlus XCUIApplication+Documents.swift
error: compile command failed due to signal 6 (use -v to see invocation)
error: emit-module command failed due to signal 6 (use -v to see invocation)
[5/8] 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 {
                         ^~~~~~~~~~~
[6/8] Compiling UITestingPlus XCUIApplication+Menus.swift
/host/spi-builder-workspace/Sources/UITestingPlus/HittableElementExpectation.swift:8:23: error: cannot find type 'XCUIElement' in scope
        public init(element: XCUIElement) {
                             ^~~~~~~~~~~
swift-frontend: /home/build-user/llvm-project/llvm/include/llvm/ADT/SmallVector.h:745: llvm::SmallVectorImpl::iterator llvm::SmallVectorImpl<swift::Identifier>::erase(llvm::SmallVectorImpl::const_iterator) [T = swift::Identifier]: Assertion `this->isReferenceToStorage(CI) && "Iterator to erase is out of bounds."' failed.
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0.	Program arguments: /usr/bin/swift-frontend -frontend -c -primary-file /host/spi-builder-workspace/Sources/UITestingPlus/HittableElementExpectation.swift /host/spi-builder-workspace/Sources/UITestingPlus/XCUIApplication+Documents.swift /host/spi-builder-workspace/Sources/UITestingPlus/XCUIApplication+Menus.swift /host/spi-builder-workspace/Sources/UITestingPlus/XCUIApplication+Windows.swift /host/spi-builder-workspace/Sources/UITestingPlus/XCUIElement+Accessors.swift /host/spi-builder-workspace/Sources/UITestingPlus/XCUIElement+Existence.swift /host/spi-builder-workspace/Sources/UITestingPlus/XCUIElement+TextEditing.swift -emit-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/UITestingPlus.build/HittableElementExpectation.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/UITestingPlus.build/HittableElementExpectation.swiftdeps -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug -enable-testing -g -module-cache-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -new-driver-path /usr/bin/swift-driver -empty-abi-descriptor -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -resource-dir /usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -fPIC -module-name UITestingPlus -parse-as-library -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/UITestingPlus.build/HittableElementExpectation.swift.o -index-store-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/index/store -index-system-modules
1.	Swift version 5.9-dev (LLVM 464b04eb9b157e3, Swift 7203d52cb1e074d)
2.	Compiling with the current language version
3.	While evaluating request TypeCheckSourceFileRequest(source_file "/host/spi-builder-workspace/Sources/UITestingPlus/HittableElementExpectation.swift")
4.	While type-checking 'HittableElementExpectation' (at /host/spi-builder-workspace/Sources/UITestingPlus/HittableElementExpectation.swift:5:8)
5.	While type-checking declaration 0xbd93870 (at /host/spi-builder-workspace/Sources/UITestingPlus/HittableElementExpectation.swift:6:10)
6.	While evaluating request PatternBindingEntryRequest((unknown decl), 0, 0)
7.	While type-checking expression at [/host/spi-builder-workspace/Sources/UITestingPlus/HittableElementExpectation.swift:6:41 - line:6:93] RangeText="NSPredicate(format: "exists == 1 && isHittable == 1""
8.	While type-checking-target starting at /host/spi-builder-workspace/Sources/UITestingPlus/HittableElementExpectation.swift:6:41
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
/usr/bin/swift-frontend[0x6b367f3]
/usr/bin/swift-frontend[0x6b3440e]
/usr/bin/swift-frontend[0x6b36b5f]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x14420)[0x7f33d17ba420]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcb)[0x7f33d0c0100b]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x12b)[0x7f33d0be0859]
/lib/x86_64-linux-gnu/libc.so.6(+0x22729)[0x7f33d0be0729]
/lib/x86_64-linux-gnu/libc.so.6(+0x33fd6)[0x7f33d0bf1fd6]
/usr/bin/swift-frontend[0x1ab5dcc]
/usr/bin/swift-frontend[0x1ab7120]
/usr/bin/swift-frontend[0x1ab8d45]
/usr/bin/swift-frontend[0x1ac0b57]
/usr/bin/swift-frontend[0x1abf838]
/usr/bin/swift-frontend[0x1f7a53a]
/usr/bin/swift-frontend[0x1f7c20b]
/usr/bin/swift-frontend[0x1f7a5c0]
/usr/bin/swift-frontend[0x1f7b19b]
/usr/bin/swift-frontend[0x1f7a5c0]
/usr/bin/swift-frontend[0x1f7a513]
/usr/bin/swift-frontend[0x1ab939e]
/usr/bin/swift-frontend[0x1a4205e]
/usr/bin/swift-frontend[0x1ae74ea]
/usr/bin/swift-frontend[0x1ae72dd]
/usr/bin/swift-frontend[0x1ae8be8]
/usr/bin/swift-frontend[0x1ae8f5a]
/usr/bin/swift-frontend[0x1bf96c3]
/usr/bin/swift-frontend[0x1b10895]
/usr/bin/swift-frontend[0x1b10629]
/usr/bin/swift-frontend[0x1afbc8b]
/usr/bin/swift-frontend[0x1b3734e]
/usr/bin/swift-frontend[0x1b32e48]
/usr/bin/swift-frontend[0x1b3bf8c]
/usr/bin/swift-frontend[0x1b32e48]
/usr/bin/swift-frontend[0x1b32cd1]
/usr/bin/swift-frontend[0x1c32cda]
/usr/bin/swift-frontend[0x1c35959]
/usr/bin/swift-frontend[0x1c35705]
/usr/bin/swift-frontend[0x1c32a98]
/usr/bin/swift-frontend[0x1c32a74]
/usr/bin/swift-frontend[0x909fa9]
/usr/bin/swift-frontend[0x8ffeca]
/usr/bin/swift-frontend[0x8ffe67]
/usr/bin/swift-frontend[0x67b3ee]
/usr/bin/swift-frontend[0x6684a2]
/usr/bin/swift-frontend[0x4c43d1]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x7f33d0be2083]
/usr/bin/swift-frontend[0x4c3b1e]
BUILD FAILURE 5.9 linux

Build Machine: Linux 1