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 CohesionKit, reference main (b6c40a), with Swift 6.2 (beta) for Wasm on 24 Jun 2025 16:14:41 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/pjechris/CohesionKit.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/pjechris/CohesionKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b6c40a8 tech(registry): Use Identifier object (#75)
Cloned https://github.com/pjechris/CohesionKit.git
Revision (git rev-parse @):
b6c40a80bd30f5fdc5b75d624ec4e3aba7730a65
SUCCESS checkout https://github.com/pjechris/CohesionKit.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/pjechris/CohesionKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/23] Emitting module CohesionKit
/host/spi-builder-workspace/Sources/CohesionKit/Entity/Aggregate.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
  |        `- error: no such module 'Foundation'
2 |
3 | /// An `Identifiable` model containing nested models
[4/25] Compiling CohesionKit NestedEntitiesVisitor.swift
/host/spi-builder-workspace/Sources/CohesionKit/Entity/Aggregate.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
  |        `- error: no such module 'Foundation'
2 |
3 | /// An `Identifiable` model containing nested models
[5/25] Compiling CohesionKit Weak.swift
/host/spi-builder-workspace/Sources/CohesionKit/Entity/Aggregate.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
  |        `- error: no such module 'Foundation'
2 |
3 | /// An `Identifiable` model containing nested models
[6/25] Compiling CohesionKit Date+Stamp.swift
/host/spi-builder-workspace/Sources/CohesionKit/Entity/Aggregate.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
  |        `- error: no such module 'Foundation'
2 |
3 | /// An `Identifiable` model containing nested models
[7/25] Compiling CohesionKit StampError.swift
/host/spi-builder-workspace/Sources/CohesionKit/Entity/Aggregate.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
  |        `- error: no such module 'Foundation'
2 |
3 | /// An `Identifiable` model containing nested models
[8/25] Compiling CohesionKit AliasContainer.swift
/host/spi-builder-workspace/Sources/CohesionKit/Entity/Aggregate.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
  |        `- error: no such module 'Foundation'
2 |
3 | /// An `Identifiable` model containing nested models
[9/25] Compiling CohesionKit Identifier.swift
/host/spi-builder-workspace/Sources/CohesionKit/Entity/Aggregate.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
  |        `- error: no such module 'Foundation'
2 |
3 | /// An `Identifiable` model containing nested models
[10/25] Compiling CohesionKit PartialIdentifiableKeyPath.swift
/host/spi-builder-workspace/Sources/CohesionKit/Entity/Aggregate.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
  |        `- error: no such module 'Foundation'
2 |
3 | /// An `Identifiable` model containing nested models
[11/25] Compiling CohesionKit Logger.swift
/host/spi-builder-workspace/Sources/CohesionKit/Entity/Aggregate.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
  |        `- error: no such module 'Foundation'
2 |
3 | /// An `Identifiable` model containing nested models
[12/25] Compiling CohesionKit AliasKey.swift
/host/spi-builder-workspace/Sources/CohesionKit/Entity/Aggregate.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
  |        `- error: no such module 'Foundation'
2 |
3 | /// An `Identifiable` model containing nested models
[13/25] Compiling CohesionKit EntityObserver+Publisher.swift
/host/spi-builder-workspace/Sources/CohesionKit/Entity/Aggregate.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
  |        `- error: no such module 'Foundation'
2 |
3 | /// An `Identifiable` model containing nested models
[14/25] Compiling CohesionKit Publisher+CohesionKit.swift
/host/spi-builder-workspace/Sources/CohesionKit/Entity/Aggregate.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
  |        `- error: no such module 'Foundation'
2 |
3 | /// An `Identifiable` model containing nested models
[15/25] Compiling CohesionKit EntityObserver.swift
/host/spi-builder-workspace/Sources/CohesionKit/Entity/Aggregate.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
  |        `- error: no such module 'Foundation'
2 |
3 | /// An `Identifiable` model containing nested models
[16/25] Compiling CohesionKit ObserverRegistry.swift
/host/spi-builder-workspace/Sources/CohesionKit/Entity/Aggregate.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
  |        `- error: no such module 'Foundation'
2 |
3 | /// An `Identifiable` model containing nested models
[17/25] Compiling CohesionKit Subscription.swift
/host/spi-builder-workspace/Sources/CohesionKit/Entity/Aggregate.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
  |        `- error: no such module 'Foundation'
2 |
3 | /// An `Identifiable` model containing nested models
[18/25] Compiling CohesionKit Aggregate.swift
/host/spi-builder-workspace/Sources/CohesionKit/Entity/Aggregate.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
  |        `- error: no such module 'Foundation'
2 |
3 | /// An `Identifiable` model containing nested models
[19/25] Compiling CohesionKit EntityWrapper.swift
/host/spi-builder-workspace/Sources/CohesionKit/Entity/Aggregate.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
  |        `- error: no such module 'Foundation'
2 |
3 | /// An `Identifiable` model containing nested models
[20/25] Compiling CohesionKit EntityStore.swift
/host/spi-builder-workspace/Sources/CohesionKit/Entity/Aggregate.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
  |        `- error: no such module 'Foundation'
2 |
3 | /// An `Identifiable` model containing nested models
[21/25] Compiling CohesionKit AliasStorage.swift
/host/spi-builder-workspace/Sources/CohesionKit/Entity/Aggregate.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
  |        `- error: no such module 'Foundation'
2 |
3 | /// An `Identifiable` model containing nested models
[22/25] Compiling CohesionKit EntitiesStorage.swift
/host/spi-builder-workspace/Sources/CohesionKit/Entity/Aggregate.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
  |        `- error: no such module 'Foundation'
2 |
3 | /// An `Identifiable` model containing nested models
[23/25] Compiling CohesionKit EntityNode.swift
/host/spi-builder-workspace/Sources/CohesionKit/Entity/Aggregate.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
  |        `- error: no such module 'Foundation'
2 |
3 | /// An `Identifiable` model containing nested models
[24/25] Compiling CohesionKit EntityContext.swift
/host/spi-builder-workspace/Sources/CohesionKit/Entity/Aggregate.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
  |        `- error: no such module 'Foundation'
2 |
3 | /// An `Identifiable` model containing nested models
[25/25] Compiling CohesionKit EntityStoreVisitor.swift
/host/spi-builder-workspace/Sources/CohesionKit/Entity/Aggregate.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
  |        `- error: no such module 'Foundation'
2 |
3 | /// An `Identifiable` model containing nested models
BUILD FAILURE 6.2 wasm