The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-fickling, reference main (5c982b), with Swift 6.4 for Wasm on 24 Sep 2026 15:33:41 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/liuliu/swift-fickling.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/liuliu/swift-fickling
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 5c982bf support swift package (#2)
Cloned https://github.com/liuliu/swift-fickling.git
Revision (git rev-parse @):
5c982bf479c4cdf8c7f72002cd79ec88b553ab34
SUCCESS checkout https://github.com/liuliu/swift-fickling.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/liuliu/swift-fickling.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/apple/swift-collections.git
[1/27702] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.26s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.0 (1.57s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.0
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 328]
[Planning deferred tasks]
[63 / 134] InternalCollectionsUtilities
[72 / 143] InternalCollectionsUtilities
[82 / 158] SpanPreview
[91 / 158] _RopeModule
[94 / 158] _RopeModule
[95 / 159] _RopeModule
[95 / 159] SpanPreview
[98 / 159] InternalCollectionsUtilities
[103 / 161] DequeModule
[106 / 170] OrderedCollections
[107 / 170] OrderedCollections
[109 / 170] _RopeModule
[116 / 170] _RopeModule
[121 / 181] HeapModule
[124 / 191] _RopeModule
[126 / 200] BitCollections
[130 / 200] HeapModule
[138 / 200] HashTreeCollections
[139 / 200] HashTreeCollections
[140 / 201] HeapModule
[142 / 201] HeapModule
[156 / 201] HashTreeCollections
[157 / 202] OrderedCollections
[159 / 202] OrderedCollections
[161 / 202] BitCollections
[164 / 202] BitCollections
[166 / 202] BitCollections
[168 / 204] BitCollections
[173 / 213] DequeModule
[182 / 213] DequeModule
[183 / 213] DequeModule
[184 / 213] DequeModule
[187 / 213] SpanPreview
[189 / 213] BitCollections
[192 / 214] DequeModule
[192 / 215] DequeModule
[217 / 225] Fickling
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/ArgumentDescriptor.swift:9:46: error: cannot find type 'FILE' in scope
  7 |   var name: String { get }
  8 |   var n: Int { get }
  9 |   mutating func read(_: UnsafeMutablePointer<FILE>) -> Result<Any, Error>
    |                                              `- error: cannot find type 'FILE' in scope
 10 | }
 11 |
/host/spi-builder-workspace/Sources/ArgumentDescriptor.swift:16:46: error: cannot find type 'FILE' in scope
 14 |     var name: String { "uint1" }
 15 |     var n: Int { 1 }
 16 |     func read(_ handle: UnsafeMutablePointer<FILE>) -> Result<Any, Error> {
    |                                              `- error: cannot find type 'FILE' in scope
 17 |       var result: Swift.UInt8 = 0
 18 |       let len = fread(&result, 1, 1, handle)
/host/spi-builder-workspace/Sources/ArgumentDescriptor.swift:27:46: error: cannot find type 'FILE' in scope
 25 |     var name: String { "uint2" }
 26 |     var n: Int { 2 }
 27 |     func read(_ handle: UnsafeMutablePointer<FILE>) -> Result<Any, Error> {
    |                                              `- error: cannot find type 'FILE' in scope
 28 |       var result: UInt16 = 0
 29 |       let len = fread(&result, 2, 1, handle)
/host/spi-builder-workspace/Sources/ArgumentDescriptor.swift:38:46: error: cannot find type 'FILE' in scope
 36 |     var name: String { "uint4" }
 37 |     var n: Int { 4 }
 38 |     func read(_ handle: UnsafeMutablePointer<FILE>) -> Result<Any, Error> {
    |                                              `- error: cannot find type 'FILE' in scope
 39 |       var result: UInt32 = 0
 40 |       let len = fread(&result, 4, 1, handle)
/host/spi-builder-workspace/Sources/ArgumentDescriptor.swift:49:46: error: cannot find type 'FILE' in scope
 47 |     var name: String { "uint8" }
 48 |     var n: Int { 8 }
 49 |     func read(_ handle: UnsafeMutablePointer<FILE>) -> Result<Any, Error> {
    |                                              `- error: cannot find type 'FILE' in scope
 50 |       var result: UInt64 = 0
 51 |       let len = fread(&result, 8, 1, handle)
/host/spi-builder-workspace/Sources/ArgumentDescriptor.swift:60:46: error: cannot find type 'FILE' in scope
 58 |     var name: String { "int4" }
 59 |     var n: Int { 4 }
 60 |     func read(_ handle: UnsafeMutablePointer<FILE>) -> Result<Any, Error> {
    |                                              `- error: cannot find type 'FILE' in scope
 61 |       var result: Int32 = 0
 62 |       let len = fread(&result, 4, 1, handle)
/host/spi-builder-workspace/Sources/ArgumentDescriptor.swift:71:55: error: cannot find type 'FILE' in scope
 69 |     var name: String { "long1" }
 70 |     var n: Int = 0
 71 |     mutating func read(_ handle: UnsafeMutablePointer<FILE>) -> Result<Any, Error> {
    |                                                       `- error: cannot find type 'FILE' in scope
 72 |       var n1: Swift.UInt8 = 0
 73 |       let len1 = fread(&n1, 1, 1, handle)
/host/spi-builder-workspace/Sources/ArgumentDescriptor.swift:91:55: error: cannot find type 'FILE' in scope
 89 |     var name: String { "long4" }
 90 |     var n: Int = 0
 91 |     mutating func read(_ handle: UnsafeMutablePointer<FILE>) -> Result<Any, Error> {
    |                                                       `- error: cannot find type 'FILE' in scope
 92 |       var n4: UInt32 = 0
 93 |       let len1 = fread(&n4, 4, 1, handle)
/host/spi-builder-workspace/Sources/ArgumentDescriptor.swift:111:46: error: cannot find type 'FILE' in scope
109 |     var name: String { "float8" }
110 |     var n: Int { 8 }
111 |     func read(_ handle: UnsafeMutablePointer<FILE>) -> Result<Any, Error> {
    |                                              `- error: cannot find type 'FILE' in scope
112 |       var result: Float64 = 0
113 |       let len = fread(&result, 8, 1, handle)
/host/spi-builder-workspace/Sources/ArgumentDescriptor.swift:122:55: error: cannot find type 'FILE' in scope
120 |     var name: String { "unicodestring1" }
121 |     var n: Int = 0
122 |     mutating func read(_ handle: UnsafeMutablePointer<FILE>) -> Result<Any, Error> {
    |                                                       `- error: cannot find type 'FILE' in scope
123 |       var n1: Swift.UInt8 = 0
124 |       let len1 = fread(&n1, 1, 1, handle)
/host/spi-builder-workspace/Sources/ArgumentDescriptor.swift:144:55: error: cannot find type 'FILE' in scope
142 |     var name: String { "unicodestring4" }
143 |     var n: Int = 0
144 |     mutating func read(_ handle: UnsafeMutablePointer<FILE>) -> Result<Any, Error> {
    |                                                       `- error: cannot find type 'FILE' in scope
145 |       var n1: UInt32 = 0
146 |       let len1 = fread(&n1, 4, 1, handle)
/host/spi-builder-workspace/Sources/ArgumentDescriptor.swift:166:55: error: cannot find type 'FILE' in scope
164 |     var name: String { "unicodestring8" }
165 |     var n: Int = 0
166 |     mutating func read(_ handle: UnsafeMutablePointer<FILE>) -> Result<Any, Error> {
    |                                                       `- error: cannot find type 'FILE' in scope
167 |       var n1: UInt64 = 0
168 |       let len1 = fread(&n1, 8, 1, handle)
/host/spi-builder-workspace/Sources/ArgumentDescriptor.swift:192:46: error: cannot find type 'FILE' in scope
190 |       self.stripquotes = stripquotes
191 |     }
192 |     func read(_ handle: UnsafeMutablePointer<FILE>) -> Result<Any, Error> {
    |                                              `- error: cannot find type 'FILE' in scope
193 |       var buffer: UnsafeMutablePointer<CChar>? = nil
194 |       var bufferSize: Int = 0
/host/spi-builder-workspace/Sources/ArgumentDescriptor.swift:232:55: error: cannot find type 'FILE' in scope
230 |     var name: String { "string1" }
231 |     var n: Int = 0
232 |     mutating func read(_ handle: UnsafeMutablePointer<FILE>) -> Result<Any, Error> {
    |                                                       `- error: cannot find type 'FILE' in scope
233 |       var n1: Swift.UInt8 = 0
234 |       let len1 = fread(&n1, 1, 1, handle)
/host/spi-builder-workspace/Sources/ArgumentDescriptor.swift:252:55: error: cannot find type 'FILE' in scope
250 |     var name: String { "string4" }
251 |     var n: Int = 0
252 |     mutating func read(_ handle: UnsafeMutablePointer<FILE>) -> Result<Any, Error> {
    |                                                       `- error: cannot find type 'FILE' in scope
253 |       var n1: UInt32 = 0
254 |       let len1 = fread(&n1, 4, 1, handle)
/host/spi-builder-workspace/Sources/ArgumentDescriptor.swift:272:55: error: cannot find type 'FILE' in scope
270 |     var name: String { "bytes1" }
271 |     var n: Int = 0
272 |     mutating func read(_ handle: UnsafeMutablePointer<FILE>) -> Result<Any, Error> {
    |                                                       `- error: cannot find type 'FILE' in scope
273 |       var n1: Swift.UInt8 = 0
274 |       let len1 = fread(&n1, 1, 1, handle)
/host/spi-builder-workspace/Sources/ArgumentDescriptor.swift:292:55: error: cannot find type 'FILE' in scope
290 |     var name: String { "bytes4" }
291 |     var n: Int = 0
292 |     mutating func read(_ handle: UnsafeMutablePointer<FILE>) -> Result<Any, Error> {
    |                                                       `- error: cannot find type 'FILE' in scope
293 |       var n4: UInt32 = 0
294 |       let len1 = fread(&n4, 4, 1, handle)
/host/spi-builder-workspace/Sources/ArgumentDescriptor.swift:312:55: error: cannot find type 'FILE' in scope
310 |     var name: String { "bytes8" }
311 |     var n: Int = 0
312 |     mutating func read(_ handle: UnsafeMutablePointer<FILE>) -> Result<Any, Error> {
    |                                                       `- error: cannot find type 'FILE' in scope
313 |       var n8: UInt64 = 0
314 |       let len1 = fread(&n8, 8, 1, handle)
/host/spi-builder-workspace/Sources/ArgumentDescriptor.swift:332:55: error: cannot find type 'FILE' in scope
330 |     var name: String { "bytearray8" }
331 |     var n: Int = 0
332 |     mutating func read(_ handle: UnsafeMutablePointer<FILE>) -> Result<Any, Error> {
    |                                                       `- error: cannot find type 'FILE' in scope
333 |       var n8: UInt64 = 0
334 |       let len1 = fread(&n8, 8, 1, handle)
/host/spi-builder-workspace/Sources/ArgumentDescriptor.swift:356:46: error: cannot find type 'FILE' in scope
354 |       self.stripquotes = stripquotes
355 |     }
356 |     func read(_ handle: UnsafeMutablePointer<FILE>) -> Result<Any, Error> {
    |                                              `- error: cannot find type 'FILE' in scope
357 |       var buffer: UnsafeMutablePointer<CChar>? = nil
358 |       var bufferSize: Int = 0
/host/spi-builder-workspace/Sources/ArgumentDescriptor.swift:400:46: error: cannot find type 'FILE' in scope
398 |       second = StringNL(stripquotes: stripquotes)
399 |     }
400 |     func read(_ handle: UnsafeMutablePointer<FILE>) -> Result<Any, Error> {
    |                                              `- error: cannot find type 'FILE' in scope
401 |       return first.read(handle).flatMap { firstSuccess in
402 |         second.read(handle).map {
/host/spi-builder-workspace/Sources/ArgumentDescriptor.swift:412:46: error: cannot find type 'FILE' in scope
410 |     var name: String { "decimalnl_short" }
411 |     var n: Int { -1 }
412 |     func read(_ handle: UnsafeMutablePointer<FILE>) -> Result<Any, Error> {
    |                                              `- error: cannot find type 'FILE' in scope
413 |       let stringnl = StringNL(stripquotes: false)
414 |       return stringnl.read(handle).flatMap {
/host/spi-builder-workspace/Sources/ArgumentDescriptor.swift:425:46: error: cannot find type 'FILE' in scope
423 |     var name: String { "decimalnl_long" }
424 |     var n: Int { -1 }
425 |     func read(_ handle: UnsafeMutablePointer<FILE>) -> Result<Any, Error> {
    |                                              `- error: cannot find type 'FILE' in scope
426 |       let stringnl = StringNL(stripquotes: false)
427 |       return stringnl.read(handle).flatMap {
/host/spi-builder-workspace/Sources/ArgumentDescriptor.swift:442:46: error: cannot find type 'FILE' in scope
440 |     var name: String { "floatnl" }
441 |     var n: Int { -1 }
442 |     func read(_ handle: UnsafeMutablePointer<FILE>) -> Result<Any, Error> {
    |                                              `- error: cannot find type 'FILE' in scope
443 |       let stringnl = StringNL(stripquotes: false)
444 |       return stringnl.read(handle).flatMap {
/host/spi-builder-workspace/Sources/Interpreter.swift:135:45: error: cannot find type 'FILE' in scope
133 |   }
134 |
135 |   private init(handle: UnsafeMutablePointer<FILE>?, maxStackDepth: Int, maxMemoryLength: Int) {
    |                                             `- error: cannot find type 'FILE' in scope
136 |     guard let handle = handle else {
137 |       self.ops = []
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/ArgumentDescriptor.swift /host/spi-builder-workspace/Sources/Instruction.swift /host/spi-builder-workspace/Sources/Interpreter.swift /host/spi-builder-workspace/Sources/OpError.swift -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-fickling.build/Debug-webassembly-wasm32/Fickling-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-fickling.build/Debug-webassembly-wasm32/Fickling-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-fickling.build/Debug-webassembly-wasm32/Fickling-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Fickling -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-fickling.build/Debug-webassembly-wasm32/Fickling-t.build/Objects-normal/wasm32/Fickling_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-fickling.build/Debug-webassembly-wasm32/Fickling-t.build/Objects-normal/wasm32/Modules/Fickling.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-fickling.build/Debug-webassembly-wasm32/Fickling-t.build/Objects-normal/wasm32/Modules/Fickling.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-fickling.build/Debug-webassembly-wasm32/Fickling-t.build/Objects-normal/wasm32/Fickling-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-fickling.build/Debug-webassembly-wasm32/Fickling-t.build/Objects-normal/wasm32/Fickling-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-fickling.build/Debug-webassembly-wasm32/Fickling-t.build/Objects-normal/wasm32/Fickling-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-fickling.build/Debug-webassembly-wasm32/Fickling-t.build/Objects-normal/wasm32/Modules/Fickling.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm