The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TensorFlow, reference 0.0.9 (05bd91), with Swift 6.3 for Wasm on 10 Apr 2026 19:46:31 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/octadero/tensorflow.git
Reference: 0.0.9
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/octadero/tensorflow
 * tag               0.0.9      -> FETCH_HEAD
HEAD is now at 05bd916 TensorFlowKit 0.0.9 version is released, fixed memory leaks and updated SavedModel class.
Cloned https://github.com/octadero/tensorflow.git
Revision (git rev-parse @):
05bd916611a780868bebb11ee8359d70968ed07f
SUCCESS checkout https://github.com/octadero/tensorflow.git at 0.0.9
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/octadero/tensorflow.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/Octadero/MemoryLayoutKit.git
Fetching https://github.com/Octadero/MNISTKit.git
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/Octadero/CTensorFlow.git
[1/16] Fetching ctensorflow
[17/70] Fetching ctensorflow, memorylayoutkit
[71/208] Fetching ctensorflow, memorylayoutkit, mnistkit
Fetched https://github.com/Octadero/CTensorFlow.git from cache (0.24s)
[1/45835] Fetching swift-protobuf
Fetched https://github.com/Octadero/MemoryLayoutKit.git from cache (11.65s)
Fetched https://github.com/Octadero/MNISTKit.git from cache (11.65s)
Fetched https://github.com/apple/swift-protobuf.git from cache (11.91s)
Computing version for https://github.com/Octadero/MNISTKit.git
Computed https://github.com/Octadero/MNISTKit.git at 0.0.7 (12.92s)
Fetching https://github.com/Octadero/Unarchiver.git
[1/24] Fetching unarchiver
Fetched https://github.com/Octadero/Unarchiver.git from cache (0.21s)
Computing version for https://github.com/Octadero/CTensorFlow.git
Computed https://github.com/Octadero/CTensorFlow.git at 0.1.6 (0.65s)
Computing version for https://github.com/Octadero/Unarchiver.git
Computed https://github.com/Octadero/Unarchiver.git at 0.0.5 (0.49s)
Fetching https://github.com/Octadero/CZlib.git
[1/15] Fetching czlib
Fetched https://github.com/Octadero/CZlib.git from cache (0.21s)
Computing version for https://github.com/Octadero/CZlib.git
Computed https://github.com/Octadero/CZlib.git at 0.0.5 (0.63s)
Computing version for https://github.com/Octadero/MemoryLayoutKit.git
Computed https://github.com/Octadero/MemoryLayoutKit.git at 0.0.4 (2.37s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.36.1 (0.57s)
Creating working copy for https://github.com/Octadero/MNISTKit.git
Working copy of https://github.com/Octadero/MNISTKit.git resolved at 0.0.7
Creating working copy for https://github.com/Octadero/CZlib.git
Working copy of https://github.com/Octadero/CZlib.git resolved at 0.0.5
Creating working copy for https://github.com/Octadero/MemoryLayoutKit.git
Working copy of https://github.com/Octadero/MemoryLayoutKit.git resolved at 0.0.4
Creating working copy for https://github.com/Octadero/Unarchiver.git
Working copy of https://github.com/Octadero/Unarchiver.git resolved at 0.0.5
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.36.1
Creating working copy for https://github.com/Octadero/CTensorFlow.git
Working copy of https://github.com/Octadero/CTensorFlow.git resolved at 0.1.6
warning: 'czlib': ignoring declared target(s) 'CZlib' in the system package
warning: 'ctensorflow': ignoring declared target(s) 'CTensorFlow' in the system package
warning: 'spi-builder-workspace': dependency 'ctensorflow' is not used by any target
warning: couldn't find pc file for tensorflow
warning: you may be able to install libz using your system-packager:
    apt-get install libz-dev
