Build Information
Failed to build automerge-repo, reference main (cdeb80
), with Swift 6.1 for Wasm on 29 May 2025 22:01:17 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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/automerge/automerge-repo-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-repo-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at cdeb805 cleaning up documentation - resolving warnings, tweaking a few abstracts, matching code updates (#123)
Cloned https://github.com/automerge/automerge-repo-swift.git
Revision (git rev-parse @):
cdeb8053c3aa2510189429d717ab09e70f134716
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/automerge/automerge-repo-swift.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/automerge/automerge-repo-swift.git
https://github.com/automerge/automerge-repo-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "automerge-swift",
"requirement" : {
"range" : [
{
"lower_bound" : "0.5.7",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/automerge/automerge-swift"
},
{
"identity" : "potentcodables",
"requirement" : {
"range" : [
{
"lower_bound" : "3.1.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/outfoxx/PotentCodables"
},
{
"identity" : "base58swift",
"requirement" : {
"range" : [
{
"lower_bound" : "2.1.14",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/heckj/Base58Swift"
},
{
"identity" : "swift-async-algorithms",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-async-algorithms"
},
{
"identity" : "swift-distributed-tracing",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-distributed-tracing"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "automerge-repo",
"name" : "automerge-repo",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "AutomergeRepo",
"targets" : [
"AutomergeRepo"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AutomergeRepoTests",
"module_type" : "SwiftTarget",
"name" : "AutomergeRepoTests",
"path" : "Tests/AutomergeRepoTests",
"sources" : [
"BS58IdTests.swift",
"BackoffTests.swift",
"BaseRepoTests.swift",
"CBORExperiments.swift",
"DocHandleTests.swift",
"DocumentIdTests.swift",
"ObservingChangesTest.swift",
"RepoFindTest.swift",
"RepoHelpers.swift",
"SharePolicyTests.swift",
"StorageSubsystemTests.swift",
"TestNetworkProviders/InMemoryNetwork.swift",
"TestNetworkProviders/TestOutgoingNetworkProvider.swift",
"TestNetworkProviders/UnconfiguredTestNetwork.swift",
"TestStorageProviders/InMemoryStorage.swift",
"TwoReposWithInMemoryNetworkTests.swift"
],
"target_dependencies" : [
"AutomergeRepo"
],
"type" : "test"
},
{
"c99name" : "AutomergeRepo",
"module_type" : "SwiftTarget",
"name" : "AutomergeRepo",
"path" : "Sources/AutomergeRepo",
"product_dependencies" : [
"Automerge",
"PotentCodables",
"Base58Swift",
"AsyncAlgorithms",
"Tracing"
],
"product_memberships" : [
"AutomergeRepo"
],
"sources" : [
"AutomergeRepo.swift",
"DocHandle.swift",
"DocumentId.swift",
"EphemeralMessageReceiver.swift",
"Errors.swift",
"InternalDocHandle.swift",
"Networking/Backoff.swift",
"Networking/NetworkAdapterEvents.swift",
"Networking/NetworkEventReceiver.swift",
"Networking/NetworkProvider.swift",
"Networking/NetworkSubsystem.swift",
"Networking/Providers/AvailablePeer.swift",
"Networking/Providers/NWParameters+peerSyncParameters.swift",
"Networking/Providers/P2PAutomergeSyncProtocol.swift",
"Networking/Providers/PeerConnectionInfo.swift",
"Networking/Providers/PeerToPeerConnection.swift",
"Networking/Providers/PeerToPeerProvider.swift",
"Networking/Providers/PeerToPeerProviderConfiguration.swift",
"Networking/Providers/TXTRecordKeys.swift",
"Networking/Providers/WebSocketProvider.swift",
"Networking/Providers/WebSocketProviderConfiguration.swift",
"Networking/Providers/WebSocketProviderState.swift",
"PeerMetadata.swift",
"Repo+LogComponent.swift",
"Repo.swift",
"RepoTypes.swift",
"ShareAuthorizing.swift",
"Storage/DocumentStorage.swift",
"Storage/StorageProvider.swift",
"Sync/CBORCoder.swift",
"Sync/ProtocolState.swift",
"Sync/SyncV1Msg+encode+decode.swift",
"Sync/SyncV1Msg+messages.swift",
"Sync/SyncV1Msg.swift",
"extensions/Data+hexEncodedString.swift",
"extensions/NWPathMonitor+paths.swift",
"extensions/OSLog+extensions.swift",
"extensions/String+hexEncoding.swift",
"extensions/TimeInterval+milliseconds.swift",
"extensions/UUID+bs58String.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-async-algorithms
Fetching https://github.com/automerge/automerge-swift
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-distributed-tracing
[1/2049] Fetching swift-docc-plugin
[227/7034] Fetching swift-docc-plugin, swift-async-algorithms
[277/12974] Fetching swift-docc-plugin, swift-async-algorithms, automerge-swift
[10778/17948] Fetching swift-docc-plugin, swift-async-algorithms, automerge-swift, swift-distributed-tracing
Fetched https://github.com/apple/swift-async-algorithms from cache (0.58s)
[6556/12963] Fetching swift-docc-plugin, automerge-swift, swift-distributed-tracing
Fetched https://github.com/apple/swift-distributed-tracing from cache (1.05s)
Fetched https://github.com/apple/swift-docc-plugin from cache (1.05s)
[4200/5940] Fetching automerge-swift
Fetching https://github.com/outfoxx/PotentCodables
Fetching https://github.com/heckj/Base58Swift
Fetched https://github.com/automerge/automerge-swift from cache (2.38s)
[1/485] Fetching base58swift
[486/91687] Fetching base58swift, potentcodables
Fetched https://github.com/heckj/Base58Swift from cache (3.90s)
Fetched https://github.com/outfoxx/PotentCodables from cache (3.97s)
Computing version for https://github.com/heckj/Base58Swift
Computed https://github.com/heckj/Base58Swift at 2.1.15 (7.38s)
Fetching https://github.com/attaswift/BigInt.git
[1/4776] Fetching bigint
Fetched https://github.com/attaswift/BigInt.git from cache (0.75s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.0.4 (1.65s)
Fetching https://github.com/apple/swift-collections.git
[1/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.20s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.95s)
Computing version for https://github.com/apple/swift-distributed-tracing
Computed https://github.com/apple/swift-distributed-tracing at 1.2.0 (0.59s)
Fetching https://github.com/apple/swift-service-context.git
[1/1063] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.28s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.0 (0.86s)
Computing version for https://github.com/outfoxx/PotentCodables
Computed https://github.com/outfoxx/PotentCodables at 3.5.1 (1.02s)
Fetching https://github.com/SusanDoggie/Float16.git
Fetching https://github.com/sharplet/Regex.git
[1/1254] Fetching regex
[556/1564] Fetching regex, float16
Fetched https://github.com/SusanDoggie/Float16.git from cache (0.95s)
[828/1254] Fetching regex
Fetched https://github.com/sharplet/Regex.git from cache (1.86s)
Computing version for https://github.com/sharplet/Regex.git
Computed https://github.com/sharplet/Regex.git at 2.1.1 (4.42s)
Computing version for https://github.com/SusanDoggie/Float16.git
Computed https://github.com/SusanDoggie/Float16.git at 1.1.1 (0.56s)
Fetching https://github.com/apple/swift-numerics
[1/5706] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.51s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (1.38s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.5.2 (0.78s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.79s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3391] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.75s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.81s)
Computing version for https://github.com/automerge/automerge-swift
Computed https://github.com/automerge/automerge-swift at 0.6.1 (0.64s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.3
Creating working copy for https://github.com/heckj/Base58Swift
Working copy of https://github.com/heckj/Base58Swift resolved at 2.1.15
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.5.2
Creating working copy for https://github.com/apple/swift-async-algorithms
Working copy of https://github.com/apple/swift-async-algorithms resolved at 1.0.4
Creating working copy for https://github.com/apple/swift-distributed-tracing
Working copy of https://github.com/apple/swift-distributed-tracing resolved at 1.2.0
Creating working copy for https://github.com/SusanDoggie/Float16.git
Working copy of https://github.com/SusanDoggie/Float16.git resolved at 1.1.1
Creating working copy for https://github.com/outfoxx/PotentCodables
Working copy of https://github.com/outfoxx/PotentCodables resolved at 3.5.1
Creating working copy for https://github.com/sharplet/Regex.git
Working copy of https://github.com/sharplet/Regex.git resolved at 2.1.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/automerge/automerge-swift
Working copy of https://github.com/automerge/automerge-swift resolved at 0.6.1
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.2.0
Downloading binary artifact https://github.com/automerge/automerge-swift/releases/download/0.6.1/automergeFFI.xcframework.zip
[1397/46544488] Downloading https://github.com/automerge/automerge-swift/releases/download/0.6.1/automergeFFI.xcframework.zip
Downloaded https://github.com/automerge/automerge-swift/releases/download/0.6.1/automergeFFI.xcframework.zip (4.66s)
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/49] Write sources
[18/49] Copying PotentCodables.docc
/host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utils.c:18:10: fatal error: 'termios.h' file not found
18 | #include <termios.h>
| ^~~~~~~~~~~
1 error generated.
[19/49] Compiling fy-utils.c
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/lib/fy-atom.c:24:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/lib/fy-parse.h:21:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-ctype.h:20:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utf8.h:20:
/host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utils.h:19:10: fatal error: 'termios.h' file not found
19 | #include <termios.h>
| ^~~~~~~~~~~
[19/49] Compiling fy-atom.c
[19/49] Compiling xxhash.c
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utf8.c:16:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utf8.h:20:
/host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utils.h:19:10: fatal error: 'termios.h' file not found
19 | #include <termios.h>
| ^~~~~~~~~~~
[19/49] Compiling fy-utf8.c
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-ctype.c:16:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-ctype.h:20:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utf8.h:20:
/host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utils.h:19:10: fatal error: 'termios.h' file not found
19 | #include <termios.h>
| ^~~~~~~~~~~
[19/49] Compiling fy-ctype.c
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/lib/fy-composer.c:21:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/lib/fy-parse.h:21:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-ctype.h:20:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utf8.h:20:
/host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utils.h:19:10: fatal error: 'termios.h' file not found
19 | #include <termios.h>
| ^~~~~~~~~~~
[19/49] Compiling fy-composer.c
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/lib/fy-accel.c:17:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/lib/fy-parse.h:21:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-ctype.h:20:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utf8.h:20:
/host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utils.h:19:10: fatal error: 'termios.h' file not found
19 | #include <termios.h>
| ^~~~~~~~~~~
[19/49] Compiling fy-accel.c
[19/49] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/32] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-ctype.c:16:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-ctype.h:20:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utf8.h:20:
/host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utils.h:19:10: fatal error: 'termios.h' file not found
19 | #include <termios.h>
| ^~~~~~~~~~~
1 error generated.
[10/32] Compiling fy-ctype.c
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utf8.c:16:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utf8.h:20:
/host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utils.h:19:10: fatal error: 'termios.h' file not found
19 | #include <termios.h>
| ^~~~~~~~~~~
1 error generated.
[10/32] Compiling fy-utf8.c
[10/32] Compiling fy-walk.c
[10/32] Compiling fy-types.c
[10/32] Compiling xxhash.c
[10/32] Compiling fy-blob.c
/host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utils.c:18:10: fatal error: 'termios.h' file not found
18 | #include <termios.h>
| ^~~~~~~~~~~
1 error generated.
[10/32] Compiling fy-utils.c
[10/32] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm