The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-weak-self-check, reference main (1bbad2), with Swift 6.3 for Wasm on 16 Apr 2026 22:08:20 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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

Build 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: 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.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-4609320-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/p-x9/swift-source-reporter.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/kateinoigakukun/swift-indexstore.git
[1/330] Fetching swift-indexstore
[331/377] Fetching swift-indexstore, swift-source-reporter
[378/17900] Fetching swift-indexstore, swift-source-reporter, swift-argument-parser
[379/29451] Fetching swift-indexstore, swift-source-reporter, swift-argument-parser, yams
[380/104436] Fetching swift-indexstore, swift-source-reporter, swift-argument-parser, yams, swift-syntax
Fetched https://github.com/kateinoigakukun/swift-indexstore.git from cache (0.77s)
[2777/104106] Fetching swift-source-reporter, swift-argument-parser, yams, swift-syntax
Fetched https://github.com/jpsim/Yams.git from cache (2.42s)
[78308/92555] Fetching swift-source-reporter, swift-argument-parser, swift-syntax
Fetched https://github.com/p-x9/swift-source-reporter.git from cache (5.90s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (5.91s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.97s)
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 (6.36s)
Computing version for https://github.com/kateinoigakukun/swift-indexstore.git
Computed https://github.com/kateinoigakukun/swift-indexstore.git at 0.5.0 (1.03s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (3.31s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.52s)
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.48s)
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/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/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.5.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
[10/93] Compiling _CIndexStore dummy.c
[11/93] Compiling _SwiftSyntaxCShims dummy.c
[12/93] Write sources
[24/93] Compiling _SwiftSyntaxCShims dummy.c
[25/93] Compiling writer.c
[26/93] Compiling reader.c
[27/93] Write sources
[28/93] Compiling _CIndexStore dummy.c
[29/93] Write swift-version-24593BA9C3E375BF.txt
[30/93] Write sources
[35/93] Compiling parser.c
[36/93] Compiling api.c
[37/103] Compiling emitter.c
[38/105] Compiling scanner.c
[40/107] Emitting module SwiftSyntax601
[41/117] Emitting module SwiftIndexStore
[42/118] Emitting module SwiftSyntax510
[43/118] Compiling SwiftSyntax510 Empty.swift
[45/119] Emitting module SwiftSyntax510
[46/119] Compiling SwiftSyntax510 Empty.swift
[47/120] Emitting module SwiftSyntax600
[48/120] Compiling SwiftSyntax600 Empty.swift
[50/121] Emitting module SwiftSyntax601
[51/121] Compiling SwiftSyntax600 Empty.swift
[52/121] Emitting module SwiftSyntax600
[53/121] Compiling SwiftSyntax601 Empty.swift
[54/121] Emitting module SwiftSyntax509
[55/121] Compiling SwiftSyntax509 Empty.swift
[56/121] Compiling SwiftSyntax601 Empty.swift
[61/154] Wrapping AST for SwiftSyntax510 for debugging
[63/154] Compiling Yams Constructor.swift
[64/154] Compiling Yams Decoder.swift
[64/154] Wrapping AST for SwiftSyntax600 for debugging
[65/154] Wrapping AST for SwiftSyntax601 for debugging
[66/154] Wrapping AST for SwiftSyntax509 for debugging
[67/154] Wrapping AST for SwiftSyntax600 for debugging
[68/154] Write sources
[70/154] Wrapping AST for SwiftSyntax601 for debugging
[71/154] Write sources
[73/154] Wrapping AST for SwiftSyntax510 for debugging
[74/154] Write sources
[78/220] Compiling writer.c
[80/220] Compiling SwiftSyntax509 Empty.swift
[81/237] Emitting module SwiftSyntax509
[82/238] Compiling scanner.c
[84/302] Compiling ArgumentParserToolInfo ToolInfo.swift
[85/302] Emitting module ArgumentParserToolInfo
[86/303] Wrapping AST for SwiftSyntax509 for debugging
[88/303] Compiling SwiftSyntax Identifier.swift
[89/303] Compiling SwiftSyntax MemoryLayout.swift
[90/303] Compiling SwiftSyntax MissingNodeInitializers.swift
[91/303] Compiling SwiftSyntax RawSyntax.swift
[92/303] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[93/303] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[94/303] Compiling SwiftSyntax RawSyntaxTokenView.swift
[95/303] Compiling SwiftSyntax SourceEdit.swift
[96/303] Compiling SwiftSyntax SourceLength.swift
[97/358] Compiling SwiftIndexStore OptionSetDisplayable.swift
[98/358] Compiling SwiftIndexStore Process+Extension.swift
[99/358] Compiling SwiftIndexStore IndexStoreUnit.swift
[100/358] Compiling SwiftIndexStore LibIndexStore.swift
[101/358] Compiling SwiftIndexStore UnfairLock.swift
[102/358] Compiling ArgumentParser BashCompletionsGenerator.swift
[103/358] Compiling ArgumentParser CompletionsGenerator.swift
[104/358] Compiling SwiftIndexStore SwiftIndexStore.swift
[105/359] Wrapping AST for SwiftIndexStore for debugging
[106/359] Wrapping AST for ArgumentParserToolInfo for debugging
[107/359] Compiling reader.c
[109/359] Compiling SourceReporter CompositeReporter.swift
[109/359] Compiling parser.c
[111/359] Compiling SourceReporter CallbackReporter.swift
[112/359] Compiling SourceReporter CompositeReporter.swift
[113/359] Compiling SourceReporter ReporterProtocol.swift
[114/359] Compiling SourceReporter XcodeReporter.swift
[115/359] Emitting module SourceReporter
[116/359] Compiling SourceReporter ReportType.swift
[116/359] Compiling emitter.c
[118/359] Compiling SourceReporter Report.swift
[119/360] Compiling ArgumentParser FishCompletionsGenerator.swift
[120/360] Compiling ArgumentParser ZshCompletionsGenerator.swift
[121/361] Write sources
[123/361] Emitting module ArgumentParser
[124/367] Compiling ArgumentParser ParentCommand.swift
[125/367] Compiling ArgumentParser AsyncParsableCommand.swift
[126/367] Compiling ArgumentParser CommandConfiguration.swift
[127/367] Compiling ArgumentParser CommandGroup.swift
[128/367] Compiling ArgumentParser EnumerableFlag.swift
[129/367] Compiling ArgumentParser ExpressibleByArgument.swift
[130/367] Compiling ArgumentParser ParsableArguments.swift
[130/367] Wrapping AST for SourceReporter for debugging
[131/369] Compiling api.c
[133/389] Compiling Yams Tag.swift
[134/389] Compiling Yams YamlAnchorProviding.swift
[135/391] Emitting module Yams
[136/391] Compiling Yams Node.Alias.swift
[137/391] Compiling Yams Node.Mapping.swift
[138/391] Compiling Yams Node.Scalar.swift
[139/391] Compiling Yams Node.Sequence.swift
[140/391] Compiling Yams Node.swift
[143/391] Compiling ArgumentParser InputOrigin.swift
[144/391] Compiling ArgumentParser Name.swift
[145/391] Compiling ArgumentParser Parsed.swift
[146/391] Compiling ArgumentParser ParsedValues.swift
[147/391] Compiling ArgumentParser ParserError.swift
[148/391] Compiling ArgumentParser SplitArguments.swift
[149/391] Compiling Yams Mark.swift
[155/391] Compiling ArgumentParser ParsableCommand.swift
[156/391] Compiling ArgumentParser ArgumentDecoder.swift
[157/391] Compiling ArgumentParser ArgumentDefinition.swift
[158/391] Compiling ArgumentParser ArgumentSet.swift
[159/391] Compiling ArgumentParser CommandParser.swift
[160/391] Compiling ArgumentParser InputKey.swift
[161/391] Compiling ArgumentParser Foundation.swift
[162/391] Compiling ArgumentParser Mutex.swift
[163/391] Compiling ArgumentParser Platform.swift
[164/400] Compiling Yams YamlError.swift
[165/400] Compiling Yams YamlTagProviding.swift
[166/400] Compiling Yams AliasDereferencingStrategy.swift
[167/400] Compiling Yams Anchor.swift
[168/400] Compiling Yams Constructor.swift
[169/400] Compiling Yams Decoder.swift
[170/400] Compiling Yams Emitter.swift
[171/400] Compiling Yams Encoder.swift
[180/400] Compiling Yams Parser.swift
[181/400] Compiling Yams RedundancyAliasingStrategy.swift
[182/400] Compiling Yams Representer.swift
[183/400] Compiling Yams Resolver.swift
[184/400] Compiling SwiftIndexStore IndexStoreUnit.swift
[185/400] 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"]
[186/400] Compiling ArgumentParser Tree.swift
[187/400] Compiling ArgumentParser CodingKeyValidator.swift
[188/400] Compiling ArgumentParser NonsenseFlagsValidator.swift
[189/400] Compiling ArgumentParser ParsableArgumentsValidation.swift
[190/400] Compiling ArgumentParser PositionalArgumentsValidator.swift
[191/400] Compiling ArgumentParser UniqueNamesValidator.swift
[192/400] Emitting module SourceReporter
[193/400] Compiling SourceReporter ReporterProtocol.swift
[194/400] Compiling SourceReporter ReportType.swift
[195/400] Compiling SwiftIndexStore OptionSetDisplayable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[196/400] 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(
[199/400] Compiling SourceReporter CallbackReporter.swift
[200/400] Compiling SourceReporter XcodeReporter.swift
[201/400] Compiling SourceReporter Report.swift
[202/400] Compiling SwiftIndexStore UnfairLock.swift
[205/401] Compiling Yams String+Yams.swift
[208/401] Wrapping AST for SourceReporter for debugging
[209/401] Write sources
[211/401] Compiling ArgumentParser DumpHelpGenerator.swift
[212/401] Compiling ArgumentParser HelpCommand.swift
[213/401] Compiling ArgumentParser HelpGenerator.swift
[214/401] Compiling ArgumentParser MessageInfo.swift
[215/401] Compiling ArgumentParser UsageGenerator.swift
[216/401] Compiling ArgumentParser CollectionExtensions.swift
[233/401] 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 |         )
[234/401] Compiling SwiftIndexStore SwiftIndexStore.swift
[238/401] Emitting module ArgumentParserToolInfo
[242/401] Compiling ArgumentParser SequenceExtensions.swift
[243/401] Compiling ArgumentParser StringExtensions.swift
[244/401] Compiling ArgumentParser SwiftExtensions.swift
BUILD FAILURE 6.3 wasm