This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/abdel-17/swift-rational.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
[1/1] Compiling plugin Format Source Code
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin Lint Source Code
Building for debugging...
[3/7] Write sources
[5/7] Compiling _NumericsShims _NumericsShims.c
[6/7] Write swift-version-6F35C1178C84523A.txt
[8/17] Compiling RealModule Float80+Real.swift
[9/18] Compiling RealModule RealFunctions.swift
[10/18] Compiling RealModule Real.swift
[11/18] Compiling RealModule Float16+Real.swift
[12/18] Compiling RealModule Double+Real.swift
[13/18] Compiling RealModule ElementaryFunctions.swift
[14/18] Compiling RealModule AugmentedArithmetic.swift
[15/18] Compiling RealModule ApproximateEquality.swift
[16/18] Compiling RealModule AlgebraicField.swift
[17/18] Compiling RealModule Float+Real.swift
[18/18] Emitting module RealModule
[19/29] Compiling RationalModule Rational+Strideable.swift
[20/29] Compiling RationalModule Rational+SignedNumeric.swift
[21/29] Compiling RationalModule Rational+Equatable.swift
[22/29] Compiling RationalModule Rational+LosslessStringConvertible.swift
[23/29] Compiling RationalModule Rational+ExpressibleByIntegerLiteral.swift
[24/30] Compiling RationalModule Rational+CustomStringConvertible.swift
[25/30] Compiling RationalModule Rational+Comparable.swift
[26/30] Compiling RationalModule Rational+AlgebraicField.swift
[27/30] Emitting module RationalModule
[28/30] Compiling RationalModule GCD.swift
[29/30] Compiling RationalModule Rational+AdditiveArithmetic.swift
[30/30] Compiling RationalModule Rational.swift
Build complete! (25.29s)
Fetching https://github.com/apple/swift-format.git
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/apple/swift-numerics
Fetching https://github.com/apple/swift-markdown.git
Fetching https://github.com/apple/swift-cmark.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/5472] Fetching swift-numerics
[2026/17151] Fetching swift-numerics, swift-argument-parser
[2738/26026] Fetching swift-numerics, swift-argument-parser, swift-format
[5351/31957] Fetching swift-numerics, swift-argument-parser, swift-format, swift-markdown
[15875/49696] Fetching swift-numerics, swift-argument-parser, swift-format, swift-markdown, swift-cmark
[42597/110583] Fetching swift-numerics, swift-argument-parser, swift-format, swift-markdown, swift-cmark, swift-syntax
Fetched https://github.com/apple/swift-numerics from cache (1.74s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.74s)
[26866/93432] Fetching swift-format, swift-markdown, swift-cmark, swift-syntax
Fetched https://github.com/apple/swift-cmark.git from cache (5.08s)
Fetched https://github.com/apple/swift-syntax.git from cache (5.08s)
Fetched https://github.com/apple/swift-format.git from cache (5.08s)
Fetched https://github.com/apple/swift-markdown.git from cache (5.08s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.2 (1.00s)
Computing version for https://github.com/apple/swift-format.git
Computed https://github.com/apple/swift-format.git at 509.0.0 (0.80s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.0.2 (0.81s)
Computing version for https://github.com/apple/swift-markdown.git
Computed https://github.com/apple/swift-markdown.git at 0.3.0 (0.72s)
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.56s)
Computing version for https://github.com/apple/swift-cmark.git
Computed https://github.com/apple/swift-cmark.git at 0.3.0 (0.69s)
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-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-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-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-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.2
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
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.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.