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 1.1.1 (0c0290), with Swift 6.2 for Wasm on 25 Sep 2025 21:36:39 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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: 1.1.1
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
 * tag               1.1.1      -> FETCH_HEAD
HEAD is now at 0c0290f Merge pull request #331 from stephentyrone/embedded-support-1.1
Cloned https://github.com/apple/swift-numerics.git
Revision (git rev-parse @):
0c0290ff6b24942dadb83a929ffaaa1481df04a2
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-numerics.git at 1.1.1
========================================
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-4606859-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/6] Write sources
[4/6] Compiling _NumericsShims _NumericsShims.c
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/8] Emitting module RealModule
[8/8] Compiling RealModule AlgebraicField.swift
[10/11] Emitting module ComplexModule
[11/11] Compiling ComplexModule Complex+AdditiveArithmetic.swift
[13/14] Emitting module Numerics
[15/15] Compiling Numerics Numerics.swift
[16/17] Emitting module _TestSupport
[18/18] Compiling _TestSupport BlackHole.swift
Build complete! (4.98s)
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",
        "RealModule"
      ],
      "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.