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 swift-rational, reference master (89bce1), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 07:13:09 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/abdel-17/swift-rational.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/abdel-17/swift-rational
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 89bce18 Merge pull request #4 from maartene/master
Cloned https://github.com/abdel-17/swift-rational.git
Revision (git rev-parse @):
89bce18053c8e71c80210ac6cbc3289950e6b771
SUCCESS checkout https://github.com/abdel-17/swift-rational.git at master
Fetching https://github.com/apple/swift-cmark.git
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/apple/swift-markdown.git
Fetching https://github.com/apple/swift-format.git
Fetching https://github.com/apple/swift-numerics from cache
Fetching https://github.com/apple/swift-argument-parser.git from cache
[1/11955] Fetching swift-format
[480/18505] Fetching swift-format, swift-markdown
[12690/36523] Fetching swift-format, swift-markdown, swift-cmark
[36524/106756] Fetching swift-format, swift-markdown, swift-cmark, swift-syntax
Fetched https://github.com/apple/swift-cmark.git from cache (1.58s)
[20612/88738] Fetching swift-format, swift-markdown, swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (3.11s)
Fetched https://github.com/apple/swift-markdown.git from cache (3.11s)
Fetched https://github.com/apple/swift-format.git from cache (3.11s)
Fetched https://github.com/apple/swift-numerics from cache (3.11s)
Computing version for https://github.com/apple/swift-numerics
Fetched https://github.com/apple/swift-argument-parser.git from cache (3.11s)
Computed https://github.com/apple/swift-numerics at 1.0.2 (4.10s)
Computing version for https://github.com/apple/swift-format.git
Computed https://github.com/apple/swift-format.git at 509.0.0 (0.71s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.0.2 (0.67s)
Computing version for https://github.com/apple/swift-markdown.git
Computed https://github.com/apple/swift-markdown.git at 0.3.0 (0.64s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.3.0 (0.50s)
Computing version for https://github.com/apple/swift-cmark.git
Computed https://github.com/apple/swift-cmark.git at 0.3.0 (0.60s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-format.git
Working copy of https://github.com/apple/swift-format.git resolved at 509.0.0
Creating working copy for https://github.com/apple/swift-markdown.git
Working copy of https://github.com/apple/swift-markdown.git resolved at 0.3.0
Creating working copy for https://github.com/apple/swift-cmark.git
Working copy of https://github.com/apple/swift-cmark.git resolved at 0.3.0
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.0.2
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.2
========================================
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": "swift-rational",
      "name": "swift-rational",
      "url": "https://github.com/abdel-17/swift-rational.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-rational",
      "dependencies": [
        {
          "identity": "swift-numerics",
          "name": "swift-numerics",
          "url": "https://github.com/apple/swift-numerics",
          "version": "1.0.3",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-numerics",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/abdel-17/swift-rational.git
[1/901] Fetching swift-rational
Fetched https://github.com/abdel-17/swift-rational.git from cache (0.73s)
Fetching https://github.com/apple/swift-numerics from cache
Fetched https://github.com/apple/swift-numerics from cache (0.50s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (1.11s)
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.3
Creating working copy for https://github.com/abdel-17/swift-rational.git
Working copy of https://github.com/abdel-17/swift-rational.git resolved at master (89bce18)
warning: '.resolve-product-dependencies': dependency 'swift-rational' is not used by any target
Found 1 product dependencies
  - swift-numerics
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/abdel-17/swift-rational.git
https://github.com/abdel-17/swift-rational.git
{
  "dependencies" : [
    {
      "identity" : "swift-format",
      "requirement" : {
        "exact" : [
          "509.0.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-format.git"
    },
    {
      "identity" : "swift-numerics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-numerics"
    }
  ],
  "manifest_display_name" : "swift-rational",
  "name" : "swift-rational",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "RationalModule",
      "targets" : [
        "RationalModule"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RationalModuleTests",
      "module_type" : "SwiftTarget",
      "name" : "RationalModuleTests",
      "path" : "Tests/RationalModuleTests",
      "sources" : [
        "AdditiveArithmaticTests.swift",
        "AlgebraicFieldTests.swift",
        "FractionTests.swift",
        "IntegerLiteralTests.swift",
        "LosslessStringConvertibleTests.swift",
        "RationalTests.swift",
        "SignedNumericTests.swift",
        "StirdeableTests.swift",
        "StringConvertibleTests.swift"
      ],
      "target_dependencies" : [
        "RationalModule"
      ],
      "type" : "test"
    },
    {
      "c99name" : "RationalModule",
      "module_type" : "SwiftTarget",
      "name" : "RationalModule",
      "path" : "Sources/RationalModule",
      "product_dependencies" : [
        "RealModule"
      ],
      "product_memberships" : [
        "RationalModule"
      ],
      "sources" : [
        "GCD.swift",
        "Rational+AdditiveArithmetic.swift",
        "Rational+AlgebraicField.swift",
        "Rational+Comparable.swift",
        "Rational+CustomStringConvertible.swift",
        "Rational+Equatable.swift",
        "Rational+ExpressibleByIntegerLiteral.swift",
        "Rational+LosslessStringConvertible.swift",
        "Rational+SignedNumeric.swift",
        "Rational+Strideable.swift",
        "Rational.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
[1/1] Compiling plugin Lint Source Code
[2/2] Compiling plugin Format Source Code
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/7] Write sources
[5/7] Compiling _NumericsShims _NumericsShims.c
[6/7] Write swift-version-2F0A5646E1D333AE.txt
[8/17] Compiling RealModule Float80+Real.swift
[9/17] Compiling RealModule Float16+Real.swift
[10/17] Compiling RealModule Real.swift
[11/17] Compiling RealModule ElementaryFunctions.swift
[12/17] Compiling RealModule Float+Real.swift
[13/17] Compiling RealModule ApproximateEquality.swift
[14/17] Compiling RealModule AugmentedArithmetic.swift
[15/17] Compiling RealModule AlgebraicField.swift
[16/17] Emitting module RealModule
[17/17] Compiling RealModule Double+Real.swift
[18/18] Compiling RealModule RealFunctions.swift
[19/29] Compiling RationalModule Rational+Strideable.swift
[20/29] Compiling RationalModule Rational+Equatable.swift
[21/29] Compiling RationalModule Rational+SignedNumeric.swift
[22/30] Compiling RationalModule Rational+ExpressibleByIntegerLiteral.swift
[23/30] Compiling RationalModule Rational+CustomStringConvertible.swift
[24/30] Compiling RationalModule Rational+LosslessStringConvertible.swift
[25/30] Compiling RationalModule Rational+Comparable.swift
[26/30] Compiling RationalModule Rational+AlgebraicField.swift
[27/30] Compiling RationalModule GCD.swift
[28/30] Compiling RationalModule Rational+AdditiveArithmetic.swift
[29/30] Emitting module RationalModule
[30/30] Compiling RationalModule Rational.swift
Build complete! (5.86s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-format",
      "requirement" : {
        "exact" : [
          "509.0.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-format.git"
    },
    {
      "identity" : "swift-numerics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-numerics"
    }
  ],
  "manifest_display_name" : "swift-rational",
  "name" : "swift-rational",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "RationalModule",
      "targets" : [
        "RationalModule"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RationalModuleTests",
      "module_type" : "SwiftTarget",
      "name" : "RationalModuleTests",
      "path" : "Tests/RationalModuleTests",
      "sources" : [
        "AdditiveArithmaticTests.swift",
        "AlgebraicFieldTests.swift",
        "FractionTests.swift",
        "IntegerLiteralTests.swift",
        "LosslessStringConvertibleTests.swift",
        "RationalTests.swift",
        "SignedNumericTests.swift",
        "StirdeableTests.swift",
        "StringConvertibleTests.swift"
      ],
      "target_dependencies" : [
        "RationalModule"
      ],
      "type" : "test"
    },
    {
      "c99name" : "RationalModule",
      "module_type" : "SwiftTarget",
      "name" : "RationalModule",
      "path" : "Sources/RationalModule",
      "product_dependencies" : [
        "RealModule"
      ],
      "product_memberships" : [
        "RationalModule"
      ],
      "sources" : [
        "GCD.swift",
        "Rational+AdditiveArithmetic.swift",
        "Rational+AlgebraicField.swift",
        "Rational+Comparable.swift",
        "Rational+CustomStringConvertible.swift",
        "Rational+Equatable.swift",
        "Rational+ExpressibleByIntegerLiteral.swift",
        "Rational+LosslessStringConvertible.swift",
        "Rational+SignedNumeric.swift",
        "Rational+Strideable.swift",
        "Rational.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.