Build Information
Failed to build Honeycrisp, reference main (0016ca), with Swift 6.1 for Wasm on 31 May 2025 07:30:17 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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/unixpickle/honeycrisp.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/unixpickle/honeycrisp
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 0016cad cleanup sampling
Cloned https://github.com/unixpickle/honeycrisp.git
Revision (git rev-parse @):
0016cad22f163daf8b2cd0b46a1a25ca6a6b6e08
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/unixpickle/honeycrisp.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/unixpickle/honeycrisp.git
https://github.com/unixpickle/honeycrisp.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-syntax",
"requirement" : {
"range" : [
{
"lower_bound" : "600.0.0",
"upper_bound" : "601.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-syntax.git"
},
{
"identity" : "gzipswift",
"requirement" : {
"range" : [
{
"lower_bound" : "6.0.0",
"upper_bound" : "6.1.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/1024jp/GzipSwift"
},
{
"identity" : "coreml-builder",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/unixpickle/coreml-builder.git"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-docc-plugin"
}
],
"manifest_display_name" : "Honeycrisp",
"name" : "Honeycrisp",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "ios",
"version" : "16.0"
}
],
"products" : [
{
"name" : "HCBacktrace",
"targets" : [
"HCBacktrace"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Honeycrisp",
"targets" : [
"Honeycrisp"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "HCTestUtils",
"targets" : [
"HCTestUtils"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "HCMatrixBench",
"targets" : [
"HCMatrixBench"
],
"type" : {
"executable" : null
}
},
{
"name" : "HCBacktraceMacros",
"targets" : [
"HCBacktraceMacros"
],
"type" : {
"macro" : null
}
}
],
"swift_languages_versions" : [
"5",
"6"
],
"targets" : [
{
"c99name" : "HoneycrispTests",
"module_type" : "SwiftTarget",
"name" : "HoneycrispTests",
"path" : "Tests/HoneycrispTests",
"sources" : [
"HoneycrispTests.swift"
],
"target_dependencies" : [
"Honeycrisp",
"HCTestUtils"
],
"type" : "test"
},
{
"c99name" : "Honeycrisp",
"module_type" : "SwiftTarget",
"name" : "Honeycrisp",
"path" : "Sources/Honeycrisp",
"product_dependencies" : [
"CoreMLBuilder"
],
"product_memberships" : [
"Honeycrisp",
"HCTestUtils",
"HCMatrixBench"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/Honeycrisp/Resources/kernels.txt",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Backend.swift",
"BackendCPU.swift",
"BackendCoreML.swift",
"BackendMPS.swift",
"BackendWrapper.swift",
"BinaryOps.swift",
"BitwiseOps.swift",
"Broadcast.swift",
"Checkpoint.swift",
"Clamp.swift",
"Comparison.swift",
"ConcatSplit.swift",
"Conv.swift",
"Cumulative.swift",
"DataUtil.swift",
"Debug.swift",
"Elemwise.swift",
"FusedOps.swift",
"Index.swift",
"Linalg.swift",
"OneHot.swift",
"Optimizer.swift",
"PrimitiveExtensions.swift",
"Random.swift",
"ReduceRepeat.swift",
"ScatterGather.swift",
"Softmax.swift",
"Sort.swift",
"State.swift",
"Tensor.swift",
"TensorElement.swift",
"Trainable.swift",
"When.swift"
],
"target_dependencies" : [
"HCBacktrace"
],
"type" : "library"
},
{
"c99name" : "HCTestUtils",
"module_type" : "SwiftTarget",
"name" : "HCTestUtils",
"path" : "Sources/HCTestUtils",
"product_dependencies" : [
"Gzip"
],
"product_memberships" : [
"HCTestUtils"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/HCTestUtils/Resources/conv2d.json.gz",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/HCTestUtils/Resources/conv2d_test_gen.py",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Assertions.swift",
"BackendTests.swift",
"Unsafe.swift"
],
"target_dependencies" : [
"Honeycrisp"
],
"type" : "library"
},
{
"c99name" : "HCMatrixBench",
"module_type" : "SwiftTarget",
"name" : "HCMatrixBench",
"path" : "Sources/HCMatrixBench",
"product_memberships" : [
"HCMatrixBench"
],
"sources" : [
"Entrypoint.swift"
],
"target_dependencies" : [
"Honeycrisp"
],
"type" : "executable"
},
{
"c99name" : "HCBacktraceMacros",
"module_type" : "SwiftTarget",
"name" : "HCBacktraceMacros",
"path" : "Sources/HCBacktrace/Macros",
"product_dependencies" : [
"SwiftSyntaxMacros",
"SwiftCompilerPlugin"
],
"product_memberships" : [
"HCBacktrace",
"Honeycrisp",
"HCTestUtils",
"HCMatrixBench",
"HCBacktraceMacros"
],
"sources" : [
"AlwaysAssert.swift",
"Plugin.swift",
"RecordCaller.swift"
],
"type" : "macro"
},
{
"c99name" : "HCBacktrace",
"module_type" : "SwiftTarget",
"name" : "HCBacktrace",
"path" : "Sources/HCBacktrace/Interface",
"product_memberships" : [
"HCBacktrace",
"Honeycrisp",
"HCTestUtils",
"HCMatrixBench"
],
"sources" : [
"Backtrace.swift",
"Block.swift",
"Macros.swift"
],
"target_dependencies" : [
"HCBacktraceMacros"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
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 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/swiftlang/swift-syntax.git
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/1024jp/GzipSwift
Fetching https://github.com/unixpickle/coreml-builder.git
[1/220] Fetching coreml-builder
[221/1769] Fetching coreml-builder, gzipswift
[1770/3818] Fetching coreml-builder, gzipswift, swift-docc-plugin
Fetched https://github.com/unixpickle/coreml-builder.git from cache (0.91s)
[1/70541] Fetching swift-syntax
Fetched https://github.com/1024jp/GzipSwift from cache (6.44s)
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (6.45s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (6.50s)
Computing version for https://github.com/unixpickle/coreml-builder.git
Computed https://github.com/unixpickle/coreml-builder.git at 0.2.1 (7.34s)
Fetching https://github.com/apple/swift-protobuf
Fetching https://github.com/apple/swift-argument-parser
[1/15386] Fetching swift-argument-parser
[15387/54708] Fetching swift-argument-parser, swift-protobuf
Fetched https://github.com/apple/swift-argument-parser from cache (0.98s)
[394/39322] Fetching swift-protobuf
Fetched https://github.com/apple/swift-protobuf from cache (7.78s)
Computing version for https://github.com/1024jp/GzipSwift
Computed https://github.com/1024jp/GzipSwift at 6.0.1 (10.48s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (0.77s)
Computing version for https://github.com/apple/swift-protobuf
Computed https://github.com/apple/swift-protobuf at 1.30.0 (0.56s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.57s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.63s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3392] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.88s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.00s)
Creating working copy for https://github.com/unixpickle/coreml-builder.git
Working copy of https://github.com/unixpickle/coreml-builder.git resolved at 0.2.1
Creating working copy for https://github.com/apple/swift-protobuf
Working copy of https://github.com/apple/swift-protobuf resolved at 1.30.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/1024jp/GzipSwift
Working copy of https://github.com/1024jp/GzipSwift resolved at 6.0.1
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-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.1
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin SwiftProtobufPlugin
[4/4] Compiling plugin GenerateManual
Building for debugging...
[4/59] Write sources
[4/59] Copying PrivacyInfo.xcprivacy
[4/59] Write sources
[4/59] Copying conv2d_test_gen.py
[4/59] Copying kernels.txt
[4/59] Write sources
[19/59] Copying conv2d.json.gz
[31/59] Compiling _SwiftSyntaxCShims dummy.c
[32/59] Compiling system-zlib anchor.c
[33/59] Write swift-version-24593BA9C3E375BF.txt
[35/150] Emitting module SwiftSyntax600
[36/150] Emitting module SwiftSyntax509
[37/150] Compiling SwiftSyntax509 Empty.swift
[38/151] Emitting module SwiftSyntax510
[39/151] Compiling SwiftSyntax510 Empty.swift
[42/152] Compiling SwiftSyntax600 Empty.swift
[42/153] Wrapping AST for SwiftSyntax510 for debugging
[43/153] Wrapping AST for SwiftSyntax509 for debugging
[45/153] Wrapping AST for SwiftSyntax600 for debugging
[47/217] Emitting module SwiftProtobuf
error: emit-module command failed with exit code 1 (use -v to see invocation)
[48/228] Emitting module Gzip
/host/spi-builder-workspace/.build/checkouts/GzipSwift/Sources/Gzip/Data+Gzip.swift:34:12: error: no such module 'zlib'
32 | import zlibLinux
33 | #else
34 | import zlib
| `- error: no such module 'zlib'
35 | #endif
36 |
[49/228] Compiling Gzip Data+Gzip.swift
/host/spi-builder-workspace/.build/checkouts/GzipSwift/Sources/Gzip/Data+Gzip.swift:34:12: error: no such module 'zlib'
32 | import zlibLinux
33 | #else
34 | import zlib
| `- error: no such module 'zlib'
35 | #endif
36 |
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
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin SwiftProtobufPlugin
[4/4] Compiling plugin GenerateManual
Building for debugging...
[4/30] Write swift-version-24593BA9C3E375BF.txt
[6/89] Compiling SwiftSyntax510 Empty.swift
[7/121] Emitting module SwiftSyntax509
[8/121] Emitting module SwiftSyntax510
[9/122] Compiling SwiftSyntax509 Empty.swift
[10/123] Emitting module SwiftSyntax600
[11/123] Compiling SwiftSyntax600 Empty.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/133] Emitting module Gzip
/host/spi-builder-workspace/.build/checkouts/GzipSwift/Sources/Gzip/Data+Gzip.swift:34:12: error: no such module 'zlib'
32 | import zlibLinux
33 | #else
34 | import zlib
| `- error: no such module 'zlib'
35 | #endif
36 |
[16/133] Compiling Gzip Data+Gzip.swift
/host/spi-builder-workspace/.build/checkouts/GzipSwift/Sources/Gzip/Data+Gzip.swift:34:12: error: no such module 'zlib'
32 | import zlibLinux
33 | #else
34 | import zlib
| `- error: no such module 'zlib'
35 | #endif
36 |
BUILD FAILURE 6.1 wasm