The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SwiftInspector, reference 0.16.0 (29a0bb), with Swift 6.2 (beta) for Wasm on 19 Jun 2025 18:12:12 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fdiaz/SwiftInspector.git
Reference: 0.16.0
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/fdiaz/SwiftInspector
 * tag               0.16.0     -> FETCH_HEAD
HEAD is now at 29a0bb2 Use DeclarationModifierVisitor in more places & consolidate on the Modifiers OptionSet (#130)
Cloned https://github.com/fdiaz/SwiftInspector.git
Revision (git rev-parse @):
29a0bb2fa3a52752a509fbe0ad6afb76343f5b40
SUCCESS checkout https://github.com/fdiaz/SwiftInspector.git at 0.16.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/fdiaz/SwiftInspector.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/Quick/Nimble.git
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-syntax.git
[1/14759] Fetching quick
[11809/34343] Fetching quick, nimble
[24944/49723] Fetching quick, nimble, swift-argument-parser
[45416/120629] Fetching quick, nimble, swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser from cache (1.54s)
[42852/105249] Fetching quick, nimble, swift-syntax
Fetched https://github.com/Quick/Nimble.git from cache (2.25s)
[40995/85665] Fetching quick, swift-syntax
Fetched https://github.com/Quick/Quick.git from cache (6.12s)
Fetched https://github.com/apple/swift-syntax.git from cache (6.17s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 4.0.0 (6.63s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 0.50600.1 (1.17s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 9.2.1 (0.41s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.21s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.64s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.25s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.93s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.38s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 0.50600.1
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 4.0.0
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 9.2.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.1
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/26] Write sources
[10/26] Compiling atomic-counter.c
[11/26] Write swift-version-24593BA9C3E375BF.txt
[13/61] Emitting module ArgumentParserToolInfo
[14/61] Compiling ArgumentParserToolInfo ToolInfo.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/62] Emitting module SwiftSyntax
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/gyb_generated/Trivia.swift:15:8: error: no such module 'Foundation'
 13 | //===----------------------------------------------------------------------===//
 14 |
 15 | import Foundation
    |        `- error: no such module 'Foundation'
 16 |
 17 | /// A contiguous stretch of a single kind of trivia. The constituent part of
[17/66] Compiling SwiftSyntax SourceLength.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/gyb_generated/Trivia.swift:15:8: error: no such module 'Foundation'
 13 | //===----------------------------------------------------------------------===//
 14 |
 15 | import Foundation
    |        `- error: no such module 'Foundation'
 16 |
 17 | /// A contiguous stretch of a single kind of trivia. The constituent part of
[18/66] Compiling SwiftSyntax SourceLocation.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/gyb_generated/Trivia.swift:15:8: error: no such module 'Foundation'
 13 | //===----------------------------------------------------------------------===//
 14 |
 15 | import Foundation
    |        `- error: no such module 'Foundation'
 16 |
 17 | /// A contiguous stretch of a single kind of trivia. The constituent part of
[19/66] Compiling SwiftSyntax SourcePresence.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/gyb_generated/Trivia.swift:15:8: error: no such module 'Foundation'
 13 | //===----------------------------------------------------------------------===//
 14 |
 15 | import Foundation
    |        `- error: no such module 'Foundation'
 16 |
 17 | /// A contiguous stretch of a single kind of trivia. The constituent part of
[20/66] Compiling SwiftSyntax Syntax.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/gyb_generated/Trivia.swift:15:8: error: no such module 'Foundation'
 13 | //===----------------------------------------------------------------------===//
 14 |
 15 | import Foundation
    |        `- error: no such module 'Foundation'
 16 |
 17 | /// A contiguous stretch of a single kind of trivia. The constituent part of
[21/66] Compiling SwiftSyntax SyntaxChildren.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/gyb_generated/Trivia.swift:15:8: error: no such module 'Foundation'
 13 | //===----------------------------------------------------------------------===//
 14 |
 15 | import Foundation
    |        `- error: no such module 'Foundation'
 16 |
 17 | /// A contiguous stretch of a single kind of trivia. The constituent part of
[22/66] Compiling SwiftSyntax AbsolutePosition.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/gyb_generated/Trivia.swift:15:8: error: no such module 'Foundation'
 13 | //===----------------------------------------------------------------------===//
 14 |
 15 | import Foundation
    |        `- error: no such module 'Foundation'
 16 |
 17 | /// A contiguous stretch of a single kind of trivia. The constituent part of
[23/66] Compiling SwiftSyntax AtomicCounter.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/gyb_generated/Trivia.swift:15:8: error: no such module 'Foundation'
 13 | //===----------------------------------------------------------------------===//
 14 |
 15 | import Foundation
    |        `- error: no such module 'Foundation'
 16 |
 17 | /// A contiguous stretch of a single kind of trivia. The constituent part of
