Build Information
Failed to build Automerge, reference main (64248a), with Swift 6.1 for Linux on 2 Apr 2026 22:59:04 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/automerge/automerge-swift.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/automerge/automerge-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 64248a1 Revert "move test case types for associated value enums up to class scope to potentially resolve issues with complex mangled type names which break tests in the swift wasm runtime"
Cloned https://github.com/automerge/automerge-swift.git
Revision (git rev-parse @):
64248a12829d04f62ddf3230c6c592f6226b57ab
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/automerge/automerge-swift.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/automerge/automerge-swift.git
https://github.com/automerge/automerge-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "Automerge",
"name" : "Automerge",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "Automerge",
"targets" : [
"Automerge",
"AutomergeUtilities"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "automergeFFI",
"module_type" : "BinaryTarget",
"name" : "automergeFFI",
"path" : "remote/archive/automergeFFI.xcframework.zip",
"product_memberships" : [
"Automerge"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "_CAutomergeUniffi",
"module_type" : "SystemLibraryTarget",
"name" : "_CAutomergeUniffi",
"path" : "Sources/_CAutomergeUniffi",
"product_memberships" : [
"Automerge"
],
"sources" : [
],
"type" : "system-target"
},
{
"c99name" : "AutomergeUtilities",
"module_type" : "SwiftTarget",
"name" : "AutomergeUtilities",
"path" : "Sources/AutomergeUtilities",
"product_memberships" : [
"Automerge"
],
"sources" : [
"Document+equivalentContents.swift",
"Document+isEmpty.swift",
"Document+schema.swift",
"Document+walk.swift"
],
"target_dependencies" : [
"Automerge"
],
"type" : "library"
},
{
"c99name" : "AutomergeUniffi",
"module_type" : "SwiftTarget",
"name" : "AutomergeUniffi",
"path" : "AutomergeUniffi",
"product_memberships" : [
"Automerge"
],
"sources" : [
"automerge.swift"
],
"target_dependencies" : [
"automergeFFI",
"_CAutomergeUniffi"
],
"type" : "library"
},
{
"c99name" : "AutomergeTests",
"module_type" : "SwiftTarget",
"name" : "AutomergeTests",
"path" : "Tests/AutomergeTests",
"sources" : [
"ActorIdTests.swift",
"BoundTypeTests/BoundTypeChangeTests.swift",
"BoundTypeTests/TestAutomergeText.swift",
"BoundTypeTests/TestCounter.swift",
"CodableTests/AnyCodingKeyTests.swift",
"CodableTests/AutomergeArrayEncodeDecodeTests.swift",
"CodableTests/AutomergeDecoderTests.swift",
"CodableTests/AutomergeDictionaryEncodeDecodeTests.swift",
"CodableTests/AutomergeEncoderTests.swift",
"CodableTests/AutomergeKeyEncoderImplTests.swift",
"CodableTests/AutomergeKeyedEncoderDecoderTests.swift",
"CodableTests/AutomergeSingleValueEncoderImplTests.swift",
"CodableTests/AutomergeTargettedEncodeDecodeTests.swift",
"CodableTests/AutomergeTextEncodeDecodeTests.swift",
"CodableTests/AutomergeUnkeyedEncoderDecoderTests.swift",
"CodableTests/CounterEncodeDecodeTests.swift",
"CodableTests/Document+PathElementConversionTests.swift",
"CodableTests/Document+lookupPathTests.swift",
"CodableTests/Document+retrieveObjectIdTests.swift",
"CodableTests/EnumAssociatedValueTests.swift",
"CodableTests/Samples.swift",
"DocTests/AutomergeDocTests.swift",
"InteropTests.swift",
"PresentationIntentsExplorationTest.swift",
"TestChanges.swift",
"TestCrud.swift",
"TestEncodeAndApplyNewChanges.swift",
"TestForkAndMerge.swift",
"TestGetAll.swift",
"TestGetAt.swift",
"TestHistory.swift",
"TestIncrement.swift",
"TestLength.swift",
"TestMapEntries.swift",
"TestMapKeys.swift",
"TestMarks.swift",
"TestObjectType.swift",
"TestObservableDocument.swift",
"TestPatches.swift",
"TestPath.swift",
"TestScalarValueConversions.swift",
"TestSplice.swift",
"TestSync.swift",
"TestText.swift",
"TestValues.swift",
"TestWasmIntegrity.swift",
"Utilties/UtilityTests.swift",
"XCTestCase+MemoryLeakTracking.swift"
],
"target_dependencies" : [
"Automerge",
"AutomergeUtilities"
],
"type" : "test"
},
{
"c99name" : "Automerge",
"module_type" : "SwiftTarget",
"name" : "Automerge",
"path" : "Sources/Automerge",
"product_memberships" : [
"Automerge"
],
"sources" : [
"ActorId.swift",
"BoundTypes/AutomergeText.swift",
"BoundTypes/Counter.swift",
"Change.swift",
"ChangeHash.swift",
"Codable/AnyCodingKey.swift",
"Codable/BindingError.swift",
"Codable/Decoding/AutomergeDecoder.swift",
"Codable/Decoding/AutomergeDecoderImpl.swift",
"Codable/Decoding/AutomergeKeyedDecodingContainer.swift",
"Codable/Decoding/AutomergeSingleValueDecodingContainer.swift",
"Codable/Decoding/AutomergeUnkeyedDecodingContainer.swift",
"Codable/Document+lookupPath.swift",
"Codable/Document+retrieveObjectId.swift",
"Codable/Encoding/AutomergeEncoder.swift",
"Codable/Encoding/AutomergeEncoderImpl.swift",
"Codable/Encoding/AutomergeKeyedEncodingContainer.swift",
"Codable/Encoding/AutomergeSingleValueEncodingContainer.swift",
"Codable/Encoding/AutomergeUnkeyedEncodingContainer.swift",
"Codable/Encoding/CodingKeyLookupError.swift",
"Codable/EncodingContainerType.swift",
"Codable/SchemaStrategy.swift",
"Codable/TypeOfAutomergeValue.swift",
"Cursor.swift",
"Document+Transferable.swift",
"Document.swift",
"Errors.swift",
"LogVerbosity.swift",
"Marks.swift",
"ObjId.swift",
"ObjType.swift",
"Patch.swift",
"PathElement.swift",
"ScalarValue.swift",
"ScalarValueRepresentable.swift",
"SyncState.swift",
"TextEncoding.swift",
"Value.swift",
"_AutomergeLinux.swift"
],
"target_dependencies" : [
"AutomergeUniffi"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:108e10880bce35e9496fba26782956e40a8e91a2a227f9b90af7e4cd93d2c183
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest
Downloading binary artifact https://github.com/automerge/automerge-swift/releases/download/0.7.2/automergeFFI.xcframework.zip
[1397/54278033] Downloading https://github.com/automerge/automerge-swift/releases/download/0.7.2/automergeFFI.xcframework.zip
Downloaded https://github.com/automerge/automerge-swift/releases/download/0.7.2/automergeFFI.xcframework.zip (6.85s)
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/6] Emitting module AutomergeUniffi
/host/spi-builder-workspace/AutomergeUniffi/automerge.swift:3410:13: warning: var 'initializationResult' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3408 | // Use a global variable to perform the versioning checks. Swift ensures that
3409 | // the code inside is only computed once.
3410 | private var initializationResult: InitializationResult = {
| |- warning: var 'initializationResult' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'initializationResult' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'initializationResult' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3411 | // Get the bindings contract version from our ComponentInterface
3412 | let bindings_contract_version = 26
[6/6] Compiling AutomergeUniffi automerge.swift
/host/spi-builder-workspace/AutomergeUniffi/automerge.swift:3410:13: warning: var 'initializationResult' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3408 | // Use a global variable to perform the versioning checks. Swift ensures that
3409 | // the code inside is only computed once.
3410 | private var initializationResult: InitializationResult = {
| |- warning: var 'initializationResult' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'initializationResult' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'initializationResult' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3411 | // Get the bindings contract version from our ComponentInterface
3412 | let bindings_contract_version = 26
[8/43] Compiling Automerge EncodingContainerType.swift
[9/43] Compiling Automerge SchemaStrategy.swift
[10/43] Compiling Automerge TypeOfAutomergeValue.swift
[11/43] Compiling Automerge Cursor.swift
[12/43] Compiling Automerge Document+Transferable.swift
[13/47] Compiling Automerge SyncState.swift
/host/spi-builder-workspace/Sources/Automerge/_AutomergeLinux.swift:8:8: error: This explicit error is to indicate that this package doesn't support Linux as it stands
6 | // This file exists so that the compatibility indicators on Swift Package Index don't infer that
7 | // this package is easily installed and used with Swift on Linux,
8 | #error("This explicit error is to indicate that this package doesn't support Linux as it stands")
| `- error: This explicit error is to indicate that this package doesn't support Linux as it stands
9 | #endif
10 |
[14/47] Compiling Automerge TextEncoding.swift
/host/spi-builder-workspace/Sources/Automerge/_AutomergeLinux.swift:8:8: error: This explicit error is to indicate that this package doesn't support Linux as it stands
6 | // This file exists so that the compatibility indicators on Swift Package Index don't infer that
7 | // this package is easily installed and used with Swift on Linux,
8 | #error("This explicit error is to indicate that this package doesn't support Linux as it stands")
| `- error: This explicit error is to indicate that this package doesn't support Linux as it stands
9 | #endif
10 |
[15/47] Compiling Automerge Value.swift
/host/spi-builder-workspace/Sources/Automerge/_AutomergeLinux.swift:8:8: error: This explicit error is to indicate that this package doesn't support Linux as it stands
6 | // This file exists so that the compatibility indicators on Swift Package Index don't infer that
7 | // this package is easily installed and used with Swift on Linux,
8 | #error("This explicit error is to indicate that this package doesn't support Linux as it stands")
| `- error: This explicit error is to indicate that this package doesn't support Linux as it stands
9 | #endif
10 |
[16/47] Compiling Automerge _AutomergeLinux.swift
/host/spi-builder-workspace/Sources/Automerge/_AutomergeLinux.swift:8:8: error: This explicit error is to indicate that this package doesn't support Linux as it stands
6 | // This file exists so that the compatibility indicators on Swift Package Index don't infer that
7 | // this package is easily installed and used with Swift on Linux,
8 | #error("This explicit error is to indicate that this package doesn't support Linux as it stands")
| `- error: This explicit error is to indicate that this package doesn't support Linux as it stands
9 | #endif
10 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/47] Emitting module Automerge
/host/spi-builder-workspace/Sources/Automerge/_AutomergeLinux.swift:8:8: error: This explicit error is to indicate that this package doesn't support Linux as it stands
6 | // This file exists so that the compatibility indicators on Swift Package Index don't infer that
7 | // this package is easily installed and used with Swift on Linux,
8 | #error("This explicit error is to indicate that this package doesn't support Linux as it stands")
| `- error: This explicit error is to indicate that this package doesn't support Linux as it stands
9 | #endif
10 |
[18/47] Compiling Automerge ObjType.swift
[19/47] Compiling Automerge Patch.swift
[20/47] Compiling Automerge PathElement.swift
[21/47] Compiling Automerge ScalarValue.swift
[22/47] Compiling Automerge ScalarValueRepresentable.swift
[23/47] Compiling Automerge Document.swift
[24/47] Compiling Automerge Errors.swift
[25/47] Compiling Automerge LogVerbosity.swift
[26/47] Compiling Automerge Marks.swift
[27/47] Compiling Automerge ObjId.swift
[28/47] Compiling Automerge AutomergeEncoderImpl.swift
[29/47] Compiling Automerge AutomergeKeyedEncodingContainer.swift
[30/47] Compiling Automerge AutomergeSingleValueEncodingContainer.swift
[31/47] Compiling Automerge AutomergeUnkeyedEncodingContainer.swift
[32/47] Compiling Automerge CodingKeyLookupError.swift
[33/47] Compiling Automerge AnyCodingKey.swift
[34/47] Compiling Automerge BindingError.swift
[35/47] Compiling Automerge AutomergeDecoder.swift
[36/47] Compiling Automerge AutomergeDecoderImpl.swift
[37/47] Compiling Automerge AutomergeKeyedDecodingContainer.swift
[38/47] Compiling Automerge AutomergeSingleValueDecodingContainer.swift
[39/47] Compiling Automerge AutomergeUnkeyedDecodingContainer.swift
[40/47] Compiling Automerge Document+lookupPath.swift
[41/47] Compiling Automerge Document+retrieveObjectId.swift
[42/47] Compiling Automerge AutomergeEncoder.swift
[43/47] Compiling Automerge ActorId.swift
[44/47] Compiling Automerge AutomergeText.swift
[45/47] Compiling Automerge Counter.swift
[46/47] Compiling Automerge Change.swift
[47/47] Compiling Automerge ChangeHash.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:108e10880bce35e9496fba26782956e40a8e91a2a227f9b90af7e4cd93d2c183
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/3] Emitting module AutomergeUniffi
[3/3] Compiling AutomergeUniffi automerge.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/40] Emitting module Automerge
/host/spi-builder-workspace/Sources/Automerge/_AutomergeLinux.swift:8:8: error: This explicit error is to indicate that this package doesn't support Linux as it stands
6 | // This file exists so that the compatibility indicators on Swift Package Index don't infer that
7 | // this package is easily installed and used with Swift on Linux,
8 | #error("This explicit error is to indicate that this package doesn't support Linux as it stands")
| `- error: This explicit error is to indicate that this package doesn't support Linux as it stands
9 | #endif
10 |
[6/44] Compiling Automerge SyncState.swift
/host/spi-builder-workspace/Sources/Automerge/_AutomergeLinux.swift:8:8: error: This explicit error is to indicate that this package doesn't support Linux as it stands
6 | // This file exists so that the compatibility indicators on Swift Package Index don't infer that
7 | // this package is easily installed and used with Swift on Linux,
8 | #error("This explicit error is to indicate that this package doesn't support Linux as it stands")
| `- error: This explicit error is to indicate that this package doesn't support Linux as it stands
9 | #endif
10 |
[7/44] Compiling Automerge TextEncoding.swift
/host/spi-builder-workspace/Sources/Automerge/_AutomergeLinux.swift:8:8: error: This explicit error is to indicate that this package doesn't support Linux as it stands
6 | // This file exists so that the compatibility indicators on Swift Package Index don't infer that
7 | // this package is easily installed and used with Swift on Linux,
8 | #error("This explicit error is to indicate that this package doesn't support Linux as it stands")
| `- error: This explicit error is to indicate that this package doesn't support Linux as it stands
9 | #endif
10 |
[8/44] Compiling Automerge Value.swift
/host/spi-builder-workspace/Sources/Automerge/_AutomergeLinux.swift:8:8: error: This explicit error is to indicate that this package doesn't support Linux as it stands
6 | // This file exists so that the compatibility indicators on Swift Package Index don't infer that
7 | // this package is easily installed and used with Swift on Linux,
8 | #error("This explicit error is to indicate that this package doesn't support Linux as it stands")
| `- error: This explicit error is to indicate that this package doesn't support Linux as it stands
9 | #endif
10 |
[9/44] Compiling Automerge _AutomergeLinux.swift
/host/spi-builder-workspace/Sources/Automerge/_AutomergeLinux.swift:8:8: error: This explicit error is to indicate that this package doesn't support Linux as it stands
6 | // This file exists so that the compatibility indicators on Swift Package Index don't infer that
7 | // this package is easily installed and used with Swift on Linux,
8 | #error("This explicit error is to indicate that this package doesn't support Linux as it stands")
| `- error: This explicit error is to indicate that this package doesn't support Linux as it stands
9 | #endif
10 |
[10/44] Compiling Automerge AnyCodingKey.swift
[11/44] Compiling Automerge BindingError.swift
[12/44] Compiling Automerge AutomergeDecoder.swift
[13/44] Compiling Automerge AutomergeDecoderImpl.swift
[14/44] Compiling Automerge AutomergeKeyedDecodingContainer.swift
[15/44] Compiling Automerge ActorId.swift
[16/44] Compiling Automerge AutomergeText.swift
[17/44] Compiling Automerge Counter.swift
[18/44] Compiling Automerge Change.swift
[19/44] Compiling Automerge ChangeHash.swift
[20/44] Compiling Automerge AutomergeEncoderImpl.swift
[21/44] Compiling Automerge AutomergeKeyedEncodingContainer.swift
[22/44] Compiling Automerge AutomergeSingleValueEncodingContainer.swift
[23/44] Compiling Automerge AutomergeUnkeyedEncodingContainer.swift
[24/44] Compiling Automerge CodingKeyLookupError.swift
[25/44] Compiling Automerge EncodingContainerType.swift
[26/44] Compiling Automerge SchemaStrategy.swift
[27/44] Compiling Automerge TypeOfAutomergeValue.swift
[28/44] Compiling Automerge Cursor.swift
[29/44] Compiling Automerge Document+Transferable.swift
[30/44] Compiling Automerge Document.swift
[31/44] Compiling Automerge Errors.swift
[32/44] Compiling Automerge LogVerbosity.swift
[33/44] Compiling Automerge Marks.swift
[34/44] Compiling Automerge ObjId.swift
[35/44] Compiling Automerge ObjType.swift
[36/44] Compiling Automerge Patch.swift
[37/44] Compiling Automerge PathElement.swift
[38/44] Compiling Automerge ScalarValue.swift
[39/44] Compiling Automerge ScalarValueRepresentable.swift
[40/44] Compiling Automerge AutomergeSingleValueDecodingContainer.swift
[41/44] Compiling Automerge AutomergeUnkeyedDecodingContainer.swift
[42/44] Compiling Automerge Document+lookupPath.swift
[43/44] Compiling Automerge Document+retrieveObjectId.swift
[44/44] Compiling Automerge AutomergeEncoder.swift
BUILD FAILURE 6.1 linux