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 1.0.1 (6b281f), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 05:32:00 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/abdel-17/swift-rational.git
Reference: 1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/abdel-17/swift-rational
 * tag               1.0.1      -> FETCH_HEAD
HEAD is now at 6b281fe style: run SwiftFormat
Cloned https://github.com/abdel-17/swift-rational.git
Revision (git rev-parse @):
6b281feb05cb262bae35369b31fc8ccc2918e6b6
SUCCESS checkout https://github.com/abdel-17/swift-rational.git at 1.0.1
Fetching https://github.com/apple/swift-cmark.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-format.git
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/apple/swift-markdown.git
Fetching https://github.com/apple/swift-numerics
[1/5576] Fetching swift-numerics
[336/15796] Fetching swift-numerics, swift-format
[337/22074] Fetching swift-numerics, swift-format, swift-markdown
[338/34427] Fetching swift-numerics, swift-format, swift-markdown, swift-argument-parser
[3988/52300] Fetching swift-numerics, swift-format, swift-markdown, swift-argument-parser, swift-cmark
[35528/118699] Fetching swift-numerics, swift-format, swift-markdown, swift-argument-parser, swift-cmark, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (4.46s)
Fetched https://github.com/apple/swift-markdown.git from cache (4.46s)
[40973/100068] Fetching swift-numerics, swift-format, swift-cmark, swift-syntax
Fetched https://github.com/apple/swift-format.git from cache (29.94s)
Fetched https://github.com/apple/swift-numerics from cache (29.94s)
Computing version for https://github.com/apple/swift-numerics
Fetched https://github.com/apple/swift-cmark.git from cache (29.94s)
Fetched https://github.com/apple/swift-syntax.git from cache (29.94s)
Computed https://github.com/apple/swift-numerics at 1.0.2 (3.46s)
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.73s)
Computing version for https://github.com/apple/swift-markdown.git
Computed https://github.com/apple/swift-markdown.git at 0.3.0 (0.69s)
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.68s)
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-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-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.2
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
========================================
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.2",
          "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/783] Fetching swift-rational
Fetched https://github.com/abdel-17/swift-rational.git from cache (0.79s)
Fetching https://github.com/apple/swift-numerics from cache
Fetched https://github.com/apple/swift-numerics from cache (0.48s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.2 (0.03s)
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/abdel-17/swift-rational.git
Working copy of https://github.com/abdel-17/swift-rational.git resolved at 1.0.1 (6b281fe)
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.0
Building package at path:  $PWD
https://github.com/abdel-17/swift-rational.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
[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--7754E27361AE5C74.txt
[8/17] Compiling RealModule ApproximateEquality.swift
[9/18] Compiling RealModule RealFunctions.swift
[10/18] Compiling RealModule AugmentedArithmetic.swift
[11/18] Compiling RealModule ElementaryFunctions.swift
[12/18] Compiling RealModule Double+Real.swift
[13/18] Emitting module RealModule
[14/18] Compiling RealModule AlgebraicField.swift
[15/18] Compiling RealModule Float80+Real.swift
[16/18] Compiling RealModule Float+Real.swift
[17/18] Compiling RealModule Float16+Real.swift
[18/18] Compiling RealModule Real.swift
[19/29] Compiling RationalModule Rational+Comparable.swift
[20/30] Compiling RationalModule Rational+Strideable.swift
[21/30] Compiling RationalModule Rational+ExpressibleByIntegerLiteral.swift
[22/30] Compiling RationalModule Rational+SignedNumeric.swift
[23/30] Compiling RationalModule Rational+CustomStringConvertible.swift
[24/30] Compiling RationalModule Rational+Equatable.swift
[25/30] Compiling RationalModule Rational+LosslessStringConvertible.swift
[26/30] Compiling RationalModule Rational+AlgebraicField.swift
[27/30] Compiling RationalModule Rational.swift
[28/30] Compiling RationalModule GCD.swift
[29/30] Compiling RationalModule Rational+AdditiveArithmetic.swift
[30/30] Emitting module RationalModule
Build complete! (13.36s)
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.