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

Failed to build Math, reference master (b75be6), with Swift 6.1 for Wasm on 27 May 2025 15:33:53 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/davidskrundz/math.git
Reference: master
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
 * 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
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/davidskrundz/math.git
https://github.com/davidskrundz/math.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/7] Write sources
[1/7] Write swift-version-24593BA9C3E375BF.txt
[3/22] Compiling Math Builtin+Random.swift
[4/22] Compiling Math Random.swift
[5/23] Compiling Math BigUInt.swift
[6/23] Compiling Math BinaryInteger+BitRotate.swift
[7/23] Emitting module Math
[8/23] Compiling Math Array+ByteArray.swift
[9/23] Compiling Math FixedWidthInteger+Bytes.swift
[10/23] Compiling Math FloatingPoint+Modulo.swift
[11/23] Compiling Math ModularOperations.swift
[12/23] Compiling Math BinaryInteger+sqrt.swift
[13/23] Compiling Math FiniteFieldInteger.swift
[14/23] Compiling Math BinaryInteger+Modulo.swift
[15/23] Compiling Math Builtin+ModularOperations.swift
[16/23] Compiling Math FixedWidthInteger+ModularArithmetic.swift
[17/23] Compiling Math BitRotate.swift
[18/23] Compiling Math Array+BitPacking.swift
[19/24] Wrapping AST for Math for debugging
[20/24] Write Objects.LinkFileList
[22/24] Archiving libsMath.a
error: dynamic libraries are unsupported for target 'wasm32-unknown-wasi'
[23/24] Linking libdMath.wasm
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/5] Write swift-version-24593BA9C3E375BF.txt
[2/20] Compiling Math FloatingPoint+Modulo.swift
[3/20] Compiling Math ModularOperations.swift
[4/21] Compiling Math Builtin+Random.swift
[5/21] Compiling Math Random.swift
[6/21] Compiling Math Builtin+ModularOperations.swift
[7/21] Compiling Math FixedWidthInteger+ModularArithmetic.swift
[8/21] Compiling Math BinaryInteger+sqrt.swift
[9/21] Compiling Math Array+ByteArray.swift
[10/21] Compiling Math FixedWidthInteger+Bytes.swift
[11/21] Compiling Math FiniteFieldInteger.swift
[12/21] Compiling Math BinaryInteger+Modulo.swift
[13/21] Compiling Math BitRotate.swift
[14/21] Compiling Math Array+BitPacking.swift
[15/21] Emitting module Math
[16/21] Compiling Math BigUInt.swift
[17/21] Compiling Math BinaryInteger+BitRotate.swift
[18/22] Write Objects.LinkFileList
[20/22] Archiving libsMath.a
error: dynamic libraries are unsupported for target 'wasm32-unknown-wasi'
[21/22] Linking libdMath.wasm
BUILD FAILURE 6.1 wasm