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 Knit, reference main (19e8a0), with Swift 6.2 (beta) for Wasm on 3 Sep 2025 12:46:09 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/cashapp/knit.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/cashapp/knit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 19e8a09 Merge pull request #304 from cashapp/skorulis/swinject-import
Cloned https://github.com/cashapp/knit.git
Revision (git rev-parse @):
19e8a09377829c08f9032f907e984e001c8b3f57
SUCCESS checkout https://github.com/cashapp/knit.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/cashapp/knit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/apple/swift-argument-parser
[1/71848] Fetching swift-syntax
[2/87539] Fetching swift-syntax, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (5.97s)
Fetched https://github.com/apple/swift-syntax.git from cache (6.04s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (8.44s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 601.0.1 (2.87s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 601.0.1
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.1
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Sources/Swinject/Container.Arguments.erb': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Sources/Swinject/Resolver.erb': File not found.
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/Swinject/SwinjectContainer.Arguments.erb
    /host/spi-builder-workspace/Sources/Swinject/SwinjectResolver.erb
[1/1] Compiling plugin KnitBuildPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/87] Write sources
[44/87] Compiling _SwiftSyntaxCShims dummy.c
[46/87] Write swift-version-24593BA9C3E375BF.txt
[48/101] Emitting module SwiftSyntax601
[49/103] Emitting module SwiftSyntax600
[50/103] Emitting module SwiftSyntax509
[51/103] Compiling SwiftSyntax509 Empty.swift
[53/104] Compiling SwiftSyntax510 Empty.swift
[54/104] Emitting module SwiftSyntax510
[55/105] Compiling SwiftSyntax601 Empty.swift
[57/106] Compiling SwiftSyntax600 Empty.swift
[60/126] Emitting module SwiftSyntax601
[61/126] Compiling SwiftSyntax601 Empty.swift
[63/150] Emitting module SwiftSyntax510
[64/150] Compiling SwiftSyntax510 Empty.swift
[65/151] Emitting module SwiftSyntax600
[66/151] Compiling SwiftSyntax600 Empty.swift
[67/152] Emitting module SwiftSyntax509
[68/152] Compiling SwiftSyntax509 Empty.swift
[71/153] Compiling Swinject ObjectScope.Standard.swift
/host/spi-builder-workspace/Sources/Swinject/ReadWriteLock.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | internal final class ReadWriteLock {
[72/153] Compiling Swinject ObjectScope.swift
/host/spi-builder-workspace/Sources/Swinject/ReadWriteLock.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | internal final class ReadWriteLock {
[73/153] Compiling Swinject ReadWriteLock.swift
/host/spi-builder-workspace/Sources/Swinject/ReadWriteLock.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | internal final class ReadWriteLock {
[74/219] Wrapping AST for SwiftSyntax601 for debugging
[75/219] Wrapping AST for SwiftSyntax600 for debugging
[77/219] Compiling SwiftSyntax AbsolutePosition.swift
/host/spi-builder-workspace/Sources/Swinject/ReadWriteLock.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | internal final class ReadWriteLock {
[78/219] Compiling SwiftSyntax AbsoluteRawSyntax.swift
/host/spi-builder-workspace/Sources/Swinject/ReadWriteLock.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | internal final class ReadWriteLock {
[79/219] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
/host/spi-builder-workspace/Sources/Swinject/ReadWriteLock.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | internal final class ReadWriteLock {
[80/219] Compiling SwiftSyntax Assert.swift
/host/spi-builder-workspace/Sources/Swinject/ReadWriteLock.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | internal final class ReadWriteLock {
[81/219] Compiling SwiftSyntax BumpPtrAllocator.swift
/host/spi-builder-workspace/Sources/Swinject/ReadWriteLock.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | internal final class ReadWriteLock {
[82/219] Compiling SwiftSyntax CommonAncestor.swift
/host/spi-builder-workspace/Sources/Swinject/ReadWriteLock.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | internal final class ReadWriteLock {
[82/219] Wrapping AST for SwiftSyntax509 for debugging
[83/219] Wrapping AST for SwiftSyntax510 for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[85/219] Emitting module Swinject
/host/spi-builder-workspace/Sources/Swinject/ReadWriteLock.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | internal final class ReadWriteLock {
[85/219] Wrapping AST for SwiftSyntax601 for debugging
[87/219] Compiling SwiftSyntax SourceLocation.swift
/host/spi-builder-workspace/Sources/Swinject/ReadWriteLock.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | internal final class ReadWriteLock {
[88/219] Compiling SwiftSyntax SourcePresence.swift
/host/spi-builder-workspace/Sources/Swinject/ReadWriteLock.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | internal final class ReadWriteLock {
[88/219] Wrapping AST for SwiftSyntax600 for debugging
[90/219] Compiling SwiftSyntax MissingNodeInitializers.swift
/host/spi-builder-workspace/Sources/Swinject/ReadWriteLock.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | internal final class ReadWriteLock {
[91/219] Compiling SwiftSyntax RawSyntax.swift
/host/spi-builder-workspace/Sources/Swinject/ReadWriteLock.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | internal final class ReadWriteLock {
[92/219] Compiling SwiftSyntax RawSyntaxLayoutView.swift
/host/spi-builder-workspace/Sources/Swinject/ReadWriteLock.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | internal final class ReadWriteLock {
[93/219] Compiling SwiftSyntax Identifier.swift
/host/spi-builder-workspace/Sources/Swinject/ReadWriteLock.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | internal final class ReadWriteLock {
[94/219] Compiling SwiftSyntax MemoryLayout.swift
/host/spi-builder-workspace/Sources/Swinject/ReadWriteLock.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | internal final class ReadWriteLock {
[94/219] Wrapping AST for SwiftSyntax510 for debugging
[95/263] Wrapping AST for SwiftSyntax509 for debugging
[97/283] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
/host/spi-builder-workspace/Sources/Swinject/ReadWriteLock.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | internal final class ReadWriteLock {
[98/283] Compiling SwiftSyntax SyntaxChildren.swift
/host/spi-builder-workspace/Sources/Swinject/ReadWriteLock.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | internal final class ReadWriteLock {
[99/283] Compiling SwiftSyntax SyntaxCollection.swift
/host/spi-builder-workspace/Sources/Swinject/ReadWriteLock.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | internal final class ReadWriteLock {
[100/283] Compiling SwiftSyntax SyntaxHashable.swift
/host/spi-builder-workspace/Sources/Swinject/ReadWriteLock.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | internal final class ReadWriteLock {
[101/283] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.2 wasm