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 (c18e0f), with Swift 6.2 (beta) for Wasm on 20 Jun 2025 01:09:20 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/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 c18e0f9 Merge pull request #288 from cashapp/skorulis/dependency-tree
Cloned https://github.com/cashapp/knit.git
Revision (git rev-parse @):
c18e0f9609190aba5d3074eccc69b18c545bbf47
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-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/apple/swift-argument-parser
Fetching https://github.com/apple/swift-syntax.git
[1/15380] Fetching swift-argument-parser
[4462/86286] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser from cache (4.36s)
Fetched https://github.com/apple/swift-syntax.git from cache (4.40s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (4.79s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 601.0.1 (3.95s)
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/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 601.0.1
[1/1] Compiling plugin KnitBuildPlugin
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/86] Write sources
[43/86] Compiling _SwiftSyntaxCShims dummy.c
[45/86] Write swift-version-24593BA9C3E375BF.txt
[47/111] Emitting module SwiftSyntax600
[49/119] Emitting module SwiftSyntax601
[51/119] Emitting module SwiftSyntax509
[52/119] Compiling SwiftSyntax509 Empty.swift
[54/120] Compiling SwiftSyntax601 Empty.swift
[56/140] Emitting module SwiftSyntax510
[57/140] Compiling SwiftSyntax510 Empty.swift
[58/143] Compiling SwiftSyntax600 Empty.swift
[61/144] Compiling Swinject InstanceWrapper.swift
/host/spi-builder-workspace/Sources/Swinject/Container.Arguments.swift:15:8: error: no such module 'Foundation'
 13 |
 14 |
 15 | import Foundation
    |        `- error: no such module 'Foundation'
 16 |
 17 | // MARK: - Registration with Arguments
[62/144] Compiling Swinject ObjectScope.Standard.swift
/host/spi-builder-workspace/Sources/Swinject/Container.Arguments.swift:15:8: error: no such module 'Foundation'
 13 |
 14 |
 15 | import Foundation
    |        `- error: no such module 'Foundation'
 16 |
 17 | // MARK: - Registration with Arguments
[63/144] Compiling Swinject ObjectScope.swift
/host/spi-builder-workspace/Sources/Swinject/Container.Arguments.swift:15:8: error: no such module 'Foundation'
 13 |
 14 |
 15 | import Foundation
    |        `- error: no such module 'Foundation'
 16 |
 17 | // MARK: - Registration with Arguments
[64/144] Compiling SwiftSyntax510 Empty.swift
[65/144] Compiling Swinject ReadWriteLock.swift
/host/spi-builder-workspace/Sources/Swinject/Container.Arguments.swift:15:8: error: no such module 'Foundation'
 13 |
 14 |
 15 | import Foundation
    |        `- error: no such module 'Foundation'
 16 |
 17 | // MARK: - Registration with Arguments
[66/144] Compiling Swinject RecursiveLock.swift
/host/spi-builder-workspace/Sources/Swinject/Container.Arguments.swift:15:8: error: no such module 'Foundation'
 13 |
 14 |
 15 | import Foundation
    |        `- error: no such module 'Foundation'
 16 |
 17 | // MARK: - Registration with Arguments
[67/146] Compiling SwiftSyntax600 Empty.swift
[68/146] Emitting module SwiftSyntax510
[69/148] Compiling SwiftSyntax601 Empty.swift
[73/215] Compiling SwiftSyntax Convenience.swift
/host/spi-builder-workspace/Sources/Swinject/Container.Arguments.swift:15:8: error: no such module 'Foundation'
 13 |
 14 |
 15 | import Foundation
    |        `- error: no such module 'Foundation'
 16 |
 17 | // MARK: - Registration with Arguments
[74/215] Compiling SwiftSyntax CustomTraits.swift
/host/spi-builder-workspace/Sources/Swinject/Container.Arguments.swift:15:8: error: no such module 'Foundation'
 13 |
 14 |
 15 | import Foundation
    |        `- error: no such module 'Foundation'
 16 |
 17 | // MARK: - Registration with Arguments
[75/215] Compiling SwiftSyntax EditorPlaceholder.swift
/host/spi-builder-workspace/Sources/Swinject/Container.Arguments.swift:15:8: error: no such module 'Foundation'
 13 |
 14 |
 15 | import Foundation
    |        `- error: no such module 'Foundation'
 16 |
 17 | // MARK: - Registration with Arguments
[76/215] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
/host/spi-builder-workspace/Sources/Swinject/Container.Arguments.swift:15:8: error: no such module 'Foundation'
 13 |
 14 |
 15 | import Foundation
    |        `- error: no such module 'Foundation'
 16 |
 17 | // MARK: - Registration with Arguments
[77/215] Compiling SwiftSyntax RawSyntaxTokenView.swift
/host/spi-builder-workspace/Sources/Swinject/Container.Arguments.swift:15:8: error: no such module 'Foundation'
 13 |
 14 |
 15 | import Foundation
    |        `- error: no such module 'Foundation'
 16 |
 17 | // MARK: - Registration with Arguments
[78/215] Compiling SwiftSyntax SourceEdit.swift
/host/spi-builder-workspace/Sources/Swinject/Container.Arguments.swift:15:8: error: no such module 'Foundation'
 13 |
 14 |
 15 | import Foundation
    |        `- error: no such module 'Foundation'
 16 |
 17 | // MARK: - Registration with Arguments
[79/215] Compiling SwiftSyntax SourceLength.swift
/host/spi-builder-workspace/Sources/Swinject/Container.Arguments.swift:15:8: error: no such module 'Foundation'
 13 |
 14 |
 15 | import Foundation
    |        `- error: no such module 'Foundation'
 16 |
 17 | // MARK: - Registration with Arguments
