Build Information
Failed to build SwiftCloudant, reference main (8f44bc
), with Swift 6.1 for Wasm on 28 May 2025 20:24:09 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/IBM/swift-cloudant.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/IBM/swift-cloudant
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 8f44bce Update README.md
Cloned https://github.com/IBM/swift-cloudant.git
Revision (git rev-parse @):
8f44bce235ae6c0eef72f2d2cde6cb6378964918
SUCCESS checkout https://github.com/IBM/swift-cloudant.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/IBM/swift-cloudant.git
https://github.com/IBM/swift-cloudant.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "SwiftCloudant",
"name" : "SwiftCloudant",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftCloudant",
"targets" : [
"SwiftCloudant"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"4.2",
"5"
],
"targets" : [
{
"c99name" : "SwiftCloudantTests",
"module_type" : "SwiftTarget",
"name" : "SwiftCloudantTests",
"path" : "Tests/SwiftCloudantTests",
"sources" : [
"BulkDocsTests.swift",
"CouchClientTest.swift",
"CreateDatabaseTests.swift",
"CreateQueryIndexTests.swift",
"DeleteAttachmentTests.swift",
"DeleteDocumentTests.swift",
"DeleteQueryIndexTests.swift",
"FindDocumentOperationTests.swift",
"GetAllDatabasesTests.swift",
"GetAllDocsTest.swift",
"GetChangesTests.swift",
"GetDocumentTests.swift",
"InterceptableSessionTests.swift",
"PutAttachmentTests.swift",
"PutDocumentTests.swift",
"QueryViewTests.swift",
"ReadAttachmentTests.swift",
"TestHelpers.swift",
"ViewPagingTests.swift"
],
"target_dependencies" : [
"SwiftCloudant"
],
"type" : "test"
},
{
"c99name" : "SwiftCloudant",
"module_type" : "SwiftTarget",
"name" : "SwiftCloudant",
"path" : "Source/SwiftCloudant",
"product_memberships" : [
"SwiftCloudant"
],
"sources" : [
"CouchClient.swift",
"HTTP/RequestBuilder.swift",
"HTTP/RequestExecutor.swift",
"HTTP/URLSession.swift",
"Operations/Database/GetChangesOperation.swift",
"Operations/Documents/BulkDocs.swift",
"Operations/Documents/DeleteAttachmentOperation.swift",
"Operations/Documents/DeleteDocumentOperation.swift",
"Operations/Documents/GetDocumentOperation.swift",
"Operations/Documents/PutAttachmentOperation.swift",
"Operations/Documents/PutDocumentOperation.swift",
"Operations/Documents/ReadAttachmentOperation.swift",
"Operations/Operation.swift",
"Operations/OperationProtocols.swift",
"Operations/Query/CreateQueryIndexOperation.swift",
"Operations/Query/DeleteQueryIndexOperation.swift",
"Operations/Query/FindDocumentsOperation.swift",
"Operations/Server/CouchDatabaseOperation.swift",
"Operations/Server/CreateDatabaseOperation.swift",
"Operations/Server/DeleteDatabaseOperation.swift",
"Operations/Server/GetAllDatabasesOperation.swift",
"Operations/Views/GetAllDocsOperation.swift",
"Operations/Views/QueryViewOperation.swift",
"Operations/Views/ViewLikeOperation.swift",
"Operations/Views/ViewPaging.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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
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/25] Emitting module SwiftCloudant
/host/spi-builder-workspace/Source/SwiftCloudant/CouchClient.swift:18:8: error: no such module 'Dispatch'
16 |
17 | import Foundation
18 | import Dispatch
| `- error: no such module 'Dispatch'
19 |
20 | /**
[4/28] Compiling SwiftCloudant OperationProtocols.swift
/host/spi-builder-workspace/Source/SwiftCloudant/CouchClient.swift:18:8: error: no such module 'Dispatch'
16 |
17 | import Foundation
18 | import Dispatch
| `- error: no such module 'Dispatch'
19 |
20 | /**
[5/28] Compiling SwiftCloudant CreateQueryIndexOperation.swift
/host/spi-builder-workspace/Source/SwiftCloudant/CouchClient.swift:18:8: error: no such module 'Dispatch'
16 |
17 | import Foundation
18 | import Dispatch
| `- error: no such module 'Dispatch'
19 |
20 | /**
[6/28] Compiling SwiftCloudant DeleteQueryIndexOperation.swift
/host/spi-builder-workspace/Source/SwiftCloudant/CouchClient.swift:18:8: error: no such module 'Dispatch'
16 |
17 | import Foundation
18 | import Dispatch
| `- error: no such module 'Dispatch'
19 |
20 | /**
[7/28] Compiling SwiftCloudant QueryViewOperation.swift
/host/spi-builder-workspace/Source/SwiftCloudant/CouchClient.swift:18:8: error: no such module 'Dispatch'
16 |
17 | import Foundation
18 | import Dispatch
| `- error: no such module 'Dispatch'
19 |
20 | /**
[8/28] Compiling SwiftCloudant ViewLikeOperation.swift
/host/spi-builder-workspace/Source/SwiftCloudant/CouchClient.swift:18:8: error: no such module 'Dispatch'
16 |
17 | import Foundation
18 | import Dispatch
| `- error: no such module 'Dispatch'
19 |
20 | /**
[9/28] Compiling SwiftCloudant ViewPaging.swift
/host/spi-builder-workspace/Source/SwiftCloudant/CouchClient.swift:18:8: error: no such module 'Dispatch'
16 |
17 | import Foundation
18 | import Dispatch
| `- error: no such module 'Dispatch'
19 |
20 | /**
[10/28] Compiling SwiftCloudant GetChangesOperation.swift
/host/spi-builder-workspace/Source/SwiftCloudant/CouchClient.swift:18:8: error: no such module 'Dispatch'
16 |
17 | import Foundation
18 | import Dispatch
| `- error: no such module 'Dispatch'
19 |
20 | /**
[11/28] Compiling SwiftCloudant BulkDocs.swift
/host/spi-builder-workspace/Source/SwiftCloudant/CouchClient.swift:18:8: error: no such module 'Dispatch'
16 |
17 | import Foundation
18 | import Dispatch
| `- error: no such module 'Dispatch'
19 |
20 | /**
[12/28] Compiling SwiftCloudant DeleteAttachmentOperation.swift
/host/spi-builder-workspace/Source/SwiftCloudant/CouchClient.swift:18:8: error: no such module 'Dispatch'
16 |
17 | import Foundation
18 | import Dispatch
| `- error: no such module 'Dispatch'
19 |
20 | /**
[13/28] Compiling SwiftCloudant FindDocumentsOperation.swift
/host/spi-builder-workspace/Source/SwiftCloudant/CouchClient.swift:18:8: error: no such module 'Dispatch'
16 |
17 | import Foundation
18 | import Dispatch
| `- error: no such module 'Dispatch'
19 |
20 | /**
[14/28] Compiling SwiftCloudant CouchDatabaseOperation.swift
/host/spi-builder-workspace/Source/SwiftCloudant/CouchClient.swift:18:8: error: no such module 'Dispatch'
16 |
17 | import Foundation
18 | import Dispatch
| `- error: no such module 'Dispatch'
19 |
20 | /**
[15/28] Compiling SwiftCloudant CreateDatabaseOperation.swift
/host/spi-builder-workspace/Source/SwiftCloudant/CouchClient.swift:18:8: error: no such module 'Dispatch'
16 |
17 | import Foundation
18 | import Dispatch
| `- error: no such module 'Dispatch'
19 |
20 | /**
[16/28] Compiling SwiftCloudant PutDocumentOperation.swift
/host/spi-builder-workspace/Source/SwiftCloudant/CouchClient.swift:18:8: error: no such module 'Dispatch'
16 |
17 | import Foundation
18 | import Dispatch
| `- error: no such module 'Dispatch'
19 |
20 | /**
[17/28] Compiling SwiftCloudant ReadAttachmentOperation.swift
/host/spi-builder-workspace/Source/SwiftCloudant/CouchClient.swift:18:8: error: no such module 'Dispatch'
16 |
17 | import Foundation
18 | import Dispatch
| `- error: no such module 'Dispatch'
19 |
20 | /**
[18/28] Compiling SwiftCloudant Operation.swift
/host/spi-builder-workspace/Source/SwiftCloudant/CouchClient.swift:18:8: error: no such module 'Dispatch'
16 |
17 | import Foundation
18 | import Dispatch
| `- error: no such module 'Dispatch'
19 |
20 | /**
[19/28] Compiling SwiftCloudant CouchClient.swift
/host/spi-builder-workspace/Source/SwiftCloudant/CouchClient.swift:18:8: error: no such module 'Dispatch'
16 |
17 | import Foundation
18 | import Dispatch
| `- error: no such module 'Dispatch'
19 |
20 | /**
[20/28] Compiling SwiftCloudant RequestBuilder.swift
/host/spi-builder-workspace/Source/SwiftCloudant/CouchClient.swift:18:8: error: no such module 'Dispatch'
16 |
17 | import Foundation
18 | import Dispatch
| `- error: no such module 'Dispatch'
19 |
20 | /**
[21/28] Compiling SwiftCloudant RequestExecutor.swift
/host/spi-builder-workspace/Source/SwiftCloudant/CouchClient.swift:18:8: error: no such module 'Dispatch'
16 |
17 | import Foundation
18 | import Dispatch
| `- error: no such module 'Dispatch'
19 |
20 | /**
[22/28] Compiling SwiftCloudant URLSession.swift
/host/spi-builder-workspace/Source/SwiftCloudant/CouchClient.swift:18:8: error: no such module 'Dispatch'
16 |
17 | import Foundation
18 | import Dispatch
| `- error: no such module 'Dispatch'
19 |
20 | /**
[23/28] Compiling SwiftCloudant DeleteDocumentOperation.swift
/host/spi-builder-workspace/Source/SwiftCloudant/CouchClient.swift:18:8: error: no such module 'Dispatch'
16 |
17 | import Foundation
18 | import Dispatch
| `- error: no such module 'Dispatch'
19 |
20 | /**
[24/28] Compiling SwiftCloudant GetDocumentOperation.swift
/host/spi-builder-workspace/Source/SwiftCloudant/CouchClient.swift:18:8: error: no such module 'Dispatch'
16 |
17 | import Foundation
18 | import Dispatch
| `- error: no such module 'Dispatch'
19 |
20 | /**
[25/28] Compiling SwiftCloudant PutAttachmentOperation.swift
/host/spi-builder-workspace/Source/SwiftCloudant/CouchClient.swift:18:8: error: no such module 'Dispatch'
16 |
17 | import Foundation
18 | import Dispatch
| `- error: no such module 'Dispatch'
19 |
20 | /**
[26/28] Compiling SwiftCloudant DeleteDatabaseOperation.swift
/host/spi-builder-workspace/Source/SwiftCloudant/CouchClient.swift:18:8: error: no such module 'Dispatch'
16 |
17 | import Foundation
18 | import Dispatch
| `- error: no such module 'Dispatch'
19 |
20 | /**
[27/28] Compiling SwiftCloudant GetAllDatabasesOperation.swift
/host/spi-builder-workspace/Source/SwiftCloudant/CouchClient.swift:18:8: error: no such module 'Dispatch'
16 |
17 | import Foundation
18 | import Dispatch
| `- error: no such module 'Dispatch'
19 |
20 | /**
[28/28] Compiling SwiftCloudant GetAllDocsOperation.swift
/host/spi-builder-workspace/Source/SwiftCloudant/CouchClient.swift:18:8: error: no such module 'Dispatch'
16 |
17 | import Foundation
18 | import Dispatch
| `- error: no such module 'Dispatch'
19 |
20 | /**
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/24] Emitting module SwiftCloudant
/host/spi-builder-workspace/Source/SwiftCloudant/CouchClient.swift:18:8: error: no such module 'Dispatch'
16 |
17 | import Foundation
18 | import Dispatch
| `- error: no such module 'Dispatch'
19 |
20 | /**
[3/27] Compiling SwiftCloudant PutDocumentOperation.swift
/host/spi-builder-workspace/Source/SwiftCloudant/CouchClient.swift:18:8: error: no such module 'Dispatch'
16 |
17 | import Foundation
18 | import Dispatch
| `- error: no such module 'Dispatch'
19 |
20 | /**
[4/27] Compiling SwiftCloudant ReadAttachmentOperation.swift
/host/spi-builder-workspace/Source/SwiftCloudant/CouchClient.swift:18:8: error: no such module 'Dispatch'
16 |
17 | import Foundation
18 | import Dispatch
| `- error: no such module 'Dispatch'
19 |
20 | /**
[5/27] Compiling SwiftCloudant Operation.swift
/host/spi-builder-workspace/Source/SwiftCloudant/CouchClient.swift:18:8: error: no such module 'Dispatch'
16 |
17 | import Foundation
18 | import Dispatch
| `- error: no such module 'Dispatch'
19 |
20 | /**
[6/27] Compiling SwiftCloudant DeleteDatabaseOperation.swift
/host/spi-builder-workspace/Source/SwiftCloudant/CouchClient.swift:18:8: error: no such module 'Dispatch'
16 |
17 | import Foundation
18 | import Dispatch
| `- error: no such module 'Dispatch'
19 |
20 | /**
[7/27] Compiling SwiftCloudant GetAllDatabasesOperation.swift
/host/spi-builder-workspace/Source/SwiftCloudant/CouchClient.swift:18:8: error: no such module 'Dispatch'
16 |
17 | import Foundation
18 | import Dispatch
| `- error: no such module 'Dispatch'
19 |
20 | /**
[8/27] Compiling SwiftCloudant GetAllDocsOperation.swift
/host/spi-builder-workspace/Source/SwiftCloudant/CouchClient.swift:18:8: error: no such module 'Dispatch'
16 |
17 | import Foundation
18 | import Dispatch
| `- error: no such module 'Dispatch'
19 |
20 | /**
[9/27] Compiling SwiftCloudant DeleteDocumentOperation.swift
/host/spi-builder-workspace/Source/SwiftCloudant/CouchClient.swift:18:8: error: no such module 'Dispatch'
16 |
17 | import Foundation
18 | import Dispatch
| `- error: no such module 'Dispatch'
19 |
20 | /**
[10/27] Compiling SwiftCloudant GetDocumentOperation.swift
/host/spi-builder-workspace/Source/SwiftCloudant/CouchClient.swift:18:8: error: no such module 'Dispatch'
16 |
17 | import Foundation
18 | import Dispatch
| `- error: no such module 'Dispatch'
19 |
20 | /**
[11/27] Compiling SwiftCloudant PutAttachmentOperation.swift
/host/spi-builder-workspace/Source/SwiftCloudant/CouchClient.swift:18:8: error: no such module 'Dispatch'
16 |
17 | import Foundation
18 | import Dispatch
| `- error: no such module 'Dispatch'
19 |
20 | /**
[12/27] Compiling SwiftCloudant FindDocumentsOperation.swift
/host/spi-builder-workspace/Source/SwiftCloudant/CouchClient.swift:18:8: error: no such module 'Dispatch'
16 |
17 | import Foundation
18 | import Dispatch
| `- error: no such module 'Dispatch'
19 |
20 | /**
[13/27] Compiling SwiftCloudant CouchDatabaseOperation.swift
/host/spi-builder-workspace/Source/SwiftCloudant/CouchClient.swift:18:8: error: no such module 'Dispatch'
16 |
17 | import Foundation
18 | import Dispatch
| `- error: no such module 'Dispatch'
19 |
20 | /**
[14/27] Compiling SwiftCloudant CreateDatabaseOperation.swift
/host/spi-builder-workspace/Source/SwiftCloudant/CouchClient.swift:18:8: error: no such module 'Dispatch'
16 |
17 | import Foundation
18 | import Dispatch
| `- error: no such module 'Dispatch'
19 |
20 | /**
[15/27] Compiling SwiftCloudant OperationProtocols.swift
/host/spi-builder-workspace/Source/SwiftCloudant/CouchClient.swift:18:8: error: no such module 'Dispatch'
16 |
17 | import Foundation
18 | import Dispatch
| `- error: no such module 'Dispatch'
19 |
20 | /**
[16/27] Compiling SwiftCloudant CreateQueryIndexOperation.swift
/host/spi-builder-workspace/Source/SwiftCloudant/CouchClient.swift:18:8: error: no such module 'Dispatch'
16 |
17 | import Foundation
18 | import Dispatch
| `- error: no such module 'Dispatch'
19 |
20 | /**
[17/27] Compiling SwiftCloudant DeleteQueryIndexOperation.swift
/host/spi-builder-workspace/Source/SwiftCloudant/CouchClient.swift:18:8: error: no such module 'Dispatch'
16 |
17 | import Foundation
18 | import Dispatch
| `- error: no such module 'Dispatch'
19 |
20 | /**
[18/27] Compiling SwiftCloudant GetChangesOperation.swift
/host/spi-builder-workspace/Source/SwiftCloudant/CouchClient.swift:18:8: error: no such module 'Dispatch'
16 |
17 | import Foundation
18 | import Dispatch
| `- error: no such module 'Dispatch'
19 |
20 | /**
[19/27] Compiling SwiftCloudant BulkDocs.swift
/host/spi-builder-workspace/Source/SwiftCloudant/CouchClient.swift:18:8: error: no such module 'Dispatch'
16 |
17 | import Foundation
18 | import Dispatch
| `- error: no such module 'Dispatch'
19 |
20 | /**
[20/27] Compiling SwiftCloudant DeleteAttachmentOperation.swift
/host/spi-builder-workspace/Source/SwiftCloudant/CouchClient.swift:18:8: error: no such module 'Dispatch'
16 |
17 | import Foundation
18 | import Dispatch
| `- error: no such module 'Dispatch'
19 |
20 | /**
[21/27] Compiling SwiftCloudant CouchClient.swift
/host/spi-builder-workspace/Source/SwiftCloudant/CouchClient.swift:18:8: error: no such module 'Dispatch'
16 |
17 | import Foundation
18 | import Dispatch
| `- error: no such module 'Dispatch'
19 |
20 | /**
[22/27] Compiling SwiftCloudant RequestBuilder.swift
/host/spi-builder-workspace/Source/SwiftCloudant/CouchClient.swift:18:8: error: no such module 'Dispatch'
16 |
17 | import Foundation
18 | import Dispatch
| `- error: no such module 'Dispatch'
19 |
20 | /**
[23/27] Compiling SwiftCloudant RequestExecutor.swift
/host/spi-builder-workspace/Source/SwiftCloudant/CouchClient.swift:18:8: error: no such module 'Dispatch'
16 |
17 | import Foundation
18 | import Dispatch
| `- error: no such module 'Dispatch'
19 |
20 | /**
[24/27] Compiling SwiftCloudant URLSession.swift
/host/spi-builder-workspace/Source/SwiftCloudant/CouchClient.swift:18:8: error: no such module 'Dispatch'
16 |
17 | import Foundation
18 | import Dispatch
| `- error: no such module 'Dispatch'
19 |
20 | /**
[25/27] Compiling SwiftCloudant QueryViewOperation.swift
/host/spi-builder-workspace/Source/SwiftCloudant/CouchClient.swift:18:8: error: no such module 'Dispatch'
16 |
17 | import Foundation
18 | import Dispatch
| `- error: no such module 'Dispatch'
19 |
20 | /**
[26/27] Compiling SwiftCloudant ViewLikeOperation.swift
/host/spi-builder-workspace/Source/SwiftCloudant/CouchClient.swift:18:8: error: no such module 'Dispatch'
16 |
17 | import Foundation
18 | import Dispatch
| `- error: no such module 'Dispatch'
19 |
20 | /**
[27/27] Compiling SwiftCloudant ViewPaging.swift
/host/spi-builder-workspace/Source/SwiftCloudant/CouchClient.swift:18:8: error: no such module 'Dispatch'
16 |
17 | import Foundation
18 | import Dispatch
| `- error: no such module 'Dispatch'
19 |
20 | /**
BUILD FAILURE 6.1 wasm