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 Flock, reference 0.5.0 (e7ebcd), with Swift 6.2 (beta) for Wasm on 17 Jun 2025 13:13:02 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/jakeheis/flock.git
Reference: 0.5.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/jakeheis/flock
 * tag               0.5.0      -> FETCH_HEAD
HEAD is now at e7ebcd5 Check command
Cloned https://github.com/jakeheis/flock.git
Revision (git rev-parse @):
e7ebcd5279bfb95b0e66b15d07a868b244ab4883
SUCCESS checkout https://github.com/jakeheis/flock.git at 0.5.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/jakeheis/flock.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/jakeheis/SwiftCLI
Fetching https://github.com/jakeheis/Shout
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/yonaskolb/Beak
[1/1196] Fetching rainbow
[229/1930] Fetching rainbow, shout
[1800/7004] Fetching rainbow, shout, swiftcli
[6874/12130] Fetching rainbow, shout, swiftcli, beak
Fetched https://github.com/jakeheis/Shout from cache (0.40s)
Fetched https://github.com/onevcat/Rainbow from cache (0.40s)
Fetched https://github.com/jakeheis/SwiftCLI from cache (0.40s)
[923/5126] Fetching beak
Fetched https://github.com/yonaskolb/Beak from cache (5.57s)
Computing version for https://github.com/yonaskolb/Beak
Computed https://github.com/yonaskolb/Beak at 0.5.1 (9.58s)
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/jpsim/SourceKitten
Fetching https://github.com/kylef/PathKit.git
[1/1411] Fetching pathkit
[1412/2432] Fetching pathkit, spectre
[1576/18576] Fetching pathkit, spectre, sourcekitten
Fetched https://github.com/kylef/PathKit.git from cache (0.47s)
[1829/17165] Fetching spectre, sourcekitten
Fetched https://github.com/kylef/Spectre.git from cache (1.99s)
Fetched https://github.com/jpsim/SourceKitten from cache (2.02s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (5.57s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (0.43s)
Computing version for https://github.com/jakeheis/SwiftCLI
Computed https://github.com/jakeheis/SwiftCLI at 5.3.3 (0.61s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.2.0 (0.86s)
Computing version for https://github.com/jakeheis/Shout
Computed https://github.com/jakeheis/Shout at 0.5.7 (0.52s)
Fetching https://github.com/IBM-Swift/BlueSocket
[1/2942] Fetching bluesocket
Fetched https://github.com/IBM-Swift/BlueSocket from cache (1.86s)
Computing version for https://github.com/IBM-Swift/BlueSocket
Computed https://github.com/IBM-Swift/BlueSocket at 1.0.200 (2.46s)
Computing version for https://github.com/jpsim/SourceKitten
Computed https://github.com/jpsim/SourceKitten at 0.37.2 (1.47s)
Fetching https://github.com/drmohundro/SWXMLHash.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/jpsim/Yams.git
[1/2820] Fetching swxmlhash
[2821/13679] Fetching swxmlhash, yams
[5210/29059] Fetching swxmlhash, yams, swift-argument-parser
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (1.35s)
[23525/26239] Fetching yams, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.63s)
Fetched https://github.com/jpsim/Yams.git from cache (1.87s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 6.0.1 (4.50s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (0.65s)
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.43s)
Creating working copy for https://github.com/jpsim/SourceKitten
Working copy of https://github.com/jpsim/SourceKitten resolved at 0.37.2
Creating working copy for https://github.com/yonaskolb/Beak
Working copy of https://github.com/yonaskolb/Beak resolved at 0.5.1
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 7.0.2
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 0.9.2
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
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 3.2.0
Creating working copy for https://github.com/IBM-Swift/BlueSocket
Working copy of https://github.com/IBM-Swift/BlueSocket resolved at 1.0.200
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.2
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 6.0.1
Creating working copy for https://github.com/jakeheis/SwiftCLI
Working copy of https://github.com/jakeheis/SwiftCLI resolved at 5.3.3
Creating working copy for https://github.com/jakeheis/Shout
Working copy of https://github.com/jakeheis/Shout resolved at 0.5.7
warning: couldn't find pc file for libssh2
warning: couldn't find pc file for libssh2
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/31] Write sources
[11/31] Compiling SourceKit SourceKit.c
[12/31] Compiling Clang_C Clang_C.c
[13/31] Write sources
[14/31] Compiling reader.c
[15/31] Compiling writer.c
[16/31] Compiling parser.c
[17/31] Compiling api.c
[17/31] Write swift-version-24593BA9C3E375BF.txt
[19/82] Compiling emitter.c
[20/93] Compiling scanner.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/93] Emitting module Socket
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:27:8: error: no such module 'Foundation'
  25 | #endif
  26 |
  27 | import Foundation
     |        `- error: no such module 'Foundation'
  28 |
  29 | // MARK: Socket
[23/113] Compiling Socket SocketProtocols.swift
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:27:8: error: no such module 'Foundation'
  25 | #endif
  26 |
  27 | import Foundation
     |        `- error: no such module 'Foundation'
  28 |
  29 | // MARK: Socket
[24/113] Compiling Socket Socket.swift
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:27:8: error: no such module 'Foundation'
  25 | #endif
  26 |
  27 | import Foundation
     |        `- error: no such module 'Foundation'
  28 |
  29 | // MARK: Socket
error: emit-module command failed with exit code 1 (use -v to see invocation)
[25/113] Emitting module Yams
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Anchor.swift:8:8: error: no such module 'Foundation'
 6 | //  Copyright (c) 2024 Yams. All rights reserved.
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A representation of a YAML tag see: https://yaml.org/spec/1.2.2/
[26/115] Compiling Yams Parser.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Anchor.swift:8:8: error: no such module 'Foundation'
 6 | //  Copyright (c) 2024 Yams. All rights reserved.
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A representation of a YAML tag see: https://yaml.org/spec/1.2.2/
[27/115] Compiling Yams RedundancyAliasingStrategy.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Anchor.swift:8:8: error: no such module 'Foundation'
 6 | //  Copyright (c) 2024 Yams. All rights reserved.
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A representation of a YAML tag see: https://yaml.org/spec/1.2.2/
[28/115] Compiling Yams Representer.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Anchor.swift:8:8: error: no such module 'Foundation'
 6 | //  Copyright (c) 2024 Yams. All rights reserved.
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A representation of a YAML tag see: https://yaml.org/spec/1.2.2/
error: emit-module command failed with exit code 1 (use -v to see invocation)
[29/115] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[30/115] Compiling PathKit PathKit.swift
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[31/115] Compiling Yams Mark.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[32/115] Compiling Yams Node.Alias.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[33/115] Compiling Yams Node.Mapping.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[34/115] Compiling Yams Decoder.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[35/115] Compiling Yams Emitter.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[36/115] Compiling Yams Encoder.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[37/115] Emitting module SwiftCLI
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[38/115] Emitting module Rainbow
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:27:8: error: no such module 'Foundation'
25 | //  THE SOFTWARE.
26 |
27 | import Foundation
   |        `- error: no such module 'Foundation'
28 |
29 | private func getEnvValue(_ key: String) -> String? {
BUILD FAILURE 6.2 wasm