Build Information
Failed to build KrakenKit, reference master (cba32f
), with Swift 6.1 for Wasm on 27 May 2025 15:29:00 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/krakencl/krakenkit.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/krakencl/krakenkit
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at cba32fe Add HOW TO repository notice.
Cloned https://github.com/krakencl/krakenkit.git
Revision (git rev-parse @):
cba32fe482765679b891ec6491e74f4e82574ec2
SUCCESS checkout https://github.com/krakencl/krakenkit.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/krakencl/krakenkit.git
https://github.com/krakencl/krakenkit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-protobuf",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-protobuf.git"
},
{
"identity" : "libpng",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.3",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/KrakenCL/LibPNG.git"
}
],
"manifest_display_name" : "KrakenKit",
"name" : "KrakenKit",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Proto",
"targets" : [
"Proto"
],
"type" : {
"library" : [
"static"
]
}
},
{
"name" : "KrakenKit",
"targets" : [
"KrakenKit"
],
"type" : {
"library" : [
"static"
]
}
}
],
"targets" : [
{
"c99name" : "Proto",
"module_type" : "SwiftTarget",
"name" : "Proto",
"path" : "Sources/Proto",
"product_dependencies" : [
"SwiftProtobuf"
],
"product_memberships" : [
"Proto",
"KrakenKit"
],
"sources" : [
"core/debug/debug_service.pb.swift",
"core/debug/debugger_event_metadata.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/iterator.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/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/kernels/boosted_trees/boosted_trees.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/checkpointable_object_graph.pb.swift",
"core/protobuf/cluster.pb.swift",
"core/protobuf/config.pb.swift",
"core/protobuf/control_flow.pb.swift",
"core/protobuf/critical_section.pb.swift",
"core/protobuf/debug.pb.swift",
"core/protobuf/device_properties.pb.swift",
"core/protobuf/eager_service.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/replay_log.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/transport_options.pb.swift",
"core/protobuf/worker.pb.swift",
"core/protobuf/worker_service.pb.swift",
"core/util/event.pb.swift",
"core/util/memmapped_file_system.pb.swift",
"core/util/saved_tensor_slice.pb.swift",
"core/util/test_log.pb.swift"
],
"type" : "library"
},
{
"c99name" : "KrakenKitTests",
"module_type" : "SwiftTarget",
"name" : "KrakenKitTests",
"path" : "Tests/KrakenKitTests",
"sources" : [
"KrakenKitTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"KrakenKit"
],
"type" : "test"
},
{
"c99name" : "KrakenKit",
"module_type" : "SwiftTarget",
"name" : "KrakenKit",
"path" : "Sources/KrakenKit",
"product_dependencies" : [
"LibPNG"
],
"product_memberships" : [
"KrakenKit"
],
"sources" : [
"DataType.swift",
"FileWriter.swift",
"Histogram.swift",
"KrakenKit.swift",
"Record.swift",
"Summary.swift",
"Tensor+Proto.swift"
],
"target_dependencies" : [
"Proto"
],
"type" : "library"
}
],
"tools_version" : "4.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/KrakenCL/LibPNG.git
[1/57] Fetching libpng
Fetched https://github.com/KrakenCL/LibPNG.git from cache (0.29s)
[1/38968] Fetching swift-protobuf
Fetched https://github.com/apple/swift-protobuf.git from cache (6.68s)
Computing version for https://github.com/KrakenCL/LibPNG.git
Computed https://github.com/KrakenCL/LibPNG.git at 0.0.3 (7.43s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.29.0 (0.62s)
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/KrakenCL/LibPNG.git
Working copy of https://github.com/KrakenCL/LibPNG.git resolved at 0.0.3
warning: you may be able to install libpng using your system-packager:
apt-get install libpng
warning: you may be able to install libpng using your system-packager:
apt-get install libpng
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[1/15] Write sources
[2/15] Copying PrivacyInfo.xcprivacy
[2/15] Write sources
[6/15] Write swift-version-24593BA9C3E375BF.txt
[8/100] Emitting module SwiftProtobuf
[9/111] Compiling LibPNG LibPNG.swift
/host/spi-builder-workspace/.build/checkouts/LibPNG/Library/CPNG/module.modulemap:2:10: error: header '/usr/local/include/png.h' not found
1 | module CPNG [system] {
2 | header "/usr/local/include/png.h"
| `- error: header '/usr/local/include/png.h' not found
3 | link "png"
4 | export *
/host/spi-builder-workspace/.build/checkouts/LibPNG/Sources/LibPNG/LibPNG.swift:19:8: error: could not build C module 'CPNG'
17 |
18 | import Foundation
19 | import CPNG
| `- error: could not build C module 'CPNG'
20 |
21 | public typealias Pixel = UInt8
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/111] Emitting module LibPNG
/host/spi-builder-workspace/.build/checkouts/LibPNG/Library/CPNG/module.modulemap:2:10: error: header '/usr/local/include/png.h' not found
1 | module CPNG [system] {
2 | header "/usr/local/include/png.h"
| `- error: header '/usr/local/include/png.h' not found
3 | link "png"
4 | export *
/host/spi-builder-workspace/.build/checkouts/LibPNG/Sources/LibPNG/LibPNG.swift:19:8: error: could not build C module 'CPNG'
17 |
18 | import Foundation
19 | import CPNG
| `- error: could not build C module 'CPNG'
20 |
21 | public typealias Pixel = UInt8
[11/111] Compiling SwiftProtobuf CustomJSONCodable.swift
[12/111] Compiling SwiftProtobuf Decoder.swift
[13/111] Compiling SwiftProtobuf DoubleParser.swift
[14/111] Compiling SwiftProtobuf Enum.swift
[15/111] Compiling SwiftProtobuf ExtensibleMessage.swift
[16/111] Compiling SwiftProtobuf ExtensionFieldValueSet.swift
[17/111] Compiling SwiftProtobuf ExtensionFields.swift
[18/111] Compiling SwiftProtobuf ExtensionMap.swift
[19/111] Compiling SwiftProtobuf FieldTag.swift
[20/111] Compiling SwiftProtobuf FieldTypes.swift
[21/111] Compiling SwiftProtobuf Google_Protobuf_Any+Extensions.swift
[22/111] Compiling SwiftProtobuf Google_Protobuf_Any+Registry.swift
[23/111] Compiling SwiftProtobuf ProtobufMap.swift
[24/111] Compiling SwiftProtobuf SelectiveVisitor.swift
[25/111] Compiling SwiftProtobuf SimpleExtensionMap.swift
[26/111] Compiling SwiftProtobuf StringUtils.swift
[27/111] Compiling SwiftProtobuf SwiftProtobufContiguousBytes.swift
[28/111] Compiling SwiftProtobuf SwiftProtobufError.swift
[29/111] Compiling SwiftProtobuf TextFormatDecoder.swift
[30/111] Compiling SwiftProtobuf TextFormatDecodingError.swift
[31/111] Compiling SwiftProtobuf TextFormatDecodingOptions.swift
[32/111] Compiling SwiftProtobuf TextFormatEncoder.swift
[33/111] Compiling SwiftProtobuf TextFormatEncodingOptions.swift
[34/111] Compiling SwiftProtobuf Google_Protobuf_Duration+Extensions.swift
[35/111] Compiling SwiftProtobuf Google_Protobuf_FieldMask+Extensions.swift
[36/111] Compiling SwiftProtobuf Google_Protobuf_ListValue+Extensions.swift
[37/111] Compiling SwiftProtobuf Google_Protobuf_NullValue+Extensions.swift
[38/111] Compiling SwiftProtobuf Google_Protobuf_Struct+Extensions.swift
[39/111] Compiling SwiftProtobuf Google_Protobuf_Timestamp+Extensions.swift
[40/111] Compiling SwiftProtobuf Google_Protobuf_Value+Extensions.swift
[41/111] Compiling SwiftProtobuf Google_Protobuf_Wrappers+Extensions.swift
[42/111] Compiling SwiftProtobuf HashVisitor.swift
[43/111] Compiling SwiftProtobuf Internal.swift
[44/111] Compiling SwiftProtobuf JSONDecoder.swift
[45/111] Compiling SwiftProtobuf JSONDecodingError.swift
[46/111] Compiling SwiftProtobuf JSONDecodingOptions.swift
[47/111] Compiling SwiftProtobuf JSONEncoder.swift
[48/111] Compiling SwiftProtobuf JSONEncodingError.swift
[49/111] Compiling SwiftProtobuf JSONEncodingOptions.swift
[50/111] Compiling SwiftProtobuf JSONEncodingVisitor.swift
[51/111] Compiling SwiftProtobuf JSONMapEncodingVisitor.swift
[52/111] Compiling SwiftProtobuf JSONScanner.swift
[53/111] Compiling SwiftProtobuf MathUtils.swift
[54/111] Compiling SwiftProtobuf Message+AnyAdditions.swift
[55/111] Compiling SwiftProtobuf Message+BinaryAdditions.swift
[56/111] Compiling SwiftProtobuf Message+BinaryAdditions_Data.swift
[57/111] Compiling SwiftProtobuf Message+FieldMask.swift
[58/111] Compiling SwiftProtobuf TextFormatEncodingVisitor.swift
[59/111] Compiling SwiftProtobuf TextFormatScanner.swift
[60/111] Compiling SwiftProtobuf TimeUtils.swift
[61/111] Compiling SwiftProtobuf UnknownStorage.swift
[62/111] Compiling SwiftProtobuf UnsafeRawPointer+Shims.swift
[63/111] Compiling SwiftProtobuf Varint.swift
[64/111] Compiling SwiftProtobuf Version.swift
[65/111] Compiling SwiftProtobuf Visitor.swift
[66/111] Compiling SwiftProtobuf WireFormat.swift
[67/111] Compiling SwiftProtobuf ZigZag.swift
[68/111] Compiling SwiftProtobuf any.pb.swift
[69/111] Compiling SwiftProtobuf Message+JSONAdditions.swift
[70/111] Compiling SwiftProtobuf Message+JSONAdditions_Data.swift
[71/111] Compiling SwiftProtobuf Message+JSONArrayAdditions.swift
[72/111] Compiling SwiftProtobuf Message+JSONArrayAdditions_Data.swift
[73/111] Compiling SwiftProtobuf Message+TextFormatAdditions.swift
[74/111] Compiling SwiftProtobuf Message.swift
[75/111] Compiling SwiftProtobuf MessageExtension.swift
[76/111] Compiling SwiftProtobuf NameMap.swift
[77/111] Compiling SwiftProtobuf PathDecoder.swift
[78/111] Compiling SwiftProtobuf PathVisitor.swift
[79/111] Compiling SwiftProtobuf ProtoNameProviding.swift
[80/111] Compiling SwiftProtobuf ProtobufAPIVersionCheck.swift
[81/111] Compiling SwiftProtobuf AnyMessageStorage.swift
[82/111] Compiling SwiftProtobuf AnyUnpackError.swift
[83/111] Compiling SwiftProtobuf AsyncMessageSequence.swift
[84/111] Compiling SwiftProtobuf BinaryDecoder.swift
[85/111] Compiling SwiftProtobuf BinaryDecodingError.swift
[86/111] Compiling SwiftProtobuf BinaryDecodingOptions.swift
[87/111] Compiling SwiftProtobuf BinaryDelimited.swift
[88/111] Compiling SwiftProtobuf BinaryEncoder.swift
[89/111] Compiling SwiftProtobuf BinaryEncodingError.swift
[90/111] Compiling SwiftProtobuf BinaryEncodingOptions.swift
[91/111] Compiling SwiftProtobuf BinaryEncodingSizeVisitor.swift
[92/111] Compiling SwiftProtobuf BinaryEncodingVisitor.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: you may be able to install libpng using your system-packager:
apt-get install libpng
warning: you may be able to install libpng using your system-packager:
apt-get install libpng
[0/1] Planning build
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[1/10] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/95] Emitting module LibPNG
/host/spi-builder-workspace/.build/checkouts/LibPNG/Library/CPNG/module.modulemap:2:10: error: header '/usr/local/include/png.h' not found
1 | module CPNG [system] {
2 | header "/usr/local/include/png.h"
| `- error: header '/usr/local/include/png.h' not found
3 | link "png"
4 | export *
/host/spi-builder-workspace/.build/checkouts/LibPNG/Sources/LibPNG/LibPNG.swift:19:8: error: could not build C module 'CPNG'
17 |
18 | import Foundation
19 | import CPNG
| `- error: could not build C module 'CPNG'
20 |
21 | public typealias Pixel = UInt8
[4/95] Compiling LibPNG LibPNG.swift
/host/spi-builder-workspace/.build/checkouts/LibPNG/Library/CPNG/module.modulemap:2:10: error: header '/usr/local/include/png.h' not found
1 | module CPNG [system] {
2 | header "/usr/local/include/png.h"
| `- error: header '/usr/local/include/png.h' not found
3 | link "png"
4 | export *
/host/spi-builder-workspace/.build/checkouts/LibPNG/Sources/LibPNG/LibPNG.swift:19:8: error: could not build C module 'CPNG'
17 |
18 | import Foundation
19 | import CPNG
| `- error: could not build C module 'CPNG'
20 |
21 | public typealias Pixel = UInt8
BUILD FAILURE 6.1 wasm