[24/66] Compiling SwiftSyntax CNodes.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/gyb_generated/Trivia.swift:15:8: error: no such module 'Foundation'
 13 | //===----------------------------------------------------------------------===//
 14 |
 15 | import Foundation
    |        `- error: no such module 'Foundation'
 16 |
 17 | /// A contiguous stretch of a single kind of trivia. The constituent part of
[25/66] Compiling SwiftSyntax IncrementalParseTransition.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/gyb_generated/Trivia.swift:15:8: error: no such module 'Foundation'
 13 | //===----------------------------------------------------------------------===//
 14 |
 15 | import Foundation
    |        `- error: no such module 'Foundation'
 16 |
 17 | /// A contiguous stretch of a single kind of trivia. The constituent part of
[26/66] Compiling SwiftSyntax RawSyntax.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/gyb_generated/Trivia.swift:15:8: error: no such module 'Foundation'
 13 | //===----------------------------------------------------------------------===//
 14 |
 15 | import Foundation
    |        `- error: no such module 'Foundation'
 16 |
 17 | /// A contiguous stretch of a single kind of trivia. The constituent part of
[27/66] Compiling SwiftSyntax TokenKind.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/gyb_generated/Trivia.swift:15:8: error: no such module 'Foundation'
 13 | //===----------------------------------------------------------------------===//
 14 |
 15 | import Foundation
    |        `- error: no such module 'Foundation'
 16 |
 17 | /// A contiguous stretch of a single kind of trivia. The constituent part of
[28/66] Compiling SwiftSyntax Trivia.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/gyb_generated/Trivia.swift:15:8: error: no such module 'Foundation'
 13 | //===----------------------------------------------------------------------===//
 14 |
 15 | import Foundation
    |        `- error: no such module 'Foundation'
 16 |
 17 | /// A contiguous stretch of a single kind of trivia. The constituent part of
[29/66] Compiling SwiftSyntax SyntaxDeclNodes.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/gyb_generated/Trivia.swift:15:8: error: no such module 'Foundation'
 13 | //===----------------------------------------------------------------------===//
 14 |
 15 | import Foundation
    |        `- error: no such module 'Foundation'
 16 |
 17 | /// A contiguous stretch of a single kind of trivia. The constituent part of
[30/66] Compiling SwiftSyntax SyntaxExprNodes.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/gyb_generated/Trivia.swift:15:8: error: no such module 'Foundation'
 13 | //===----------------------------------------------------------------------===//
 14 |
 15 | import Foundation
    |        `- error: no such module 'Foundation'
 16 |
 17 | /// A contiguous stretch of a single kind of trivia. The constituent part of
[30/66] Wrapping AST for ArgumentParserToolInfo for debugging
[32/104] Compiling ArgumentParser Name.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
[33/104] Compiling ArgumentParser Parsed.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
[34/104] Compiling ArgumentParser ParsedValues.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
[35/104] 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
[36/104] 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
[37/109] 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
[38/109] 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
[39/109] 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
[40/109] 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
[41/109] 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
[42/109] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[43/109] 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
[44/109] Compiling ArgumentParser DumpHelpGenerator.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
[45/109] Compiling ArgumentParser HelpCommand.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
[46/109] Compiling ArgumentParser HelpGenerator.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
[47/109] Compiling ArgumentParser MessageInfo.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
[48/109] Compiling ArgumentParser UsageGenerator.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
[49/109] Compiling ArgumentParser ArgumentVisibility.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
[50/109] Compiling ArgumentParser CompletionKind.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
[51/109] Compiling ArgumentParser Errors.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
[52/109] Compiling ArgumentParser Flag.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
[53/109] Compiling ArgumentParser NameSpecification.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
[54/109] Compiling ArgumentParser Option.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
[55/109] 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
[56/109] 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
[57/109] 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
[58/109] 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
[59/109] 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
[60/109] Compiling ArgumentParser ArgumentDefinition.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
[61/109] Compiling ArgumentParser ArgumentSet.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
[62/109] Compiling ArgumentParser CommandParser.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
[63/109] Compiling ArgumentParser InputKey.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
[64/109] Compiling ArgumentParser InputOrigin.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
[65/109] Compiling ArgumentParser ExpressibleByArgument.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
[66/109] Compiling ArgumentParser ParsableArguments.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
[67/109] Compiling ArgumentParser ParsableArgumentsValidation.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
[68/109] Compiling ArgumentParser ParsableCommand.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
[69/109] Compiling ArgumentParser ArgumentDecoder.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
[70/109] 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
[71/109] 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
[72/109] 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
[73/109] 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
[74/109] 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
BUILD FAILURE 6.2 wasm