warning: couldn't find pc file for tensorflow
warning: you may be able to install libz using your system-packager:
    apt-get install libz-dev
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[1/22] Write sources
[7/22] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/112] Emitting module MemoryLayoutKit
/host/spi-builder-workspace/.build/checkouts/MemoryLayoutKit/Sources/MemoryLayoutKit/SynchronizedArray.swift:18:8: error: no such module 'Dispatch'
 16 |
 17 | import Foundation
 18 | import Dispatch
    |        `- error: no such module 'Dispatch'
 19 |
 20 | /// A thread-safe array.
[10/112] Emitting module SwiftProtobuf
[11/123] Compiling SwiftProtobuf BytecodeInterpreter.swift
[12/123] Compiling SwiftProtobuf BytecodeReader.swift
[13/123] Compiling SwiftProtobuf CustomJSONCodable.swift
[14/123] Compiling SwiftProtobuf Decoder.swift
[15/123] Compiling SwiftProtobuf DoubleParser.swift
[16/123] Compiling SwiftProtobuf Enum.swift
[17/123] Compiling SwiftProtobuf ExtensibleMessage.swift
[18/123] Compiling SwiftProtobuf ExtensionFieldValueSet.swift
[19/123] Compiling SwiftProtobuf ExtensionFields.swift
[20/123] Compiling SwiftProtobuf ExtensionMap.swift
[21/123] Compiling SwiftProtobuf FieldTag.swift
[22/123] Compiling SwiftProtobuf FieldTypes.swift
[23/123] Compiling SwiftProtobuf TextFormatEncodingOptions.swift
[24/123] Compiling SwiftProtobuf TextFormatEncodingVisitor.swift
[25/123] Compiling SwiftProtobuf TextFormatScanner.swift
[26/123] Compiling SwiftProtobuf TimeUtils.swift
[27/123] Compiling SwiftProtobuf UnknownStorage.swift
[28/123] Compiling SwiftProtobuf UnsafeRawPointer+Shims.swift
[29/123] Compiling SwiftProtobuf Varint.swift
[30/123] Compiling SwiftProtobuf Version.swift
[31/123] Compiling SwiftProtobuf Visitor.swift
[32/123] Compiling SwiftProtobuf WireFormat.swift
[33/123] Compiling SwiftProtobuf ZigZag.swift
[34/123] Compiling SwiftProtobuf Message+BinaryAdditions_Data.swift
[35/123] Compiling SwiftProtobuf Message+FieldMask.swift
[36/123] Compiling SwiftProtobuf Message+JSONAdditions.swift
[37/123] Compiling SwiftProtobuf Message+JSONAdditions_Data.swift
[38/123] Compiling SwiftProtobuf Message+JSONArrayAdditions.swift
[39/123] Compiling SwiftProtobuf Message+JSONArrayAdditions_Data.swift
[40/123] Compiling SwiftProtobuf Message+TextFormatAdditions.swift
[41/123] Compiling SwiftProtobuf Message.swift
[42/123] Compiling SwiftProtobuf MessageExtension.swift
[43/123] Compiling SwiftProtobuf NameMap.swift
[44/123] Compiling SwiftProtobuf PathDecoder.swift
[45/123] Compiling SwiftProtobuf PathVisitor.swift
[46/123] Compiling MemoryLayoutKit General.swift
/host/spi-builder-workspace/.build/checkouts/MemoryLayoutKit/Sources/MemoryLayoutKit/SynchronizedArray.swift:18:8: error: no such module 'Dispatch'
 16 |
 17 | import Foundation
 18 | import Dispatch
    |        `- error: no such module 'Dispatch'
 19 |
 20 | /// A thread-safe array.
