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 DangerSwiftPeriphery, reference 1.4.1 (5f23e6), with Swift 6.2 (beta) for Wasm on 21 Jun 2025 14:15:10 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/taji-taji/DangerSwiftPeriphery.git
Reference: 1.4.1
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/taji-taji/DangerSwiftPeriphery
 * tag               1.4.1      -> FETCH_HEAD
HEAD is now at 5f23e62 Change isDevelop flag to release 1.4.1
Cloned https://github.com/taji-taji/DangerSwiftPeriphery.git
Revision (git rev-parse @):
5f23e62994752abfee679f944a8f8d20a0228b9e
SUCCESS checkout https://github.com/taji-taji/DangerSwiftPeriphery.git at 1.4.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/taji-taji/DangerSwiftPeriphery.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/taji-taji/swift-shell.git
Fetching https://github.com/danger/swift.git
Fetching https://github.com/peripheryapp/periphery
[1/10309] Fetching swift
[723/10457] Fetching swift, swift-shell
[1696/22646] Fetching swift, swift-shell, periphery
Fetched https://github.com/taji-taji/swift-shell.git from cache (1.63s)
Fetched https://github.com/danger/swift.git from cache (1.66s)
Fetched https://github.com/peripheryapp/periphery from cache (1.67s)
Computing version for https://github.com/taji-taji/swift-shell.git
Computed https://github.com/taji-taji/swift-shell.git at 1.0.2 (6.54s)
Computing version for https://github.com/danger/swift.git
Computed https://github.com/danger/swift.git at 3.21.2 (0.87s)
Fetching https://github.com/nerdishbynature/octokit.swift
Fetching https://github.com/shibapm/Logger
Fetching https://github.com/mxcl/Version
[1/293] Fetching version
[191/5293] Fetching version, octokit.swift
[524/5409] Fetching version, octokit.swift, logger
Fetched https://github.com/mxcl/Version from cache (1.03s)
Fetched https://github.com/shibapm/Logger from cache (1.03s)
Fetched https://github.com/nerdishbynature/octokit.swift from cache (1.07s)
Computing version for https://github.com/nerdishbynature/octokit.swift
Computed https://github.com/nerdishbynature/octokit.swift at 0.14.0 (1.83s)
Fetching https://github.com/nerdishbynature/RequestKit.git
[1/1554] Fetching requestkit
Fetched https://github.com/nerdishbynature/RequestKit.git from cache (0.40s)
Computing version for https://github.com/nerdishbynature/RequestKit.git
Computed https://github.com/nerdishbynature/RequestKit.git at 3.3.0 (1.23s)
Computing version for https://github.com/mxcl/Version
Computed https://github.com/mxcl/Version at 2.2.0 (1.50s)
Computing version for https://github.com/shibapm/Logger
Computed https://github.com/shibapm/Logger at 0.2.3 (4.62s)
Computing version for https://github.com/peripheryapp/periphery
Computed https://github.com/peripheryapp/periphery at 2.21.2 (0.81s)
Fetching https://github.com/tadija/AEXML
Fetching https://github.com/kateinoigakukun/swift-indexstore
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-syntax
Fetching https://github.com/ileitch/swift-filename-matcher
[1/323] Fetching swift-indexstore
[324/386] Fetching swift-indexstore, swift-filename-matcher
[387/2513] Fetching swift-indexstore, swift-filename-matcher, aexml
Fetched https://github.com/ileitch/swift-filename-matcher from cache (0.62s)
Fetching https://github.com/apple/swift-system
Fetched https://github.com/tadija/AEXML from cache (0.64s)
[1/15380] Fetching swift-argument-parser
[11844/19816] Fetching swift-argument-parser, swift-system
[14237/90740] Fetching swift-argument-parser, swift-system, swift-syntax
Fetched https://github.com/apple/swift-system from cache (0.79s)
[23182/86304] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/kateinoigakukun/swift-indexstore from cache (9.27s)
Fetching https://github.com/jpsim/Yams
Fetched https://github.com/apple/swift-argument-parser from cache (9.31s)
Fetched https://github.com/apple/swift-syntax from cache (9.45s)
[1/10874] Fetching yams
Fetched https://github.com/jpsim/Yams from cache (2.12s)
Computing version for https://github.com/kateinoigakukun/swift-indexstore
Computed https://github.com/kateinoigakukun/swift-indexstore at 0.3.0 (12.18s)
Computing version for https://github.com/apple/swift-syntax
Computed https://github.com/apple/swift-syntax at 600.0.1 (1.22s)
Computing version for https://github.com/ileitch/swift-filename-matcher
Computed https://github.com/ileitch/swift-filename-matcher at 0.1.2 (0.77s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (3.72s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 5.4.0 (0.84s)
Computing version for https://github.com/tadija/AEXML
Computed https://github.com/tadija/AEXML at 4.7.0 (0.71s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.98s)
Creating working copy for https://github.com/shibapm/Logger
Working copy of https://github.com/shibapm/Logger resolved at 0.2.3
Creating working copy for https://github.com/taji-taji/swift-shell.git
Working copy of https://github.com/taji-taji/swift-shell.git resolved at 1.0.2
Creating working copy for https://github.com/peripheryapp/periphery
Working copy of https://github.com/peripheryapp/periphery resolved at 2.21.2
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.0
Creating working copy for https://github.com/mxcl/Version
Working copy of https://github.com/mxcl/Version resolved at 2.2.0
Creating working copy for https://github.com/nerdishbynature/RequestKit.git
Working copy of https://github.com/nerdishbynature/RequestKit.git resolved at 3.3.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.5.1
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 5.4.0
Creating working copy for https://github.com/ileitch/swift-filename-matcher
Working copy of https://github.com/ileitch/swift-filename-matcher resolved at 0.1.2
Creating working copy for https://github.com/apple/swift-syntax
Working copy of https://github.com/apple/swift-syntax resolved at 600.0.1
Creating working copy for https://github.com/nerdishbynature/octokit.swift
Working copy of https://github.com/nerdishbynature/octokit.swift resolved at 0.14.0
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/danger/swift.git
Working copy of https://github.com/danger/swift.git resolved at 3.21.2
Creating working copy for https://github.com/kateinoigakukun/swift-indexstore
Working copy of https://github.com/kateinoigakukun/swift-indexstore resolved at 0.3.0
warning: 'octokit.swift': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/octokit.swift/OctoKit/Info.plist
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/50] Write sources
[23/50] Compiling _CIndexStore dummy.c
[24/50] Compiling writer.c
[25/50] Compiling CSystem shims.c
[26/50] Write swift-version-24593BA9C3E375BF.txt
[27/50] Compiling _SwiftSyntaxCShims dummy.c
[28/50] Compiling reader.c
[29/84] Compiling parser.c
[30/84] Compiling api.c
[31/97] Compiling emitter.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[33/101] 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 {
[33/102] Compiling scanner.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[35/104] Emitting module Logger
/host/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/Logger.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | enum Colors: String {
[36/104] 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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[37/104] Emitting module RequestKit
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/JSONPostRouter.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 | #if canImport(FoundationNetworking)
  3 | import FoundationNetworking
[38/104] Compiling SystemPackage FileOperations.swift
[39/104] Compiling SystemPackage FilePath.swift
[40/104] Compiling SystemPackage FilePathComponentView.swift
[41/104] Compiling SystemPackage FilePathComponents.swift
[42/107] Emitting module SwiftSyntax509
[43/107] Compiling SwiftSyntax509 Empty.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[45/108] Emitting module SwiftShell
/host/spi-builder-workspace/.build/checkouts/swift-shell/Sources/SwiftShell/Shell.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Shell {
[46/108] Compiling SwiftShell ShellError.swift
/host/spi-builder-workspace/.build/checkouts/swift-shell/Sources/SwiftShell/Shell.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Shell {
[47/108] Compiling SwiftShell Shell.swift
/host/spi-builder-workspace/.build/checkouts/swift-shell/Sources/SwiftShell/Shell.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Shell {
[48/108] Emitting module SwiftSyntax510
[49/108] Compiling RequestKit JSONPostRouter.swift
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/JSONPostRouter.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 | #if canImport(FoundationNetworking)
  3 | import FoundationNetworking
[50/108] Compiling RequestKit Router.swift
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/JSONPostRouter.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 | #if canImport(FoundationNetworking)
  3 | import FoundationNetworking
[51/108] Compiling RequestKit RequestKitSession.swift
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/JSONPostRouter.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 | #if canImport(FoundationNetworking)
  3 | import FoundationNetworking
[52/108] Compiling SwiftSyntax510 Empty.swift
[53/108] Compiling Logger Logger.swift
/host/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/Logger.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | enum Colors: String {
[54/108] Emitting module SwiftSyntax600
[55/108] Compiling SwiftSyntax600 Empty.swift
[56/109] 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 {
[58/110] 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 {
[59/110] Compiling SystemPackage FilePathParsing.swift
[60/110] Compiling SystemPackage FilePathString.swift
[61/110] Compiling SystemPackage FilePathSyntax.swift
[62/110] Compiling SystemPackage FilePathTemp.swift
[64/130] Compiling Yams Constructor.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 {
[65/130] Compiling Yams Parser.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 {
[66/130] 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 {
[67/130] 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 {
[68/130] 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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[69/130] Emitting module SystemPackage
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/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