The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Neuron, reference main (ca3695), with Swift 6.2 for Wasm on 17 Mar 2026 03:10:49 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.69.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wvabrinskas/Neuron.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/wvabrinskas/Neuron
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ca3695f Major framework upgrade: TensorStorage, pointer-based arithmetic, batching, and new layers (#159)
Cloned https://github.com/wvabrinskas/Neuron.git
Revision (git rev-parse @):
ca3695f82f562e420fde957bf913ed44cd1c6e47
SUCCESS checkout https://github.com/wvabrinskas/Neuron.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/wvabrinskas/Neuron.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:33aba1b4ee401c56e0fd7ee42e05ab1ffc0b6f44277ad19cffda5d456eb09500
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/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
Fetching https://github.com/apple/swift-docc-plugin
[1/2171] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.40s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/wvabrinskas/Logger.git
Fetching https://github.com/swiftlang/swift-docc-symbolkit
Fetching https://github.com/apple/swift-numerics
Fetching https://github.com/wvabrinskas/NumSwift.git
[1/1658] Fetching numswift
[51/1765] Fetching numswift, logger
[1369/3585] Fetching numswift, logger, swift-atomics
Fetched https://github.com/wvabrinskas/Logger.git from cache (0.28s)
[1822/3478] Fetching numswift, swift-atomics
[1987/7148] Fetching numswift, swift-atomics, swift-docc-symbolkit
[2739/13564] Fetching numswift, swift-atomics, swift-docc-symbolkit, swift-numerics
Fetched https://github.com/wvabrinskas/NumSwift.git from cache (0.65s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.65s)
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.65s)
Fetched https://github.com/apple/swift-numerics from cache (0.65s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.13s)
Computing version for https://github.com/wvabrinskas/NumSwift.git
Computed https://github.com/wvabrinskas/NumSwift.git at 2.0.24 (0.47s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.47s)
Computing version for https://github.com/wvabrinskas/Logger.git
Computed https://github.com/wvabrinskas/Logger.git at 1.0.7 (0.44s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.37s)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/wvabrinskas/NumSwift.git
Working copy of https://github.com/wvabrinskas/NumSwift.git resolved at 2.0.24
Creating working copy for https://github.com/wvabrinskas/Logger.git
Working copy of https://github.com/wvabrinskas/Logger.git resolved at 1.0.7
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at main (e977f65)
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
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/16] Write sources
[2/16] Copying GPU.metal
[2/16] Copying print-example.png
[2/16] Write sources
[11/16] Compiling _NumericsShims _NumericsShims.c
[12/16] Compiling _AtomicsShims.c
In file included from /host/spi-builder-workspace/.build/checkouts/NumSwift/Sources/NumSwiftC/numswiftc.c:2:
In file included from /host/spi-builder-workspace/.build/checkouts/NumSwift/Sources/NumSwiftC/include/numswiftc.h:5:
/host/spi-builder-workspace/.build/checkouts/NumSwift/Sources/NumSwiftC/include/numswiftc_base.h:30:3: error: _Float16 is not supported on this target
   30 |   _Float16 value;
      |   ^
/host/spi-builder-workspace/.build/checkouts/NumSwift/Sources/NumSwiftC/include/numswiftc_base.h:40:48: error: _Float16 is not supported on this target
   40 | extern NSC_IndexedValue nsc_index_of_min(const _Float16 array[], int size);
      |                                                ^
/host/spi-builder-workspace/.build/checkouts/NumSwift/Sources/NumSwiftC/include/numswiftc_base.h:41:48: error: _Float16 is not supported on this target
   41 | extern NSC_IndexedValue nsc_index_of_max(const _Float16 array[], int size);
      |                                                ^
/host/spi-builder-workspace/.build/checkouts/NumSwift/Sources/NumSwiftC/include/numswiftc_base.h:42:31: error: _Float16 is not supported on this target
   42 | extern _Float16 nsc_max(const _Float16 array[], int size);
      |                               ^
/host/spi-builder-workspace/.build/checkouts/NumSwift/Sources/NumSwiftC/include/numswiftc_base.h:42:8: error: _Float16 is not supported on this target
   42 | extern _Float16 nsc_max(const _Float16 array[], int size);
      |        ^
/host/spi-builder-workspace/.build/checkouts/NumSwift/Sources/NumSwiftC/include/numswiftc_base.h:43:31: error: _Float16 is not supported on this target
   43 | extern _Float16 nsc_min(const _Float16 array[], int size);
      |                               ^
/host/spi-builder-workspace/.build/checkouts/NumSwift/Sources/NumSwiftC/include/numswiftc_base.h:43:8: error: _Float16 is not supported on this target
   43 | extern _Float16 nsc_min(const _Float16 array[], int size);
      |        ^
