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 SafeTypes, reference develop (4dfcc7), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 10:30:43 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/lucaswkuipers/SafeTypes.git
Reference: develop
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/lucaswkuipers/SafeTypes
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at 4dfcc7e Merge pull request #14 from lucaswkuipers/lucaswkuipers-patch-1
Cloned https://github.com/lucaswkuipers/SafeTypes.git
Revision (git rev-parse @):
4dfcc7e7f11656756e5a602199fa83342779711c
SUCCESS checkout https://github.com/lucaswkuipers/SafeTypes.git at develop
========================================
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": "safetypes",
      "name": "SafeTypes",
      "url": "https://github.com/lucaswkuipers/SafeTypes.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SafeTypes",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/lucaswkuipers/SafeTypes.git
[1/251] Fetching safetypes
Fetched https://github.com/lucaswkuipers/SafeTypes.git from cache (0.79s)
Creating working copy for https://github.com/lucaswkuipers/SafeTypes.git
Working copy of https://github.com/lucaswkuipers/SafeTypes.git resolved at develop (4dfcc7e)
warning: '.resolve-product-dependencies': dependency 'safetypes' 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/lucaswkuipers/SafeTypes.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/13] Compiling SafeTypes NonZero.swift
[4/14] Compiling SafeTypes Number.swift
[5/14] Compiling SafeTypes ZeroToOne.swift
[6/14] Compiling SafeTypes NonNegative.swift
[7/14] Compiling SafeTypes NonPositive.swift
[8/14] Compiling SafeTypes Positive.swift
[9/14] Compiling SafeTypes NonEmptyString.swift
[10/14] Compiling SafeTypes Negative.swift
[11/14] Compiling SafeTypes MinusOneToOne.swift
[12/14] Emitting module SafeTypes
[13/14] Compiling SafeTypes MultiElementsArray.swift
[14/14] Compiling SafeTypes NonEmptyArray.swift
Build complete! (7.87s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SafeTypes",
  "name" : "SafeTypes",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SafeTypes",
      "targets" : [
        "SafeTypes"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SafeTypesTests",
      "module_type" : "SwiftTarget",
      "name" : "SafeTypesTests",
      "path" : "Tests/SafeTypesTests",
      "sources" : [
        "Collections/MultiElementsArrayTests.swift",
        "Collections/NonEmptyArrayTests.swift",
        "Collections/NonEmptyStringTests.swift",
        "Numbers/MinusOneToOne.swift",
        "Numbers/NegativeTests.swift",
        "Numbers/NonNegativeTests.swift",
        "Numbers/NonPositiveTests.swift",
        "Numbers/PositiveTests.swift",
        "Numbers/ZeroToOneTests.swift"
      ],
      "target_dependencies" : [
        "SafeTypes"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SafeTypes",
      "module_type" : "SwiftTarget",
      "name" : "SafeTypes",
      "path" : "Sources/SafeTypes",
      "product_memberships" : [
        "SafeTypes"
      ],
      "sources" : [
        "Collections/MultiElementsArray.swift",
        "Collections/NonEmptyArray.swift",
        "Collections/NonEmptyString.swift",
        "Numbers/MinusOneToOne.swift",
        "Numbers/Negative.swift",
        "Numbers/NonNegative.swift",
        "Numbers/NonPositive.swift",
        "Numbers/NonZero.swift",
        "Numbers/Number.swift",
        "Numbers/Positive.swift",
        "Numbers/ZeroToOne.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.