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 TensorFlow, reference master (3c0a68), with Swift 6.2 (beta) for Wasm on 17 Jun 2025 23:14:01 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/octadero/tensorflow.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/octadero/tensorflow
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 3c0a683 Add Input interaction.
Cloned https://github.com/octadero/tensorflow.git
Revision (git rev-parse @):
3c0a683ae4d38abf663ada28ac897eff25fb27f8
SUCCESS checkout https://github.com/octadero/tensorflow.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/octadero/tensorflow.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
Fetching https://github.com/Octadero/MNISTKit.git
Fetching https://github.com/Octadero/MemoryLayoutKit.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.30s)
Fetched https://github.com/Octadero/MemoryLayoutKit.git from cache (0.30s)
Fetched https://github.com/Octadero/MNISTKit.git from cache (0.30s)
[1/39455] Fetching swift-protobuf
Fetched https://github.com/apple/swift-protobuf.git from cache (6.58s)
Computing version for https://github.com/Octadero/MNISTKit.git
Computed https://github.com/Octadero/MNISTKit.git at 0.0.7 (7.00s)
Fetching https://github.com/Octadero/Unarchiver.git
[1/24] Fetching unarchiver
Fetched https://github.com/Octadero/Unarchiver.git from cache (0.22s)
Computing version for https://github.com/Octadero/CTensorFlow.git
Computed https://github.com/Octadero/CTensorFlow.git at 0.1.6 (0.61s)
Computing version for https://github.com/Octadero/Unarchiver.git
Computed https://github.com/Octadero/Unarchiver.git at 0.0.5 (0.41s)
Fetching https://github.com/Octadero/CZlib.git
[1/15] Fetching czlib
Fetched https://github.com/Octadero/CZlib.git from cache (0.22s)
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.24s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.30.0 (0.39s)
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/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.30.0
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/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/CTensorFlow.git
Working copy of https://github.com/Octadero/CTensorFlow.git resolved at 0.1.6
Creating working copy for https://github.com/Octadero/MemoryLayoutKit.git
Working copy of https://github.com/Octadero/MemoryLayoutKit.git resolved at 0.0.4
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/23] Write sources
[1/23] Copying PrivacyInfo.xcprivacy
[1/23] Write sources
[8/23] Write swift-version-24593BA9C3E375BF.txt
[10/112] Compiling SwiftProtobuf JSONDecodingOptions.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
 14 | // -----------------------------------------------------------------------------
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | private func serializeAnyJSON(
[11/112] Compiling SwiftProtobuf JSONEncoder.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
 14 | // -----------------------------------------------------------------------------
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | private func serializeAnyJSON(
[12/112] Compiling SwiftProtobuf JSONEncodingError.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
 14 | // -----------------------------------------------------------------------------
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | private func serializeAnyJSON(
[13/112] Compiling SwiftProtobuf JSONEncodingOptions.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
 14 | // -----------------------------------------------------------------------------
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | private func serializeAnyJSON(
[14/112] Compiling SwiftProtobuf JSONEncodingVisitor.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
 14 | // -----------------------------------------------------------------------------
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | private func serializeAnyJSON(
[15/112] Compiling SwiftProtobuf JSONMapEncodingVisitor.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
 14 | // -----------------------------------------------------------------------------
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | private func serializeAnyJSON(
[16/112] Compiling SwiftProtobuf JSONScanner.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
 14 | // -----------------------------------------------------------------------------
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | private func serializeAnyJSON(
[17/112] Compiling SwiftProtobuf MathUtils.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
 14 | // -----------------------------------------------------------------------------
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | private func serializeAnyJSON(
[18/112] Compiling SwiftProtobuf Message+AnyAdditions.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
 14 | // -----------------------------------------------------------------------------
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | private func serializeAnyJSON(
[19/112] Compiling SwiftProtobuf Message+BinaryAdditions.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
 14 | // -----------------------------------------------------------------------------
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | private func serializeAnyJSON(
[20/112] Compiling SwiftProtobuf Message+BinaryAdditions_Data.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
 14 | // -----------------------------------------------------------------------------
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | private func serializeAnyJSON(
[21/112] Compiling SwiftProtobuf Message+FieldMask.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
 14 | // -----------------------------------------------------------------------------
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | private func serializeAnyJSON(
[22/112] Compiling SwiftProtobuf Google_Protobuf_Duration+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
 14 | // -----------------------------------------------------------------------------
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | private func serializeAnyJSON(
[23/112] Compiling SwiftProtobuf Google_Protobuf_FieldMask+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
 14 | // -----------------------------------------------------------------------------
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | private func serializeAnyJSON(
[24/112] Compiling SwiftProtobuf Google_Protobuf_ListValue+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
 14 | // -----------------------------------------------------------------------------
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | private func serializeAnyJSON(
[25/112] Compiling SwiftProtobuf Google_Protobuf_NullValue+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
 14 | // -----------------------------------------------------------------------------
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | private func serializeAnyJSON(
[26/112] Compiling SwiftProtobuf Google_Protobuf_Struct+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
 14 | // -----------------------------------------------------------------------------
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | private func serializeAnyJSON(
[27/112] Compiling SwiftProtobuf Google_Protobuf_Timestamp+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
 14 | // -----------------------------------------------------------------------------
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | private func serializeAnyJSON(
[28/112] Compiling SwiftProtobuf Google_Protobuf_Value+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
 14 | // -----------------------------------------------------------------------------
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | private func serializeAnyJSON(
[29/112] Compiling SwiftProtobuf Google_Protobuf_Wrappers+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
 14 | // -----------------------------------------------------------------------------
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | private func serializeAnyJSON(
[30/112] Compiling SwiftProtobuf HashVisitor.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
 14 | // -----------------------------------------------------------------------------
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | private func serializeAnyJSON(
[31/112] Compiling SwiftProtobuf Internal.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
 14 | // -----------------------------------------------------------------------------
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | private func serializeAnyJSON(
[32/112] Compiling SwiftProtobuf JSONDecoder.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
 14 | // -----------------------------------------------------------------------------
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | private func serializeAnyJSON(
[33/112] Compiling SwiftProtobuf JSONDecodingError.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
 14 | // -----------------------------------------------------------------------------
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | private func serializeAnyJSON(
[34/123] Compiling SwiftProtobuf Message+JSONAdditions.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
 14 | // -----------------------------------------------------------------------------
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | private func serializeAnyJSON(
[35/123] Compiling SwiftProtobuf Message+JSONAdditions_Data.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
 14 | // -----------------------------------------------------------------------------
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | private func serializeAnyJSON(
[36/123] Compiling SwiftProtobuf Message+JSONArrayAdditions.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
 14 | // -----------------------------------------------------------------------------
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | private func serializeAnyJSON(
[37/123] Compiling SwiftProtobuf Message+JSONArrayAdditions_Data.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
 14 | // -----------------------------------------------------------------------------
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | private func serializeAnyJSON(
[38/123] Compiling SwiftProtobuf Message+TextFormatAdditions.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
 14 | // -----------------------------------------------------------------------------
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | private func serializeAnyJSON(
[39/123] Compiling SwiftProtobuf Message.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
 14 | // -----------------------------------------------------------------------------
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | private func serializeAnyJSON(
[40/123] Compiling SwiftProtobuf MessageExtension.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
 14 | // -----------------------------------------------------------------------------
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | private func serializeAnyJSON(
[41/123] Compiling SwiftProtobuf NameMap.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
 14 | // -----------------------------------------------------------------------------
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | private func serializeAnyJSON(
[42/123] Compiling SwiftProtobuf PathDecoder.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
 14 | // -----------------------------------------------------------------------------
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | private func serializeAnyJSON(
[43/123] Compiling SwiftProtobuf PathVisitor.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
 14 | // -----------------------------------------------------------------------------
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | private func serializeAnyJSON(
[44/123] Compiling SwiftProtobuf ProtoNameProviding.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
 14 | // -----------------------------------------------------------------------------
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | private func serializeAnyJSON(
[45/123] Compiling SwiftProtobuf ProtobufAPIVersionCheck.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
 14 | // -----------------------------------------------------------------------------
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | private func serializeAnyJSON(
[46/123] Compiling MemoryLayoutKit MemoryLayoutKit.swift
/host/spi-builder-workspace/.build/checkouts/MemoryLayoutKit/Sources/MemoryLayoutKit/Array.swift:17:8: error: no such module 'Foundation'
15 |  */
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | public class CharStarConstStar: CustomStringConvertible {
[47/123] Compiling MemoryLayoutKit SynchronizedArray.swift
/host/spi-builder-workspace/.build/checkouts/MemoryLayoutKit/Sources/MemoryLayoutKit/Array.swift:17:8: error: no such module 'Foundation'
15 |  */
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | public class CharStarConstStar: CustomStringConvertible {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[48/123] Emitting module MemoryLayoutKit
/host/spi-builder-workspace/.build/checkouts/MemoryLayoutKit/Sources/MemoryLayoutKit/Array.swift:17:8: error: no such module 'Foundation'
15 |  */
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | public class CharStarConstStar: CustomStringConvertible {
[49/123] Compiling MemoryLayoutKit Array.swift
/host/spi-builder-workspace/.build/checkouts/MemoryLayoutKit/Sources/MemoryLayoutKit/Array.swift:17:8: error: no such module 'Foundation'
15 |  */
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | public class CharStarConstStar: CustomStringConvertible {
[50/123] Compiling MemoryLayoutKit Data.swift
/host/spi-builder-workspace/.build/checkouts/MemoryLayoutKit/Sources/MemoryLayoutKit/Array.swift:17:8: error: no such module 'Foundation'
15 |  */
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | public class CharStarConstStar: CustomStringConvertible {
[51/123] Compiling MemoryLayoutKit General.swift
/host/spi-builder-workspace/.build/checkouts/MemoryLayoutKit/Sources/MemoryLayoutKit/Array.swift:17:8: error: no such module 'Foundation'
15 |  */
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | public class CharStarConstStar: CustomStringConvertible {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[52/123] Emitting module SwiftProtobuf
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
 14 | // -----------------------------------------------------------------------------
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | private func serializeAnyJSON(
BUILD FAILURE 6.2 wasm