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 iCloudStorage, reference 0.0.5 (8482e4), with Swift 6.0 for macOS (SPM) on 13 Mar 2025 20:14:44 UTC.

Swift 6 data race errors: 2

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -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

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xWDG/iCloudStorage.git
Reference: 0.0.5
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/0xWDG/iCloudStorage
 * tag               0.0.5      -> FETCH_HEAD
HEAD is now at 8482e4c Property wrapper now works in a ObservableObject 🎉
Cloned https://github.com/0xWDG/iCloudStorage.git
Revision (git rev-parse @):
8482e4c8b793283eba17e59e9e0c41bd7bf0b032
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/0xWDG/iCloudStorage.git at 0.0.5
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "icloudstorage",
      "name": "iCloudStorage",
      "url": "https://github.com/0xWDG/iCloudStorage.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/iCloudStorage",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/0xWDG/iCloudStorage.git
[3/128] Fetching icloudstorage
Fetched https://github.com/0xWDG/iCloudStorage.git from cache (0.93s)
Creating working copy for https://github.com/0xWDG/iCloudStorage.git
Working copy of https://github.com/0xWDG/iCloudStorage.git resolved at 0.0.5 (8482e4c)
warning: '.resolve-product-dependencies': dependency 'icloudstorage' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/0xWDG/iCloudStorage.git
https://github.com/0xWDG/iCloudStorage.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "iCloudStorage",
  "name" : "iCloudStorage",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "iCloudStorage",
      "targets" : [
        "iCloudStorage"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "iCloudStorageTests",
      "module_type" : "SwiftTarget",
      "name" : "iCloudStorageTests",
      "path" : "Tests/iCloudStorageTests",
      "sources" : [
        "iCloudStorageTests.swift"
      ],
      "target_dependencies" : [
        "iCloudStorage"
      ],
      "type" : "test"
    },
    {
      "c99name" : "iCloudStorage",
      "module_type" : "SwiftTarget",
      "name" : "iCloudStorage",
      "path" : "Sources/iCloudStorage",
      "product_memberships" : [
        "iCloudStorage"
      ],
      "sources" : [
        "iCloudStorage.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-5BDAB9E9C0126B9D.txt
[3/4] Emitting module iCloudStorage
/Users/admin/builder/spi-builder-workspace/Sources/iCloudStorage/iCloudStorage.swift:36:6: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 34 |
 35 |     /// The observed storage
 36 |     @ObservedObject private var store: Storage
    |      `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 37 |
 38 |     /// Creates an `iCloudStorage` property.
SwiftUICore.ObservedObject:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 5 |     }
 6 |     @MainActor @preconcurrency public init(initialValue: ObjectType)
 7 |     @MainActor @preconcurrency public init(wrappedValue: ObjectType)
   |                                       `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 8 |     @MainActor @preconcurrency public var wrappedValue: ObjectType
 9 |     @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/Users/admin/builder/spi-builder-workspace/Sources/iCloudStorage/iCloudStorage.swift:36:6: warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
 34 |
 35 |     /// The observed storage
 36 |     @ObservedObject private var store: Storage
    |      |- warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
    |      `- note: sending task-isolated '$input_value' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
 37 |
 38 |     /// Creates an `iCloudStorage` property.
[4/4] Compiling iCloudStorage iCloudStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/iCloudStorage/iCloudStorage.swift:36:6: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 34 |
 35 |     /// The observed storage
 36 |     @ObservedObject private var store: Storage
    |      `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 37 |
 38 |     /// Creates an `iCloudStorage` property.
SwiftUICore.ObservedObject:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 5 |     }
 6 |     @MainActor @preconcurrency public init(initialValue: ObjectType)
 7 |     @MainActor @preconcurrency public init(wrappedValue: ObjectType)
   |                                       `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 8 |     @MainActor @preconcurrency public var wrappedValue: ObjectType
 9 |     @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/Users/admin/builder/spi-builder-workspace/Sources/iCloudStorage/iCloudStorage.swift:45:14: warning: main actor-isolated property 'store' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 34 |
 35 |     /// The observed storage
 36 |     @ObservedObject private var store: Storage
    |                                 `- note: mutation of this property is only permitted within the actor
 37 |
 38 |     /// Creates an `iCloudStorage` property.
    :
 43 |         self.key = key
 44 |         self.defaultValue = wrappedValue
 45 |         self.store = Storage(
    |              `- warning: main actor-isolated property 'store' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 46 |             NSUbiquitousKeyValueStore.default.object(forKey: key) as? T ?? defaultValue
 47 |         )
/Users/admin/builder/spi-builder-workspace/Sources/iCloudStorage/iCloudStorage.swift:58:22: warning: main actor-isolated property 'store' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 34 |
 35 |     /// The observed storage
 36 |     @ObservedObject private var store: Storage
    |                                 `- note: mutation of this property is only permitted within the actor
 37 |
 38 |     /// Creates an `iCloudStorage` property.
    :
 56 |             if let keys = notification.userInfo?[NSUbiquitousKeyValueStoreChangedKeysKey] as? [String],
 57 |                keys.contains(key) {
 58 |                 self.store.value = NSUbiquitousKeyValueStore.default.object(forKey: key) as? T ?? defaultValue
    |                      `- warning: main actor-isolated property 'store' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 59 |             }
 60 |         }
/Users/admin/builder/spi-builder-workspace/Sources/iCloudStorage/iCloudStorage.swift:67:20: warning: main actor-isolated property 'store' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 34 |
 35 |     /// The observed storage
 36 |     @ObservedObject private var store: Storage
    |                                 `- note: property declared here
 37 |
 38 |     /// Creates an `iCloudStorage` property.
    :
 65 |     public var wrappedValue: T {
 66 |         get {
 67 |             return store.value
    |                    `- warning: main actor-isolated property 'store' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 68 |         }
 69 |
/Users/admin/builder/spi-builder-workspace/Sources/iCloudStorage/iCloudStorage.swift:72:13: warning: main actor-isolated property 'store' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 34 |
 35 |     /// The observed storage
 36 |     @ObservedObject private var store: Storage
    |                                 `- note: mutation of this property is only permitted within the actor
 37 |
 38 |     /// Creates an `iCloudStorage` property.
    :
 70 |         nonmutating set {
 71 |             NSUbiquitousKeyValueStore.default.set(newValue, forKey: key)
 72 |             store.value = newValue
    |             `- warning: main actor-isolated property 'store' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 73 |         }
 74 |     }
/Users/admin/builder/spi-builder-workspace/Sources/iCloudStorage/iCloudStorage.swift:78:15: warning: main actor-isolated subscript 'subscript(dynamicMember:)' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 76 |     /// A binding to the value of the key in iCloud.
 77 |     public var projectedValue: Binding<T> {
 78 |         $store.value
    |               `- warning: main actor-isolated subscript 'subscript(dynamicMember:)' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 79 |     }
 80 |
SwiftUICore.ObservedObject:4:43: note: subscript declared here
 2 | @MainActor @propertyWrapper @preconcurrency @frozen public struct ObservedObject<ObjectType> : DynamicProperty where ObjectType : ObservableObject {
 3 |     @MainActor @dynamicMemberLookup @preconcurrency @frozen public struct Wrapper {
 4 |         @MainActor @preconcurrency public subscript<Subject>(dynamicMember keyPath: ReferenceWritableKeyPath<ObjectType, Subject>) -> Binding<Subject> { get }
   |                                           `- note: subscript declared here
 5 |     }
 6 |     @MainActor @preconcurrency public init(initialValue: ObjectType)
/Users/admin/builder/spi-builder-workspace/Sources/iCloudStorage/iCloudStorage.swift:78:9: warning: main actor-isolated property '$store' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 34 |
 35 |     /// The observed storage
 36 |     @ObservedObject private var store: Storage
    |                                 `- note: property declared here
 37 |
 38 |     /// Creates an `iCloudStorage` property.
    :
 76 |     /// A binding to the value of the key in iCloud.
 77 |     public var projectedValue: Binding<T> {
 78 |         $store.value
    |         `- warning: main actor-isolated property '$store' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 79 |     }
 80 |
/Users/admin/builder/spi-builder-workspace/Sources/iCloudStorage/iCloudStorage.swift:105:47: warning: main actor-isolated property 'store' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 34 |
 35 |     /// The observed storage
 36 |     @ObservedObject private var store: Storage
    |                                 `- note: property declared here
 37 |
 38 |     /// Creates an `iCloudStorage` property.
    :
103 |     ) -> T {
104 |         get {
105 |             instance[keyPath: storageKeyPath].store.parentWillChange = (
    |                                               `- warning: main actor-isolated property 'store' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
106 |                 instance.objectWillChange as? ObservableObjectPublisher
107 |             )
/Users/admin/builder/spi-builder-workspace/Sources/iCloudStorage/iCloudStorage.swift:36:6: warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
 34 |
 35 |     /// The observed storage
 36 |     @ObservedObject private var store: Storage
    |      |- warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
    |      `- note: sending task-isolated '$input_value' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
 37 |
 38 |     /// Creates an `iCloudStorage` property.
Build complete! (10.24s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "iCloudStorage",
  "name" : "iCloudStorage",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "iCloudStorage",
      "targets" : [
        "iCloudStorage"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "iCloudStorageTests",
      "module_type" : "SwiftTarget",
      "name" : "iCloudStorageTests",
      "path" : "Tests/iCloudStorageTests",
      "sources" : [
        "iCloudStorageTests.swift"
      ],
      "target_dependencies" : [
        "iCloudStorage"
      ],
      "type" : "test"
    },
    {
      "c99name" : "iCloudStorage",
      "module_type" : "SwiftTarget",
      "name" : "iCloudStorage",
      "path" : "Sources/iCloudStorage",
      "product_memberships" : [
        "iCloudStorage"
      ],
      "sources" : [
        "iCloudStorage.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/0xwdg/icloudstorage/0.0.5
Repository:               0xWDG/iCloudStorage
Swift version used:       6.0
Target:                   iCloudStorage
Extracting symbol information for 'iCloudStorage'...
Finished extracting symbol information for 'iCloudStorage'. (4.09s)
Building documentation for 'iCloudStorage'...
Finished building documentation for 'iCloudStorage' (0.33s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/0xwdg/icloudstorage/0.0.5
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2050] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.24s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (2.22s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3338] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.20s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.53s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Building for debugging...
[0/8] Write sources
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version-5BDAB9E9C0126B9D.txt
[6/53] Compiling SymbolKit SemanticVersion.swift
[7/53] Compiling SymbolKit AccessControl.swift
[8/53] Compiling SymbolKit Availability.swift
[9/53] Compiling SymbolKit AvailabilityItem.swift
[10/53] Compiling SymbolKit Domain.swift
[11/57] Compiling SymbolKit GenericConstraint.swift
[12/57] Compiling SymbolKit GenericParameter.swift
[13/57] Compiling SymbolKit Generics.swift
[14/57] Compiling SymbolKit Namespace.swift
[15/57] Compiling SymbolKit Mixin+Equals.swift
[16/57] Compiling SymbolKit Mixin+Hash.swift
[17/57] Compiling SymbolKit Mixin.swift
[18/57] Compiling SymbolKit LineList.swift
[19/57] Compiling SymbolKit Position.swift
[20/57] Emitting module Snippets
[21/57] Compiling Snippets Snippet.swift
[22/57] Compiling Snippets SnippetParser.swift
[23/57] Compiling SymbolKit Relationship.swift
[24/57] Compiling SymbolKit RelationshipKind.swift
[25/57] Compiling SymbolKit SourceOrigin.swift
[26/57] Compiling SymbolKit GenericConstraints.swift
[27/57] Compiling SymbolKit Swift.swift
[28/57] Compiling SymbolKit Names.swift
[29/57] Compiling SymbolKit SPI.swift
[30/57] Compiling SymbolKit Snippet.swift
[31/57] Compiling SymbolKit Extension.swift
[32/57] Compiling SymbolKit SourceRange.swift
[33/57] Compiling SymbolKit Metadata.swift
[34/57] Compiling SymbolKit Module.swift
[35/57] Compiling SymbolKit OperatingSystem.swift
[36/57] Compiling SymbolKit Platform.swift
[37/57] Emitting module SymbolKit
[38/57] Compiling SymbolKit DeclarationFragments.swift
[39/57] Compiling SymbolKit Fragment.swift
[40/57] Compiling SymbolKit FragmentKind.swift
[41/57] Compiling SymbolKit FunctionParameter.swift
[42/57] Compiling SymbolKit FunctionSignature.swift
[43/57] Compiling SymbolKit Identifier.swift
[44/57] Compiling SymbolKit KindIdentifier.swift
[45/57] Compiling SymbolKit Location.swift
[46/57] Compiling SymbolKit Mutability.swift
[47/57] Compiling SymbolKit Symbol.swift
[48/57] Compiling SymbolKit SymbolKind.swift
[49/57] Compiling SymbolKit SymbolGraph.swift
[50/57] Compiling SymbolKit GraphCollector.swift
[51/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[52/57] Compiling SymbolKit UnifiedSymbol.swift
[53/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[54/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Emitting module snippet_extract
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.74s)
Building for debugging...
[0/1] Write swift-version-5BDAB9E9C0126B9D.txt
[2/3] Emitting module iCloudStorage
[3/3] Compiling iCloudStorage iCloudStorage.swift
Build of target: 'iCloudStorage' complete! (0.45s)
      66
2	/Users/admin/builder/spi-builder-workspace/.docs/0xwdg/icloudstorage/0.0.5
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/0xwdg/icloudstorage/0.0.5
File count: 66
Doc size:   2.0MB
Preparing doc bundle ...
Uploading prod-0xwdg-icloudstorage-0.0.5-c9793201.zip to s3://spi-docs-inbox/prod-0xwdg-icloudstorage-0.0.5-c9793201.zip
Copying... [20%]
Copying... [40%]
Copying... [60%]
Copying... [80%]
Copying... [99%]
Copying... [100%]
Done.