This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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

Successful build of XUI with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/QuickBirdEng/XUI.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/QuickBirdEng/XUI
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 12011ac Initial commit
Cloned https://github.com/QuickBirdEng/XUI.git
Revision (git rev-parse @):
12011ac136681778fa7953f88fe5caa7425bda3e
SUCCESS checkout https://github.com/QuickBirdEng/XUI.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/QuickBirdEng/XUI.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/23] Emitting module XUI
/Users/admin/builder/spi-builder-workspace/Sources/XUI/Combine/CancellableBuilder.swift:14:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
12 | /// Possible use case: Storing multiple cancellables in a collection
13 | /// without writing `.store(in:)` for each subscription separately.
14 | @_functionBuilder
   |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
15 | public struct CancellableBuilder {
16 |
/Users/admin/builder/spi-builder-workspace/Sources/XUI/DeepLink/DeepLinkableBuilder.swift:11:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
 9 | public typealias DeepLinkableBuilder = CollectionBuilder<DeepLinkable>
10 |
11 | @_functionBuilder
   |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
12 | public struct CollectionBuilder<Component> {
13 |
/Users/admin/builder/spi-builder-workspace/Sources/XUI/Store/Store.swift:54:26: warning: main actor-isolated instance method 'update()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 8 |
 9 | @propertyWrapper
10 | public struct Store<Model>: DynamicProperty {
   |                             `- note: add '@preconcurrency' to the 'DynamicProperty' conformance to defer isolation checking to run time
11 |
12 |     // MARK: Nested types
   :
52 |     // MARK: Methods
53 |
54 |     public mutating func update() {
   |                          |- warning: main actor-isolated instance method 'update()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
   |                          `- note: add 'nonisolated' to 'update()' to make this instance method not isolated to the actor
55 |         _observableObject.update()
56 |     }
SwiftUI.DynamicProperty:6:19: note: 'update()' declared here
4 |     @available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *)
5 |     static var _propertyBehaviors: UInt32 { get }
6 |     mutating func update()
  |                   `- note: 'update()' declared here
7 | }
[4/25] Compiling XUI CancellableBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/XUI/Combine/CancellableBuilder.swift:14:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
12 | /// Possible use case: Storing multiple cancellables in a collection
13 | /// without writing `.store(in:)` for each subscription separately.
14 | @_functionBuilder
   |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
15 | public struct CancellableBuilder {
16 |
[5/25] Compiling XUI Result+Combine.swift
/Users/admin/builder/spi-builder-workspace/Sources/XUI/Combine/CancellableBuilder.swift:14:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
12 | /// Possible use case: Storing multiple cancellables in a collection
13 | /// without writing `.store(in:)` for each subscription separately.
14 | @_functionBuilder
   |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
15 | public struct CancellableBuilder {
16 |
[6/25] Compiling XUI DeepLinkable+Receiver.swift
/Users/admin/builder/spi-builder-workspace/Sources/XUI/Combine/CancellableBuilder.swift:14:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
12 | /// Possible use case: Storing multiple cancellables in a collection
13 | /// without writing `.store(in:)` for each subscription separately.
14 | @_functionBuilder
   |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
15 | public struct CancellableBuilder {
16 |
[7/25] Compiling XUI ViewModel.swift
[8/25] Compiling XUI NavigationModifier.swift
[9/25] Compiling XUI AnyObservableObject.swift
/Users/admin/builder/spi-builder-workspace/Sources/XUI/Store/Store.swift:54:26: warning: main actor-isolated instance method 'update()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 8 |
 9 | @propertyWrapper
10 | public struct Store<Model>: DynamicProperty {
   |                             `- note: add '@preconcurrency' to the 'DynamicProperty' conformance to defer isolation checking to run time
11 |
12 |     // MARK: Nested types
   :
52 |     // MARK: Methods
53 |
54 |     public mutating func update() {
   |                          |- warning: main actor-isolated instance method 'update()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
   |                          `- note: add 'nonisolated' to 'update()' to make this instance method not isolated to the actor
55 |         _observableObject.update()
56 |     }
SwiftUI.DynamicProperty:6:19: note: 'update()' declared here
4 |     @available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *)
5 |     static var _propertyBehaviors: UInt32 { get }
6 |     mutating func update()
  |                   `- note: 'update()' declared here
7 | }
/Users/admin/builder/spi-builder-workspace/Sources/XUI/Store/Store.swift:20:39: warning: main actor-isolated property 'wrappedValue' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
18 |
19 |         public subscript<Value>(dynamicMember keyPath: ReferenceWritableKeyPath<Model, Value>) -> Binding<Value> {
20 |             Binding(get: { self.store.wrappedValue[keyPath: keyPath] },
   |                                       `- warning: main actor-isolated property 'wrappedValue' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
21 |                     set: { self.store.wrappedValue[keyPath: keyPath] = $0 })
22 |         }
   :
26 |     // MARK: Stored properties
27 |
28 |     public let wrappedValue: Model
   |                `- note: property declared here
29 |
30 |     @ObservedObject
/Users/admin/builder/spi-builder-workspace/Sources/XUI/Store/Store.swift:21:39: warning: main actor-isolated property 'wrappedValue' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
19 |         public subscript<Value>(dynamicMember keyPath: ReferenceWritableKeyPath<Model, Value>) -> Binding<Value> {
20 |             Binding(get: { self.store.wrappedValue[keyPath: keyPath] },
21 |                     set: { self.store.wrappedValue[keyPath: keyPath] = $0 })
   |                                       `- warning: main actor-isolated property 'wrappedValue' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
22 |         }
23 |
   :
26 |     // MARK: Stored properties
27 |
28 |     public let wrappedValue: Model
   |                `- note: property declared here
29 |
30 |     @ObservedObject
[10/25] Compiling XUI Store.swift
/Users/admin/builder/spi-builder-workspace/Sources/XUI/Store/Store.swift:54:26: warning: main actor-isolated instance method 'update()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 8 |
 9 | @propertyWrapper
10 | public struct Store<Model>: DynamicProperty {
   |                             `- note: add '@preconcurrency' to the 'DynamicProperty' conformance to defer isolation checking to run time
11 |
12 |     // MARK: Nested types
   :
52 |     // MARK: Methods
53 |
54 |     public mutating func update() {
   |                          |- warning: main actor-isolated instance method 'update()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
   |                          `- note: add 'nonisolated' to 'update()' to make this instance method not isolated to the actor
55 |         _observableObject.update()
56 |     }
SwiftUI.DynamicProperty:6:19: note: 'update()' declared here
4 |     @available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *)
5 |     static var _propertyBehaviors: UInt32 { get }
6 |     mutating func update()
  |                   `- note: 'update()' declared here
7 | }
/Users/admin/builder/spi-builder-workspace/Sources/XUI/Store/Store.swift:20:39: warning: main actor-isolated property 'wrappedValue' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
18 |
19 |         public subscript<Value>(dynamicMember keyPath: ReferenceWritableKeyPath<Model, Value>) -> Binding<Value> {
20 |             Binding(get: { self.store.wrappedValue[keyPath: keyPath] },
   |                                       `- warning: main actor-isolated property 'wrappedValue' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
21 |                     set: { self.store.wrappedValue[keyPath: keyPath] = $0 })
22 |         }
   :
26 |     // MARK: Stored properties
27 |
28 |     public let wrappedValue: Model
   |                `- note: property declared here
29 |
30 |     @ObservedObject
/Users/admin/builder/spi-builder-workspace/Sources/XUI/Store/Store.swift:21:39: warning: main actor-isolated property 'wrappedValue' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
19 |         public subscript<Value>(dynamicMember keyPath: ReferenceWritableKeyPath<Model, Value>) -> Binding<Value> {
20 |             Binding(get: { self.store.wrappedValue[keyPath: keyPath] },
21 |                     set: { self.store.wrappedValue[keyPath: keyPath] = $0 })
   |                                       `- warning: main actor-isolated property 'wrappedValue' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
22 |         }
23 |
   :
26 |     // MARK: Stored properties
27 |
28 |     public let wrappedValue: Model
   |                `- note: property declared here
29 |
30 |     @ObservedObject
[11/25] Compiling XUI DeepLinkable.swift
/Users/admin/builder/spi-builder-workspace/Sources/XUI/DeepLink/DeepLinkableBuilder.swift:11:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
 9 | public typealias DeepLinkableBuilder = CollectionBuilder<DeepLinkable>
10 |
11 | @_functionBuilder
   |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
12 | public struct CollectionBuilder<Component> {
13 |
[12/25] Compiling XUI DeepLinkableBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/XUI/DeepLink/DeepLinkableBuilder.swift:11:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
 9 | public typealias DeepLinkableBuilder = CollectionBuilder<DeepLinkable>
10 |
11 | @_functionBuilder
   |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
12 | public struct CollectionBuilder<Component> {
13 |
[13/25] Compiling XUI NavigationLink.swift
[14/25] Compiling XUI View+Navigation.swift
[15/25] Compiling XUI View+Popover.swift
[16/25] Compiling XUI View+Sheet.swift
[17/25] Compiling XUI ErasedObservableObject.swift
[18/25] Compiling XUI ObjectIdentifiable.swift
[19/25] Compiling XUI PopoverModifier.swift
[20/25] Compiling XUI SheetModifier.swift
[21/25] Compiling XUI Binding+Change.swift
[22/25] Compiling XUI Binding+Element.swift
[23/25] Compiling XUI Binding+Force.swift
[24/25] Compiling XUI Exports.swift
[25/25] Compiling XUI Binding+ObjectIdentifiable.swift
Build complete! (35.85s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "XUI",
  "name" : "XUI",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "XUI",
      "targets" : [
        "XUI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "XUITests",
      "module_type" : "SwiftTarget",
      "name" : "XUITests",
      "path" : "Tests/XUITests",
      "sources" : [
        "XCTestManifests.swift",
        "XUITests.swift"
      ],
      "target_dependencies" : [
        "XUI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "XUI",
      "module_type" : "SwiftTarget",
      "name" : "XUI",
      "path" : "Sources/XUI",
      "product_memberships" : [
        "XUI"
      ],
      "sources" : [
        "Binding/Binding+Change.swift",
        "Binding/Binding+Element.swift",
        "Binding/Binding+Force.swift",
        "Combine/CancellableBuilder.swift",
        "Combine/Result+Combine.swift",
        "DeepLink/DeepLinkable+Receiver.swift",
        "DeepLink/DeepLinkable.swift",
        "DeepLink/DeepLinkableBuilder.swift",
        "Exports.swift",
        "Internal/Binding+ObjectIdentifiable.swift",
        "Internal/ErasedObservableObject.swift",
        "Internal/ObjectIdentifiable.swift",
        "Store/AnyObservableObject.swift",
        "Store/Store.swift",
        "Store/ViewModel.swift",
        "ViewModifiers/NavigationModifier.swift",
        "ViewModifiers/PopoverModifier.swift",
        "ViewModifiers/SheetModifier.swift",
        "Views/NavigationLink.swift",
        "Views/View+Navigation.swift",
        "Views/View+Popover.swift",
        "Views/View+Sheet.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.