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 CloudStorage, reference main (62db0c), with Swift 6.0 for macOS (SPM) on 8 Nov 2024 22:00:02 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.57.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nonstrict-hq/CloudStorage.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nonstrict-hq/CloudStorage
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 62db0c9 Merge pull request #15 from Tabonx/main
Cloned https://github.com/nonstrict-hq/CloudStorage.git
Revision (git rev-parse @):
62db0c9e025430aae7caee899cc69cf15bc4579d
SUCCESS checkout https://github.com/nonstrict-hq/CloudStorage.git at main
========================================
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": "cloudstorage",
      "name": "CloudStorage",
      "url": "https://github.com/nonstrict-hq/CloudStorage.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CloudStorage",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/nonstrict-hq/CloudStorage.git
[1/287] Fetching cloudstorage
Fetched https://github.com/nonstrict-hq/CloudStorage.git from cache (0.76s)
Creating working copy for https://github.com/nonstrict-hq/CloudStorage.git
Working copy of https://github.com/nonstrict-hq/CloudStorage.git resolved at main (62db0c9)
warning: '.resolve-product-dependencies': dependency 'cloudstorage' 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/nonstrict-hq/CloudStorage.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun 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--7754E27361AE5C74.txt
[3/5] Compiling CloudStorage CloudStorageSync.swift
/Users/admin/builder/spi-builder-workspace/Sources/CloudStorage/CloudStorageSync.swift:35:56: warning: sending 'notification' risks causing data races; this is an error in the Swift 6 language mode
 33 |             guard let self else { return }
 34 |             MainActor.assumeIsolated {
 35 |                 self.didChangeExternally(notification: notification)
    |                                                        |- warning: sending 'notification' risks causing data races; this is an error in the Swift 6 language mode
    |                                                        `- note: task-isolated 'notification' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 36 |             }
 37 |         }
[4/5] Emitting module CloudStorage
[5/5] Compiling CloudStorage CloudStorage.swift
Build complete! (12.76s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "CloudStorage",
  "name" : "CloudStorage",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "CloudStorage",
      "targets" : [
        "CloudStorage"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CloudStorage",
      "module_type" : "SwiftTarget",
      "name" : "CloudStorage",
      "path" : "Sources/CloudStorage",
      "product_memberships" : [
        "CloudStorage"
      ],
      "sources" : [
        "CloudStorage.swift",
        "CloudStorageSync.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.