/host/spi-builder-workspace/.build/checkouts/NumSwift/Sources/NumSwiftC/include/numswiftc_base.h:44:32: error: _Float16 is not supported on this target
   44 | extern _Float16 nsc_mean(const _Float16 array[], int size);
      |                                ^
/host/spi-builder-workspace/.build/checkouts/NumSwift/Sources/NumSwiftC/include/numswiftc_base.h:44:8: error: _Float16 is not supported on this target
   44 | extern _Float16 nsc_mean(const _Float16 array[], int size);
      |        ^
/host/spi-builder-workspace/.build/checkouts/NumSwift/Sources/NumSwiftC/include/numswiftc_base.h:45:31: error: _Float16 is not supported on this target
   45 | extern _Float16 nsc_sum(const _Float16 array[], int size);
      |                               ^
/host/spi-builder-workspace/.build/checkouts/NumSwift/Sources/NumSwiftC/include/numswiftc_base.h:45:8: error: _Float16 is not supported on this target
   45 | extern _Float16 nsc_sum(const _Float16 array[], int size);
      |        ^
/host/spi-builder-workspace/.build/checkouts/NumSwift/Sources/NumSwiftC/include/numswiftc_base.h:46:42: error: _Float16 is not supported on this target
   46 | extern _Float16 nsc_sum_of_squares(const _Float16 array[], int size);
      |                                          ^
/host/spi-builder-workspace/.build/checkouts/NumSwift/Sources/NumSwiftC/include/numswiftc_base.h:46:8: error: _Float16 is not supported on this target
   46 | extern _Float16 nsc_sum_of_squares(const _Float16 array[], int size);
      |        ^
/host/spi-builder-workspace/.build/checkouts/NumSwift/Sources/NumSwiftC/include/numswiftc_base.h:48:34: error: _Float16 is not supported on this target
   48 | extern void nsc_add_scalar(const _Float16 lhs, const _Float16 rhs[], int size, _Float16 *result);
      |                                  ^
/host/spi-builder-workspace/.build/checkouts/NumSwift/Sources/NumSwiftC/include/numswiftc_base.h:48:54: error: _Float16 is not supported on this target
   48 | extern void nsc_add_scalar(const _Float16 lhs, const _Float16 rhs[], int size, _Float16 *result);
      |                                                      ^
/host/spi-builder-workspace/.build/checkouts/NumSwift/Sources/NumSwiftC/include/numswiftc_base.h:48:80: error: _Float16 is not supported on this target
   48 | extern void nsc_add_scalar(const _Float16 lhs, const _Float16 rhs[], int size, _Float16 *result);
      |                                                                                ^
/host/spi-builder-workspace/.build/checkouts/NumSwift/Sources/NumSwiftC/include/numswiftc_base.h:49:27: error: _Float16 is not supported on this target
   49 | extern void nsc_add(const _Float16 lhs[], const _Float16 rhs[], int size, _Float16 *result);
      |                           ^
/host/spi-builder-workspace/.build/checkouts/NumSwift/Sources/NumSwiftC/include/numswiftc_base.h:49:49: error: _Float16 is not supported on this target
   49 | extern void nsc_add(const _Float16 lhs[], const _Float16 rhs[], int size, _Float16 *result);
      |                                                 ^
/host/spi-builder-workspace/.build/checkouts/NumSwift/Sources/NumSwiftC/include/numswiftc_base.h:49:75: error: _Float16 is not supported on this target
   49 | extern void nsc_add(const _Float16 lhs[], const _Float16 rhs[], int size, _Float16 *result);
      |                                                                           ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[13/16] Compiling NumSwiftC numswiftc.c
In file included from /host/spi-builder-workspace/.build/checkouts/NumSwift/Sources/NumSwiftC/numswiftc_base.c:1:
/host/spi-builder-workspace/.build/checkouts/NumSwift/Sources/NumSwiftC/include/numswiftc_base.h:30:3: error: _Float16 is not supported on this target
   30 |   _Float16 value;
      |   ^
/host/spi-builder-workspace/.build/checkouts/NumSwift/Sources/NumSwiftC/include/numswiftc_base.h:40:48: error: _Float16 is not supported on this target
   40 | extern NSC_IndexedValue nsc_index_of_min(const _Float16 array[], int size);
      |                                                ^
/host/spi-builder-workspace/.build/checkouts/NumSwift/Sources/NumSwiftC/include/numswiftc_base.h:41:48: error: _Float16 is not supported on this target
   41 | extern NSC_IndexedValue nsc_index_of_max(const _Float16 array[], int size);
      |                                                ^
