Build Information
Failed to build SwiftCommand, reference 1.4.2 (28efb0), with Swift 6.2 for Wasm on 19 Apr 2026 14:31:56 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Zollerboy1/SwiftCommand.git
Reference: 1.4.2
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/Zollerboy1/SwiftCommand
* tag 1.4.2 -> FETCH_HEAD
HEAD is now at 28efb03 Update tests to Swift Testing
Cloned https://github.com/Zollerboy1/SwiftCommand.git
Revision (git rev-parse @):
28efb038351a8c45010772b407adb9ea02ba67b5
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Zollerboy1/SwiftCommand.git at 1.4.2
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/Zollerboy1/SwiftCommand.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:2a8b2d9e022a9894c61e0736af7cdaa1ee64c002dbb133a55c0d7e8980b3ad16
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-async-algorithms
[1/6247] Fetching swift-async-algorithms
[376/11848] Fetching swift-async-algorithms, swift-system
Fetched https://github.com/apple/swift-async-algorithms from cache (1.05s)
Fetched https://github.com/apple/swift-system from cache (1.06s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (2.05s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.1.3 (1.25s)
Fetching https://github.com/apple/swift-collections.git
[1/23569] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.53s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (3.84s)
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
Creating working copy for https://github.com/apple/swift-async-algorithms
Working copy of https://github.com/apple/swift-async-algorithms resolved at 1.1.3
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.4
Building for debugging...
[0/9] Write sources
[7/9] Compiling CSystem shims.c
[8/9] Write swift-version-24593BA9C3E375BF.txt
[10/58] Emitting module SystemPackage
[11/62] Emitting module InternalCollectionsUtilities
[12/64] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[13/64] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[14/64] Compiling InternalCollectionsUtilities _SortedCollection.swift
[15/64] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[16/64] Compiling SystemPackage FileHelpers.swift
[17/64] Compiling SystemPackage FileOperations.swift
[18/64] Compiling SystemPackage FilePathWindows.swift
[19/64] Compiling SystemPackage Errno.swift
[20/64] Compiling SystemPackage ErrnoWindows.swift
[21/64] Compiling SystemPackage FileDescriptor.swift
[22/64] Compiling SystemPackage FilePermissions.swift
[23/64] Compiling SystemPackage IOCompletion.swift
[24/64] Compiling SystemPackage IORequest.swift
[25/64] Compiling SystemPackage SystemString.swift
[26/64] Compiling SystemPackage Util+StringArray.swift
[27/64] Compiling SystemPackage Util.swift
[28/64] Compiling SystemPackage UtilConsumers.swift
[29/64] Compiling InternalCollectionsUtilities String+Padding.swift
[30/64] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[31/64] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[32/64] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[33/64] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[34/64] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[41/145] Compiling OrderedCollections OrderedDictionary+Values.swift
[42/145] Compiling OrderedCollections OrderedSet+Initializers.swift
[43/145] Compiling OrderedCollections OrderedSet+Insertions.swift
[44/145] Compiling OrderedCollections OrderedSet+Invariants.swift
[45/157] Compiling OrderedCollections _HashTable+Testing.swift
[46/157] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[47/157] Compiling OrderedCollections _HashTable.swift
[48/157] Compiling OrderedCollections _Hashtable+Header.swift
[49/157] Compiling OrderedCollections _HashTable+Bucket.swift
[50/157] Compiling OrderedCollections _HashTable+BucketIterator.swift
[51/157] Compiling OrderedCollections _HashTable+Constants.swift
[52/157] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[53/157] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[54/157] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[55/157] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[56/157] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[57/157] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[58/157] Compiling OrderedCollections OrderedDictionary+Elements.swift
[59/157] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[60/157] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[61/157] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[62/157] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[63/157] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[64/157] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[65/157] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[66/157] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[67/157] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[68/157] Compiling ContainersPreview Box.swift
[69/157] Compiling ContainersPreview Inout.swift
[70/157] Compiling ContainersPreview InputSpan.swift
[71/157] Compiling ContainersPreview Shared.swift
[72/157] Emitting module ContainersPreview
[73/157] Compiling OrderedCollections OrderedDictionary+Codable.swift
[74/157] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[75/157] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[76/157] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[77/157] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[105/199] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[106/199] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[107/199] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[108/199] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[109/199] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[110/199] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[111/199] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[112/199] Compiling DequeModule RigidDeque.swift
[113/199] Compiling DequeModule UniqueDeque+Append.swift
[114/199] Compiling DequeModule UniqueDeque+Hashable.swift
[115/199] Compiling DequeModule UniqueDeque+Initializers.swift
[116/199] Compiling DequeModule UniqueDeque+Insertions.swift
[117/199] Compiling DequeModule UniqueDeque+Prepend.swift
[118/199] Compiling DequeModule UniqueDeque+Removals.swift
[119/206] Compiling DequeModule _DequeBuffer.swift
[120/206] Compiling DequeModule _DequeBufferHeader.swift
[121/206] Compiling DequeModule RigidDeque+Append.swift
[122/206] Compiling DequeModule RigidDeque+Consumption.swift
[123/206] Compiling DequeModule RigidDeque+Container.swift
[124/206] Compiling DequeModule RigidDeque+Descriptions.swift
[125/211] Compiling DequeModule UniqueDeque+Replacements.swift
[126/211] Compiling DequeModule UniqueDeque.swift
[127/211] Compiling DequeModule _DequeSlot.swift
[128/211] Compiling DequeModule _UnsafeDequeHandle.swift
[129/211] Compiling DequeModule _UnsafeDequeSegments.swift
[130/211] Compiling OrderedCollections OrderedSet+Equatable.swift
[131/211] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[132/211] Compiling OrderedCollections OrderedSet+Hashable.swift
[135/211] Compiling DequeModule RigidDeque+Equatable.swift
[136/211] Compiling DequeModule RigidDeque+Experimental.swift
[137/211] Compiling DequeModule RigidDeque+Hashable.swift
[138/211] Compiling DequeModule RigidDeque+Initializers.swift
[139/211] Compiling DequeModule RigidDeque+Insertions.swift
[140/211] Compiling DequeModule RigidDeque+Prepend.swift
[141/211] Compiling DequeModule UniqueDeque+Consumption.swift
[142/211] Compiling DequeModule UniqueDeque+Container.swift
[143/211] Compiling DequeModule UniqueDeque+Descriptions.swift
[144/211] Compiling DequeModule UniqueDeque+Equatable.swift
[145/211] Compiling DequeModule UniqueDeque+Experimental.swift
[151/211] Compiling DequeModule Deque+Testing.swift
[152/211] Compiling DequeModule Deque._Storage.swift
[153/211] Compiling DequeModule Deque._UnsafeHandle.swift
[154/211] Compiling DequeModule Deque.swift
[159/211] Compiling DequeModule Deque+Codable.swift
[160/211] Compiling DequeModule Deque+Collection.swift
[161/211] Compiling DequeModule Deque+CustomReflectable.swift
[162/211] Compiling DequeModule Deque+Descriptions.swift
[163/211] Compiling DequeModule Deque+Equatable.swift
[164/211] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[165/211] Compiling DequeModule Deque+Extras.swift
[166/211] Compiling DequeModule Deque+Hashable.swift
[173/211] Compiling DequeModule RigidDeque+Removals.swift
[174/211] Compiling DequeModule RigidDeque+Replacements.swift
[175/211] Compiling DequeModule RigidDeque+Testing.swift
[198/211] Compiling OrderedCollections OrderedSet+Sendable.swift
[199/211] Compiling OrderedCollections OrderedSet+SubSequence.swift
[200/211] Compiling OrderedCollections OrderedSet+Testing.swift
[201/211] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[202/211] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[203/211] Compiling OrderedCollections OrderedSet.swift
[204/211] Compiling OrderedCollections _UnsafeBitset.swift
[205/211] Emitting module OrderedCollections
[207/212] Emitting module DequeModule
[214/266] Compiling AsyncAlgorithms AsyncSyncSequence.swift
[215/266] Compiling AsyncAlgorithms AsyncThrottleSequence.swift
[216/266] Compiling AsyncAlgorithms AsyncThrowingExclusiveReductionsSequence.swift
[217/266] Compiling AsyncAlgorithms AsyncThrowingInclusiveReductionsSequence.swift
[218/266] Compiling AsyncAlgorithms AsyncTimerSequence.swift
[219/266] Compiling AsyncAlgorithms AsyncBufferSequence.swift
[220/266] Compiling AsyncAlgorithms BoundedBufferStateMachine.swift
[221/266] Compiling AsyncAlgorithms BoundedBufferStorage.swift
[222/273] Compiling AsyncAlgorithms UnboundedBufferStateMachine.swift
[223/273] Compiling AsyncAlgorithms UnboundedBufferStorage.swift
[224/273] Compiling AsyncAlgorithms AsyncChannel.swift
[225/273] Compiling AsyncAlgorithms AsyncThrowingChannel.swift
[226/273] Compiling AsyncAlgorithms ChannelStateMachine.swift
[227/273] Compiling AsyncAlgorithms ChannelStorage.swift
[228/273] Compiling AsyncAlgorithms AsyncCombineLatest2Sequence.swift
[229/273] Compiling AsyncAlgorithms Rethrow.swift
[230/273] Compiling AsyncAlgorithms SetAlgebra.swift
[231/273] Compiling AsyncAlgorithms UnsafeTransfer.swift
[232/273] Compiling AsyncAlgorithms AsyncZip2Sequence.swift
[233/273] Compiling AsyncAlgorithms AsyncZip3Sequence.swift
[234/273] Compiling AsyncAlgorithms ZipStateMachine.swift
[235/273] Compiling AsyncAlgorithms ZipStorage.swift
[236/273] Compiling AsyncAlgorithms AsyncAdjacentPairsSequence.swift
[237/273] Compiling AsyncAlgorithms AsyncBufferedByteIterator.swift
[238/273] Compiling AsyncAlgorithms AsyncChain2Sequence.swift
[239/273] Compiling AsyncAlgorithms AsyncChain3Sequence.swift
[240/273] Compiling AsyncAlgorithms AsyncChunkedByGroupSequence.swift
[241/273] Compiling AsyncAlgorithms AsyncChunkedOnProjectionSequence.swift
[242/273] Compiling AsyncAlgorithms AsyncChunksOfCountOrSignalSequence.swift
[243/273] Compiling AsyncAlgorithms AsyncChunksOfCountSequence.swift
[244/273] Compiling AsyncAlgorithms AsyncCompactedSequence.swift
[245/273] Compiling AsyncAlgorithms AsyncExclusiveReductionsSequence.swift
[246/273] Compiling AsyncAlgorithms AsyncInclusiveReductionsSequence.swift
[247/273] Compiling AsyncAlgorithms AsyncJoinedBySeparatorSequence.swift
[248/273] Compiling AsyncAlgorithms AsyncJoinedSequence.swift
[249/273] Compiling AsyncAlgorithms AsyncMapErrorSequence.swift
[250/273] Compiling AsyncAlgorithms AsyncRemoveDuplicatesSequence.swift
[251/273] Compiling AsyncAlgorithms AsyncShareSequence.swift
[252/273] Emitting module AsyncAlgorithms
[253/273] Compiling AsyncAlgorithms AsyncFlatMapLatestSequence.swift
[254/273] Compiling AsyncAlgorithms FlatMapLatestStateMachine.swift
[255/273] Compiling AsyncAlgorithms FlatMapLatestStorage.swift
[256/273] Compiling AsyncAlgorithms Disconnected.swift
[257/273] Compiling AsyncAlgorithms _TinyArray.swift
[258/273] Compiling AsyncAlgorithms AsyncInterspersedSequence.swift
[259/273] Compiling AsyncAlgorithms Locking.swift
[260/273] Compiling AsyncAlgorithms AsyncCombineLatest3Sequence.swift
[261/273] Compiling AsyncAlgorithms CombineLatestStateMachine.swift
[262/273] Compiling AsyncAlgorithms CombineLatestStorage.swift
[263/273] Compiling AsyncAlgorithms AsyncDebounceSequence.swift
[264/273] Compiling AsyncAlgorithms DebounceStateMachine.swift
[265/273] Compiling AsyncAlgorithms DebounceStorage.swift
[266/273] Compiling AsyncAlgorithms Dictionary.swift
[267/273] Compiling AsyncAlgorithms AsyncMerge2Sequence.swift
[268/273] Compiling AsyncAlgorithms AsyncMerge3Sequence.swift
[269/273] Compiling AsyncAlgorithms MergeStateMachine.swift
[270/273] Compiling AsyncAlgorithms MergeStorage.swift
[271/273] Compiling AsyncAlgorithms MultiProducerSingleConsumerAsyncChannel+Internal.swift
[272/273] Compiling AsyncAlgorithms MultiProducerSingleConsumerAsyncChannel.swift
[273/273] Compiling AsyncAlgorithms RangeReplaceableCollection.swift
[275/287] Compiling SwiftCommand OutputType.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[276/288] Emitting module SwiftCommand
/host/spi-builder-workspace/Sources/SwiftCommand/ChildProcess.swift:551:26: error: cannot find type 'Process' in scope
549 |
550 | private let command: GeneratingCommand
551 | private let process: Process
| `- error: cannot find type 'Process' in scope
552 | private let stdinPipe, stdoutPipe, stderrPipe: Pipe?
553 | private let closeStdinImplicitly: Bool
/host/spi-builder-workspace/Sources/SwiftCommand/ChildProcess.swift:557:18: error: cannot find type 'Process' in scope
555 | private init(
556 | command: GeneratingCommand,
557 | process: Process,
| `- error: cannot find type 'Process' in scope
558 | stdinPipe: Pipe?,
559 | stdoutPipe: Pipe?,
[277/288] Compiling SwiftCommand AsyncCharacterSequence.swift
[278/288] Compiling SwiftCommand AsyncLineSequence.swift
[279/288] Compiling SwiftCommand AsyncUnicodeScalarSequence.swift
/host/spi-builder-workspace/Sources/SwiftCommand/ChildProcess.swift:727:20: error: Unsupported platform!
725 | Musl.kill(self.process.processIdentifier, SIGKILL)
726 | #else
727 | #error("Unsupported platform!")
| `- error: Unsupported platform!
728 | #endif
729 | }
/host/spi-builder-workspace/Sources/SwiftCommand/ChildProcess.swift:551:26: error: cannot find type 'Process' in scope
549 |
550 | private let command: GeneratingCommand
551 | private let process: Process
| `- error: cannot find type 'Process' in scope
552 | private let stdinPipe, stdoutPipe, stderrPipe: Pipe?
553 | private let closeStdinImplicitly: Bool
/host/spi-builder-workspace/Sources/SwiftCommand/ChildProcess.swift:557:18: error: cannot find type 'Process' in scope
555 | private init(
556 | command: GeneratingCommand,
557 | process: Process,
| `- error: cannot find type 'Process' in scope
558 | stdinPipe: Pipe?,
559 | stdoutPipe: Pipe?,
/host/spi-builder-workspace/Sources/SwiftCommand/ChildProcess.swift:574:23: error: cannot find 'Process' in scope
572 | withCommand command: GeneratingCommand
573 | ) throws -> ChildProcess<Stdin, Stdout, Stderr> {
574 | let process = Process()
| `- error: cannot find 'Process' in scope
575 |
576 | process.executableURL = command.executablePath.url
[280/288] Compiling SwiftCommand ChildProcess.swift
/host/spi-builder-workspace/Sources/SwiftCommand/ChildProcess.swift:727:20: error: Unsupported platform!
725 | Musl.kill(self.process.processIdentifier, SIGKILL)
726 | #else
727 | #error("Unsupported platform!")
| `- error: Unsupported platform!
728 | #endif
729 | }
/host/spi-builder-workspace/Sources/SwiftCommand/ChildProcess.swift:551:26: error: cannot find type 'Process' in scope
549 |
550 | private let command: GeneratingCommand
551 | private let process: Process
| `- error: cannot find type 'Process' in scope
552 | private let stdinPipe, stdoutPipe, stderrPipe: Pipe?
553 | private let closeStdinImplicitly: Bool
/host/spi-builder-workspace/Sources/SwiftCommand/ChildProcess.swift:557:18: error: cannot find type 'Process' in scope
555 | private init(
556 | command: GeneratingCommand,
557 | process: Process,
| `- error: cannot find type 'Process' in scope
558 | stdinPipe: Pipe?,
559 | stdoutPipe: Pipe?,
/host/spi-builder-workspace/Sources/SwiftCommand/ChildProcess.swift:574:23: error: cannot find 'Process' in scope
572 | withCommand command: GeneratingCommand
573 | ) throws -> ChildProcess<Stdin, Stdout, Stderr> {
574 | let process = Process()
| `- error: cannot find 'Process' in scope
575 |
576 | process.executableURL = command.executablePath.url
[281/288] Compiling SwiftCommand Command.swift
[282/288] Compiling SwiftCommand Either.swift
[283/288] Compiling SwiftCommand ExitStatus.swift
/host/spi-builder-workspace/Sources/SwiftCommand/FileHandle+Async.swift:25:20: error: Unsupported platform!
23 | let read = Musl.read
24 | #else
25 | #error("Unsupported platform!")
| `- error: Unsupported platform!
26 | #endif
27 | let amount = read(fd, buffer.baseAddress, buffer.count)
/host/spi-builder-workspace/Sources/SwiftCommand/FileHandle+Async.swift:27:26: error: use of 'read' refers to instance method rather than global function 'read' in module 'SwiftWASILibc'
25 | #error("Unsupported platform!")
26 | #endif
27 | let amount = read(fd, buffer.baseAddress, buffer.count)
| |- error: use of 'read' refers to instance method rather than global function 'read' in module 'SwiftWASILibc'
| `- note: use 'SwiftWASILibc.' to reference the global function in module 'SwiftWASILibc'
28 | if amount >= 0 {
29 | return amount
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/unistd.h:91:9: note: 'read' declared here
89 | int fdatasync(int);
90 |
91 | ssize_t read(int, void *, size_t);
| `- note: 'read' declared here
92 | ssize_t write(int, const void *, size_t);
93 | ssize_t pread(int, void *, size_t, off_t);
/host/spi-builder-workspace/Sources/SwiftCommand/FileHandle+Async.swift:59:20: error: value of type 'FileHandle' has no member 'readabilityHandler'
57 | ) async throws -> Data? {
58 | try await withUnsafeThrowingContinuation { continuation in
59 | handle.readabilityHandler = { handle in
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
60 | handle.readabilityHandler = nil
61 |
/host/spi-builder-workspace/Sources/SwiftCommand/FileHandle+Async.swift:59:43: error: cannot infer type of closure parameter 'handle' without a type annotation
57 | ) async throws -> Data? {
58 | try await withUnsafeThrowingContinuation { continuation in
59 | handle.readabilityHandler = { handle in
| `- error: cannot infer type of closure parameter 'handle' without a type annotation
60 | handle.readabilityHandler = nil
61 |
[284/288] Compiling SwiftCommand FileHandle+Async.swift
/host/spi-builder-workspace/Sources/SwiftCommand/FileHandle+Async.swift:25:20: error: Unsupported platform!
23 | let read = Musl.read
24 | #else
25 | #error("Unsupported platform!")
| `- error: Unsupported platform!
26 | #endif
27 | let amount = read(fd, buffer.baseAddress, buffer.count)
/host/spi-builder-workspace/Sources/SwiftCommand/FileHandle+Async.swift:27:26: error: use of 'read' refers to instance method rather than global function 'read' in module 'SwiftWASILibc'
25 | #error("Unsupported platform!")
26 | #endif
27 | let amount = read(fd, buffer.baseAddress, buffer.count)
| |- error: use of 'read' refers to instance method rather than global function 'read' in module 'SwiftWASILibc'
| `- note: use 'SwiftWASILibc.' to reference the global function in module 'SwiftWASILibc'
28 | if amount >= 0 {
29 | return amount
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/unistd.h:91:9: note: 'read' declared here
89 | int fdatasync(int);
90 |
91 | ssize_t read(int, void *, size_t);
| `- note: 'read' declared here
92 | ssize_t write(int, const void *, size_t);
93 | ssize_t pread(int, void *, size_t, off_t);
/host/spi-builder-workspace/Sources/SwiftCommand/FileHandle+Async.swift:59:20: error: value of type 'FileHandle' has no member 'readabilityHandler'
57 | ) async throws -> Data? {
58 | try await withUnsafeThrowingContinuation { continuation in
59 | handle.readabilityHandler = { handle in
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
60 | handle.readabilityHandler = nil
61 |
/host/spi-builder-workspace/Sources/SwiftCommand/FileHandle+Async.swift:59:43: error: cannot infer type of closure parameter 'handle' without a type annotation
57 | ) async throws -> Data? {
58 | try await withUnsafeThrowingContinuation { continuation in
59 | handle.readabilityHandler = { handle in
| `- error: cannot infer type of closure parameter 'handle' without a type annotation
60 | handle.readabilityHandler = nil
61 |
[285/288] Compiling SwiftCommand FilePath+extension.swift
[286/288] Compiling SwiftCommand InputSource.swift
[287/288] Compiling SwiftCommand ProcessOutput.swift
[288/288] Compiling SwiftCommand OutputDestination.swift
BUILD FAILURE 6.2 wasm