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.0 for macOS (SPM) on 4 Nov 2024 05:31:46 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: 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-markdown.git
Fetching https://github.com/apple/swift-numerics
Fetching https://github.com/apple/swift-format.git
Fetching https://github.com/apple/swift-cmark.git
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/5576] Fetching swift-numerics
[448/15796] Fetching swift-numerics, swift-format
[551/28149] Fetching swift-numerics, swift-format, swift-argument-parser
[2700/34427] Fetching swift-numerics, swift-format, swift-argument-parser, swift-markdown
[10903/52300] Fetching swift-numerics, swift-format, swift-argument-parser, swift-markdown, swift-cmark
Fetched https://github.com/apple/swift-numerics from cache (1.28s)
[11142/46724] Fetching swift-format, swift-argument-parser, swift-markdown, swift-cmark
Fetched https://github.com/apple/swift-markdown.git from cache (1.51s)
[28293/40446] Fetching swift-format, swift-argument-parser, swift-cmark
[32405/106845] Fetching swift-format, swift-argument-parser, swift-cmark, swift-syntax
Fetched https://github.com/apple/swift-cmark.git from cache (1.82s)
[27885/88972] Fetching swift-format, swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-format.git from cache (3.75s)
Computing version for https://github.com/apple/swift-numerics
Fetched https://github.com/apple/swift-argument-parser.git from cache (3.75s)
Fetched https://github.com/apple/swift-syntax.git from cache (3.75s)
Computed https://github.com/apple/swift-numerics at 1.0.2 (3.22s)
Computing version for https://github.com/apple/swift-format.git
Computed https://github.com/apple/swift-format.git at 509.0.0 (0.70s)
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.83s)
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.60s)
Computing version for https://github.com/apple/swift-cmark.git
Computed https://github.com/apple/swift-cmark.git at 0.3.0 (0.65s)
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-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-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-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-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.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.81s)
Fetching https://github.com/apple/swift-numerics from cache
Fetched https://github.com/apple/swift-numerics from cache (0.54s)
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 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.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 Real.swift
[9/17] Compiling RealModule Float80+Real.swift
[10/18] Compiling RealModule RealFunctions.swift
[11/18] Compiling RealModule Float+Real.swift
[12/18] Compiling RealModule Float16+Real.swift
[13/18] Compiling RealModule ElementaryFunctions.swift
[14/18] Compiling RealModule AlgebraicField.swift
[15/18] Compiling RealModule AugmentedArithmetic.swift
[16/18] Emitting module RealModule
[17/18] Compiling RealModule Double+Real.swift
[18/18] Compiling RealModule ApproximateEquality.swift
[19/29] Compiling RationalModule Rational+SignedNumeric.swift
[20/29] Compiling RationalModule Rational+Strideable.swift
[21/29] Compiling RationalModule Rational+Equatable.swift
[22/29] Compiling RationalModule Rational+Comparable.swift
[23/29] Compiling RationalModule Rational+ExpressibleByIntegerLiteral.swift
[24/29] Compiling RationalModule Rational+LosslessStringConvertible.swift
[25/29] Compiling RationalModule Rational+CustomStringConvertible.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! (14.49s)
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.