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 DSFRational, reference master (64ab89), with Swift 6.0 for macOS (SPM) on 9 Oct 2024 18:59:14 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.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.55.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dagronf/DSFRational.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dagronf/DSFRational
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 64ab899 Initial Commit
Cloned https://github.com/dagronf/DSFRational.git
Revision (git rev-parse @):
64ab899d65be9e98d767033ccf48a0edfe74a2e8
SUCCESS checkout https://github.com/dagronf/DSFRational.git at master
========================================
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": "dsfrational",
      "name": "DSFRational",
      "url": "https://github.com/dagronf/DSFRational.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DSFRational",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/dagronf/DSFRational.git
[1/16] Fetching dsfrational
Fetched https://github.com/dagronf/DSFRational.git from cache (0.61s)
Creating working copy for https://github.com/dagronf/DSFRational.git
Working copy of https://github.com/dagronf/DSFRational.git resolved at master (64ab899)
warning: '.resolve-product-dependencies': dependency 'dsfrational' 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/dagronf/DSFRational.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.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--4A847ED0836F2485.txt
[3/4] Compiling DSFRational DSFRational.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFRational/DSFRational.swift:25:47: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 23 |
 24 | /// Representation of a deconstructed `BinaryFloatingPoint` value into its rational components
 25 | @objc public protocol RationalRepresentation: class {
    |                                               `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 26 | 	@objc var fraction: Double { get }
 27 | 	@objc var whole: Int { get }
[4/4] Emitting module DSFRational
/Users/admin/builder/spi-builder-workspace/Sources/DSFRational/DSFRational.swift:25:47: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 23 |
 24 | /// Representation of a deconstructed `BinaryFloatingPoint` value into its rational components
 25 | @objc public protocol RationalRepresentation: class {
    |                                               `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 26 | 	@objc var fraction: Double { get }
 27 | 	@objc var whole: Int { get }
Build complete! (5.57s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DSFRational",
  "name" : "DSFRational",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "DSFRational",
      "targets" : [
        "DSFRational"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DSFRationalTests",
      "module_type" : "SwiftTarget",
      "name" : "DSFRationalTests",
      "path" : "Tests/DSFRationalTests",
      "sources" : [
        "DSFRationalTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "DSFRational"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DSFRational",
      "module_type" : "SwiftTarget",
      "name" : "DSFRational",
      "path" : "Sources/DSFRational",
      "product_memberships" : [
        "DSFRational"
      ],
      "sources" : [
        "DSFRational.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.