/host/spi-builder-workspace/.build/checkouts/NumSwift/Sources/NumSwiftC/include/numswiftc_base.h:42:31: error: _Float16 is not supported on this target
   42 | extern _Float16 nsc_max(const _Float16 array[], int size);
      |                               ^
/host/spi-builder-workspace/.build/checkouts/NumSwift/Sources/NumSwiftC/include/numswiftc_base.h:42:8: error: _Float16 is not supported on this target
   42 | extern _Float16 nsc_max(const _Float16 array[], int size);
      |        ^
/host/spi-builder-workspace/.build/checkouts/NumSwift/Sources/NumSwiftC/include/numswiftc_base.h:43:31: error: _Float16 is not supported on this target
   43 | extern _Float16 nsc_min(const _Float16 array[], int size);
      |                               ^
/host/spi-builder-workspace/.build/checkouts/NumSwift/Sources/NumSwiftC/include/numswiftc_base.h:43:8: error: _Float16 is not supported on this target
   43 | extern _Float16 nsc_min(const _Float16 array[], int size);
      |        ^
/host/spi-builder-workspace/.build/checkouts/NumSwift/Sources/NumSwiftC/include/numswiftc_base.h:44:32: error: _Float16 is not supported on this target
   44 | extern _Float16 nsc_mean(const _Float16 array[], int size);
      |                                ^
/host/spi-builder-workspace/.build/checkouts/NumSwift/Sources/NumSwiftC/include/numswiftc_base.h:44:8: error: _Float16 is not supported on this target
   44 | extern _Float16 nsc_mean(const _Float16 array[], int size);
      |        ^
/host/spi-builder-workspace/.build/checkouts/NumSwift/Sources/NumSwiftC/include/numswiftc_base.h:45:31: error: _Float16 is not supported on this target
   45 | extern _Float16 nsc_sum(const _Float16 array[], int size);
      |                               ^
/host/spi-builder-workspace/.build/checkouts/NumSwift/Sources/NumSwiftC/include/numswiftc_base.h:45:8: error: _Float16 is not supported on this target
   45 | extern _Float16 nsc_sum(const _Float16 array[], int size);
      |        ^
/host/spi-builder-workspace/.build/checkouts/NumSwift/Sources/NumSwiftC/include/numswiftc_base.h:46:42: error: _Float16 is not supported on this target
   46 | extern _Float16 nsc_sum_of_squares(const _Float16 array[], int size);
      |                                          ^
/host/spi-builder-workspace/.build/checkouts/NumSwift/Sources/NumSwiftC/include/numswiftc_base.h:46:8: error: _Float16 is not supported on this target
   46 | extern _Float16 nsc_sum_of_squares(const _Float16 array[], int size);
      |        ^
/host/spi-builder-workspace/.build/checkouts/NumSwift/Sources/NumSwiftC/include/numswiftc_base.h:48:34: error: _Float16 is not supported on this target
   48 | extern void nsc_add_scalar(const _Float16 lhs, const _Float16 rhs[], int size, _Float16 *result);
      |                                  ^
/host/spi-builder-workspace/.build/checkouts/NumSwift/Sources/NumSwiftC/include/numswiftc_base.h:48:54: error: _Float16 is not supported on this target
   48 | extern void nsc_add_scalar(const _Float16 lhs, const _Float16 rhs[], int size, _Float16 *result);
      |                                                      ^
/host/spi-builder-workspace/.build/checkouts/NumSwift/Sources/NumSwiftC/include/numswiftc_base.h:48:80: error: _Float16 is not supported on this target
   48 | extern void nsc_add_scalar(const _Float16 lhs, const _Float16 rhs[], int size, _Float16 *result);
      |                                                                                ^
/host/spi-builder-workspace/.build/checkouts/NumSwift/Sources/NumSwiftC/include/numswiftc_base.h:49:27: error: _Float16 is not supported on this target
   49 | extern void nsc_add(const _Float16 lhs[], const _Float16 rhs[], int size, _Float16 *result);
      |                           ^
/host/spi-builder-workspace/.build/checkouts/NumSwift/Sources/NumSwiftC/include/numswiftc_base.h:49:49: error: _Float16 is not supported on this target
   49 | extern void nsc_add(const _Float16 lhs[], const _Float16 rhs[], int size, _Float16 *result);
      |                                                 ^
/host/spi-builder-workspace/.build/checkouts/NumSwift/Sources/NumSwiftC/include/numswiftc_base.h:49:75: error: _Float16 is not supported on this target
   49 | extern void nsc_add(const _Float16 lhs[], const _Float16 rhs[], int size, _Float16 *result);
      |                                                                           ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[13/16] Compiling NumSwiftC numswiftc_base.c
[13/16] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm