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 SwiftNP, reference 0.0.7 (24f85e), with Swift 6.2 (beta) for Wasm on 24 Jun 2025 17:21:59 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/k-arindam/SwiftNP.git
Reference: 0.0.7
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/k-arindam/SwiftNP
 * tag               0.0.7      -> FETCH_HEAD
HEAD is now at 24f85e3 Updated README.md
Cloned https://github.com/k-arindam/SwiftNP.git
Revision (git rev-parse @):
24f85e31997adf6d5d05cabcacc9d4c783a44406
SUCCESS checkout https://github.com/k-arindam/SwiftNP.git at 0.0.7
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/k-arindam/SwiftNP.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2082] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.41s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.4 (2.67s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3416] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.45s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.90s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.4
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/6] Copying Localizable.xcstrings
[2/6] Write sources
[4/6] Copying banner.png
[5/6] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/35] Emitting module SwiftNP
/host/spi-builder-workspace/Sources/SwiftNP/Common/Constants.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A class that serves as a container for constant values used throughout the SwiftNP framework.
[8/38] Compiling SwiftNP ArrayExtension.swift
/host/spi-builder-workspace/Sources/SwiftNP/Common/Constants.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A class that serves as a container for constant values used throughout the SwiftNP framework.
[9/38] Compiling SwiftNP IntExtension.swift
/host/spi-builder-workspace/Sources/SwiftNP/Common/Constants.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A class that serves as a container for constant values used throughout the SwiftNP framework.
[10/38] Compiling SwiftNP MLMultiArrayDataTypeExtension.swift
/host/spi-builder-workspace/Sources/SwiftNP/Common/Constants.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A class that serves as a container for constant values used throughout the SwiftNP framework.
[11/38] Compiling SwiftNP NDArrayExtension.swift
/host/spi-builder-workspace/Sources/SwiftNP/Common/Constants.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A class that serves as a container for constant values used throughout the SwiftNP framework.
[12/38] Compiling SwiftNP NDArray.swift
/host/spi-builder-workspace/Sources/SwiftNP/Common/Constants.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A class that serves as a container for constant values used throughout the SwiftNP framework.
[13/38] Compiling SwiftNP SwiftNP.swift
/host/spi-builder-workspace/Sources/SwiftNP/Common/Constants.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A class that serves as a container for constant values used throughout the SwiftNP framework.
[14/38] Compiling SwiftNP resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/SwiftNP/Common/Constants.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A class that serves as a container for constant values used throughout the SwiftNP framework.
[15/38] Compiling SwiftNP Constants.swift
/host/spi-builder-workspace/Sources/SwiftNP/Common/Constants.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A class that serves as a container for constant values used throughout the SwiftNP framework.
[16/38] Compiling SwiftNP NDArrayOperators.swift
/host/spi-builder-workspace/Sources/SwiftNP/Common/Constants.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A class that serves as a container for constant values used throughout the SwiftNP framework.
[17/38] Compiling SwiftNP MLMultiArray+NDArray.swift
/host/spi-builder-workspace/Sources/SwiftNP/Common/Constants.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A class that serves as a container for constant values used throughout the SwiftNP framework.
[18/38] Compiling SwiftNP UIImage+NDArray.swift
/host/spi-builder-workspace/Sources/SwiftNP/Common/Constants.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A class that serves as a container for constant values used throughout the SwiftNP framework.
[19/38] Compiling SwiftNP Typealiases.swift
/host/spi-builder-workspace/Sources/SwiftNP/Common/Constants.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A class that serves as a container for constant values used throughout the SwiftNP framework.
[20/38] Compiling SwiftNP Utils.swift
/host/spi-builder-workspace/Sources/SwiftNP/Common/Constants.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A class that serves as a container for constant values used throughout the SwiftNP framework.
[21/38] Compiling SwiftNP ArithmeticOperation.swift
/host/spi-builder-workspace/Sources/SwiftNP/Common/Constants.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A class that serves as a container for constant values used throughout the SwiftNP framework.
[22/38] Compiling SwiftNP ContentType.swift
/host/spi-builder-workspace/Sources/SwiftNP/Common/Constants.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A class that serves as a container for constant values used throughout the SwiftNP framework.
[23/38] Compiling SwiftNP DType.swift
/host/spi-builder-workspace/Sources/SwiftNP/Common/Constants.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A class that serves as a container for constant values used throughout the SwiftNP framework.
[24/38] Compiling SwiftNP ReshapeOrder.swift
/host/spi-builder-workspace/Sources/SwiftNP/Common/Constants.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A class that serves as a container for constant values used throughout the SwiftNP framework.
[25/38] Compiling SwiftNP SNPError.swift
/host/spi-builder-workspace/Sources/SwiftNP/Common/Constants.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A class that serves as a container for constant values used throughout the SwiftNP framework.
[26/38] Compiling SwiftNP ScalarOperation.swift
/host/spi-builder-workspace/Sources/SwiftNP/Common/Constants.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A class that serves as a container for constant values used throughout the SwiftNP framework.
[27/38] Compiling SwiftNP Indexing.swift
/host/spi-builder-workspace/Sources/SwiftNP/Common/Constants.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A class that serves as a container for constant values used throughout the SwiftNP framework.
[28/38] Compiling SwiftNP Reshape.swift
/host/spi-builder-workspace/Sources/SwiftNP/Common/Constants.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A class that serves as a container for constant values used throughout the SwiftNP framework.
[29/38] Compiling SwiftNP Statistical.swift
/host/spi-builder-workspace/Sources/SwiftNP/Common/Constants.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A class that serves as a container for constant values used throughout the SwiftNP framework.
[30/38] Compiling SwiftNP Transpose.swift
/host/spi-builder-workspace/Sources/SwiftNP/Common/Constants.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A class that serves as a container for constant values used throughout the SwiftNP framework.
[31/38] Compiling SwiftNP NumericExtension.swift
/host/spi-builder-workspace/Sources/SwiftNP/Common/Constants.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A class that serves as a container for constant values used throughout the SwiftNP framework.
[32/38] Compiling SwiftNP ShapeExtension.swift
/host/spi-builder-workspace/Sources/SwiftNP/Common/Constants.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A class that serves as a container for constant values used throughout the SwiftNP framework.
[33/38] Compiling SwiftNP StringExtension.swift
/host/spi-builder-workspace/Sources/SwiftNP/Common/Constants.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A class that serves as a container for constant values used throughout the SwiftNP framework.
[34/38] Compiling SwiftNP MatrixOperation.swift
/host/spi-builder-workspace/Sources/SwiftNP/Common/Constants.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A class that serves as a container for constant values used throughout the SwiftNP framework.
[35/38] Compiling SwiftNP NDArrayImpl.swift
/host/spi-builder-workspace/Sources/SwiftNP/Common/Constants.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A class that serves as a container for constant values used throughout the SwiftNP framework.
[36/38] Compiling SwiftNP Arithmetic.swift
/host/spi-builder-workspace/Sources/SwiftNP/Common/Constants.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A class that serves as a container for constant values used throughout the SwiftNP framework.
[37/38] Compiling SwiftNP Broadcasting.swift
/host/spi-builder-workspace/Sources/SwiftNP/Common/Constants.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A class that serves as a container for constant values used throughout the SwiftNP framework.
[38/38] Compiling SwiftNP Convenience.swift
/host/spi-builder-workspace/Sources/SwiftNP/Common/Constants.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A class that serves as a container for constant values used throughout the SwiftNP framework.
BUILD FAILURE 6.2 wasm