The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of swift-numerics, reference main (178f51), with Swift 6.2 for Wasm on 14 Nov 2025 04:40:42 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-numerics.git
Reference: main
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/apple/swift-numerics
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 178f513 Merge pull request #316 from stephentyrone/enable-macos-github
Cloned https://github.com/apple/swift-numerics.git
Revision (git rev-parse @):
178f513ce685a462b7d04c6f3431f202f3f26261
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-numerics.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/apple/swift-numerics.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f6b6b9bdb5d5605d727da337418fc455cd8a0394d3a815b70631008c48829755
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Building for debugging...
[0/7] Write sources
[5/7] Compiling _NumericsShims _NumericsShims.c
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/11] Emitting module RealModule
[10/12] Compiling RealModule AlgebraicField.swift
[11/14] Compiling IntegerUtilities DivideWithRounding.swift
[12/14] Emitting module IntegerUtilities
[14/15] Emitting module ComplexModule
[15/16] Compiling ComplexModule Complex+AdditiveArithmetic.swift
[17/18] Emitting module Numerics
[18/19] Compiling Numerics Numerics.swift
[20/21] Emitting module _TestSupport
[22/22] Compiling _TestSupport BlackHole.swift
Build complete! (7.56s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-numerics",
  "name" : "swift-numerics",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "ComplexModule",
      "targets" : [
        "ComplexModule"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Numerics",
      "targets" : [
        "Numerics"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "RealModule",
      "targets" : [
        "RealModule"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "_TestSupport",
      "module_type" : "SwiftTarget",
      "name" : "_TestSupport",
      "path" : "Sources/_TestSupport",
      "sources" : [
        "BlackHole.swift",
        "DoubleWidth.swift",
        "Error.swift",
        "Interval.swift",
        "RealTestSupport.swift"
      ],
      "target_dependencies" : [
        "Numerics"
      ],
      "type" : "library"
    },
    {
      "c99name" : "_NumericsShims",
      "module_type" : "ClangTarget",
      "name" : "_NumericsShims",
      "path" : "Sources/_NumericsShims",
      "product_memberships" : [
        "ComplexModule",
        "Numerics",
        "RealModule"
      ],
      "sources" : [
        "_NumericsShims.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "RealTests",
      "module_type" : "SwiftTarget",
      "name" : "RealTests",
      "path" : "Tests/RealTests",
      "sources" : [
        "ApproximateEqualityTests.swift",
        "AugmentedArithmeticTests.swift",
        "ElementaryFunctionChecks.swift",
        "IntegerExponentTests.swift",
        "RelaxedArithmeticTests.swift"
      ],
      "target_dependencies" : [
        "_TestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "RealModule",
      "module_type" : "SwiftTarget",
      "name" : "RealModule",
      "path" : "Sources/RealModule",
      "product_memberships" : [
        "ComplexModule",
        "Numerics",
        "RealModule"
      ],
      "sources" : [
        "AlgebraicField.swift",
        "ApproximateEquality.swift",
        "AugmentedArithmetic.swift",
        "Double+Real.swift",
        "ElementaryFunctions.swift",
        "Float+Real.swift",
        "Float16+Real.swift",
        "Float80+Real.swift",
        "Real.swift",
        "RealFunctions.swift",
        "RelaxedArithmetic.swift"
      ],
      "target_dependencies" : [
        "_NumericsShims"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Numerics",
      "module_type" : "SwiftTarget",
      "name" : "Numerics",
      "path" : "Sources/Numerics",
      "product_memberships" : [
        "Numerics"
      ],
      "sources" : [
        "Numerics.swift"
      ],
      "target_dependencies" : [
        "ComplexModule",
        "IntegerUtilities",
        "RealModule"
      ],
      "type" : "library"
    },
    {
      "c99name" : "IntegerUtilitiesTests",
      "module_type" : "SwiftTarget",
      "name" : "IntegerUtilitiesTests",
      "path" : "Tests/IntegerUtilitiesTests",
      "sources" : [
        "DivideTests.swift",
        "DoubleWidthTests.swift",
        "GCDTests.swift",
        "RotateTests.swift",
        "RoundingTests.swift",
        "SaturatingArithmeticTests.swift",
        "ShiftTests.swift"
      ],
      "target_dependencies" : [
        "IntegerUtilities",
        "_TestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "IntegerUtilities",
      "module_type" : "SwiftTarget",
      "name" : "IntegerUtilities",
      "path" : "Sources/IntegerUtilities",
      "product_memberships" : [
        "Numerics"
      ],
      "sources" : [
        "DivideWithRounding.swift",
        "GCD.swift",
        "Rotate.swift",
        "RoundingRule.swift",
        "SaturatingArithmetic.swift",
        "ShiftWithRounding.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ComplexTests",
      "module_type" : "SwiftTarget",
      "name" : "ComplexTests",
      "path" : "Tests/ComplexTests",
      "sources" : [
        "ApproximateEqualityTests.swift",
        "ArithmeticTests.swift",
        "ElementaryFunctionTests.swift",
        "PropertyTests.swift"
      ],
      "target_dependencies" : [
        "_TestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ComplexModule",
      "module_type" : "SwiftTarget",
      "name" : "ComplexModule",
      "path" : "Sources/ComplexModule",
      "product_memberships" : [
        "ComplexModule",
        "Numerics"
      ],
      "sources" : [
        "Complex+AdditiveArithmetic.swift",
        "Complex+AlgebraicField.swift",
        "Complex+Codable.swift",
        "Complex+ElementaryFunctions.swift",
        "Complex+Hashable.swift",
        "Complex+IntegerLiteral.swift",
        "Complex+Numeric.swift",
        "Complex+StringConvertible.swift",
        "Complex.swift",
        "Polar.swift",
        "Scale.swift"
      ],
      "target_dependencies" : [
        "RealModule"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f6b6b9bdb5d5605d727da337418fc455cd8a0394d3a815b70631008c48829755
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Done.