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 Periphery, reference 3.3.0 (414ebf), with Swift 6.2 for Wasm on 14 Dec 2025 02:13:15 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/peripheryapp/periphery.git
Reference: 3.3.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/peripheryapp/periphery
 * tag               3.3.0      -> FETCH_HEAD
HEAD is now at 414ebf5 Release 3.3.0
Cloned https://github.com/peripheryapp/periphery.git
Revision (git rev-parse @):
414ebf502213c3e35a2f1784550eb40c48fc71db
SUCCESS checkout https://github.com/peripheryapp/periphery.git at 3.3.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/peripheryapp/periphery.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
828c1365039a: Already exists
253e69351b70: Already exists
46083a23d362: Already exists
18070bf5de03: Already exists
25f05163211c: Pulling fs layer
1a3670d5466a: Pulling fs layer
25f05163211c: Verifying Checksum
25f05163211c: Download complete
1a3670d5466a: Verifying Checksum
1a3670d5466a: Download complete
25f05163211c: Pull complete
1a3670d5466a: Pull complete
Digest: sha256:ea378e7d7954b9ce813c0ebc8f6bc113436e2b3d5aa4fd45225da8bf07e6be73
Status: Downloaded newer image for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift-sdk.json
Fetching https://github.com/tadija/AEXML
Fetching https://github.com/ileitch/swift-filename-matcher
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/apple/swift-syntax
Fetching https://github.com/apple/swift-argument-parser
[1/63] Fetching swift-filename-matcher
[64/2217] Fetching swift-filename-matcher, aexml
[2218/19138] Fetching swift-filename-matcher, aexml, swift-argument-parser
Fetched https://github.com/ileitch/swift-filename-matcher from cache (0.29s)
[3171/30342] Fetching aexml, swift-argument-parser, yams
Fetching https://github.com/apple/swift-system
[23020/103454] Fetching aexml, swift-argument-parser, yams, swift-syntax
[26118/108675] Fetching aexml, swift-argument-parser, yams, swift-syntax, swift-system
Fetched https://github.com/apple/swift-argument-parser from cache (0.86s)
Fetched https://github.com/apple/swift-system from cache (0.57s)
[17183/86533] Fetching aexml, yams, swift-syntax
Fetching https://github.com/kateinoigakukun/swift-indexstore
Fetched https://github.com/jpsim/Yams from cache (1.76s)
[29937/75266] Fetching aexml, swift-syntax
[32131/75589] Fetching aexml, swift-syntax, swift-indexstore
Fetched https://github.com/kateinoigakukun/swift-indexstore from cache (0.29s)
[35786/75266] Fetching aexml, swift-syntax
Fetched https://github.com/tadija/AEXML from cache (6.92s)
Fetched https://github.com/apple/swift-syntax from cache (6.99s)
Computing version for https://github.com/apple/swift-syntax
Computed https://github.com/apple/swift-syntax at 602.0.0 (9.69s)
Computing version for https://github.com/kateinoigakukun/swift-indexstore
Computed https://github.com/kateinoigakukun/swift-indexstore at 0.4.0 (0.35s)
Computing version for https://github.com/ileitch/swift-filename-matcher
Computed https://github.com/ileitch/swift-filename-matcher at 2.0.1 (0.46s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 6.2.0 (0.39s)
Computing version for https://github.com/tadija/AEXML
Computed https://github.com/tadija/AEXML at 4.7.0 (0.35s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.3 (1.88s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.2 (3.00s)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.3
Creating working copy for https://github.com/kateinoigakukun/swift-indexstore
Working copy of https://github.com/kateinoigakukun/swift-indexstore resolved at 0.4.0
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 6.2.0
Creating working copy for https://github.com/ileitch/swift-filename-matcher
Working copy of https://github.com/ileitch/swift-filename-matcher resolved at 2.0.1
Creating working copy for https://github.com/tadija/AEXML
Working copy of https://github.com/tadija/AEXML resolved at 4.7.0
Creating working copy for https://github.com/apple/swift-syntax
Working copy of https://github.com/apple/swift-syntax resolved at 602.0.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.2
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (1.00s)
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/63] Write sources
[24/63] Compiling _CIndexStore dummy.c
[25/63] Compiling writer.c
[26/63] Compiling CSystem shims.c
[27/63] Write sources
[30/63] Compiling parser.c
[30/63] Compiling _SwiftSyntaxCShims PlatformMutex.c
[32/63] Write swift-version-24593BA9C3E375BF.txt
[33/63] Compiling reader.c
[34/63] Compiling api.c
[36/104] Emitting module SwiftSyntax601
[37/104] Emitting module SwiftSyntax600
[37/104] Compiling emitter.c
[38/114] Compiling scanner.c
[40/116] Emitting module SystemPackage
[41/120] Emitting module SwiftSyntax510
[42/120] Compiling SwiftSyntax510 Empty.swift
[43/120] Compiling SwiftSyntax600 Empty.swift
[44/122] Compiling SystemPackage SystemString.swift
[45/122] Compiling SystemPackage Util+StringArray.swift
[46/122] Compiling SystemPackage Util.swift
[47/122] Compiling SystemPackage UtilConsumers.swift
[48/122] Emitting module SwiftSyntax509
[49/122] Compiling SwiftSyntax509 Empty.swift
[53/139] Compiling Yams Constructor.swift
[54/139] Compiling Yams Decoder.swift
[55/144] Compiling Yams RedundancyAliasingStrategy.swift
[56/144] Compiling Yams Representer.swift
[57/144] Compiling Yams Node.Scalar.swift
[58/144] Compiling Yams Node.Sequence.swift
[59/144] Emitting module SwiftSyntax602
[60/144] Compiling SwiftSyntax602 Empty.swift
[61/148] Compiling SwiftSyntax601 Empty.swift
[62/148] Compiling Yams Encoder.swift
[63/148] Compiling Yams Mark.swift
[64/148] Compiling Yams Node.Alias.swift
[65/148] Compiling Yams Node.Mapping.swift
[66/148] Compiling Yams Parser.swift
[67/148] Compiling Yams AliasDereferencingStrategy.swift
[68/148] Compiling Yams Anchor.swift
[71/148] Compiling Yams Emitter.swift
[73/151] Wrapping AST for SwiftSyntax602 for debugging
[75/158] Emitting module FilenameMatcher
[76/194] Compiling FilenameMatcher FilenameMatcherOptions.swift
[77/221] Emitting module AEXML
[78/221] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[79/221] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[80/221] Compiling SwiftSyntax RawSyntaxTokenView.swift
[81/221] Compiling SwiftSyntax SourceEdit.swift
[82/221] Compiling SwiftSyntax SourceLength.swift
[83/221] Compiling SwiftSyntax SourceLocation.swift
[84/221] Compiling SwiftSyntax SourcePresence.swift
[85/221] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[86/221] Compiling SwiftSyntax Syntax.swift
[87/221] Compiling SwiftSyntax SyntaxChildren.swift
[88/221] Compiling SwiftSyntax SyntaxCollection.swift
[89/221] Compiling SwiftSyntax SyntaxHashable.swift
[90/221] Compiling SwiftSyntax SyntaxIdentifier.swift
[91/221] Compiling SwiftSyntax ChildNameForKeyPath.swift
[92/221] Compiling SwiftSyntax Keyword.swift
[93/221] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[95/222] Emitting module Logger
/host/spi-builder-workspace/Sources/Logger/Logger.swift:52:40: error: cannot find type 'DispatchQueue' in scope
 50 |     }
 51 |
 52 |     @usableFromInline let outputQueue: DispatchQueue
    |                                        `- error: cannot find type 'DispatchQueue' in scope
 53 |     @usableFromInline let quiet: Bool
 54 |     @usableFromInline let verbose: Bool
/host/spi-builder-workspace/Sources/Logger/Logger.swift:122:59: error: cannot find type 'FILE' in scope
120 |
121 |     @inlinable
122 |     func log(_ line: String, output: UnsafeMutablePointer<FILE>) {
    |                                                           `- error: cannot find type 'FILE' in scope
