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 CRDT, reference v0.3.0 (b69d19), with Swift 6.2 (beta) for Wasm on 20 Jun 2025 00:47:48 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/bluk/CRDT.git
Reference: v0.3.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/bluk/CRDT
 * tag               v0.3.0     -> FETCH_HEAD
HEAD is now at b69d192 Remove merged method requirement on CvRDT
Cloned https://github.com/bluk/CRDT.git
Revision (git rev-parse @):
b69d192cafcc179faa4ad2771087f05bee7a465b
SUCCESS checkout https://github.com/bluk/CRDT.git at v0.3.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/bluk/CRDT.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/21] Compiling CRDT CvRDT.swift
[8/21] Compiling CRDT ActorClock.swift
[9/21] Emitting module LSEQ
[10/21] Compiling LSEQ LSEQ.swift
/host/spi-builder-workspace/Sources/LSEQ/LSEQGenericPosition.swift:60:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 58 |     }
 59 |
 60 |     public let boundary: PositionType.Segment.Identifier = 10
    |                |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'boundary' case to silence this warning
    |                `- note: make the property mutable instead
 61 |     public let source: PositionType.Segment.Source
 62 |     public let startPosition: PositionType
[11/21] Compiling LSEQ LSEQGenericPosition.swift
/host/spi-builder-workspace/Sources/LSEQ/LSEQGenericPosition.swift:60:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 58 |     }
 59 |
 60 |     public let boundary: PositionType.Segment.Identifier = 10
    |                |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'boundary' case to silence this warning
    |                `- note: make the property mutable instead
 61 |     public let source: PositionType.Segment.Source
 62 |     public let startPosition: PositionType
[12/22] Compiling LSEQ PositionIdentifier32Source16Clock64.swift
[13/22] Compiling CRDT CmRDT.swift
[14/22] Emitting module CRDT
[15/22] Compiling CRDT PartialOrderable.swift
[16/22] Compiling CRDT VClock.swift
[17/22] Compiling LSEQ Position.swift
[18/23] Compiling LSEQ PositionIdentifier16Source16Clock64.swift
[20/23] Compiling LSEQ LSEQIdentifier64Source64Clock64.swift
/host/spi-builder-workspace/Sources/LSEQ/LSEQIdentifier64Source64Clock64.swift:61:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 59 |     }
 60 |
 61 |     public let boundary: PositionType.Segment.Identifier = 10
    |                |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'boundary' case to silence this warning
    |                `- note: make the property mutable instead
 62 |     public let source: PositionType.Segment.Source
 63 |     public let startPosition: PositionType
[21/34] Compiling LSEQ LSEQIdentifier32Source16Clock64.swift
/host/spi-builder-workspace/Sources/LSEQ/LSEQIdentifier32Source16Clock64.swift:61:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 59 |     }
 60 |
 61 |     public let boundary: PositionType.Segment.Identifier = 10
    |                |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'boundary' case to silence this warning
    |                `- note: make the property mutable instead
 62 |     public let source: PositionType.Segment.Source
 63 |     public let startPosition: PositionType
[22/34] Compiling LSEQ LSEQIdentifier16Source16Clock64.swift
/host/spi-builder-workspace/Sources/LSEQ/LSEQIdentifier16Source16Clock64.swift:61:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 59 |     }
 60 |
 61 |     public let boundary: PositionType.Segment.Identifier = 10
    |                |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'boundary' case to silence this warning
    |                `- note: make the property mutable instead
 62 |     public let source: PositionType.Segment.Source
 63 |     public let startPosition: PositionType
[23/34] Compiling LSEQ PositionIdentifier64Source64Clock64.swift
[24/35] Compiling CRDTRegisters ActorLogicalClockTimestamp.swift
/host/spi-builder-workspace/Sources/CRDTRegisters/ActorDateTimestamp.swift:15:15: error: no such module 'Foundation'
13 | //  limitations under the License.
14 |
15 | import struct Foundation.Date
   |               `- error: no such module 'Foundation'
16 | import struct Foundation.UUID
17 |
[26/35] Emitting module CRDTSets
[27/35] Compiling CRDTRegisters LWWRegister.swift
/host/spi-builder-workspace/Sources/CRDTRegisters/ActorDateTimestamp.swift:15:15: error: no such module 'Foundation'
13 | //  limitations under the License.
14 |
15 | import struct Foundation.Date
   |               `- error: no such module 'Foundation'
16 | import struct Foundation.UUID
17 |
[28/35] Compiling CRDTRegisters MVRegister.swift
/host/spi-builder-workspace/Sources/CRDTRegisters/ActorDateTimestamp.swift:15:15: error: no such module 'Foundation'
13 | //  limitations under the License.
14 |
15 | import struct Foundation.Date
   |               `- error: no such module 'Foundation'
16 | import struct Foundation.UUID
17 |
[29/35] Compiling CRDTSets GSet.swift
[30/35] Compiling CRDTSets TwoPhaseSet.swift
[32/36] Compiling CRDTCounters GCounter.swift
[33/36] Emitting module CRDTCounters
[34/36] Compiling CRDTCounters PNCounter.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[36/37] Emitting module CRDTRegisters
/host/spi-builder-workspace/Sources/CRDTRegisters/ActorDateTimestamp.swift:15:15: error: no such module 'Foundation'
13 | //  limitations under the License.
14 |
15 | import struct Foundation.Date
   |               `- error: no such module 'Foundation'
16 | import struct Foundation.UUID
17 |
[37/37] Compiling CRDTRegisters ActorDateTimestamp.swift
/host/spi-builder-workspace/Sources/CRDTRegisters/ActorDateTimestamp.swift:15:15: error: no such module 'Foundation'
13 | //  limitations under the License.
14 |
15 | import struct Foundation.Date
   |               `- error: no such module 'Foundation'
16 | import struct Foundation.UUID
17 |
BUILD FAILURE 6.2 wasm