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 master (b75be6), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 19:14:33 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: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/davidskrundz/math
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at b75be60 Resolve ambiguous `random` call on builtin integers
Cloned https://github.com/davidskrundz/math.git
Revision (git rev-parse @):
b75be602885e3bdaaf13ac365df350c87c11c88b
SUCCESS checkout https://github.com/davidskrundz/math.git at master
========================================
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
[1/281] Fetching math
Fetched https://github.com/davidskrundz/math.git from cache (0.78s)
Creating working copy for https://github.com/davidskrundz/math.git
Working copy of https://github.com/davidskrundz/math.git resolved at master (b75be60)
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 Builtin+Random.swift
[4/21] Compiling Math ModularOperations.swift
[5/21] Compiling Math FloatingPoint+Modulo.swift
[6/21] Compiling Math Random.swift
[7/22] Compiling Math BinaryInteger+sqrt.swift
[8/22] Compiling Math Builtin+ModularOperations.swift
[9/22] Compiling Math FixedWidthInteger+ModularArithmetic.swift
[10/22] Compiling Math Array+ByteArray.swift
[11/22] Compiling Math FixedWidthInteger+Bytes.swift
[12/22] Compiling Math BitRotate.swift
[13/22] Compiling Math Array+BitPacking.swift
[14/22] Compiling Math FiniteFieldInteger.swift
[15/22] Compiling Math BinaryInteger+Modulo.swift
[16/22] Emitting module Math
[17/22] Compiling Math BigUInt.swift
[18/22] Compiling Math BinaryInteger+BitRotate.swift
[18/22] Write Objects.LinkFileList
[20/22] Archiving libsMath.a
[21/22] Linking libdMath.dylib
Build complete! (7.19s)
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.