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 UserDefaults, reference main (853356), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 03:01:31 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.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/EngOmarElsayed/SwiftUserDefaults.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/EngOmarElsayed/SwiftUserDefaults
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 8533563 Create swift.yml
Cloned https://github.com/EngOmarElsayed/SwiftUserDefaults.git
Revision (git rev-parse @):
85335638379ec413e815842e6fc0dae5969464c2
SUCCESS checkout https://github.com/EngOmarElsayed/SwiftUserDefaults.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": "swiftuserdefaults",
      "name": "UserDefaults",
      "url": "https://github.com/EngOmarElsayed/SwiftUserDefaults.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftUserDefaults",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/EngOmarElsayed/SwiftUserDefaults.git
[1/228] Fetching swiftuserdefaults
Fetched https://github.com/EngOmarElsayed/SwiftUserDefaults.git from cache (0.78s)
Creating working copy for https://github.com/EngOmarElsayed/SwiftUserDefaults.git
Working copy of https://github.com/EngOmarElsayed/SwiftUserDefaults.git resolved at main (8533563)
warning: '.resolve-product-dependencies': dependency 'swiftuserdefaults' 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/EngOmarElsayed/SwiftUserDefaults.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/8] Compiling UserDefaults DefaultsCustomDataType.swift
[4/8] Compiling UserDefaults ArrayExtension.swift
[5/8] Compiling UserDefaults UserDefaults.swift
[6/8] Compiling UserDefaults DefaultKeys.swift
[7/8] Compiling UserDefaults AnyOptional.swift
[8/8] Emitting module UserDefaults
Build complete! (7.82s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "UserDefaults",
  "name" : "UserDefaults",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "5.0"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "UserDefaults",
      "targets" : [
        "UserDefaults"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "UserDefaultsTests",
      "module_type" : "SwiftTarget",
      "name" : "UserDefaultsTests",
      "path" : "Tests/UserDefaultsTests",
      "sources" : [
        "UserDefaultsTests.swift"
      ],
      "target_dependencies" : [
        "UserDefaults"
      ],
      "type" : "test"
    },
    {
      "c99name" : "UserDefaults",
      "module_type" : "SwiftTarget",
      "name" : "UserDefaults",
      "path" : "Sources/UserDefaults",
      "product_memberships" : [
        "UserDefaults"
      ],
      "sources" : [
        "DefaultKeys.swift",
        "Protocols/AnyOptional.swift",
        "Protocols/DefaultsCustomDataType.swift",
        "UserDefaults.swift",
        "extension/ArrayExtension.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.