The Swift Package Index logo.Swift Package Index

Build Information

Failed to build NDArray, reference master (49c5f1), with Swift 6.2 for Wasm on 18 Jun 2025 03:27:30 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/cgarciae/ndarray.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/cgarciae/ndarray
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 49c5f1e update readme
Cloned https://github.com/cgarciae/ndarray.git
Revision (git rev-parse @):
49c5f1ec9958a73afde90842c57995d8de9f57b7
SUCCESS checkout https://github.com/cgarciae/ndarray.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/cgarciae/ndarray.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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
warning: 'spi-builder-workspace': The target named 'Debug' was identified as an executable target but a non-executable product with this name already exists.
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/26] Emitting module NDArray
/host/spi-builder-workspace/Sources/NDArray/NDArrayTypes/BaseNDArray/Dimension.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public struct MemoryLayout {
[5/29] Compiling NDArray NDArrayProtocol.swift
/host/spi-builder-workspace/Sources/NDArray/NDArrayTypes/BaseNDArray/Dimension.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public struct MemoryLayout {
[6/29] Compiling NDArray Ref.swift
/host/spi-builder-workspace/Sources/NDArray/NDArrayTypes/BaseNDArray/Dimension.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public struct MemoryLayout {
[7/29] Compiling NDArray utils.swift
/host/spi-builder-workspace/Sources/NDArray/NDArrayTypes/BaseNDArray/Dimension.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public struct MemoryLayout {
[8/29] Compiling NDArray reduce.swift
/host/spi-builder-workspace/Sources/NDArray/NDArrayTypes/BaseNDArray/Dimension.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public struct MemoryLayout {
[9/29] Compiling NDArray sub.swift
/host/spi-builder-workspace/Sources/NDArray/NDArrayTypes/BaseNDArray/Dimension.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public struct MemoryLayout {
[10/29] Compiling NDArray subscript.swift
/host/spi-builder-workspace/Sources/NDArray/NDArrayTypes/BaseNDArray/Dimension.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public struct MemoryLayout {
[11/29] Compiling NDArray sum.swift
/host/spi-builder-workspace/Sources/NDArray/NDArrayTypes/BaseNDArray/Dimension.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public struct MemoryLayout {
[12/29] Compiling NDArray Divisible.swift
/host/spi-builder-workspace/Sources/NDArray/NDArrayTypes/BaseNDArray/Dimension.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public struct MemoryLayout {
[13/29] Compiling NDArray NDArrayFloatingPoint.swift
/host/spi-builder-workspace/Sources/NDArray/NDArrayTypes/BaseNDArray/Dimension.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public struct MemoryLayout {
[14/29] Compiling NDArray mean.swift
/host/spi-builder-workspace/Sources/NDArray/NDArrayTypes/BaseNDArray/Dimension.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public struct MemoryLayout {
[15/29] Compiling NDArray min.swift
/host/spi-builder-workspace/Sources/NDArray/NDArrayTypes/BaseNDArray/Dimension.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public struct MemoryLayout {
[16/29] Compiling NDArray mul.swift
/host/spi-builder-workspace/Sources/NDArray/NDArrayTypes/BaseNDArray/Dimension.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public struct MemoryLayout {
[17/29] Compiling NDArray Dimension.swift
/host/spi-builder-workspace/Sources/NDArray/NDArrayTypes/BaseNDArray/Dimension.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public struct MemoryLayout {
[18/29] Compiling NDArray ScalarNDArray.swift
/host/spi-builder-workspace/Sources/NDArray/NDArrayTypes/BaseNDArray/Dimension.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public struct MemoryLayout {
[19/29] Compiling NDArray add.swift
/host/spi-builder-workspace/Sources/NDArray/NDArrayTypes/BaseNDArray/Dimension.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public struct MemoryLayout {
[20/29] Compiling NDArray dot.swift
/host/spi-builder-workspace/Sources/NDArray/NDArrayTypes/BaseNDArray/Dimension.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public struct MemoryLayout {
[21/29] Compiling NDArray elementWise.swift
/host/spi-builder-workspace/Sources/NDArray/NDArrayTypes/BaseNDArray/Dimension.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public struct MemoryLayout {
[22/29] Compiling NDArray max.swift
/host/spi-builder-workspace/Sources/NDArray/NDArrayTypes/BaseNDArray/Dimension.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public struct MemoryLayout {
[23/29] Compiling NDArray broadcast.swift
/host/spi-builder-workspace/Sources/NDArray/NDArrayTypes/BaseNDArray/Dimension.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public struct MemoryLayout {
[24/29] Compiling NDArray description.swift
/host/spi-builder-workspace/Sources/NDArray/NDArrayTypes/BaseNDArray/Dimension.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public struct MemoryLayout {
[25/29] Compiling NDArray div.swift
/host/spi-builder-workspace/Sources/NDArray/NDArrayTypes/BaseNDArray/Dimension.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public struct MemoryLayout {
[26/29] Compiling NDArray Expressible.swift
/host/spi-builder-workspace/Sources/NDArray/NDArrayTypes/BaseNDArray/Dimension.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public struct MemoryLayout {
[27/29] Compiling NDArray NDArray.swift
/host/spi-builder-workspace/Sources/NDArray/NDArrayTypes/BaseNDArray/Dimension.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public struct MemoryLayout {
[28/29] Compiling NDArray ArrayShape.swift
/host/spi-builder-workspace/Sources/NDArray/NDArrayTypes/BaseNDArray/Dimension.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public struct MemoryLayout {
[29/29] Compiling NDArray BaseNDArray.swift
/host/spi-builder-workspace/Sources/NDArray/NDArrayTypes/BaseNDArray/Dimension.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public struct MemoryLayout {
BUILD FAILURE 6.2 wasm