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 RunScriptPlugin, reference 0.4.0 (7ee674), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 09:29:52 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/p-x9/RunScriptPlugin.git
Reference: 0.4.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/p-x9/RunScriptPlugin
 * tag               0.4.0      -> FETCH_HEAD
HEAD is now at 7ee6742 Merge pull request #22 from p-x9/version/0.4.0
Cloned https://github.com/p-x9/RunScriptPlugin.git
Revision (git rev-parse @):
7ee6742192cdf0f4b01fda3b27e39ce971e364f0
SUCCESS checkout https://github.com/p-x9/RunScriptPlugin.git at 0.4.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/p-x9/RunScriptPlugin.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/jpsim/Yams.git
Fetching https://github.com/apple/swift-argument-parser
[1/10874] Fetching yams
[1850/26254] Fetching yams, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.09s)
Fetched https://github.com/jpsim/Yams.git from cache (1.38s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (2.63s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.58s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
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
Downloading binary artifact https://github.com/p-x9/RunScriptPlugin/releases/download/0.4.0/run-script-bin.artifactbundle.zip
[1397/1406140] Downloading https://github.com/p-x9/RunScriptPlugin/releases/download/0.4.0/run-script-bin.artifactbundle.zip
Downloaded https://github.com/p-x9/RunScriptPlugin/releases/download/0.4.0/run-script-bin.artifactbundle.zip (0.54s)
/host/spi-builder-workspace/Plugins/RunScriptCommandPlugin/plugin.swift:34:17: warning: 'launchPath' is deprecated: renamed to 'executableURL' [#DeprecatedDeclaration]
 32 |
 33 |         let process = Process()
 34 |         process.launchPath = tool.path.string
    |                 |- warning: 'launchPath' is deprecated: renamed to 'executableURL' [#DeprecatedDeclaration]
    |                 `- note: use 'executableURL' instead
 35 |         process.arguments = [
 36 |             "--config",
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1/1] Compiling plugin RunScriptCommandPlugin
[2/2] Compiling plugin RunScriptPlugin
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/20] Write sources
[7/20] Compiling reader.c
[8/20] Compiling writer.c
[9/20] Write swift-version-24593BA9C3E375BF.txt
[10/20] Compiling api.c
[11/22] Compiling parser.c
[12/22] Compiling emitter.c
[13/22] Compiling scanner.c
[15/42] Compiling Yams Node.Scalar.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Anchor.swift:8:8: error: no such module 'Foundation'
 6 | //  Copyright (c) 2024 Yams. All rights reserved.
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A representation of a YAML tag see: https://yaml.org/spec/1.2.2/
[16/42] Compiling Yams Node.Sequence.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Anchor.swift:8:8: error: no such module 'Foundation'
 6 | //  Copyright (c) 2024 Yams. All rights reserved.
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A representation of a YAML tag see: https://yaml.org/spec/1.2.2/
[17/42] Compiling Yams Node.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Anchor.swift:8:8: error: no such module 'Foundation'
 6 | //  Copyright (c) 2024 Yams. All rights reserved.
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A representation of a YAML tag see: https://yaml.org/spec/1.2.2/
[18/44] Compiling Yams Mark.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Anchor.swift:8:8: error: no such module 'Foundation'
 6 | //  Copyright (c) 2024 Yams. All rights reserved.
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A representation of a YAML tag see: https://yaml.org/spec/1.2.2/
[19/44] Compiling Yams Node.Alias.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Anchor.swift:8:8: error: no such module 'Foundation'
 6 | //  Copyright (c) 2024 Yams. All rights reserved.
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A representation of a YAML tag see: https://yaml.org/spec/1.2.2/
[20/44] Compiling Yams Node.Mapping.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Anchor.swift:8:8: error: no such module 'Foundation'
 6 | //  Copyright (c) 2024 Yams. All rights reserved.
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A representation of a YAML tag see: https://yaml.org/spec/1.2.2/
[21/44] Compiling Yams Tag.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Anchor.swift:8:8: error: no such module 'Foundation'
 6 | //  Copyright (c) 2024 Yams. All rights reserved.
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A representation of a YAML tag see: https://yaml.org/spec/1.2.2/
[22/44] Compiling Yams YamlAnchorProviding.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Anchor.swift:8:8: error: no such module 'Foundation'
 6 | //  Copyright (c) 2024 Yams. All rights reserved.
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A representation of a YAML tag see: https://yaml.org/spec/1.2.2/
[23/44] Compiling Yams Resolver.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Anchor.swift:8:8: error: no such module 'Foundation'
 6 | //  Copyright (c) 2024 Yams. All rights reserved.
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A representation of a YAML tag see: https://yaml.org/spec/1.2.2/
[24/44] Compiling Yams String+Yams.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Anchor.swift:8:8: error: no such module 'Foundation'
 6 | //  Copyright (c) 2024 Yams. All rights reserved.
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A representation of a YAML tag see: https://yaml.org/spec/1.2.2/
[25/44] Compiling ArgumentParserToolInfo ToolInfo.swift
[26/44] Emitting module ArgumentParserToolInfo
[28/45] Compiling Yams YamlError.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Anchor.swift:8:8: error: no such module 'Foundation'
 6 | //  Copyright (c) 2024 Yams. All rights reserved.
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A representation of a YAML tag see: https://yaml.org/spec/1.2.2/
[29/45] Compiling Yams YamlTagProviding.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Anchor.swift:8:8: error: no such module 'Foundation'
 6 | //  Copyright (c) 2024 Yams. All rights reserved.
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A representation of a YAML tag see: https://yaml.org/spec/1.2.2/
error: emit-module command failed with exit code 1 (use -v to see invocation)
[30/45] Emitting module Yams
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Anchor.swift:8:8: error: no such module 'Foundation'
 6 | //  Copyright (c) 2024 Yams. All rights reserved.
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A representation of a YAML tag see: https://yaml.org/spec/1.2.2/
[31/45] Compiling Yams Decoder.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Anchor.swift:8:8: error: no such module 'Foundation'
 6 | //  Copyright (c) 2024 Yams. All rights reserved.
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A representation of a YAML tag see: https://yaml.org/spec/1.2.2/
[32/45] Compiling Yams Emitter.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Anchor.swift:8:8: error: no such module 'Foundation'
 6 | //  Copyright (c) 2024 Yams. All rights reserved.
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A representation of a YAML tag see: https://yaml.org/spec/1.2.2/
[33/45] Compiling Yams Encoder.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Anchor.swift:8:8: error: no such module 'Foundation'
 6 | //  Copyright (c) 2024 Yams. All rights reserved.
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A representation of a YAML tag see: https://yaml.org/spec/1.2.2/
[34/45] Compiling Yams Parser.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Anchor.swift:8:8: error: no such module 'Foundation'
 6 | //  Copyright (c) 2024 Yams. All rights reserved.
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A representation of a YAML tag see: https://yaml.org/spec/1.2.2/
[35/45] Compiling Yams RedundancyAliasingStrategy.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Anchor.swift:8:8: error: no such module 'Foundation'
 6 | //  Copyright (c) 2024 Yams. All rights reserved.
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A representation of a YAML tag see: https://yaml.org/spec/1.2.2/
[36/45] Compiling Yams Representer.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Anchor.swift:8:8: error: no such module 'Foundation'
 6 | //  Copyright (c) 2024 Yams. All rights reserved.
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A representation of a YAML tag see: https://yaml.org/spec/1.2.2/
[37/45] Compiling Yams AliasDereferencingStrategy.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Anchor.swift:8:8: error: no such module 'Foundation'
 6 | //  Copyright (c) 2024 Yams. All rights reserved.
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A representation of a YAML tag see: https://yaml.org/spec/1.2.2/
[38/45] Compiling Yams Anchor.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Anchor.swift:8:8: error: no such module 'Foundation'
 6 | //  Copyright (c) 2024 Yams. All rights reserved.
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A representation of a YAML tag see: https://yaml.org/spec/1.2.2/
[39/45] Compiling Yams Constructor.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Anchor.swift:8:8: error: no such module 'Foundation'
 6 | //  Copyright (c) 2024 Yams. All rights reserved.
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A representation of a YAML tag see: https://yaml.org/spec/1.2.2/
[39/45] Wrapping AST for ArgumentParserToolInfo for debugging
[40/83] 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
[41/83] 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
[42/83] 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
[43/83] 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
[44/83] 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
[45/88] 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
[46/88] 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
[47/88] 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
[48/88] 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
[49/88] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[50/88] 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
[51/88] 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
[52/88] 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
[53/88] 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
[54/88] 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
[55/88] 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
[56/88] 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
[57/88] 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
[58/88] 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
[59/88] 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
[60/88] 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
[61/88] 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
[62/88] 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
[63/88] 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
[64/88] 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
[65/88] 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
[66/88] 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
[67/88] 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
[68/88] 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
[69/88] 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
[70/88] 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
[71/88] 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
[72/88] 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
[73/88] 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
[74/88] 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
[75/88] 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
[76/88] 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
[77/88] 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
[78/88] 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
[79/88] 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
[80/88] 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
[81/88] 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
[82/88] 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