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 main (1bbad2), with Swift 6.2 (beta) for Wasm on 4 Sep 2025 20:27:28 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: 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/swift-weak-self-check
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
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/p-x9/swift-source-reporter.git
Fetching https://github.com/kateinoigakukun/swift-indexstore.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/323] Fetching swift-indexstore
[324/370] Fetching swift-indexstore, swift-source-reporter
[371/11506] Fetching swift-indexstore, swift-source-reporter, yams
[1151/27198] Fetching swift-indexstore, swift-source-reporter, yams, swift-argument-parser
[1576/99048] Fetching swift-indexstore, swift-source-reporter, yams, swift-argument-parser, swift-syntax
Fetched https://github.com/p-x9/swift-source-reporter.git from cache (1.86s)
Fetched https://github.com/kateinoigakukun/swift-indexstore.git from cache (1.86s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.88s)
[19231/82986] Fetching yams, swift-syntax
Fetched https://github.com/jpsim/Yams.git from cache (11.77s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (11.79s)
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 (12.61s)
Computing version for https://github.com/kateinoigakukun/swift-indexstore.git
Computed https://github.com/kateinoigakukun/swift-indexstore.git at 0.4.0 (1.24s)
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.90s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (4.98s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.96s)
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
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
/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
[22/93] Compiling _SwiftSyntaxCShims dummy.c
[23/93] Compiling _CIndexStore dummy.c
[24/93] Write sources
[32/93] Compiling reader.c
[33/93] Compiling writer.c
[34/93] Compiling api.c
[35/93] Write sources
[43/93] Compiling _CIndexStore dummy.c
[44/93] Compiling _SwiftSyntaxCShims dummy.c
[45/93] Compiling writer.c
[46/93] Compiling reader.c
[47/93] Write swift-version-24593BA9C3E375BF.txt
[47/93] Compiling api.c
[49/93] Compiling parser.c
[50/93] Compiling emitter.c
[51/99] Compiling scanner.c
[52/99] Compiling parser.c
[54/101] Emitting module SwiftSyntax601
[54/123] Compiling scanner.c
[55/123] Compiling emitter.c
[57/127] Compiling SwiftSyntax509 Empty.swift
[58/127] Emitting module SwiftSyntax509
[60/128] Compiling SwiftSyntax600 Empty.swift
[61/128] Emitting module SwiftSyntax600
[62/129] Compiling Yams Mark.swift
[63/129] Compiling Yams Node.Alias.swift
[64/129] Compiling Yams Node.Mapping.swift
[66/131] Emitting module SwiftSyntax510
[67/131] Compiling SwiftSyntax510 Empty.swift
[68/132] Compiling Yams Tag.swift
[69/132] Compiling Yams YamlAnchorProviding.swift
[71/132] Emitting module SwiftSyntax601
[72/132] Compiling SwiftSyntax601 Empty.swift
[74/175] Emitting module SwiftSyntax600
[75/175] Compiling SwiftSyntax600 Empty.swift
[77/176] Emitting module SwiftSyntax509
[78/176] Compiling SwiftSyntax509 Empty.swift
[79/177] Compiling SwiftIndexStore IndexStoreError.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/
[80/177] Compiling SwiftIndexStore IndexStoreOccurrence.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/
[81/177] Compiling SwiftIndexStore IndexStoreRelation.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/
[82/177] Compiling SwiftIndexStore IndexStoreSymbol.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/
[83/177] 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/
[84/177] 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/
[85/177] 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/
[87/179] Compiling SwiftIndexStore OptionSetDisplayable.swift
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/IndexStoreError.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | enum IndexStoreError: LocalizedError {
[88/180] Compiling SwiftSyntax601 Empty.swift
[89/181] Emitting module SwiftSyntax510
[90/181] Compiling SwiftSyntax510 Empty.swift
[93/187] Compiling SwiftIndexStore LibIndexStore.swift
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/IndexStoreError.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | enum IndexStoreError: LocalizedError {
[94/187] Compiling SwiftIndexStore IndexStoreUnit.swift
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/IndexStoreError.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | enum IndexStoreError: LocalizedError {
[95/260] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/IndexStoreError.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | enum IndexStoreError: LocalizedError {
[96/260] Compiling SwiftSyntax Assert.swift
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/IndexStoreError.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | enum IndexStoreError: LocalizedError {
[97/260] Compiling SwiftIndexStore UnfairLock.swift
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/IndexStoreError.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | enum IndexStoreError: LocalizedError {
[98/260] Compiling SwiftSyntax AbsolutePosition.swift
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/IndexStoreError.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | enum IndexStoreError: LocalizedError {
[99/260] Compiling SwiftSyntax AbsoluteRawSyntax.swift
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/IndexStoreError.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | enum IndexStoreError: LocalizedError {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[100/260] Emitting module SwiftIndexStore
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/IndexStoreError.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | enum IndexStoreError: LocalizedError {
[101/260] 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.
[102/260] 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.
[103/260] 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.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[104/260] 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.
[105/260] Compiling SwiftSyntax BumpPtrAllocator.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/
[106/260] Compiling SwiftSyntax CommonAncestor.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/
[107/260] Compiling SwiftSyntax Convenience.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/
[108/260] Compiling SwiftSyntax RawSyntaxLayoutView.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/
[109/260] Compiling SwiftSyntax RawSyntaxNodeProtocol.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/
[110/260] Compiling SwiftSyntax RawSyntaxTokenView.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/
[111/265] 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.
[112/267] 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.
[113/269] 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.
[114/292] Compiling SwiftIndexStore Process+Extension.swift
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/IndexStoreError.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | enum IndexStoreError: LocalizedError {
BUILD FAILURE 6.2 wasm