Build Information
Failed to build CouchbaseClusterManager, reference master (31571d
), with Swift 6.1 for Wasm on 27 May 2025 15:11:02 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/asensei/couchbase-cluster-manager.git
Reference: master
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/asensei/couchbase-cluster-manager
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 31571d0 readme update
Cloned https://github.com/asensei/couchbase-cluster-manager.git
Revision (git rev-parse @):
31571d0ac22e869c9680bac4f35d564e6f6c6b7b
SUCCESS checkout https://github.com/asensei/couchbase-cluster-manager.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/asensei/couchbase-cluster-manager.git
https://github.com/asensei/couchbase-cluster-manager.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "vapor",
"requirement" : {
"range" : [
{
"lower_bound" : "2.4.2",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/vapor.git"
},
{
"identity" : "docker-client-swift",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/valeriomazzeo/docker-client-swift.git"
}
],
"manifest_display_name" : "CouchbaseClusterManager",
"name" : "CouchbaseClusterManager",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Run",
"targets" : [
"Run"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "Run",
"module_type" : "SwiftTarget",
"name" : "Run",
"path" : "Sources/Run",
"product_memberships" : [
"Run"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"CouchbaseClusterManager"
],
"type" : "executable"
},
{
"c99name" : "CouchbaseClusterManager",
"module_type" : "SwiftTarget",
"name" : "CouchbaseClusterManager",
"path" : "Sources/CouchbaseClusterManager",
"product_dependencies" : [
"Vapor",
"DockerClient"
],
"product_memberships" : [
"Run"
],
"sources" : [
"Config.swift",
"Couchbase/Couchbase+Bucket.swift",
"Couchbase/Couchbase+Cluster.swift",
"Couchbase/Couchbase+Credentials.swift",
"Couchbase/Couchbase+Error.swift",
"Couchbase/Couchbase+Index.swift",
"Couchbase/Couchbase+Node.swift",
"Couchbase/Couchbase+ServiceOptions.swift",
"Couchbase/Couchbase+StorageMode.swift",
"Couchbase/Couchbase+User.swift",
"Couchbase/Couchbase.swift",
"DataSources/DockerServiceDataSource.swift",
"DataSources/ServiceDataSource.swift",
"Manager.swift",
"Models/Service.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/valeriomazzeo/docker-client-swift.git
Fetching https://github.com/vapor/vapor.git
[1/38] Fetching docker-client-swift
[39/74416] Fetching docker-client-swift, vapor
Fetched https://github.com/valeriomazzeo/docker-client-swift.git from cache (1.62s)
Fetched https://github.com/vapor/vapor.git from cache (1.66s)
Computing version for https://github.com/valeriomazzeo/docker-client-swift.git
Computed https://github.com/valeriomazzeo/docker-client-swift.git at 1.0.0 (2.41s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 2.4.5 (1.04s)
Fetching https://github.com/vapor/crypto.git
Fetching https://github.com/vapor/engine.git
Fetching https://github.com/vapor/node.git
Fetching https://github.com/vapor/routing.git
Fetching https://github.com/vapor/json.git
Fetching https://github.com/vapor/multipart.git
[1/4211] Fetching node
[44/6997] Fetching node, crypto
[603/27724] Fetching node, crypto, routing
[2600/53191] Fetching node, crypto, routing, engine
[2920/54189] Fetching node, crypto, routing, engine, json
[3560/57508] Fetching node, crypto, routing, engine, json, multipart
Fetched https://github.com/vapor/crypto.git from cache (1.53s)
Fetched https://github.com/vapor/node.git from cache (1.53s)
Fetching https://github.com/vapor/core.git
Fetching https://github.com/vapor/console.git
Fetched https://github.com/vapor/engine.git from cache (1.55s)
Fetching https://github.com/vapor/bcrypt.git
[23385/25044] Fetching routing, json, multipart
[24813/25143] Fetching routing, json, multipart, bcrypt
[25144/45286] Fetching routing, json, multipart, bcrypt, core
[26353/50863] Fetching routing, json, multipart, bcrypt, core, console
Fetched https://github.com/vapor/bcrypt.git from cache (0.53s)
[49757/50764] Fetching routing, json, multipart, core, console
Fetched https://github.com/vapor/json.git from cache (2.10s)
Fetched https://github.com/vapor/routing.git from cache (2.11s)
Fetched https://github.com/vapor/console.git from cache (0.58s)
Fetched https://github.com/vapor/multipart.git from cache (2.14s)
Fetched https://github.com/vapor/core.git from cache (0.81s)
Computing version for https://github.com/vapor/bcrypt.git
Computed https://github.com/vapor/bcrypt.git at 1.1.1 (2.89s)
Fetching https://github.com/vapor/random.git
[1/148] Fetching random
Fetched https://github.com/vapor/random.git from cache (0.24s)
Computing version for https://github.com/vapor/random.git
Computed https://github.com/vapor/random.git at 1.2.0 (0.82s)
Computing version for https://github.com/vapor/routing.git
Computed https://github.com/vapor/routing.git at 2.2.1 (0.62s)
Fetching https://github.com/vapor/debugging.git
[1/260] Fetching debugging
Fetched https://github.com/vapor/debugging.git from cache (0.23s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (0.80s)
Computing version for https://github.com/vapor/json.git
Computed https://github.com/vapor/json.git at 2.2.2 (0.86s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (0.93s)
Fetching https://github.com/vapor/bits.git
[1/358] Fetching bits
Fetched https://github.com/vapor/bits.git from cache (0.27s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (0.89s)
Computing version for https://github.com/vapor/multipart.git
Computed https://github.com/vapor/multipart.git at 2.2.1 (0.66s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 2.1.3 (0.57s)
Fetching https://github.com/vapor/ctls.git
[1/71] Fetching ctls
Fetched https://github.com/vapor/ctls.git from cache (0.23s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 2.3.1 (1.14s)
Computing version for https://github.com/vapor/ctls.git
Computed https://github.com/vapor/ctls.git at 1.1.3 (0.48s)
Computing version for https://github.com/vapor/node.git
Computed https://github.com/vapor/node.git at 2.1.5 (0.68s)
Computing version for https://github.com/vapor/engine.git
Computed https://github.com/vapor/engine.git at 2.2.5 (0.79s)
Fetching https://github.com/vapor/sockets.git
Fetching https://github.com/vapor/tls.git
[1/1144] Fetching tls
[528/4456] Fetching tls, sockets
Fetched https://github.com/vapor/tls.git from cache (0.35s)
Fetched https://github.com/vapor/sockets.git from cache (0.38s)
Computing version for https://github.com/vapor/tls.git
Computed https://github.com/vapor/tls.git at 2.1.3 (1.10s)
Computing version for https://github.com/vapor/sockets.git
Computed https://github.com/vapor/sockets.git at 2.2.3 (0.57s)
Creating working copy for https://github.com/vapor/engine.git
Working copy of https://github.com/vapor/engine.git resolved at 2.2.5
Creating working copy for https://github.com/valeriomazzeo/docker-client-swift.git
Working copy of https://github.com/valeriomazzeo/docker-client-swift.git resolved at 1.0.0
Creating working copy for https://github.com/vapor/ctls.git
Working copy of https://github.com/vapor/ctls.git resolved at 1.1.3
Creating working copy for https://github.com/vapor/debugging.git
Working copy of https://github.com/vapor/debugging.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/console.git
Working copy of https://github.com/vapor/console.git resolved at 2.3.1
Creating working copy for https://github.com/vapor/bits.git
Working copy of https://github.com/vapor/bits.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/tls.git
Working copy of https://github.com/vapor/tls.git resolved at 2.1.3
Creating working copy for https://github.com/vapor/random.git
Working copy of https://github.com/vapor/random.git resolved at 1.2.0
Creating working copy for https://github.com/vapor/bcrypt.git
Working copy of https://github.com/vapor/bcrypt.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/node.git
Working copy of https://github.com/vapor/node.git resolved at 2.1.5
Creating working copy for https://github.com/vapor/json.git
Working copy of https://github.com/vapor/json.git resolved at 2.2.2
Creating working copy for https://github.com/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 2.4.5
Creating working copy for https://github.com/vapor/multipart.git
Working copy of https://github.com/vapor/multipart.git resolved at 2.2.1
Creating working copy for https://github.com/vapor/sockets.git
Working copy of https://github.com/vapor/sockets.git resolved at 2.2.3
Creating working copy for https://github.com/vapor/crypto.git
Working copy of https://github.com/vapor/crypto.git resolved at 2.1.3
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 2.2.1
Creating working copy for https://github.com/vapor/routing.git
Working copy of https://github.com/vapor/routing.git resolved at 2.2.1
warning: 'ctls': ignoring declared target(s) 'CTLS' in the system package
warning: you may be able to install ctls using your system-packager:
apt-get install libssl-dev
warning: you may be able to install ctls using your system-packager:
apt-get install libssl-dev
Building for debugging...
[0/65] Write sources
[30/65] Compiling Ccurl anchor.c
[31/65] Compiling CHTTP http_parser.c
[32/65] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[34/93] Emitting module libc
/host/spi-builder-workspace/.build/checkouts/core/Sources/libc/libc.swift:4:20: error: no such module 'Darwin.C'
2 | @_exported import Glibc
3 | #else
4 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
5 | #endif
6 |
[35/93] Compiling libc libc.swift
/host/spi-builder-workspace/.build/checkouts/core/Sources/libc/libc.swift:4:20: error: no such module 'Darwin.C'
2 | @_exported import Glibc
3 | #else
4 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
5 | #endif
6 |
[36/93] Compiling Bits Operators.swift
/host/spi-builder-workspace/.build/checkouts/bits/Sources/Bits/Byte+Random.swift:4:23: error: no such module 'Darwin.C'
2 | @_exported import Glibc
3 | #else
4 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
5 | #endif
6 |
[37/93] Compiling Bits String+BytesConvertible.swift
/host/spi-builder-workspace/.build/checkouts/bits/Sources/Bits/Byte+Random.swift:4:23: error: no such module 'Darwin.C'
2 | @_exported import Glibc
3 | #else
4 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
5 | #endif
6 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[38/93] Emitting module DockerClient
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/docker-client-swift/Sources/Ccurl/include/shim.h:9:9: error: 'curl/curl.h' file not found
7 | //
8 |
9 | #import <curl/curl.h>
| `- error: 'curl/curl.h' file not found
10 |
11 | typedef size_t (*curl_func)(void * ptr, size_t size, size_t num, void * user_data);
/host/spi-builder-workspace/.build/checkouts/docker-client-swift/Sources/DockerClient/CURLTask.swift:10:8: error: could not build C module 'Ccurl'
8 |
9 | import Foundation
10 | import Ccurl
| `- error: could not build C module 'Ccurl'
11 |
12 | final class CURLTask {
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/docker-client-swift/Sources/Ccurl/include/shim.h:9:9: error: 'curl/curl.h' file not found
7 | //
8 |
9 | #import <curl/curl.h>
| `- error: 'curl/curl.h' file not found
10 |
11 | typedef size_t (*curl_func)(void * ptr, size_t size, size_t num, void * user_data);
[39/93] Emitting module Debugging
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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
warning: 'ctls': ignoring declared target(s) 'CTLS' in the system package
warning: you may be able to install ctls using your system-packager:
apt-get install libssl-dev
warning: you may be able to install ctls using your system-packager:
apt-get install libssl-dev
[0/1] Planning build
Building for debugging...
[0/33] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/41] Emitting module libc
/host/spi-builder-workspace/.build/checkouts/core/Sources/libc/libc.swift:4:20: error: no such module 'Darwin.C'
2 | @_exported import Glibc
3 | #else
4 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
5 | #endif
6 |
[3/41] Compiling libc libc.swift
/host/spi-builder-workspace/.build/checkouts/core/Sources/libc/libc.swift:4:20: error: no such module 'Darwin.C'
2 | @_exported import Glibc
3 | #else
4 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
5 | #endif
6 |
[4/53] Compiling PathIndexable PathIndexable+Subscripting.swift
[5/59] Emitting module PathIndexable
[6/59] Compiling PathIndexable PathIndexable.swift
[7/62] Emitting module Debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/62] Emitting module DockerClient
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/docker-client-swift/Sources/Ccurl/include/shim.h:9:9: error: 'curl/curl.h' file not found
7 | //
8 |
9 | #import <curl/curl.h>
| `- error: 'curl/curl.h' file not found
10 |
11 | typedef size_t (*curl_func)(void * ptr, size_t size, size_t num, void * user_data);
/host/spi-builder-workspace/.build/checkouts/docker-client-swift/Sources/DockerClient/CURLTask.swift:10:8: error: could not build C module 'Ccurl'
8 |
9 | import Foundation
10 | import Ccurl
| `- error: could not build C module 'Ccurl'
11 |
12 | final class CURLTask {
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/docker-client-swift/Sources/Ccurl/include/shim.h:9:9: error: 'curl/curl.h' file not found
7 | //
8 |
9 | #import <curl/curl.h>
| `- error: 'curl/curl.h' file not found
10 |
11 | typedef size_t (*curl_func)(void * ptr, size_t size, size_t num, void * user_data);
BUILD FAILURE 6.1 wasm