Build Information
Failed to build swift-weak-self-check, reference main (8644fa
), with Swift 6.2 (beta) for Wasm on 23 Jun 2025 19:47:23 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/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 8644faa Merge pull request #19 from p-x9/feature/setup-ci
Cloned https://github.com/p-x9/swift-weak-self-check.git
Revision (git rev-parse @):
8644faa05592288e54ac5a16bd4471929242d96c
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-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/apple/swift-argument-parser.git
Fetching https://github.com/kateinoigakukun/swift-indexstore.git
Fetching https://github.com/jpsim/Yams.git
[1/323] Fetching swift-indexstore
[324/11243] Fetching swift-indexstore, yams
Fetched https://github.com/kateinoigakukun/swift-indexstore.git from cache (0.36s)
[546/10920] Fetching yams
[1967/26300] Fetching yams, swift-argument-parser
Fetching https://github.com/swiftlang/swift-syntax.git
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.51s)
Fetched https://github.com/jpsim/Yams.git from cache (1.55s)
[1/70921] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.83s)
Computing version for https://github.com/kateinoigakukun/swift-indexstore.git
Computed https://github.com/kateinoigakukun/swift-indexstore.git at 0.3.0 (7.22s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.35s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (2.62s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.51s)
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/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/kateinoigakukun/swift-indexstore.git
Working copy of https://github.com/kateinoigakukun/swift-indexstore.git resolved at 0.3.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.5.1
/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.path.string
| |- 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
Building for debugging...
[3/88] Write sources
[27/88] Compiling _CIndexStore dummy.c
[28/88] Compiling _SwiftSyntaxCShims dummy.c
[29/88] Write swift-version-24593BA9C3E375BF.txt
[30/88] Compiling writer.c
[31/88] Compiling _SwiftSyntaxCShims dummy.c
[32/88] Compiling reader.c
[33/88] Compiling parser.c
[34/88] Compiling api.c
[35/88] Compiling emitter.c
[36/96] Compiling api.c
[37/110] Compiling scanner.c
[39/130] Emitting module Yams
[40/132] Compiling ArgumentParserToolInfo ToolInfo.swift
[41/132] Emitting module ArgumentParserToolInfo
[43/171] Emitting module SwiftSyntax600
[44/171] Compiling SwiftSyntax600 Empty.swift
[45/172] Emitting module SwiftSyntax601
[46/172] Compiling SwiftSyntax601 Empty.swift
[48/173] Compiling SwiftIndexStore OptionSetDisplayable.swift
[50/174] Emitting module SwiftSyntax509
[51/174] Compiling SwiftSyntax509 Empty.swift
[52/175] Emitting module SwiftSyntax510
[53/175] Compiling SwiftSyntax510 Empty.swift
[54/176] Wrapping AST for SwiftSyntax601 for debugging
[55/176] Wrapping AST for SwiftSyntax600 for debugging
[56/176] Write sources
[59/176] Compiling _CIndexStore dummy.c
[60/176] Wrapping AST for SwiftSyntax509 for debugging
[62/176] Compiling ArgumentParser FishCompletionsGenerator.swift
[63/176] Compiling ArgumentParser ZshCompletionsGenerator.swift
[63/176] Wrapping AST for SwiftSyntax510 for debugging
[64/176] Write sources
[68/203] Emitting module SwiftSyntax601
[69/214] Emitting module SwiftSyntax600
[70/214] Compiling SwiftSyntax601 Empty.swift
[71/219] Compiling SwiftSyntax600 Empty.swift
[72/245] 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 {
[73/256] 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 {
[76/257] 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 {
[77/257] 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 {
[78/257] Emitting module ArgumentParserToolInfo
[79/257] Compiling ArgumentParserToolInfo ToolInfo.swift
[80/257] 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 {
[81/258] 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 {
[82/258] 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 {
[83/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 {
[84/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 {
[86/262] Compiling SwiftSyntax509 Empty.swift
[87/262] Emitting module SwiftSyntax510
[88/262] Compiling SwiftSyntax510 Empty.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[90/263] 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
[91/274] Compiling SwiftSyntax RawSyntaxLayoutView.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
[92/274] Compiling SwiftSyntax RawSyntaxNodeProtocol.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
[93/274] Compiling SwiftSyntax RawSyntaxTokenView.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
[94/274] Compiling SwiftSyntax SourceEdit.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
[95/274] Compiling SwiftSyntax SourceLength.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
[96/296] Emitting module SwiftSyntax509
error: emit-module command failed with exit code 1 (use -v to see invocation)
[97/307] 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 {
[98/307] Compiling SwiftIndexStore SwiftIndexStore.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/307] Compiling SwiftIndexStore IndexStoreUnit.swift
[100/307] Emitting module SwiftIndexStore
[100/307] Wrapping AST for ArgumentParserToolInfo for debugging
BUILD FAILURE 6.2 wasm