Build Information
Failed to build swift-weak-self-check, reference 0.7.0 (1bbad2), with Swift 6.3 for Wasm on 16 Apr 2026 22:09:41 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
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.3
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-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/kateinoigakukun/swift-indexstore.git
Fetching https://github.com/p-x9/swift-source-reporter.git
[1/47] Fetching swift-source-reporter
[48/377] Fetching swift-source-reporter, swift-indexstore
[55/17900] Fetching swift-source-reporter, swift-indexstore, swift-argument-parser
[379/29451] Fetching swift-source-reporter, swift-indexstore, swift-argument-parser, yams
Fetched https://github.com/p-x9/swift-source-reporter.git from cache (0.64s)
[1203/29404] Fetching swift-indexstore, swift-argument-parser, yams
Fetched https://github.com/kateinoigakukun/swift-indexstore.git from cache (0.65s)
[1048/29074] Fetching swift-argument-parser, yams
[7565/104059] Fetching swift-argument-parser, yams, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.09s)
[16449/86536] Fetching yams, swift-syntax
Fetched https://github.com/jpsim/Yams.git from cache (3.96s)
[38993/74985] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (12.26s)
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 (13.14s)
Computing version for https://github.com/kateinoigakukun/swift-indexstore.git
Computed https://github.com/kateinoigakukun/swift-indexstore.git at 0.5.0 (0.83s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (4.61s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.97s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.1 (0.83s)
Creating working copy for https://github.com/kateinoigakukun/swift-indexstore.git
Working copy of https://github.com/kateinoigakukun/swift-indexstore.git resolved at 0.5.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.7.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
/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 _SwiftSyntaxCShims dummy.c
[20/93] Compiling _CIndexStore dummy.c
[21/93] Write sources
[24/93] Compiling _SwiftSyntaxCShims dummy.c
[25/93] Compiling _CIndexStore dummy.c
[26/93] Write sources
[29/93] Compiling writer.c
[30/93] Compiling reader.c
[30/93] Write sources
[42/93] Write swift-version-24593BA9C3E375BF.txt
[43/93] Compiling parser.c
[44/93] Compiling writer.c
[44/93] Compiling reader.c
[46/93] Compiling api.c
[47/97] Compiling parser.c
[48/101] Compiling emitter.c
[50/101] Emitting module SwiftSyntax601
[51/101] Emitting module SwiftSyntax600
[52/105] Compiling scanner.c
[55/127] Emitting module Yams
[56/129] Compiling SwiftSyntax600 Empty.swift
[57/130] Compiling SwiftSyntax601 Empty.swift
[58/131] Emitting module SwiftSyntax510
[60/131] Compiling SwiftSyntax510 Empty.swift
[63/134] Compiling SwiftSyntax600 Empty.swift
[64/135] Emitting module SwiftSyntax601
[65/135] Compiling SwiftSyntax601 Empty.swift
[67/151] Emitting module SwiftSyntax509
[68/154] Compiling SwiftSyntax509 Empty.swift
[69/154] Emitting module SwiftSyntax509
[70/154] Compiling SwiftSyntax509 Empty.swift
[71/158] Emitting module SwiftSyntax510
[72/158] Compiling SwiftSyntax510 Empty.swift
[76/175] Wrapping AST for SwiftSyntax601 for debugging
[78/303] Emitting module ArgumentParserToolInfo
[79/303] Compiling ArgumentParserToolInfo ToolInfo.swift
[81/304] Compiling SwiftSyntax AbsolutePosition.swift
[82/304] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[83/304] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[84/304] Compiling SwiftSyntax Assert.swift
[85/304] Compiling SwiftSyntax BumpPtrAllocator.swift
[86/304] Compiling SwiftSyntax CommonAncestor.swift
[87/304] Compiling SwiftSyntax Convenience.swift
[88/304] Compiling SwiftSyntax CustomTraits.swift
[89/304] Compiling SwiftSyntax EditorPlaceholder.swift
[89/313] Wrapping AST for SwiftSyntax600 for debugging
[91/359] Compiling ArgumentParser BashCompletionsGenerator.swift
[92/359] Compiling ArgumentParser CompletionsGenerator.swift
[93/359] Compiling ArgumentParser FishCompletionsGenerator.swift
[94/359] Compiling ArgumentParser ZshCompletionsGenerator.swift
[95/359] Compiling ArgumentParser Argument.swift
[96/359] Compiling ArgumentParser ArgumentDiscussion.swift
[97/359] Compiling ArgumentParser ArgumentHelp.swift
[98/359] Compiling ArgumentParser ArgumentVisibility.swift
[99/359] Compiling ArgumentParser CompletionKind.swift
[100/368] Compiling SwiftIndexStore OptionSetDisplayable.swift
[103/369] Compiling ArgumentParser InputKey.swift
[104/369] Compiling ArgumentParser ParentCommand.swift
[110/369] Compiling ArgumentParser ArgumentDefinition.swift
[111/369] Compiling ArgumentParser ArgumentSet.swift
[112/369] Compiling ArgumentParser CommandParser.swift
[113/369] Compiling ArgumentParser OptionGroup.swift
[114/369] Compiling ArgumentParser ParsableCommand.swift
[115/369] Compiling ArgumentParser ArgumentDecoder.swift
[116/369] Compiling ArgumentParser NameSpecification.swift
[117/369] Compiling ArgumentParser Option.swift
[119/369] Compiling ArgumentParser Errors.swift
[120/369] Compiling ArgumentParser Flag.swift
[124/370] Compiling ArgumentParser InputOrigin.swift
[125/370] Compiling ArgumentParser Name.swift
[126/370] Compiling ArgumentParser Parsed.swift
[127/370] Compiling ArgumentParser ParsedValues.swift
[128/370] Compiling ArgumentParser ParserError.swift
[129/370] Compiling ArgumentParser SplitArguments.swift
[130/370] Compiling ArgumentParser DumpHelpGenerator.swift
[131/370] Compiling ArgumentParser HelpCommand.swift
[132/370] Compiling ArgumentParser HelpGenerator.swift
[134/370] Compiling SourceReporter ReporterProtocol.swift
[135/370] Compiling SourceReporter XcodeReporter.swift
[136/370] Emitting module SourceReporter
[137/370] Compiling SourceReporter ReportType.swift
[137/370] Wrapping AST for Yams for debugging
[138/370] Wrapping AST for SwiftSyntax510 for debugging
[140/370] Compiling SourceReporter CallbackReporter.swift
[141/370] Compiling SourceReporter CompositeReporter.swift
[142/370] Compiling SourceReporter Report.swift
[142/371] Wrapping AST for SwiftSyntax509 for debugging
[144/371] Wrapping AST for ArgumentParserToolInfo for debugging
[145/371] Wrapping AST for SourceReporter for debugging
[149/371] Compiling SwiftIndexStore IndexStoreUnit.swift
[150/371] Compiling SwiftIndexStore LibIndexStore.swift
[150/372] Wrapping AST for SwiftSyntax600 for debugging
[151/372] Wrapping AST for SwiftSyntax601 for debugging
[152/372] Wrapping AST for SwiftSyntax510 for debugging
[153/372] Wrapping AST for SwiftSyntax509 for debugging
[155/372] Emitting module SwiftIndexStore
[158/372] Compiling SwiftIndexStore UnfairLock.swift
[159/372] Compiling SwiftSyntax SyntaxEnum.swift
[160/372] Compiling SwiftSyntax SyntaxKind.swift
[161/372] Compiling SwiftSyntax SyntaxRewriter.swift
[162/372] Compiling SwiftSyntax SyntaxTraits.swift
[163/372] Compiling SwiftSyntax SyntaxVisitor.swift
[164/372] Compiling SwiftSyntax TokenKind.swift
[165/372] Compiling SwiftSyntax Tokens.swift
[166/372] Compiling SwiftSyntax TriviaPieces.swift
[167/372] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[167/372] Compiling api.c
[168/372] Compiling emitter.c
[169/372] Write sources
[171/372] Emitting module ArgumentParser
[172/400] Compiling SwiftIndexStore OptionSetDisplayable.swift
[173/400] Compiling SwiftIndexStore Process+Extension.swift
[174/400] Compiling SwiftIndexStore SwiftIndexStore.swift
[175/401] Write sources
[176/401] Wrapping AST for SwiftIndexStore for debugging
[184/401] Compiling SwiftIndexStore IndexStoreUnit.swift
[185/401] Compiling SwiftIndexStore LibIndexStore.swift
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:24:21: error: cannot find 'RTLD_LAZY' in scope
22 | typealias Dylib = UnsafeMutableRawPointer
23 |
24 | var flags = RTLD_LAZY | RTLD_LOCAL
| `- error: cannot find 'RTLD_LAZY' in scope
25 |
26 | #if os(macOS)
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:24:33: error: cannot find 'RTLD_LOCAL' in scope
22 | typealias Dylib = UnsafeMutableRawPointer
23 |
24 | var flags = RTLD_LAZY | RTLD_LOCAL
| `- error: cannot find 'RTLD_LOCAL' in scope
25 |
26 | #if os(macOS)
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:30:21: error: cannot find 'dlopen' in scope
28 | #endif
29 |
30 | let dylib = dlopen(url.path, flags)!
| `- error: cannot find 'dlopen' in scope
31 | var api = indexstore_functions_t()
32 | func requireSym<T>(_ dylib: Dylib, _ symbol: String) throws -> T {
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:33:29: error: cannot find 'dlsym' in scope
31 | var api = indexstore_functions_t()
32 | func requireSym<T>(_ dylib: Dylib, _ symbol: String) throws -> T {
33 | guard let sym = dlsym(dylib, symbol) else {
| `- error: cannot find 'dlsym' in scope
34 | throw IndexStoreError.missingSymbol(symbol)
35 | }
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:91:32: error: cannot find 'Process' in scope
89 |
90 | public static func linuxSwiftDir() throws -> URL {
91 | let (binPath, _) = try Process.exec(bin: "/usr/bin/which", arguments: ["swift"])
| `- error: cannot find 'Process' in scope
92 | return URL(
93 | fileURLWithPath: binPath
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:100:38: error: cannot find 'Process' in scope
98 |
99 | private static func macOSDeveloperDir() throws -> URL {
100 | var (stdoutContent, _) = try Process.exec(
| `- error: cannot find 'Process' in scope
101 | bin: "/usr/bin/xcode-select",
102 | arguments: ["--print-path"]
error: emit-module command failed with exit code 1 (use -v to see invocation)
[186/401] Emitting module SwiftIndexStore
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:24:21: error: cannot find 'RTLD_LAZY' in scope
22 | typealias Dylib = UnsafeMutableRawPointer
23 |
24 | var flags = RTLD_LAZY | RTLD_LOCAL
| `- error: cannot find 'RTLD_LAZY' in scope
25 |
26 | #if os(macOS)
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:24:33: error: cannot find 'RTLD_LOCAL' in scope
22 | typealias Dylib = UnsafeMutableRawPointer
23 |
24 | var flags = RTLD_LAZY | RTLD_LOCAL
| `- error: cannot find 'RTLD_LOCAL' in scope
25 |
26 | #if os(macOS)
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:30:21: error: cannot find 'dlopen' in scope
28 | #endif
29 |
30 | let dylib = dlopen(url.path, flags)!
| `- error: cannot find 'dlopen' in scope
31 | var api = indexstore_functions_t()
32 | func requireSym<T>(_ dylib: Dylib, _ symbol: String) throws -> T {
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/Process+Extension.swift:3:11: error: cannot find type 'Process' in scope
1 | import Foundation
2 |
3 | extension Process {
| `- error: cannot find type 'Process' in scope
4 | enum ProcessError: Error {
5 | case nonZeroExit(
[187/401] Compiling Yams Constructor.swift
[188/401] Compiling Yams Decoder.swift
[189/401] Compiling SourceReporter ReporterProtocol.swift
[190/401] Compiling SwiftIndexStore UnfairLock.swift
[191/401] Compiling SourceReporter ReportType.swift
[192/401] Compiling SourceReporter CallbackReporter.swift
[193/401] Emitting module SourceReporter
[194/401] Compiling SourceReporter XcodeReporter.swift
[195/401] Compiling Yams String+Yams.swift
[196/401] Compiling Yams Mark.swift
[197/401] Compiling Yams Node.Alias.swift
[198/401] Compiling Yams Node.Mapping.swift
[199/401] Compiling Yams Node.Scalar.swift
[200/401] Compiling Yams Node.Sequence.swift
[201/401] Compiling Yams Node.swift
[202/401] Compiling SourceReporter CompositeReporter.swift
[203/401] Compiling SourceReporter Report.swift
[205/402] Compiling SwiftIndexStore Process+Extension.swift
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/Process+Extension.swift:3:11: error: cannot find type 'Process' in scope
1 | import Foundation
2 |
3 | extension Process {
| `- error: cannot find type 'Process' in scope
4 | enum ProcessError: Error {
5 | case nonZeroExit(
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/Process+Extension.swift:6:13: error: cannot find type 'TerminationReason' in scope
4 | enum ProcessError: Error {
5 | case nonZeroExit(
6 | TerminationReason, Int32, command: String,
| `- error: cannot find type 'TerminationReason' in scope
7 | stdout: String, stderr: String
8 | )
[206/402] Compiling SwiftIndexStore SwiftIndexStore.swift
[206/402] Wrapping AST for SourceReporter for debugging
[213/402] Compiling Yams Tag.swift
[214/402] Compiling Yams YamlAnchorProviding.swift
[215/402] Compiling Yams Parser.swift
[216/402] Compiling Yams RedundancyAliasingStrategy.swift
BUILD FAILURE 6.3 wasm