Build Information
Failed to build Honeycrisp, reference v0.0.33 (35b392), with Swift 6.1 for Wasm on 31 May 2025 07:31:30 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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: v0.0.33
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
* tag v0.0.33 -> FETCH_HEAD
HEAD is now at 35b3925 more general typed getters
Cloned https://github.com/unixpickle/honeycrisp.git
Revision (git rev-parse @):
35b392583e573fe47085f0d9022e1fbd9ea51bce
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/unixpickle/honeycrisp.git at v0.0.33
========================================
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-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 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/1024jp/GzipSwift
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/unixpickle/coreml-builder.git
[1/1549] Fetching gzipswift
[1489/3598] Fetching gzipswift, swift-docc-plugin
[1776/3818] Fetching gzipswift, swift-docc-plugin, coreml-builder
Fetched https://github.com/unixpickle/coreml-builder.git from cache (0.47s)
[1816/3598] Fetching gzipswift, swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.68s)
[1/70541] Fetching swift-syntax
Fetched https://github.com/1024jp/GzipSwift from cache (6.17s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (6.24s)
Computing version for https://github.com/unixpickle/coreml-builder.git
Computed https://github.com/unixpickle/coreml-builder.git at 0.2.1 (7.05s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-protobuf
[1/15386] Fetching swift-argument-parser
[15387/54708] Fetching swift-argument-parser, swift-protobuf
Fetched https://github.com/apple/swift-argument-parser from cache (7.11s)
Fetched https://github.com/apple/swift-protobuf from cache (7.21s)
Computing version for https://github.com/1024jp/GzipSwift
Computed https://github.com/1024jp/GzipSwift at 6.0.1 (11.79s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (1.21s)
Computing version for https://github.com/apple/swift-protobuf
Computed https://github.com/apple/swift-protobuf at 1.30.0 (0.84s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.66s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (1.11s)
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.67s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.90s)
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/apple/swift-protobuf
Working copy of https://github.com/apple/swift-protobuf resolved at 1.30.0
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/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/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
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
[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 kernels.txt
[4/59] Copying conv2d_test_gen.py
[4/59] Write sources
[4/59] Copying conv2d.json.gz
[4/59] Write sources
[31/59] Compiling _SwiftSyntaxCShims dummy.c
[32/59] Compiling system-zlib anchor.c
[33/59] Write swift-version-24593BA9C3E375BF.txt
[35/67] Emitting module SwiftSyntax510
[36/150] Compiling SwiftSyntax510 Empty.swift
[37/150] Emitting module SwiftSyntax600
[38/151] Compiling SwiftSyntax600 Empty.swift
[39/151] Emitting module SwiftSyntax509
[40/151] Compiling SwiftSyntax509 Empty.swift
[43/153] Wrapping AST for SwiftSyntax510 for debugging
[44/153] Wrapping AST for SwiftSyntax509 for debugging
[45/175] Wrapping AST for SwiftSyntax600 for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[47/217] 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 |
[48/217] 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 |
[49/217] Compiling SwiftSyntax MemoryLayout.swift
[50/217] Compiling SwiftSyntax MissingNodeInitializers.swift
[51/217] Compiling SwiftSyntax RawSyntax.swift
[52/217] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[53/217] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[54/217] Compiling SwiftSyntax RawSyntaxTokenView.swift
[55/217] Compiling SwiftSyntax SourceEdit.swift
[56/217] Compiling SwiftSyntax SourceLength.swift
[57/217] Compiling SwiftSyntax SourceLocation.swift
[58/217] Compiling SwiftSyntax AbsolutePosition.swift
[59/217] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[60/217] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[61/217] Compiling SwiftSyntax Assert.swift
[62/217] Compiling SwiftSyntax BumpPtrAllocator.swift
[63/217] Compiling SwiftSyntax CommonAncestor.swift
[64/217] Compiling SwiftSyntax Convenience.swift
[65/217] Compiling SwiftSyntax CustomTraits.swift
[66/217] Compiling SwiftSyntax Identifier.swift
[73/217] Compiling SwiftSyntax SourcePresence.swift
[74/217] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[75/217] Compiling SwiftSyntax Syntax.swift
[76/217] Compiling SwiftSyntax SyntaxArena.swift
[77/217] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[78/217] Compiling SwiftSyntax SyntaxChildren.swift
[85/236] Compiling SwiftSyntax SyntaxCollection.swift
[86/236] Compiling SwiftSyntax SyntaxHashable.swift
[87/236] Compiling SwiftSyntax SyntaxIdentifier.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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: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/47] Compiling SwiftSyntax509 Empty.swift
[7/70] Compiling SwiftSyntax510 Empty.swift
[8/93] Emitting module SwiftSyntax510
[9/93] Compiling SwiftSyntax600 Empty.swift
[10/122] Emitting module SwiftSyntax600
[11/123] Emitting module SwiftSyntax509
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/121] 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/121] 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