123 |         _ = outputQueue.sync { fputs(line + "\n", output) }
124 |     }
/host/spi-builder-workspace/Sources/Logger/Logger.swift:64:23: error: cannot find 'DispatchQueue' in scope
 62 |         self.quiet = quiet
 63 |         self.verbose = verbose
 64 |         outputQueue = DispatchQueue(label: "Logger.outputQueue")
    |                       `- error: cannot find 'DispatchQueue' in scope
 65 |     }
 66 |
[96/222] Compiling Logger Logger.swift
/host/spi-builder-workspace/Sources/Logger/Logger.swift:52:40: error: cannot find type 'DispatchQueue' in scope
 50 |     }
 51 |
 52 |     @usableFromInline let outputQueue: DispatchQueue
    |                                        `- error: cannot find type 'DispatchQueue' in scope
 53 |     @usableFromInline let quiet: Bool
 54 |     @usableFromInline let verbose: Bool
/host/spi-builder-workspace/Sources/Logger/Logger.swift:122:59: error: cannot find type 'FILE' in scope
120 |
121 |     @inlinable
122 |     func log(_ line: String, output: UnsafeMutablePointer<FILE>) {
    |                                                           `- error: cannot find type 'FILE' in scope
123 |         _ = outputQueue.sync { fputs(line + "\n", output) }
124 |     }
/host/spi-builder-workspace/Sources/Logger/Logger.swift:64:23: error: cannot find 'DispatchQueue' in scope
 62 |         self.quiet = quiet
 63 |         self.verbose = verbose
 64 |         outputQueue = DispatchQueue(label: "Logger.outputQueue")
    |                       `- error: cannot find 'DispatchQueue' in scope
 65 |     }
 66 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[97/222] 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(
[98/222] Compiling SwiftIndexStore IndexStoreUnit.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"]
[99/222] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.2 wasm