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 Math, reference 1.4.8 (a1674b), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 19:15:34 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/davidskrundz/math.git
Reference: 1.4.8
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/davidskrundz/math
 * tag               1.4.8      -> FETCH_HEAD
HEAD is now at a1674bb Add `.sqrt` to `BinaryInteger`
Cloned https://github.com/davidskrundz/math.git
Revision (git rev-parse @):
a1674bbb1184eadb4ead119c863f1a4534a49c02
SUCCESS checkout https://github.com/davidskrundz/math.git at 1.4.8
========================================
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": "math",
      "name": "Math",
      "url": "https://github.com/davidskrundz/math.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/math",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/davidskrundz/math.git
[6/281] Fetching math
Fetched https://github.com/davidskrundz/math.git from cache (0.82s)
Creating working copy for https://github.com/davidskrundz/math.git
Working copy of https://github.com/davidskrundz/math.git resolved at 1.4.8 (a1674bb)
warning: '.resolve-product-dependencies': dependency 'math' 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/davidskrundz/math.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
Building for debugging...
[0/6] Write sources
[1/6] Write swift-version--7754E27361AE5C74.txt
[3/21] Compiling Math Random.swift
[4/22] Compiling Math Builtin+ModularOperations.swift
[5/22] Compiling Math FixedWidthInteger+ModularArithmetic.swift
[6/22] Compiling Math BinaryInteger+sqrt.swift
[7/22] Compiling Math Builtin+Random.swift
[8/22] Compiling Math ModularOperations.swift
[9/22] Compiling Math FloatingPoint+Modulo.swift
[10/22] Compiling Math FiniteFieldInteger.swift
[11/22] Compiling Math BinaryInteger+Modulo.swift
[12/22] Emitting module Math
[13/22] Compiling Math Array+ByteArray.swift
[14/22] Compiling Math FixedWidthInteger+Bytes.swift
[15/22] Compiling Math BigUInt.swift
[16/22] Compiling Math BinaryInteger+BitRotate.swift
[17/22] Compiling Math BitRotate.swift
[18/22] Compiling Math Array+BitPacking.swift
[18/22] Write Objects.LinkFileList
[20/22] Archiving libsMath.a
[21/22] Linking libdMath.dylib
Build complete! (7.01s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Math",
  "name" : "Math",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Math",
      "targets" : [
        "Math"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "sMath",
      "targets" : [
        "Math"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    },
    {
      "name" : "dMath",
      "targets" : [
        "Math"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MathTests",
      "module_type" : "SwiftTarget",
      "name" : "MathTests",
      "path" : "Tests/MathTests",
      "sources" : [
        "BigIntTests.swift",
        "BitPackingTests.swift",
        "ByteMerginTests.swift",
        "ByteTests.swift",
        "FiniteFieldIntegerTests.swift",
        "HexStringTests.swift",
        "ModTests.swift",
        "RotationTests.swift",
        "SquareRootTests.swift",
        "TestCount.swift"
      ],
      "target_dependencies" : [
        "Math"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Math",
      "module_type" : "SwiftTarget",
      "name" : "Math",
      "path" : "Sources/Math",
      "product_memberships" : [
        "Math",
        "sMath",
        "dMath"
      ],
      "sources" : [
        "BigInt/BigUInt.swift",
        "Bit Rotation/BinaryInteger+BitRotate.swift",
        "Bit Rotation/BitRotate.swift",
        "Byte Conversion/Array+BitPacking.swift",
        "Byte Conversion/Array+ByteArray.swift",
        "Byte Conversion/FixedWidthInteger+Bytes.swift",
        "Finite Field/FiniteFieldInteger.swift",
        "Modular Arithmetic/BinaryInteger+Modulo.swift",
        "Modular Arithmetic/Builtin+ModularOperations.swift",
        "Modular Arithmetic/FixedWidthInteger+ModularArithmetic.swift",
        "Modular Arithmetic/FloatingPoint+Modulo.swift",
        "Modular Arithmetic/ModularOperations.swift",
        "Random/Builtin+Random.swift",
        "Random/Random.swift",
        "Square Root/BinaryInteger+sqrt.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
Done.