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 swift-weak-self-check, reference 0.7.0 (1bbad2), with Swift 6.2 (beta) for Wasm on 4 Sep 2025 20:26:07 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/p-x9/swift-weak-self-check.git
Reference: 0.7.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/swift-weak-self-check
 * tag               0.7.0      -> FETCH_HEAD
HEAD is now at 1bbad28 Merge pull request #22 from p-x9/feature/migrate-deprecated-api
Cloned https://github.com/p-x9/swift-weak-self-check.git
Revision (git rev-parse @):
1bbad286af0a19f7a90d16003551d04d3f2f14b3
SUCCESS checkout https://github.com/p-x9/swift-weak-self-check.git at 0.7.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/p-x9/swift-weak-self-check.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/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:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/kateinoigakukun/swift-indexstore.git
Fetching https://github.com/p-x9/swift-source-reporter.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/47] Fetching swift-source-reporter
[47/370] Fetching swift-source-reporter, swift-indexstore
[370/11506] Fetching swift-source-reporter, swift-indexstore, yams
[927/83356] Fetching swift-source-reporter, swift-indexstore, yams, swift-syntax
[1758/99048] Fetching swift-source-reporter, swift-indexstore, yams, swift-syntax, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.20s)
[25916/83356] Fetching swift-source-reporter, swift-indexstore, yams, swift-syntax
Fetched https://github.com/p-x9/swift-source-reporter.git from cache (1.70s)
Fetched https://github.com/kateinoigakukun/swift-indexstore.git from cache (1.70s)
[45624/82986] Fetching yams, swift-syntax
Fetched https://github.com/jpsim/Yams.git from cache (1.76s)
[40955/71850] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (8.05s)
Computing version for https://github.com/p-x9/swift-source-reporter.git
Computed https://github.com/p-x9/swift-source-reporter.git at 0.2.0 (8.92s)
Computing version for https://github.com/kateinoigakukun/swift-indexstore.git
Computed https://github.com/kateinoigakukun/swift-indexstore.git at 0.4.0 (0.83s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.1 (0.86s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (3.76s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.47s)
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.6.1
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/p-x9/swift-source-reporter.git
Working copy of https://github.com/p-x9/swift-source-reporter.git resolved at 0.2.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 601.0.1
Creating working copy for https://github.com/kateinoigakukun/swift-indexstore.git
Working copy of https://github.com/kateinoigakukun/swift-indexstore.git resolved at 0.4.0
/host/spi-builder-workspace/Plugins/WeakSelfCheckCommandPlugin/plugin.swift:37:17: warning: 'launchPath' is deprecated: renamed to 'executableURL' [#DeprecatedDeclaration]
 35 |
 36 |         let process = Process()
 37 |         process.launchPath = tool.url.path
    |                 |- warning: 'launchPath' is deprecated: renamed to 'executableURL' [#DeprecatedDeclaration]
    |                 `- note: use 'executableURL' instead
 38 |         process.arguments = [
 39 |             path,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1/1] Compiling plugin WeakSelfCheckCommandPlugin
[2/2] Compiling plugin WeakSelfCheckBuildToolPlugin
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/93] Write sources
[19/93] Compiling _CIndexStore dummy.c
[20/93] Write sources
[22/93] Compiling _SwiftSyntaxCShims dummy.c
[25/93] Compiling _CIndexStore dummy.c
[26/93] Write sources
[40/93] Compiling writer.c
[41/93] Write swift-version-24593BA9C3E375BF.txt
[42/93] Compiling reader.c
[43/93] Compiling writer.c
[44/93] Compiling api.c
[44/94] Compiling parser.c
[46/95] Compiling reader.c
[47/99] Compiling emitter.c
[48/103] Compiling scanner.c
[51/127] Compiling SwiftSyntax510 Empty.swift
[52/127] Emitting module SwiftSyntax510
[53/128] Compiling Yams Tag.swift
[54/128] Compiling Yams YamlAnchorProviding.swift
[55/130] Compiling SwiftSyntax600 Empty.swift
[56/130] Emitting module SwiftSyntax600
[57/131] Compiling SwiftSyntax601 Empty.swift
[58/131] Emitting module SwiftSyntax601
[59/132] Emitting module SwiftSyntax509
[60/132] Compiling SwiftSyntax509 Empty.swift
[62/133] Compiling Yams Mark.swift
[63/133] Compiling Yams Node.Alias.swift
[64/133] Compiling Yams Node.Mapping.swift
[66/133] Compiling SwiftSyntax601 Empty.swift
[67/133] Emitting module SwiftSyntax601
[70/134] Emitting module SwiftSyntax600
[71/134] Emitting module SwiftSyntax510
[72/134] Compiling SwiftSyntax510 Empty.swift
[73/134] Compiling SwiftSyntax600 Empty.swift
[77/165] Compiling SwiftSyntax509 Empty.swift
[78/165] Emitting module SwiftSyntax509
[80/214] Compiling SourceReporter XcodeReporter.swift
/host/spi-builder-workspace/.build/checkouts/swift-source-reporter/Sources/SourceReporter/CallbackReporter.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// A reporter that outputs reports by invoking a user-provided callback.
[81/223] Compiling SourceReporter CompositeReporter.swift
/host/spi-builder-workspace/.build/checkouts/swift-source-reporter/Sources/SourceReporter/CallbackReporter.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// A reporter that outputs reports by invoking a user-provided callback.
[82/223] Compiling SourceReporter CallbackReporter.swift
/host/spi-builder-workspace/.build/checkouts/swift-source-reporter/Sources/SourceReporter/CallbackReporter.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// A reporter that outputs reports by invoking a user-provided callback.
[82/239] Wrapping AST for SwiftSyntax601 for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[84/239] Emitting module SourceReporter
/host/spi-builder-workspace/.build/checkouts/swift-source-reporter/Sources/SourceReporter/CallbackReporter.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// A reporter that outputs reports by invoking a user-provided callback.
[85/239] Compiling SourceReporter ReporterProtocol.swift
/host/spi-builder-workspace/.build/checkouts/swift-source-reporter/Sources/SourceReporter/CallbackReporter.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// A reporter that outputs reports by invoking a user-provided callback.
[86/239] Compiling SourceReporter ReportType.swift
/host/spi-builder-workspace/.build/checkouts/swift-source-reporter/Sources/SourceReporter/CallbackReporter.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// A reporter that outputs reports by invoking a user-provided callback.
[87/239] Compiling SourceReporter Report.swift
/host/spi-builder-workspace/.build/checkouts/swift-source-reporter/Sources/SourceReporter/CallbackReporter.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// A reporter that outputs reports by invoking a user-provided callback.
[88/239] Emitting module Yams
BUILD FAILURE 6.2 wasm