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

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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: 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/p-x9/RunScriptPlugin
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
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-3":/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
[5656/26254] Fetching yams, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.06s)
Fetched https://github.com/jpsim/Yams.git from cache (1.09s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (1.53s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.99s)
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
[1369/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.36s)
/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] Compiling parser.c
[9/20] Write swift-version-24593BA9C3E375BF.txt
[11/20] Compiling api.c
[12/22] Compiling emitter.c
[13/22] Compiling scanner.c
[15/42] Emitting module ArgumentParserToolInfo
[16/42] Compiling ArgumentParserToolInfo ToolInfo.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/43] 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/
[19/43] 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/
[20/43] 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/
[21/43] 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/
[22/43] 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/
[23/43] 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/
[24/43] 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/
[25/43] 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/
[26/43] 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/
[27/43] 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/
[28/45] 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/
[29/45] 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/
[30/45] 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/
[31/45] 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/
[32/45] 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/
[33/45] 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/
[34/45] 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/
[35/45] 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/
[36/45] 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/
[37/45] 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/
[38/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/
[39/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/
[39/45] Wrapping AST for ArgumentParserToolInfo for debugging
BUILD FAILURE 6.2 wasm