The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build UITestingPlus, reference 0.1.0 (241c99), with Swift 6.0 for Linux on 29 Nov 2024 04:48:01 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.58.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: $PWD/.spi.yml
SUCCESS checkout https://github.com/ChimeHQ/UITestingPlus.git at 0.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/ChimeHQ/UITestingPlus.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/10] Compiling UITestingPlus XCUIApplication+Menus.swift
[4/10] Compiling UITestingPlus XCUIApplication+Windows.swift
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIApplication+Windows.swift:4:18: error: cannot find type 'XCUIApplication' in scope
 2 | import XCTest
 3 |
 4 | public extension XCUIApplication {
   |                  `- error: cannot find type 'XCUIApplication' in scope
 5 | 	func launchWithNoWindows() {
 6 | 		launchArguments.append(contentsOf: ["-ApplePersistenceIgnoreState", "YES"])
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIApplication+Windows.swift:47:19: error: cannot find type 'XCUIElement' in scope
45 | 	#endif
46 |
47 | 	var frontWindow: XCUIElement {
   |                   `- error: cannot find type 'XCUIElement' in scope
48 | 		return windows.element
49 | 	}
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/10] Compiling UITestingPlus XCUIApplication+Documents.swift
[6/10] Emitting module UITestingPlus
/host/spi-builder-workspace/Sources/UITestingPlus/HittableElementExpectation.swift:8:23: error: cannot find type 'XCUIElement' in scope
 6 | 	private static let hittablePredicate = NSPredicate(format: "exists == 1 && isHittable == 1")
 7 |
 8 | 	public init(element: XCUIElement) {
   |                       `- error: cannot find type 'XCUIElement' in scope
 9 | 		let p = HittableElementExpectation.hittablePredicate
10 |
/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.
 4 | /// Expectation subclass for waiting on an XCUIElement to be hittable.
 5 | public class HittableElementExpectation: XCTNSPredicateExpectation {
 6 | 	private static let hittablePredicate = NSPredicate(format: "exists == 1 && isHittable == 1")
   |                                         `- 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.
 7 |
 8 | 	public init(element: XCUIElement) {
Foundation.NSPredicate:3:24: note: 'init(format:_:)' has been explicitly marked unavailable here
1 | extension NSPredicate {
2 |     @available(*, unavailable, renamed: "init(block:)", message: "Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.")
3 |     public convenience init(format predicateFormat: String, _ args: any CVarArg...)
  |                        `- note: 'init(format:_:)' has been explicitly marked unavailable here
4 | }
/host/spi-builder-workspace/Sources/UITestingPlus/HittableElementExpectation.swift:6:21: warning: static property 'hittablePredicate' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
 4 | /// Expectation subclass for waiting on an XCUIElement to be hittable.
 5 | public class HittableElementExpectation: XCTNSPredicateExpectation {
 6 | 	private static let hittablePredicate = NSPredicate(format: "exists == 1 && isHittable == 1")
   |                     |- warning: static property 'hittablePredicate' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: annotate 'hittablePredicate' with '@MainActor' if property should only be accessed from the main actor
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |
 8 | 	public init(element: XCUIElement) {
Foundation.NSPredicate:1:12: note: class 'NSPredicate' does not conform to the 'Sendable' protocol
 1 | open class NSPredicate : NSObject, NSCopying {
   |            `- note: class 'NSPredicate' does not conform to the 'Sendable' protocol
 2 |     override open func copy() -> Any
 3 |     open func copy(with zone: NSZone? = nil) -> Any
/host/spi-builder-workspace/Sources/UITestingPlus/HittableElementExpectation.swift:14:22: error: cannot find type 'XCUIElement' in scope
12 | 	}
13 |
14 | 	public var element: XCUIElement {
   |                      `- error: cannot find type 'XCUIElement' in scope
15 | 		return object as! XCUIElement
16 | 	}
/host/spi-builder-workspace/Sources/UITestingPlus/HittableElementExpectation.swift:5:14: warning: class 'HittableElementExpectation' must restate inherited '@unchecked Sendable' conformance
 3 |
 4 | /// Expectation subclass for waiting on an XCUIElement to be hittable.
 5 | public class HittableElementExpectation: XCTNSPredicateExpectation {
   |              `- warning: class 'HittableElementExpectation' must restate inherited '@unchecked Sendable' conformance
 6 | 	private static let hittablePredicate = NSPredicate(format: "exists == 1 && isHittable == 1")
 7 |
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIApplication+Windows.swift:4:18: error: cannot find type 'XCUIApplication' in scope
 2 | import XCTest
 3 |
 4 | public extension XCUIApplication {
   |                  `- error: cannot find type 'XCUIApplication' in scope
 5 | 	func launchWithNoWindows() {
 6 | 		launchArguments.append(contentsOf: ["-ApplePersistenceIgnoreState", "YES"])
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIElement+Accessors.swift:3:18: error: cannot find type 'XCUIElement' in scope
 1 | import XCTest
 2 |
 3 | public extension XCUIElement {
   |                  `- error: cannot find type 'XCUIElement' in scope
 4 | 	var outlineDisclosureTriangle: XCUIElement {
 5 | 		return disclosureTriangles["NSOutlineViewDisclosureButtonKey"]
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIElement+Accessors.swift:9:18: error: cannot find type 'XCUIElement' in scope
 7 | }
 8 |
 9 | public extension XCUIElement {
   |                  `- error: cannot find type 'XCUIElement' in scope
10 | 	var closeWindowButton: XCUIElement {
11 | 		return buttons.matching(identifier: XCUIIdentifierCloseWindow).firstMatch
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIElement+Accessors.swift:15:18: error: cannot find type 'XCUIElementQuery' in scope
13 | }
14 |
15 | public extension XCUIElementQuery {
   |                  `- error: cannot find type 'XCUIElementQuery' in scope
16 | 	subscript(index: Int) -> XCUIElement {
17 | 		return element(boundBy: index)
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIElement+Accessors.swift:21:18: error: cannot find type 'XCUIElement' in scope
19 | }
20 |
21 | public extension XCUIElement {
   |                  `- error: cannot find type 'XCUIElement' in scope
22 | 	var hasKeyboardFocus: Bool {
23 | 		return (value(forKey: "hasKeyboardFocus") as? Bool) ?? false
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIElement+Existence.swift:3:18: error: cannot find type 'XCUIElement' in scope
 1 | import XCTest
 2 |
 3 | public extension XCUIElement {
   |                  `- error: cannot find type 'XCUIElement' in scope
 4 | 	/// Waits until an element no longer exists.
 5 | 	///
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIElement+TextEditing.swift:41:18: error: cannot find type 'XCUIElement' in scope
39 | }
40 |
41 | public extension XCUIElement {
   |                  `- error: cannot find type 'XCUIElement' in scope
42 | 	func stringValue(in range: NSRange? = nil) throws -> String {
43 | 		guard let stringValue = self.value as? NSString else {
[7/10] Compiling UITestingPlus HittableElementExpectation.swift
/host/spi-builder-workspace/Sources/UITestingPlus/HittableElementExpectation.swift:8:23: error: cannot find type 'XCUIElement' in scope
 6 | 	private static let hittablePredicate = NSPredicate(format: "exists == 1 && isHittable == 1")
 7 |
 8 | 	public init(element: XCUIElement) {
   |                       `- error: cannot find type 'XCUIElement' in scope
 9 | 		let p = HittableElementExpectation.hittablePredicate
10 |
/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.
 4 | /// Expectation subclass for waiting on an XCUIElement to be hittable.
 5 | public class HittableElementExpectation: XCTNSPredicateExpectation {
 6 | 	private static let hittablePredicate = NSPredicate(format: "exists == 1 && isHittable == 1")
   |                                         `- 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.
 7 |
 8 | 	public init(element: XCUIElement) {
Foundation.NSPredicate:3:24: note: 'init(format:_:)' has been explicitly marked unavailable here
1 | extension NSPredicate {
2 |     @available(*, unavailable, renamed: "init(block:)", message: "Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.")
3 |     public convenience init(format predicateFormat: String, _ args: any CVarArg...)
  |                        `- note: 'init(format:_:)' has been explicitly marked unavailable here
4 | }
/host/spi-builder-workspace/Sources/UITestingPlus/HittableElementExpectation.swift:6:21: warning: static property 'hittablePredicate' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
 4 | /// Expectation subclass for waiting on an XCUIElement to be hittable.
 5 | public class HittableElementExpectation: XCTNSPredicateExpectation {
 6 | 	private static let hittablePredicate = NSPredicate(format: "exists == 1 && isHittable == 1")
   |                     |- warning: static property 'hittablePredicate' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: annotate 'hittablePredicate' with '@MainActor' if property should only be accessed from the main actor
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |
 8 | 	public init(element: XCUIElement) {
Foundation.NSPredicate:1:12: note: class 'NSPredicate' does not conform to the 'Sendable' protocol
 1 | open class NSPredicate : NSObject, NSCopying {
   |            `- note: class 'NSPredicate' does not conform to the 'Sendable' protocol
 2 |     override open func copy() -> Any
 3 |     open func copy(with zone: NSZone? = nil) -> Any
/host/spi-builder-workspace/Sources/UITestingPlus/HittableElementExpectation.swift:14:22: error: cannot find type 'XCUIElement' in scope
12 | 	}
13 |
14 | 	public var element: XCUIElement {
   |                      `- error: cannot find type 'XCUIElement' in scope
15 | 		return object as! XCUIElement
16 | 	}
/host/spi-builder-workspace/Sources/UITestingPlus/HittableElementExpectation.swift:5:14: warning: class 'HittableElementExpectation' must restate inherited '@unchecked Sendable' conformance
 3 |
 4 | /// Expectation subclass for waiting on an XCUIElement to be hittable.
 5 | public class HittableElementExpectation: XCTNSPredicateExpectation {
   |              `- warning: class 'HittableElementExpectation' must restate inherited '@unchecked Sendable' conformance
 6 | 	private static let hittablePredicate = NSPredicate(format: "exists == 1 && isHittable == 1")
 7 |
[8/10] Compiling UITestingPlus XCUIElement+TextEditing.swift
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIElement+TextEditing.swift:41:18: error: cannot find type 'XCUIElement' in scope
39 | }
40 |
41 | public extension XCUIElement {
   |                  `- error: cannot find type 'XCUIElement' in scope
42 | 	func stringValue(in range: NSRange? = nil) throws -> String {
43 | 		guard let stringValue = self.value as? NSString else {
[9/10] Compiling UITestingPlus XCUIElement+Accessors.swift
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIElement+Accessors.swift:3:18: error: cannot find type 'XCUIElement' in scope
 1 | import XCTest
 2 |
 3 | public extension XCUIElement {
   |                  `- error: cannot find type 'XCUIElement' in scope
 4 | 	var outlineDisclosureTriangle: XCUIElement {
 5 | 		return disclosureTriangles["NSOutlineViewDisclosureButtonKey"]
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIElement+Accessors.swift:9:18: error: cannot find type 'XCUIElement' in scope
 7 | }
 8 |
 9 | public extension XCUIElement {
   |                  `- error: cannot find type 'XCUIElement' in scope
10 | 	var closeWindowButton: XCUIElement {
11 | 		return buttons.matching(identifier: XCUIIdentifierCloseWindow).firstMatch
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIElement+Accessors.swift:15:18: error: cannot find type 'XCUIElementQuery' in scope
13 | }
14 |
15 | public extension XCUIElementQuery {
   |                  `- error: cannot find type 'XCUIElementQuery' in scope
16 | 	subscript(index: Int) -> XCUIElement {
17 | 		return element(boundBy: index)
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIElement+Accessors.swift:21:18: error: cannot find type 'XCUIElement' in scope
19 | }
20 |
21 | public extension XCUIElement {
   |                  `- error: cannot find type 'XCUIElement' in scope
22 | 	var hasKeyboardFocus: Bool {
23 | 		return (value(forKey: "hasKeyboardFocus") as? Bool) ?? false
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIElement+Accessors.swift:4:33: error: cannot find type 'XCUIElement' in scope
 2 |
 3 | public extension XCUIElement {
 4 | 	var outlineDisclosureTriangle: XCUIElement {
   |                                 `- error: cannot find type 'XCUIElement' in scope
 5 | 		return disclosureTriangles["NSOutlineViewDisclosureButtonKey"]
 6 | 	}
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIElement+Accessors.swift:10:25: error: cannot find type 'XCUIElement' in scope
 8 |
 9 | public extension XCUIElement {
10 | 	var closeWindowButton: XCUIElement {
   |                         `- error: cannot find type 'XCUIElement' in scope
11 | 		return buttons.matching(identifier: XCUIIdentifierCloseWindow).firstMatch
12 | 	}
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIElement+Accessors.swift:16:27: error: cannot find type 'XCUIElement' in scope
14 |
15 | public extension XCUIElementQuery {
16 | 	subscript(index: Int) -> XCUIElement {
   |                           `- error: cannot find type 'XCUIElement' in scope
17 | 		return element(boundBy: index)
18 | 	}
[10/10] Compiling UITestingPlus XCUIElement+Existence.swift
/host/spi-builder-workspace/Sources/UITestingPlus/XCUIElement+Existence.swift:3:18: error: cannot find type 'XCUIElement' in scope
 1 | import XCTest
 2 |
 3 | public extension XCUIElement {
   |                  `- error: cannot find type 'XCUIElement' in scope
 4 | 	/// Waits until an element no longer exists.
 5 | 	///
BUILD FAILURE 6.0 linux