[80/215] Emitting module ArgumentParserToolInfo
[81/215] Compiling ArgumentParserToolInfo ToolInfo.swift
[82/216] Compiling SwiftSyntax Assert.swift
/host/spi-builder-workspace/Sources/Swinject/Container.Arguments.swift:15:8: error: no such module 'Foundation'
 13 |
 14 |
 15 | import Foundation
    |        `- error: no such module 'Foundation'
 16 |
 17 | // MARK: - Registration with Arguments
[83/216] Compiling SwiftSyntax BumpPtrAllocator.swift
/host/spi-builder-workspace/Sources/Swinject/Container.Arguments.swift:15:8: error: no such module 'Foundation'
 13 |
 14 |
 15 | import Foundation
    |        `- error: no such module 'Foundation'
 16 |
 17 | // MARK: - Registration with Arguments
[84/216] Compiling SwiftSyntax CommonAncestor.swift
/host/spi-builder-workspace/Sources/Swinject/Container.Arguments.swift:15:8: error: no such module 'Foundation'
 13 |
 14 |
 15 | import Foundation
    |        `- error: no such module 'Foundation'
 16 |
 17 | // MARK: - Registration with Arguments
error: emit-module command failed with exit code 1 (use -v to see invocation)
[85/216] Emitting module Swinject
/host/spi-builder-workspace/Sources/Swinject/Container.Arguments.swift:15:8: error: no such module 'Foundation'
 13 |
 14 |
 15 | import Foundation
    |        `- error: no such module 'Foundation'
 16 |
 17 | // MARK: - Registration with Arguments
[87/216] Compiling SwiftSyntax AbsolutePosition.swift
/host/spi-builder-workspace/Sources/Swinject/Container.Arguments.swift:15:8: error: no such module 'Foundation'
 13 |
 14 |
 15 | import Foundation
    |        `- error: no such module 'Foundation'
 16 |
 17 | // MARK: - Registration with Arguments
[88/216] Compiling SwiftSyntax AbsoluteRawSyntax.swift
/host/spi-builder-workspace/Sources/Swinject/Container.Arguments.swift:15:8: error: no such module 'Foundation'
 13 |
 14 |
 15 | import Foundation
    |        `- error: no such module 'Foundation'
 16 |
 17 | // MARK: - Registration with Arguments
[89/216] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
/host/spi-builder-workspace/Sources/Swinject/Container.Arguments.swift:15:8: error: no such module 'Foundation'
 13 |
 14 |
 15 | import Foundation
    |        `- error: no such module 'Foundation'
 16 |
 17 | // MARK: - Registration with Arguments
[90/216] Compiling SwiftSyntax SyntaxIdentifier.swift
/host/spi-builder-workspace/Sources/Swinject/Container.Arguments.swift:15:8: error: no such module 'Foundation'
 13 |
 14 |
 15 | import Foundation
    |        `- error: no such module 'Foundation'
 16 |
 17 | // MARK: - Registration with Arguments
[91/216] Compiling SwiftSyntax SyntaxNodeFactory.swift
/host/spi-builder-workspace/Sources/Swinject/Container.Arguments.swift:15:8: error: no such module 'Foundation'
 13 |
 14 |
 15 | import Foundation
    |        `- error: no such module 'Foundation'
 16 |
 17 | // MARK: - Registration with Arguments
[92/216] Compiling SwiftSyntax RawSyntax.swift
[93/216] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[94/216] Compiling SwiftSyntax509 Empty.swift
[95/216] Emitting module SwiftSyntax509
/host/spi-builder-workspace/Sources/Swinject/InstanceStorage.swift:118:50: warning: conditional cast from 'Wrapped' to 'AnyObject' always succeeds
116 |                 return object as? Wrapped
117 |             }
118 |             set { object = newValue.flatMap { $0 as? AnyObject } }
    |                                                  `- warning: conditional cast from 'Wrapped' to 'AnyObject' always succeeds
119 |         }
120 |
/host/spi-builder-workspace/Sources/Swinject/InstanceStorage.swift:118:50: warning: conditional cast from 'Wrapped' to 'AnyObject' always succeeds
116 |                 return object as? Wrapped
117 |             }
118 |             set { object = newValue.flatMap { $0 as? AnyObject } }
    |                                                  `- warning: conditional cast from 'Wrapped' to 'AnyObject' always succeeds
119 |         }
120 |
/host/spi-builder-workspace/Sources/Swinject/InstanceStorage.swift:118:50: warning: conditional cast from 'Wrapped' to 'AnyObject' always succeeds
116 |                 return object as? Wrapped
117 |             }
118 |             set { object = newValue.flatMap { $0 as? AnyObject } }
    |                                                  `- warning: conditional cast from 'Wrapped' to 'AnyObject' always succeeds
119 |         }
120 |
[101/221] Wrapping AST for SwiftSyntax510 for debugging
[103/221] Wrapping AST for SwiftSyntax601 for debugging
[104/221] Emitting module Swinject
[104/221] Wrapping AST for SwiftSyntax600 for debugging
[104/221] Wrapping AST for SwiftSyntax601 for debugging
BUILD FAILURE 6.2 wasm