Build Information
Failed to build swift-fickling, reference main (5c982b), with Swift 6.3 for Wasm on 19 Apr 2026 16:48:49 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.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.3
Building package at path: $PWD
https://github.com/liuliu/swift-fickling.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/swift-collections.git
[1/23569] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.36s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (2.49s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Building for debugging...
[0/11] Write sources
[10/11] Write swift-version-24593BA9C3E375BF.txt
[12/29] Emitting module InternalCollectionsUtilities
[13/31] Compiling InternalCollectionsUtilities _SortedCollection.swift
[14/31] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[15/31] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[16/31] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[17/31] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[18/31] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[19/31] Compiling InternalCollectionsUtilities Span+Extras.swift
[20/31] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[21/31] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[22/31] Compiling InternalCollectionsUtilities Integer rank.swift
[23/31] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[24/31] Compiling InternalCollectionsUtilities UInt+reversed.swift
[25/31] Compiling InternalCollectionsUtilities Debugging.swift
[26/31] Compiling InternalCollectionsUtilities Descriptions.swift
[27/31] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[28/31] Compiling InternalCollectionsUtilities String+Padding.swift
[29/31] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[30/31] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[31/31] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[33/49] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[34/49] Compiling HeapModule Heap+Descriptions.swift
[35/49] Compiling HeapModule _HeapNode.swift
[36/61] Compiling HashTreeCollections _AncestorHashSlots.swift
[37/61] Compiling HashTreeCollections _Bitmap.swift
[38/61] Compiling HashTreeCollections _Bucket.swift
[39/61] Compiling HashTreeCollections _Hash.swift
[40/61] Compiling HashTreeCollections _HashLevel.swift
[41/61] Emitting module ContainersPreview
[42/65] Compiling HeapModule Heap+Invariants.swift
[43/93] Compiling _RopeModule BigString+Invariants.swift
[44/93] Compiling _RopeModule BigString+Metrics.swift
[45/93] Compiling _RopeModule BigString+Summary.swift
[46/127] Compiling OrderedCollections OrderedDictionary+Codable.swift
[47/127] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[48/140] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[49/140] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[50/140] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[51/140] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[52/215] Compiling _RopeModule BigString+Sequence.swift
[53/215] Compiling _RopeModule BigString+TextOutputStream.swift
[54/215] Compiling _RopeModule BigString+Append.swift
[55/215] Compiling _RopeModule BigString+Initializers.swift
[56/215] Compiling _RopeModule BigString+Insert.swift
[57/331] Compiling _RopeModule BigString+Chunk+UTF8.swift
[58/331] Compiling _RopeModule BigString+Chunk+UnicodeScalar.swift
[59/331] Compiling _RopeModule Rope+_Node.swift
[60/331] Compiling _RopeModule Rope+_Storage.swift
[61/331] Compiling BitCollections BitArray+Shifts.swift
[62/331] Compiling _RopeModule BigString+Chunk+Breaks.swift
[63/331] Compiling _RopeModule BigString+Chunk+Character.swift
[64/331] Compiling _RopeModule BigString+Chunk+Counts.swift
[65/331] Compiling _RopeModule BigString+Chunk+Description.swift
[66/331] Compiling _RopeModule BigString+Chunk+Index.swift
[67/331] Compiling _RopeModule BigString+Chunk+RopeElement.swift
[68/331] Compiling _RopeModule BigString+Chunk+Splitting.swift
[69/331] Compiling _RopeModule BigString+Chunk+UTF16.swift
[70/331] Emitting module HeapModule
[71/331] Compiling HeapModule Heap.swift
[72/331] Compiling HeapModule Heap+UnsafeHandle.swift
[74/332] Compiling _RopeModule Rope+_UnmanagedLeaf.swift
[75/332] Compiling _RopeModule Rope+_UnsafeHandle.swift
[76/332] Compiling _RopeModule Rope.swift
[77/332] Compiling _RopeModule RopeElement.swift
[79/373] Compiling DequeModule Deque+Testing.swift
[80/373] Compiling DequeModule Deque._Storage.swift
[81/373] Compiling DequeModule Deque._UnsafeHandle.swift
[82/373] Compiling DequeModule Deque.swift
[83/373] Compiling DequeModule _DequeBuffer.swift
[84/373] Compiling DequeModule _DequeBufferHeader.swift
[85/373] Compiling DequeModule RigidDeque+Append.swift
[86/373] Compiling DequeModule RigidDeque+Consumption.swift
[87/380] Compiling DequeModule RigidDeque+Prepend.swift
[88/380] Compiling _RopeModule _RopePath.swift
[89/380] Compiling _RopeModule BigString+UTF16View.swift
[90/380] Compiling _RopeModule BigString+UTF8View.swift
[91/380] Compiling _RopeModule BigString+UnicodeScalarView.swift
[92/380] Compiling _RopeModule BigSubstring+UTF16View.swift
[93/380] Compiling _RopeModule BigSubstring+UTF8View.swift
[94/380] Compiling _RopeModule BigSubstring+UnicodeScalarView.swift
[95/380] Emitting module BitCollections
[96/380] Compiling BitCollections BitSet._UnsafeHandle.swift
[97/380] Compiling BitCollections BitSet.swift
[98/380] Compiling BitCollections Range+Utilities.swift
[99/380] Compiling BitCollections Slice+Utilities.swift
[100/380] Compiling BitCollections UInt+Tricks.swift
[101/380] Compiling BitCollections _Word.swift
[102/380] Compiling _RopeModule _RopeVersion.swift
[103/380] Compiling _RopeModule Rope+Collection.swift
[104/380] Compiling _RopeModule Rope+Index.swift
[105/380] Compiling _RopeModule Rope+Sequence.swift
[106/390] Compiling DequeModule RigidDeque+Replacements.swift
[107/390] Compiling DequeModule RigidDeque+Testing.swift
[108/390] Compiling DequeModule RigidDeque.swift
[109/390] Compiling DequeModule UniqueDeque+Append.swift
[110/390] Compiling DequeModule UniqueDeque+Hashable.swift
[111/390] Compiling DequeModule UniqueDeque+Initializers.swift
[112/390] Compiling DequeModule UniqueDeque+Insertions.swift
[113/390] Compiling DequeModule UniqueDeque+Prepend.swift
[114/390] Compiling DequeModule UniqueDeque+Removals.swift
[115/390] Compiling DequeModule RigidDeque+Equatable.swift
[116/390] Compiling DequeModule RigidDeque+Experimental.swift
[117/390] Compiling DequeModule RigidDeque+Hashable.swift
[118/390] Compiling DequeModule RigidDeque+Initializers.swift
[119/390] Compiling DequeModule RigidDeque+Insertions.swift
[131/397] Compiling DequeModule RigidDeque+Container.swift
[132/397] Compiling DequeModule RigidDeque+Descriptions.swift
[133/402] Compiling _RopeModule BigSubstring.swift
[134/402] Compiling _RopeModule Rope+Builder.swift
[135/402] Compiling _RopeModule Rope+Debugging.swift
[136/402] Compiling _RopeModule Rope+Invariants.swift
[137/402] Compiling _RopeModule BigString+Chunk.swift
[138/402] Compiling _RopeModule BigString+BidirectionalCollection.swift
[139/402] Compiling _RopeModule BigString+Comparable.swift
[140/402] Compiling BitCollections BitSet.Index.swift
[154/402] Compiling DequeModule UniqueDeque+Replacements.swift
[155/402] Compiling DequeModule UniqueDeque.swift
[156/402] Compiling DequeModule _DequeSlot.swift
[157/402] Compiling DequeModule _UnsafeDequeHandle.swift
[160/402] Compiling DequeModule UniqueDeque+Consumption.swift
[161/402] Compiling DequeModule UniqueDeque+Container.swift
[162/402] Compiling DequeModule UniqueDeque+Descriptions.swift
[163/402] Compiling DequeModule UniqueDeque+Equatable.swift
[164/402] Compiling DequeModule UniqueDeque+Experimental.swift
[165/402] Compiling DequeModule RigidDeque+Removals.swift
[189/402] Compiling DequeModule _UnsafeDequeSegments.swift
[210/402] Compiling _RopeModule Rope+Append.swift
[211/402] Compiling _RopeModule Rope+Extract.swift
[212/402] Compiling _RopeModule Rope+Find.swift
[213/402] Compiling _RopeModule Rope+ForEachWhile.swift
[214/402] Compiling _RopeModule Rope+Insert.swift
[215/402] Compiling HashTreeCollections TreeDictionary+Keys.swift
[216/402] Compiling HashTreeCollections TreeDictionary+MapValues.swift
[217/402] Compiling HashTreeCollections TreeDictionary+Merge.swift
[218/402] Compiling HashTreeCollections TreeDictionary+Sendable.swift
[219/402] Compiling HashTreeCollections TreeDictionary+Sequence.swift
[220/402] Compiling HashTreeCollections TreeDictionary+Values.swift
[221/402] Compiling DequeModule Deque+Codable.swift
[222/402] Compiling DequeModule Deque+Collection.swift
[223/402] Compiling DequeModule Deque+CustomReflectable.swift
[224/402] Compiling DequeModule Deque+Descriptions.swift
[225/402] Compiling DequeModule Deque+Equatable.swift
[226/402] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[227/402] Compiling DequeModule Deque+Extras.swift
[228/402] Compiling DequeModule Deque+Hashable.swift
[238/402] Compiling OrderedCollections OrderedSet+Sendable.swift
[239/402] Compiling OrderedCollections OrderedSet+SubSequence.swift
[240/402] Compiling OrderedCollections OrderedSet+Testing.swift
[241/402] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[242/402] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[243/402] Compiling OrderedCollections OrderedSet.swift
[244/402] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[245/402] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[246/402] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[247/402] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[248/402] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[249/402] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[250/402] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[251/402] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[252/402] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[253/402] Compiling HashTreeCollections TreeSet.swift
[295/412] Compiling OrderedCollections _UnsafeBitset.swift
[333/412] Emitting module OrderedCollections
[335/413] Emitting module _RopeModule
[388/413] Emitting module DequeModule
[389/413] Emitting module HashTreeCollections
[401/414] Compiling _RopeModule Rope+Join.swift
[402/414] Compiling _RopeModule Rope+MutatingForEach.swift
[403/414] Compiling _RopeModule Rope+Remove.swift
[404/414] Compiling _RopeModule Rope+RemoveSubrange.swift
[405/414] Compiling _RopeModule Rope+Split.swift
[406/414] Compiling _RopeModule Optional Utilities.swift
[407/414] Compiling _RopeModule String Utilities.swift
[408/414] Compiling _RopeModule String.Index+ABI.swift
[409/414] Compiling _RopeModule _CharacterRecognizer.swift
[417/422] Compiling Collections HashTreeCollections reexports.swift
[418/422] Compiling Collections HeapModule reexports.swift
[419/422] Compiling Collections OrderedCollections reexports.swift
[420/422] Compiling Collections DequeModule reexports.swift
[421/422] Emitting module Collections
[422/422] Compiling Collections BitCollections reexports.swift
[424/428] Compiling Fickling OpError.swift
[425/428] Compiling Fickling Interpreter.swift
/host/spi-builder-workspace/Sources/Interpreter.swift:62:16: warning: cannot use generic struct 'OrderedDictionary' in a property declaration marked public or in a '@frozen' or '@usableFromInline' context; 'OrderedCollections' was not imported by this file
60 | }
61 | }
62 | public var orderedDictionary: OrderedDictionary<String, Any> {
| `- warning: cannot use generic struct 'OrderedDictionary' in a property declaration marked public or in a '@frozen' or '@usableFromInline' context; 'OrderedCollections' was not imported by this file
63 | switch _internal {
64 | case .unordered(let dictionary):
/host/spi-builder-workspace/.build/checkouts/swift-collections/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary.swift:205:15: note: generic struct declared here
203 | /// characteristics.
204 | @frozen
205 | public struct OrderedDictionary<Key: Hashable, Value> {
| `- note: generic struct declared here
206 | @usableFromInline
207 | internal var _keys: OrderedSet<Key>
/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 = []
/host/spi-builder-workspace/Sources/Interpreter.swift:126:25: error: incorrect argument label in call (have 'handle:maxStackDepth:maxMemoryLength:', expected 'filePath:maxStackDepth:maxMemoryLength:')
124 | return data.withUnsafeMutableBytes {
125 | let handle = fmemopen($0.baseAddress, $0.count, "rb")
126 | return Interpreter(handle: handle, maxStackDepth: maxStackDepth, maxMemoryLength: maxMemoryLength)
| `- error: incorrect argument label in call (have 'handle:maxStackDepth:maxMemoryLength:', expected 'filePath:maxStackDepth:maxMemoryLength:')
127 | }
128 | }
/host/spi-builder-workspace/Sources/Interpreter.swift:126:34: error: cannot convert value of type 'OpaquePointer?' to expected argument type 'String'
124 | return data.withUnsafeMutableBytes {
125 | let handle = fmemopen($0.baseAddress, $0.count, "rb")
126 | return Interpreter(handle: handle, maxStackDepth: maxStackDepth, maxMemoryLength: maxMemoryLength)
| `- error: cannot convert value of type 'OpaquePointer?' to expected argument type 'String'
127 | }
128 | }
/host/spi-builder-workspace/Sources/Interpreter.swift:132:14: error: incorrect argument label in call (have 'handle:maxStackDepth:maxMemoryLength:', expected 'filePath:maxStackDepth:maxMemoryLength:')
130 | public convenience init(filePath: String, maxStackDepth: Int = 50_000, maxMemoryLength: Int = 100_000) {
131 | let handle = fopen(filePath, "rb")
132 | self.init(handle: handle, maxStackDepth: maxStackDepth, maxMemoryLength: maxMemoryLength)
| `- error: incorrect argument label in call (have 'handle:maxStackDepth:maxMemoryLength:', expected 'filePath:maxStackDepth:maxMemoryLength:')
133 | }
134 |
/host/spi-builder-workspace/Sources/Interpreter.swift:132:23: error: cannot convert value of type 'OpaquePointer?' to expected argument type 'String'
130 | public convenience init(filePath: String, maxStackDepth: Int = 50_000, maxMemoryLength: Int = 100_000) {
131 | let handle = fopen(filePath, "rb")
132 | self.init(handle: handle, maxStackDepth: maxStackDepth, maxMemoryLength: maxMemoryLength)
| `- error: cannot convert value of type 'OpaquePointer?' to expected argument type 'String'
133 | }
134 |
/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 |
[426/428] Compiling Fickling Instruction.swift
/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[427/428] Emitting module Fickling
/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:62:16: warning: cannot use generic struct 'OrderedDictionary' in a property declaration marked public or in a '@frozen' or '@usableFromInline' context; 'OrderedCollections' was not imported by this file
60 | }
61 | }
62 | public var orderedDictionary: OrderedDictionary<String, Any> {
| `- warning: cannot use generic struct 'OrderedDictionary' in a property declaration marked public or in a '@frozen' or '@usableFromInline' context; 'OrderedCollections' was not imported by this file
63 | switch _internal {
64 | case .unordered(let dictionary):
/host/spi-builder-workspace/.build/checkouts/swift-collections/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary.swift:205:15: note: generic struct declared here
203 | /// characteristics.
204 | @frozen
205 | public struct OrderedDictionary<Key: Hashable, Value> {
| `- note: generic struct declared here
206 | @usableFromInline
207 | internal var _keys: OrderedSet<Key>
/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 = []
[428/428] Compiling Fickling ArgumentDescriptor.swift
/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/ArgumentDescriptor.swift:416:54: error: cannot infer contextual base in reference to member 'failure'
414 | return stringnl.read(handle).flatMap {
415 | let string = $0 as! String
416 | guard let short = Int(string) else { return .failure(OpError.value) }
| `- error: cannot infer contextual base in reference to member 'failure'
417 | return .success(short as Any)
418 | }
/host/spi-builder-workspace/Sources/ArgumentDescriptor.swift:430:55: error: cannot infer contextual base in reference to member 'failure'
428 | let string = $0 as! String
429 | guard string.hasSuffix("L") else {
430 | guard let long = Int(string) else { return .failure(OpError.value) }
| `- error: cannot infer contextual base in reference to member 'failure'
431 | return .success(long as Any)
432 | }
/host/spi-builder-workspace/Sources/ArgumentDescriptor.swift:446:58: error: cannot infer contextual base in reference to member 'failure'
444 | return stringnl.read(handle).flatMap {
445 | let string = $0 as! String
446 | guard let short = Float64(string) else { return .failure(OpError.value) }
| `- error: cannot infer contextual base in reference to member 'failure'
447 | return .success(short as Any)
448 | }
BUILD FAILURE 6.3 wasm