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 TemplatePackage, reference 0.2.0 (d9feda), with Swift 6.0 for macOS (SPM) on 6 Nov 2024 17:21:15 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/StanfordBDHG/SwiftPackageTemplate.git
Reference: 0.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/StanfordBDHG/SwiftPackageTemplate
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at d9fedae Upgrade to Swift 6 toolchain (#19)
Cloned https://github.com/StanfordBDHG/SwiftPackageTemplate.git
Revision (git rev-parse @):
d9fedaeb4a52971a45245afe23d811509929a03b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordBDHG/SwiftPackageTemplate.git at 0.2.0
========================================
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": "swiftpackagetemplate",
      "name": "TemplatePackage",
      "url": "https://github.com/StanfordBDHG/SwiftPackageTemplate.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftPackageTemplate",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/StanfordBDHG/SwiftPackageTemplate.git
[1/515] Fetching swiftpackagetemplate
Fetched https://github.com/StanfordBDHG/SwiftPackageTemplate.git from cache (0.76s)
Creating working copy for https://github.com/StanfordBDHG/SwiftPackageTemplate.git
Working copy of https://github.com/StanfordBDHG/SwiftPackageTemplate.git resolved at 0.2.0 (d9fedae)
warning: '.resolve-product-dependencies': dependency 'swiftpackagetemplate' 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/StanfordBDHG/SwiftPackageTemplate.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/4] Emitting module TemplatePackage
[4/4] Compiling TemplatePackage TemplatePackage.swift
Build complete! (1.67s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "TemplatePackage",
  "name" : "TemplatePackage",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "watchos",
      "version" : "10.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "tvos",
      "version" : "17.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "TemplatePackage",
      "targets" : [
        "TemplatePackage"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TemplatePackageTests",
      "module_type" : "SwiftTarget",
      "name" : "TemplatePackageTests",
      "path" : "Tests/TemplatePackageTests",
      "sources" : [
        "TemplatePackageTests.swift"
      ],
      "target_dependencies" : [
        "TemplatePackage"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TemplatePackage",
      "module_type" : "SwiftTarget",
      "name" : "TemplatePackage",
      "path" : "Sources/TemplatePackage",
      "product_memberships" : [
        "TemplatePackage"
      ],
      "sources" : [
        "TemplatePackage.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Done.