Build Information
Failed to build Knit, reference 2.1.1 (c89651
), with Swift 6.2 (beta) for Wasm on 20 Jun 2025 01:09:39 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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: 2.1.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/cashapp/knit
* tag 2.1.1 -> FETCH_HEAD
HEAD is now at c89651d Merge pull request #287 from cashapp/skorulis/resolvable-escaping
Cloned https://github.com/cashapp/knit.git
Revision (git rev-parse @):
c89651d2eb8866cc95f2f3c4a54aa134a2fbda59
SUCCESS checkout https://github.com/cashapp/knit.git at 2.1.1
========================================
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" 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
[13074/86286] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser from cache (8.39s)
Fetched https://github.com/apple/swift-syntax.git from cache (8.49s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (9.51s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 601.0.1 (6.06s)
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/136] Emitting module SwiftSyntax601
[49/136] Emitting module SwiftSyntax510
[50/136] Emitting module Swinject
[51/138] Emitting module SwiftSyntax600
[52/138] Compiling SwiftSyntax600 Empty.swift
[53/139] Compiling Swinject Behavior.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
[54/139] Compiling Swinject Container.Arguments.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
[55/139] Compiling Swinject Container.Logging.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
[57/141] Compiling Swinject Container.TypeForwarding.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
[58/141] Compiling Swinject Container.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
[59/141] Compiling Swinject DebugHelper.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
[60/141] Compiling SwiftSyntax510 Empty.swift
[61/142] Compiling Swinject FunctionType.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/142] Compiling Swinject GraphIdentifier.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/142] Compiling Swinject InstanceStorage.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)
[64/142] 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
[65/142] 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
[66/142] 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
[67/142] 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
[68/142] Compiling SwiftSyntax601 Empty.swift
[69/143] Compiling Swinject ThreadSafeDictionary.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
[70/143] Compiling Swinject _Resolver.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
[71/145] 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
[72/145] 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
[75/145] Compiling Swinject ServiceEntry.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/145] Compiling Swinject ServiceKey.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/145] Compiling Swinject Resolver.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/145] Compiling Swinject ServiceEntry.TypeForwarding.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
BUILD FAILURE 6.2 wasm