[47/123] Compiling SwiftProtobuf ProtoNameProviding.swift
[48/123] Compiling SwiftProtobuf ProtobufAPIVersionCheck.swift
[49/123] Compiling SwiftProtobuf ProtobufMap.swift
[50/123] Compiling SwiftProtobuf SelectiveVisitor.swift
[51/123] Compiling SwiftProtobuf SimpleExtensionMap.swift
[52/123] Compiling SwiftProtobuf StringUtils.swift
[53/123] Compiling SwiftProtobuf SwiftProtobufContiguousBytes.swift
[54/123] Compiling SwiftProtobuf SwiftProtobufError.swift
[55/123] Compiling SwiftProtobuf TextFormatDecoder.swift
[56/123] Compiling SwiftProtobuf TextFormatDecodingError.swift
[57/123] Compiling SwiftProtobuf TextFormatDecodingOptions.swift
[58/123] Compiling SwiftProtobuf TextFormatEncoder.swift
[59/123] Compiling SwiftProtobuf JSONDecoder.swift
[60/123] Compiling SwiftProtobuf JSONDecodingError.swift
[61/123] Compiling SwiftProtobuf JSONDecodingOptions.swift
[62/123] Compiling SwiftProtobuf JSONEncoder.swift
[63/123] Compiling SwiftProtobuf JSONEncodingError.swift
[64/123] Compiling SwiftProtobuf JSONEncodingOptions.swift
[65/123] Compiling SwiftProtobuf JSONEncodingVisitor.swift
[66/123] Compiling SwiftProtobuf JSONMapEncodingVisitor.swift
[67/123] Compiling SwiftProtobuf JSONScanner.swift
[68/123] Compiling SwiftProtobuf MathUtils.swift
[69/123] Compiling SwiftProtobuf Message+AnyAdditions.swift
[70/123] Compiling SwiftProtobuf Message+BinaryAdditions.swift
[71/123] Compiling SwiftProtobuf Google_Protobuf_Any+Extensions.swift
[72/123] Compiling SwiftProtobuf Google_Protobuf_Any+Registry.swift
[73/123] Compiling SwiftProtobuf Google_Protobuf_Duration+Extensions.swift
[74/123] Compiling SwiftProtobuf Google_Protobuf_FieldMask+Extensions.swift
[75/123] Compiling SwiftProtobuf Google_Protobuf_ListValue+Extensions.swift
[76/123] Compiling SwiftProtobuf Google_Protobuf_NullValue+Extensions.swift
[77/123] Compiling SwiftProtobuf Google_Protobuf_Struct+Extensions.swift
[78/123] Compiling SwiftProtobuf Google_Protobuf_Timestamp+Extensions.swift
[79/123] Compiling SwiftProtobuf Google_Protobuf_Value+Extensions.swift
[80/123] Compiling SwiftProtobuf Google_Protobuf_Wrappers+Extensions.swift
[81/123] Compiling SwiftProtobuf HashVisitor.swift
[82/123] Compiling SwiftProtobuf Internal.swift
[83/123] Compiling MemoryLayoutKit MemoryLayoutKit.swift
/host/spi-builder-workspace/.build/checkouts/MemoryLayoutKit/Sources/MemoryLayoutKit/SynchronizedArray.swift:18:8: error: no such module 'Dispatch'
 16 |
 17 | import Foundation
 18 | import Dispatch
    |        `- error: no such module 'Dispatch'
 19 |
 20 | /// A thread-safe array.
[84/123] Compiling MemoryLayoutKit SynchronizedArray.swift
/host/spi-builder-workspace/.build/checkouts/MemoryLayoutKit/Sources/MemoryLayoutKit/SynchronizedArray.swift:18:8: error: no such module 'Dispatch'
 16 |
 17 | import Foundation
 18 | import Dispatch
    |        `- error: no such module 'Dispatch'
 19 |
 20 | /// A thread-safe array.
[85/123] Compiling MemoryLayoutKit Array.swift
/host/spi-builder-workspace/.build/checkouts/MemoryLayoutKit/Sources/MemoryLayoutKit/SynchronizedArray.swift:18:8: error: no such module 'Dispatch'
 16 |
 17 | import Foundation
 18 | import Dispatch
    |        `- error: no such module 'Dispatch'
 19 |
 20 | /// A thread-safe array.
[86/123] Compiling MemoryLayoutKit Data.swift
/host/spi-builder-workspace/.build/checkouts/MemoryLayoutKit/Sources/MemoryLayoutKit/SynchronizedArray.swift:18:8: error: no such module 'Dispatch'
 16 |
 17 | import Foundation
 18 | import Dispatch
    |        `- error: no such module 'Dispatch'
 19 |
 20 | /// A thread-safe array.
BUILD FAILURE 6.3 wasm