Build Information
Failed to build TensorFlow, reference 0.0.9 (05bd91
), with Swift 6.1 for Wasm on 27 May 2025 11:36:43 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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
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.1
Building package at path: $PWD
https://github.com/octadero/tensorflow.git
https://github.com/octadero/tensorflow.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "ctensorflow",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.6",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Octadero/CTensorFlow.git"
},
{
"identity" : "mnistkit",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.7",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Octadero/MNISTKit.git"
},
{
"identity" : "memorylayoutkit",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.3",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Octadero/MemoryLayoutKit.git"
},
{
"identity" : "swift-protobuf",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-protobuf.git"
}
],
"manifest_display_name" : "TensorFlow",
"name" : "TensorFlow",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "OpProducer",
"targets" : [
"OpProducer"
],
"type" : {
"executable" : null
}
},
{
"name" : "Proto",
"targets" : [
"Proto"
],
"type" : {
"library" : [
"static"
]
}
},
{
"name" : "CAPI",
"targets" : [
"CAPI"
],
"type" : {
"library" : [
"static"
]
}
},
{
"name" : "TensorFlowKit",
"targets" : [
"TensorFlowKit"
],
"type" : {
"library" : [
"static"
]
}
}
],
"targets" : [
{
"c99name" : "TensorFlowKitTests",
"module_type" : "SwiftTarget",
"name" : "TensorFlowKitTests",
"path" : "Tests/TensorFlowKitTests",
"product_dependencies" : [
"MNISTKit"
],
"sources" : [
"TensorFlowKitTests.swift"
],
"target_dependencies" : [
"Proto",
"TensorFlowKit",
"CAPI"
],
"type" : "test"
},
{
"c99name" : "TensorFlowKit",
"module_type" : "SwiftTarget",
"name" : "TensorFlowKit",
"path" : "Sources/TensorFlowKit",
"product_dependencies" : [
"MemoryLayoutKit"
],
"product_memberships" : [
"TensorFlowKit"
],
"sources" : [
"FileWriter.swift",
"Graph.swift",
"OpWrapper.swift",
"Operation.swift",
"OperationSpecification.swift",
"OperationsGraph.swift",
"Output.swift",
"Record.swift",
"SavedModel.swift",
"Scope.swift",
"ScopeTool.swift",
"Session.swift",
"SessionOptions.swift",
"Shape.swift",
"Status.swift",
"Summary.swift",
"Tensor.swift",
"TensorFlowKit.swift"
],
"target_dependencies" : [
"Proto",
"CAPI"
],
"type" : "library"
},
{
"c99name" : "Proto",
"module_type" : "SwiftTarget",
"name" : "Proto",
"path" : "Sources/Proto",
"product_dependencies" : [
"SwiftProtobuf"
],
"product_memberships" : [
"OpProducer",
"Proto",
"CAPI",
"TensorFlowKit"
],
"sources" : [
"compiler/tf2xla/tf2xla.pb.swift",
"compiler/xla/service/hlo.pb.swift",
"compiler/xla/service/session.pb.swift",
"compiler/xla/xla.pb.swift",
"compiler/xla/xla_data.pb.swift",
"contrib/boosted_trees/proto/learner.pb.swift",
"contrib/boosted_trees/proto/quantiles.pb.swift",
"contrib/boosted_trees/proto/split_info.pb.swift",
"contrib/boosted_trees/proto/tree_config.pb.swift",
"contrib/cloud/kernels/bigquery_table_partition.pb.swift",
"contrib/decision_trees/proto/generic_tree_model.pb.swift",
"contrib/decision_trees/proto/generic_tree_model_extensions.pb.swift",
"contrib/gdr/gdr.pb.swift",
"contrib/mpi/mpi_msg.pb.swift",
"contrib/mpi_collectives/mpi_message.pb.swift",
"contrib/session_bundle/manifest.pb.swift",
"contrib/tensor_forest/proto/fertile_stats.pb.swift",
"contrib/tensor_forest/proto/tensor_forest_params.pb.swift",
"contrib/tensorboard/graph_explorer/proto/graph_explorer.pb.swift",
"contrib/tensorboard/plugins/projector/projector_config.pb.swift",
"contrib/tensorboard/plugins/trace/trace_info.pb.swift",
"contrib/tpu/profiler/op_profile.pb.swift",
"contrib/tpu/profiler/tpu_profiler.pb.swift",
"contrib/tpu/profiler/trace_events.pb.swift",
"contrib/training/python/training/hparam.pb.swift",
"contrib/verbs/verbs_service.pb.swift",
"core/debug/debug_service.pb.swift",
"core/debug/debugger_event_metadata.pb.swift",
"core/example/example.pb.swift",
"core/example/example_parser_configuration.pb.swift",
"core/example/feature.pb.swift",
"core/framework/allocation_description.pb.swift",
"core/framework/api_def.pb.swift",
"core/framework/attr_value.pb.swift",
"core/framework/cost_graph.pb.swift",
"core/framework/device_attributes.pb.swift",
"core/framework/function.pb.swift",
"core/framework/graph.pb.swift",
"core/framework/graph_transfer_info.pb.swift",
"core/framework/kernel_def.pb.swift",
"core/framework/log_memory.pb.swift",
"core/framework/node_def.pb.swift",
"core/framework/op_def.pb.swift",
"core/framework/op_gen_overrides.pb.swift",
"core/framework/reader_base.pb.swift",
"core/framework/remote_fused_graph_execute_info.pb.swift",
"core/framework/resource_handle.pb.swift",
"core/framework/step_stats.pb.swift",
"core/framework/summary.pb.swift",
"core/framework/tensor.pb.swift",
"core/framework/tensor_description.pb.swift",
"core/framework/tensor_shape.pb.swift",
"core/framework/tensor_slice.pb.swift",
"core/framework/types.pb.swift",
"core/framework/variable.pb.swift",
"core/framework/versions.pb.swift",
"core/grappler/costs/op_performance_data.pb.swift",
"core/lib/core/error_codes.pb.swift",
"core/profiler/profile.pb.swift",
"core/profiler/tfprof_log.pb.swift",
"core/profiler/tfprof_options.pb.swift",
"core/profiler/tfprof_output.pb.swift",
"core/protobuf/cluster.pb.swift",
"core/protobuf/config.pb.swift",
"core/protobuf/control_flow.pb.swift",
"core/protobuf/debug.pb.swift",
"core/protobuf/device_properties.pb.swift",
"core/protobuf/master.pb.swift",
"core/protobuf/master_service.pb.swift",
"core/protobuf/meta_graph.pb.swift",
"core/protobuf/named_tensor.pb.swift",
"core/protobuf/queue_runner.pb.swift",
"core/protobuf/rewriter_config.pb.swift",
"core/protobuf/saved_model.pb.swift",
"core/protobuf/saver.pb.swift",
"core/protobuf/tensor_bundle.pb.swift",
"core/protobuf/tensorflow_server.pb.swift",
"core/protobuf/worker.pb.swift",
"core/protobuf/worker_service.pb.swift",
"core/util/event.pb.swift",
"core/util/example_proto_fast_parsing_test.pb.swift",
"core/util/memmapped_file_system.pb.swift",
"core/util/saved_tensor_slice.pb.swift",
"core/util/test_log.pb.swift",
"python/framework/cpp_shape_inference.pb.swift",
"python/training/checkpoint_state.pb.swift",
"python/util/protobuf/compare_test.pb.swift",
"tools/api/lib/api_objects.pb.swift",
"tools/proto_text/test.pb.swift"
],
"type" : "library"
},
{
"c99name" : "OptimizerTests",
"module_type" : "SwiftTarget",
"name" : "OptimizerTests",
"path" : "Tests/OptimizerTests",
"product_dependencies" : [
"MNISTKit"
],
"sources" : [
"OptimizerTests.swift"
],
"target_dependencies" : [
"Proto",
"CAPI",
"TensorFlowKit"
],
"type" : "test"
},
{
"c99name" : "OpProducer",
"module_type" : "SwiftTarget",
"name" : "OpProducer",
"path" : "Sources/OpProducer",
"product_memberships" : [
"OpProducer"
],
"sources" : [
"Containers.swift",
"SourceCodeProducer.swift",
"String.swift",
"main.swift"
],
"target_dependencies" : [
"Proto",
"CAPI"
],
"type" : "executable"
},
{
"c99name" : "MNISTTests",
"module_type" : "SwiftTarget",
"name" : "MNISTTests",
"path" : "Tests/MNISTTests",
"product_dependencies" : [
"MNISTKit"
],
"sources" : [
"MNISTTests.swift"
],
"target_dependencies" : [
"Proto",
"CAPI",
"TensorFlowKit"
],
"type" : "test"
},
{
"c99name" : "CAPITests",
"module_type" : "SwiftTarget",
"name" : "CAPITests",
"path" : "Tests/CAPITests",
"sources" : [
"CAPITests.swift"
],
"target_dependencies" : [
"Proto",
"CAPI"
],
"type" : "test"
},
{
"c99name" : "CAPIOperationsTests",
"module_type" : "SwiftTarget",
"name" : "CAPIOperationsTests",
"path" : "Tests/CAPIOperationsTests",
"sources" : [
"CAPIOperationsTests.swift"
],
"target_dependencies" : [
"Proto",
"CAPI"
],
"type" : "test"
},
{
"c99name" : "CAPI",
"module_type" : "SwiftTarget",
"name" : "CAPI",
"path" : "Sources/CAPI",
"product_dependencies" : [
"MemoryLayoutKit"
],
"product_memberships" : [
"OpProducer",
"CAPI",
"TensorFlowKit"
],
"sources" : [
"Buffer.swift",
"CAPI.swift",
"Extensions.swift",
"Gradients.swift",
"Graph.swift",
"Library.swift",
"Session.swift",
"Status.swift",
"String.swift",
"Tensor.swift"
],
"target_dependencies" : [
"Proto"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/Octadero/MemoryLayoutKit.git
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/Octadero/MNISTKit.git
Fetching https://github.com/Octadero/CTensorFlow.git
[1/16] Fetching ctensorflow
[17/70] Fetching ctensorflow, memorylayoutkit
[71/208] Fetching ctensorflow, memorylayoutkit, mnistkit
[209/39162] Fetching ctensorflow, memorylayoutkit, mnistkit, swift-protobuf
Fetched https://github.com/Octadero/MNISTKit.git from cache (6.12s)
Fetched https://github.com/Octadero/MemoryLayoutKit.git from cache (6.12s)
Fetched https://github.com/Octadero/CTensorFlow.git from cache (6.12s)
Fetched https://github.com/apple/swift-protobuf.git from cache (6.18s)
Computing version for https://github.com/Octadero/MNISTKit.git
Computed https://github.com/Octadero/MNISTKit.git at 0.0.7 (6.67s)
Fetching https://github.com/Octadero/Unarchiver.git
[1/24] Fetching unarchiver
Fetched https://github.com/Octadero/Unarchiver.git from cache (0.27s)
Computing version for https://github.com/Octadero/CTensorFlow.git
Computed https://github.com/Octadero/CTensorFlow.git at 0.1.6 (0.73s)
Computing version for https://github.com/Octadero/Unarchiver.git
Computed https://github.com/Octadero/Unarchiver.git at 0.0.5 (1.32s)
Fetching https://github.com/Octadero/CZlib.git
[1/15] Fetching czlib
Fetched https://github.com/Octadero/CZlib.git from cache (0.34s)
Computing version for https://github.com/Octadero/CZlib.git
Computed https://github.com/Octadero/CZlib.git at 0.0.5 (0.82s)
Computing version for https://github.com/Octadero/MemoryLayoutKit.git
Computed https://github.com/Octadero/MemoryLayoutKit.git at 0.0.4 (2.69s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.29.0 (0.66s)
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/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.29.0
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/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/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/23] Write sources
[7/23] Copying PrivacyInfo.xcprivacy
[8/23] Write swift-version-24593BA9C3E375BF.txt
[10/112] Emitting module SwiftProtobuf
[11/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.
[12/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.
[13/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.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/123] 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.
[15/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.
[16/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.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
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
[0/1] Planning build
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[1/16] Write swift-version-24593BA9C3E375BF.txt
[3/86] 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.
[4/105] 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.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/105] 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.
[6/105] 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.
[7/105] 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.
[8/105] 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.
BUILD FAILURE 6.1 wasm