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 Sunlight, reference main (6a2906), with Swift 6.0 for macOS (SPM) on 30 Oct 2024 18:47:07 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/binarybirds/sunlight.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/binarybirds/sunlight
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6a29064 license
Cloned https://github.com/binarybirds/sunlight.git
Revision (git rev-parse @):
6a29064f66271cf10434896712168c1c29e2cc1a
SUCCESS checkout https://github.com/binarybirds/sunlight.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": "sunlight",
      "name": "Sunlight",
      "url": "https://github.com/binarybirds/sunlight.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/sunlight",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/binarybirds/sunlight.git
[1/21] Fetching sunlight
Fetched https://github.com/binarybirds/sunlight.git from cache (0.83s)
Creating working copy for https://github.com/binarybirds/sunlight.git
Working copy of https://github.com/binarybirds/sunlight.git resolved at main (6a29064)
warning: '.resolve-product-dependencies': dependency 'sunlight' 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/binarybirds/sunlight.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 Sunlight SunlightCalculator.swift
[4/8] Compiling Sunlight SunlightProtocols.swift
[5/8] Compiling Sunlight SchlyterAlgorithm.swift
[6/8] Compiling Sunlight FloatingPoint+Extensions.swift
[7/8] Compiling Sunlight WilliamsAlgorithm.swift
[8/8] Emitting module Sunlight
Build complete! (7.95s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Sunlight",
  "name" : "Sunlight",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Sunlight",
      "targets" : [
        "Sunlight"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SunlightTests",
      "module_type" : "SwiftTarget",
      "name" : "SunlightTests",
      "path" : "Tests/SunlightTests",
      "sources" : [
        "SunlightTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Sunlight"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Sunlight",
      "module_type" : "SwiftTarget",
      "name" : "Sunlight",
      "path" : "Sources",
      "product_memberships" : [
        "Sunlight"
      ],
      "sources" : [
        "FloatingPoint+Extensions.swift",
        "SchlyterAlgorithm.swift",
        "SunlightCalculator.swift",
        "SunlightProtocols.swift",
        "WilliamsAlgorithm.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
Done.