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 Linux on 31 Oct 2024 19:07:53 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/davidskrundz/math.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/7] Write sources
[1/7] Write swift-version-24593BA9C3E375BF.txt
[3/22] Compiling Math BitRotate.swift
[4/22] Compiling Math Array+BitPacking.swift
[5/23] Compiling Math FloatingPoint+Modulo.swift
[6/23] Compiling Math ModularOperations.swift
[7/23] Compiling Math Builtin+Random.swift
[8/23] Compiling Math Random.swift
[9/23] Compiling Math BigUInt.swift
[10/23] Compiling Math BinaryInteger+BitRotate.swift
[11/23] Compiling Math Array+ByteArray.swift
[12/23] Compiling Math FixedWidthInteger+Bytes.swift
[13/23] Compiling Math FiniteFieldInteger.swift
[14/23] Compiling Math BinaryInteger+Modulo.swift
[15/23] Emitting module Math
[16/23] Compiling Math Builtin+ModularOperations.swift
[17/23] Compiling Math FixedWidthInteger+ModularArithmetic.swift
[18/23] Compiling Math BinaryInteger+sqrt.swift
[19/24] Wrapping AST for Math for debugging
[20/24] Write Objects.LinkFileList
[22/24] Archiving libsMath.a
[23/24] Linking libdMath.so
Build complete! (7.38s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Math",
  "name" : "Math",
  "path" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.