Build Information
Failed to build DeduplicatedSequenceAsyncStream, reference main (514491), with Swift 6.2 for Wasm on 23 Jun 2025 03:44:08 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/supersonicbyte/deduplicated-sequence-async-stream.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/supersonicbyte/deduplicated-sequence-async-stream
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 5144919 Update SPI to build only library package
Cloned https://github.com/supersonicbyte/deduplicated-sequence-async-stream.git
Revision (git rev-parse @):
5144919cefa3d617691ce35fc465e6fce7bc2e19
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/supersonicbyte/deduplicated-sequence-async-stream.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/supersonicbyte/deduplicated-sequence-async-stream.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/ordo-one/package-benchmark
[1/2082] Fetching swift-docc-plugin
[231/8059] Fetching swift-docc-plugin, package-benchmark
Fetched https://github.com/ordo-one/package-benchmark from cache (0.82s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.82s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (4.40s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3415] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.17s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.04s)
Computing version for https://github.com/ordo-one/package-benchmark
Computed https://github.com/ordo-one/package-benchmark at 1.29.3 (0.88s)
Fetching https://github.com/ordo-one/TextTable.git
Fetching https://github.com/ordo-one/package-jemalloc.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/HdrHistogram/hdrhistogram-swift.git
[1/602] Fetching hdrhistogram-swift
[603/805] Fetching hdrhistogram-swift, texttable
[806/2602] Fetching hdrhistogram-swift, texttable, swift-atomics
[1435/2637] Fetching hdrhistogram-swift, texttable, swift-atomics, package-jemalloc
Fetched https://github.com/HdrHistogram/hdrhistogram-swift.git from cache (0.43s)
[1192/6471] Fetching texttable, swift-atomics, package-jemalloc, swift-system
[6472/21851] Fetching texttable, swift-atomics, package-jemalloc, swift-system, swift-argument-parser
Fetched https://github.com/apple/swift-system.git from cache (0.66s)
[3266/17415] Fetching texttable, swift-atomics, package-jemalloc, swift-argument-parser
Fetched https://github.com/ordo-one/TextTable.git from cache (1.09s)
Fetched https://github.com/ordo-one/package-jemalloc.git from cache (1.09s)
Fetched https://github.com/apple/swift-atomics.git from cache (1.09s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.10s)
Computing version for https://github.com/ordo-one/package-jemalloc.git
Computed https://github.com/ordo-one/package-jemalloc.git at 1.0.0 (1.48s)
Computing version for https://github.com/ordo-one/TextTable.git
Computed https://github.com/ordo-one/TextTable.git at 0.0.2 (0.46s)
Computing version for https://github.com/HdrHistogram/hdrhistogram-swift.git
Computed https://github.com/HdrHistogram/hdrhistogram-swift.git at 0.1.3 (0.53s)
Fetching https://github.com/apple/swift-numerics
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.51s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (0.94s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.57s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.37s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.49s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
Creating working copy for https://github.com/ordo-one/package-benchmark
Working copy of https://github.com/ordo-one/package-benchmark resolved at 1.29.3
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.4
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.1
Creating working copy for https://github.com/ordo-one/package-jemalloc.git
Working copy of https://github.com/ordo-one/package-jemalloc.git resolved at 1.0.0
Creating working copy for https://github.com/ordo-one/TextTable.git
Working copy of https://github.com/ordo-one/TextTable.git resolved at 0.0.2
Creating working copy for https://github.com/HdrHistogram/hdrhistogram-swift.git
Working copy of https://github.com/HdrHistogram/hdrhistogram-swift.git resolved at 0.1.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.3
warning: couldn't find pc file for jemalloc
[0/12] Write sources
[4/12] Compiling CSystem shims.c
[5/12] Write swift-version-24593BA9C3E375BF.txt
[7/42] Emitting module SystemPackage
[8/45] Compiling SystemPackage Util+StringArray.swift
[9/45] Compiling SystemPackage Util.swift
[10/45] Compiling SystemPackage UtilConsumers.swift
[11/45] Compiling SystemPackage MachPort.swift
[12/45] Compiling SystemPackage PlatformString.swift
[13/45] Compiling SystemPackage SystemString.swift
[14/45] Compiling SystemPackage Errno.swift
[15/45] Compiling SystemPackage ErrnoWindows.swift
[16/45] Compiling SystemPackage FileDescriptor.swift
[17/45] Compiling SystemPackage FileHelpers.swift
[18/45] Compiling ArgumentParserToolInfo ToolInfo.swift
[19/45] Emitting module ArgumentParserToolInfo
[20/46] Wrapping AST for ArgumentParserToolInfo for debugging
[22/84] Compiling ArgumentParser Errors.swift
[23/84] Compiling ArgumentParser Flag.swift
[24/84] Compiling ArgumentParser NameSpecification.swift
[25/84] Compiling ArgumentParser Option.swift
[26/84] Compiling ArgumentParser EnumerableFlag.swift
[27/84] Compiling ArgumentParser ExpressibleByArgument.swift
[28/84] Compiling ArgumentParser ParsableArguments.swift
[29/84] Compiling ArgumentParser ParsableArgumentsValidation.swift
[30/84] Compiling ArgumentParser ArgumentSet.swift
[31/84] Compiling ArgumentParser CommandParser.swift
[32/84] Compiling ArgumentParser InputKey.swift
[33/84] Compiling ArgumentParser InputOrigin.swift
[34/84] Compiling ArgumentParser OptionGroup.swift
[35/84] Compiling ArgumentParser AsyncParsableCommand.swift
[36/84] Compiling ArgumentParser CommandConfiguration.swift
[37/84] Compiling ArgumentParser CommandGroup.swift
[38/84] Compiling ArgumentParser Argument.swift
[39/84] Compiling ArgumentParser ArgumentHelp.swift
[40/84] Compiling ArgumentParser ArgumentVisibility.swift
[41/84] Compiling ArgumentParser CompletionKind.swift
[42/85] Wrapping AST for SystemPackage for debugging
[50/90] Emitting module ArgumentParser
[51/90] Compiling ArgumentParser BashCompletionsGenerator.swift
[52/90] Compiling ArgumentParser CompletionsGenerator.swift
[53/90] Compiling ArgumentParser FishCompletionsGenerator.swift
[54/90] Compiling ArgumentParser ZshCompletionsGenerator.swift
[65/90] Compiling ArgumentParser ParsableCommand.swift
[66/90] Compiling ArgumentParser ArgumentDecoder.swift
[67/90] Compiling ArgumentParser ArgumentDefinition.swift
[72/90] Compiling ArgumentParser CollectionExtensions.swift
[73/90] Compiling ArgumentParser Platform.swift
[74/90] Compiling ArgumentParser SequenceExtensions.swift
[75/90] Compiling ArgumentParser StringExtensions.swift
[76/90] Compiling ArgumentParser Tree.swift
[77/90] Compiling ArgumentParser Name.swift
[78/90] Compiling ArgumentParser Parsed.swift
[79/90] Compiling ArgumentParser ParsedValues.swift
[80/90] Compiling ArgumentParser ParserError.swift
[81/90] Compiling ArgumentParser SplitArguments.swift
[82/90] Compiling ArgumentParser DumpHelpGenerator.swift
[83/90] Compiling ArgumentParser HelpCommand.swift
[84/90] Compiling ArgumentParser HelpGenerator.swift
[85/90] Compiling ArgumentParser MessageInfo.swift
[86/90] Compiling ArgumentParser UsageGenerator.swift
[87/93] Wrapping AST for ArgumentParser for debugging
[89/93] Compiling BenchmarkBoilerplateGenerator BenchmarkBoilerplateGenerator.swift
[90/93] Emitting module BenchmarkBoilerplateGenerator
[91/94] Wrapping AST for BenchmarkBoilerplateGenerator for debugging
[92/94] Write Objects.LinkFileList
[93/94] Linking BenchmarkBoilerplateGenerator-tool
warning: couldn't find pc file for jemalloc
[1/1] Compiling plugin BenchmarkPlugin
[2/2] Compiling plugin BenchmarkCommandPlugin
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin Swift-DocC Preview
[5/5] Compiling plugin Swift-DocC
Building for debugging...
[5/48] Write sources
[20/48] Compiling _NumericsShims _NumericsShims.c
[20/48] Compiling _AtomicsShims.c
[22/48] Compiling CSystem shims.c
[24/48] Compiling SwiftRuntimeHooks shims.c
[25/48] Write swift-version-24593BA9C3E375BF.txt
[27/113] Emitting module BenchmarkShared
[28/113] Emitting module ArgumentParserToolInfo
[30/115] Emitting module SystemPackage
[32/116] Emitting module ArgumentParser
[33/117] Wrapping AST for SystemPackage for debugging
[34/117] Wrapping AST for ArgumentParserToolInfo for debugging
[35/118] Wrapping AST for ArgumentParser for debugging
[37/118] Emitting module BenchmarkBoilerplateGenerator
[38/119] Wrapping AST for BenchmarkBoilerplateGenerator for debugging
[39/119] Write Objects.LinkFileList
[40/119] Linking BenchmarkBoilerplateGenerator-tool
[41/119] Generating plugin support files
[42/119] Write sources
[44/119] Compiling Atomics OptionalRawRepresentable.swift
[45/119] Compiling Atomics RawRepresentable.swift
[46/120] Compiling Atomics UnsafeAtomic.swift
[47/120] Compiling Atomics UnsafeAtomicLazyReference.swift
[48/122] Compiling Atomics ManagedAtomic.swift
[49/122] Compiling Atomics ManagedAtomicLazyReference.swift
[50/122] Compiling Atomics AtomicBool.swift
[51/122] Compiling Atomics IntegerConformances.swift
[52/122] Emitting module RealModule
error: emit-module command failed with exit code 1 (use -v to see invocation)
[53/122] Emitting module SystemPackage
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[58/122] Compiling RealModule Float16+Real.swift
[59/122] Compiling RealModule RealFunctions.swift
[60/125] Compiling SystemPackage MachPort.swift
[61/125] Compiling SystemPackage PlatformString.swift
[62/125] Compiling SystemPackage SystemString.swift
[63/125] Compiling RealModule Real.swift
[64/125] Compiling RealModule Float80+Real.swift
[65/125] Emitting module Atomics
[66/125] Compiling Atomics PointerConformances.swift
[67/125] Compiling Atomics Primitives.native.swift
[68/125] Compiling Atomics AtomicInteger.swift
[70/125] Compiling Atomics AtomicOptionalWrappable.swift
[72/125] Compiling Atomics AtomicReference.swift
[74/125] Compiling Atomics AtomicMemoryOrderings.swift
[75/125] Compiling Atomics DoubleWord.swift
[76/125] Compiling Atomics AtomicStorage.swift
[80/125] Compiling Atomics AtomicValue.swift
[81/125] Compiling RealModule Float+Real.swift
[82/125] Compiling RealModule ElementaryFunctions.swift
[90/126] Compiling BenchmarkShared Command+Helpers.swift
[92/127] Emitting module ArgumentParserToolInfo
[93/127] Compiling ArgumentParserToolInfo ToolInfo.swift
[94/129] Wrapping AST for RealModule for debugging
[95/133] Wrapping AST for BenchmarkShared for debugging
[96/133] Wrapping AST for ArgumentParserToolInfo for debugging
[98/133] Compiling Atomics IntegerOperations.swift
[99/133] Compiling Atomics Unmanaged extensions.swift
[100/134] Compiling ComplexModule Differentiable.swift
[101/172] Wrapping AST for Atomics for debugging
[103/172] Compiling ArgumentParser OptionGroup.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:17:14: error: no such module 'Foundation'
15 | #elseif swift(>=5.10)
16 | import ArgumentParserToolInfo
17 | import class Foundation.JSONEncoder
| `- error: no such module 'Foundation'
18 | #else
19 | @_implementationOnly import ArgumentParserToolInfo
[104/172] Compiling ArgumentParser AsyncParsableCommand.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:17:14: error: no such module 'Foundation'
15 | #elseif swift(>=5.10)
16 | import ArgumentParserToolInfo
17 | import class Foundation.JSONEncoder
| `- error: no such module 'Foundation'
18 | #else
19 | @_implementationOnly import ArgumentParserToolInfo
[105/172] Compiling ArgumentParser CommandConfiguration.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:17:14: error: no such module 'Foundation'
15 | #elseif swift(>=5.10)
16 | import ArgumentParserToolInfo
17 | import class Foundation.JSONEncoder
| `- error: no such module 'Foundation'
18 | #else
19 | @_implementationOnly import ArgumentParserToolInfo
[106/172] Compiling ArgumentParser CommandGroup.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:17:14: error: no such module 'Foundation'
15 | #elseif swift(>=5.10)
16 | import ArgumentParserToolInfo
17 | import class Foundation.JSONEncoder
| `- error: no such module 'Foundation'
18 | #else
19 | @_implementationOnly import ArgumentParserToolInfo
[107/172] Compiling ArgumentParser EnumerableFlag.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:17:14: error: no such module 'Foundation'
15 | #elseif swift(>=5.10)
16 | import ArgumentParserToolInfo
17 | import class Foundation.JSONEncoder
| `- error: no such module 'Foundation'
18 | #else
19 | @_implementationOnly import ArgumentParserToolInfo
[108/177] Compiling ArgumentParser BashCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:17:14: error: no such module 'Foundation'
15 | #elseif swift(>=5.10)
16 | import ArgumentParserToolInfo
17 | import class Foundation.JSONEncoder
| `- error: no such module 'Foundation'
18 | #else
19 | @_implementationOnly import ArgumentParserToolInfo
[109/177] Compiling ArgumentParser CompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:17:14: error: no such module 'Foundation'
15 | #elseif swift(>=5.10)
16 | import ArgumentParserToolInfo
17 | import class Foundation.JSONEncoder
| `- error: no such module 'Foundation'
18 | #else
19 | @_implementationOnly import ArgumentParserToolInfo
[110/177] Compiling ArgumentParser FishCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:17:14: error: no such module 'Foundation'
15 | #elseif swift(>=5.10)
16 | import ArgumentParserToolInfo
17 | import class Foundation.JSONEncoder
| `- error: no such module 'Foundation'
18 | #else
19 | @_implementationOnly import ArgumentParserToolInfo
[111/177] Compiling ArgumentParser ZshCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:17:14: error: no such module 'Foundation'
15 | #elseif swift(>=5.10)
16 | import ArgumentParserToolInfo
17 | import class Foundation.JSONEncoder
| `- error: no such module 'Foundation'
18 | #else
19 | @_implementationOnly import ArgumentParserToolInfo
[112/177] Compiling ArgumentParser Argument.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:17:14: error: no such module 'Foundation'
15 | #elseif swift(>=5.10)
16 | import ArgumentParserToolInfo
17 | import class Foundation.JSONEncoder
| `- error: no such module 'Foundation'
18 | #else
19 | @_implementationOnly import ArgumentParserToolInfo
[113/177] Compiling ArgumentParser ArgumentHelp.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:17:14: error: no such module 'Foundation'
15 | #elseif swift(>=5.10)
16 | import ArgumentParserToolInfo
17 | import class Foundation.JSONEncoder
| `- error: no such module 'Foundation'
18 | #else
19 | @_implementationOnly import ArgumentParserToolInfo
[114/177] Emitting module ComplexModule
[115/177] Compiling ComplexModule ElementaryFunctions.swift
[116/177] Compiling ArgumentParser Name.swift
[117/177] Compiling ArgumentParser Parsed.swift
[118/177] Compiling ArgumentParser ParsedValues.swift
[119/177] Compiling ComplexModule Arithmetic.swift
[120/177] Compiling ComplexModule Complex.swift
[121/178] Compiling ArgumentParser Option.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 | _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 | return umask(mode)
| `- error: cannot find 'umask' in scope
253 | }
254 |
[122/178] Compiling ArgumentParser ExpressibleByArgument.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 | _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 | return umask(mode)
| `- error: cannot find 'umask' in scope
253 | }
254 |
[123/178] Compiling ArgumentParser ParsableArguments.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 | _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 | return umask(mode)
| `- error: cannot find 'umask' in scope
253 | }
254 |
[124/178] Compiling ArgumentParser ParsableArgumentsValidation.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 | _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 | return umask(mode)
| `- error: cannot find 'umask' in scope
253 | }
254 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[125/178] Emitting module ArgumentParser
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:17:14: error: no such module 'Foundation'
15 | #elseif swift(>=5.10)
16 | import ArgumentParserToolInfo
17 | import class Foundation.JSONEncoder
| `- error: no such module 'Foundation'
18 | #else
19 | @_implementationOnly import ArgumentParserToolInfo
[127/178] Compiling ArgumentParser CollectionExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:17:14: error: no such module 'Foundation'
15 | #elseif swift(>=5.10)
16 | import ArgumentParserToolInfo
17 | import class Foundation.JSONEncoder
| `- error: no such module 'Foundation'
18 | #else
19 | @_implementationOnly import ArgumentParserToolInfo
[128/178] Compiling ArgumentParser Platform.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:17:14: error: no such module 'Foundation'
15 | #elseif swift(>=5.10)
16 | import ArgumentParserToolInfo
17 | import class Foundation.JSONEncoder
| `- error: no such module 'Foundation'
18 | #else
19 | @_implementationOnly import ArgumentParserToolInfo
[129/178] Compiling ArgumentParser SequenceExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:17:14: error: no such module 'Foundation'
15 | #elseif swift(>=5.10)
16 | import ArgumentParserToolInfo
17 | import class Foundation.JSONEncoder
| `- error: no such module 'Foundation'
18 | #else
19 | @_implementationOnly import ArgumentParserToolInfo
[130/178] Compiling ArgumentParser StringExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:17:14: error: no such module 'Foundation'
15 | #elseif swift(>=5.10)
16 | import ArgumentParserToolInfo
17 | import class Foundation.JSONEncoder
| `- error: no such module 'Foundation'
18 | #else
19 | @_implementationOnly import ArgumentParserToolInfo
[131/178] Compiling ArgumentParser Tree.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:17:14: error: no such module 'Foundation'
15 | #elseif swift(>=5.10)
16 | import ArgumentParserToolInfo
17 | import class Foundation.JSONEncoder
| `- error: no such module 'Foundation'
18 | #else
19 | @_implementationOnly import ArgumentParserToolInfo
[132/178] Compiling ArgumentParser ArgumentSet.swift
[133/178] Compiling ArgumentParser CommandParser.swift
[134/178] Compiling ArgumentParser InputKey.swift
[135/178] Compiling ArgumentParser InputOrigin.swift
[136/178] Compiling ArgumentParser CompletionKind.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[137/178] Compiling ArgumentParser Errors.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[138/178] Compiling ArgumentParser Flag.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[139/178] Compiling ArgumentParser NameSpecification.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[139/180] Wrapping AST for ComplexModule for debugging
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:17:14: error: no such module 'Foundation'
15 | #elseif swift(>=5.10)
16 | import ArgumentParserToolInfo
17 | import class Foundation.JSONEncoder
| `- error: no such module 'Foundation'
18 | #else
19 | @_implementationOnly import ArgumentParserToolInfo
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:17:14: error: no such module 'Foundation'
15 | #elseif swift(>=5.10)
16 | import ArgumentParserToolInfo
17 | import class Foundation.JSONEncoder
| `- error: no such module 'Foundation'
18 | #else
19 | @_implementationOnly import ArgumentParserToolInfo
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:17:14: error: no such module 'Foundation'
15 | #elseif swift(>=5.10)
16 | import ArgumentParserToolInfo
17 | import class Foundation.JSONEncoder
| `- error: no such module 'Foundation'
18 | #else
19 | @_implementationOnly import ArgumentParserToolInfo
[144/180] Compiling ArgumentParser ParserError.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:17:14: error: no such module 'Foundation'
15 | #elseif swift(>=5.10)
16 | import ArgumentParserToolInfo
17 | import class Foundation.JSONEncoder
| `- error: no such module 'Foundation'
18 | #else
19 | @_implementationOnly import ArgumentParserToolInfo
[145/180] Compiling ArgumentParser SplitArguments.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:17:14: error: no such module 'Foundation'
15 | #elseif swift(>=5.10)
16 | import ArgumentParserToolInfo
17 | import class Foundation.JSONEncoder
| `- error: no such module 'Foundation'
18 | #else
19 | @_implementationOnly import ArgumentParserToolInfo
[146/180] Compiling DeduplicatedSequenceAsyncStream DeduplicatedSequenceAsyncStream.swift
[147/180] Emitting module DeduplicatedSequenceAsyncStream
/host/spi-builder-workspace/Sources/DeduplicatedSequenceAsyncStream/Internal/Storage.swift:130:17: warning: capture of non-Sendable type 'Element.Type' in an isolated closure
128 | }
129 | } onCancel: {
130 | cancel()
| `- warning: capture of non-Sendable type 'Element.Type' in an isolated closure
131 | }
132 | }
BUILD FAILURE 6.2 wasm