Build Information
Failed to build CouchbaseClusterManager, reference 0.2.3 (ae1705
), with Swift 6.1 for Wasm on 27 May 2025 15:11:12 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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: 0.2.3
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
* tag 0.2.3 -> FETCH_HEAD
HEAD is now at ae17057 Dependencies update (#293)
Cloned https://github.com/asensei/couchbase-cluster-manager.git
Revision (git rev-parse @):
ae17057088154f0a7e67dc5f8d63aff5c2575ae1
SUCCESS checkout https://github.com/asensei/couchbase-cluster-manager.git at 0.2.3
========================================
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-4606859-0":/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/vapor/vapor.git
Fetching https://github.com/valeriomazzeo/docker-client-swift.git
[1/38] Fetching docker-client-swift
Fetched https://github.com/valeriomazzeo/docker-client-swift.git from cache (0.35s)
[1/74378] Fetching vapor
Fetched https://github.com/vapor/vapor.git from cache (2.15s)
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.78s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 2.4.5 (1.76s)
Fetching https://github.com/vapor/engine.git
Fetching https://github.com/vapor/json.git
Fetching https://github.com/vapor/multipart.git
Fetching https://github.com/vapor/node.git
Fetching https://github.com/vapor/routing.git
Fetching https://github.com/vapor/crypto.git
[1/998] Fetching json
[610/5209] Fetching json, node
[1284/30676] Fetching json, node, engine
[1285/51403] Fetching json, node, engine, routing
[3268/54189] Fetching json, node, engine, routing, crypto
[3269/57508] Fetching json, node, engine, routing, crypto, multipart
Fetched https://github.com/vapor/routing.git from cache (1.28s)
Fetching https://github.com/vapor/core.git
[35111/36781] Fetching json, node, engine, crypto, multipart
[35112/56924] Fetching json, node, engine, crypto, multipart, core
Fetched https://github.com/vapor/crypto.git from cache (1.73s)
Fetched https://github.com/vapor/node.git from cache (1.73s)
Fetching https://github.com/vapor/bcrypt.git
Fetching https://github.com/vapor/console.git
Fetched https://github.com/vapor/json.git from cache (1.75s)
Fetched https://github.com/vapor/engine.git from cache (1.77s)
Fetched https://github.com/vapor/multipart.git from cache (1.80s)
[16316/20143] Fetching core
[20144/20242] Fetching core, bcrypt
[20243/25819] Fetching core, bcrypt, console
Fetched https://github.com/vapor/bcrypt.git from cache (0.40s)
Fetched https://github.com/vapor/console.git from cache (0.45s)
Fetched https://github.com/vapor/core.git from cache (0.96s)
Computing version for https://github.com/vapor/bcrypt.git
Computed https://github.com/vapor/bcrypt.git at 1.1.1 (3.31s)
Fetching https://github.com/vapor/random.git
[1/148] Fetching random
Fetched https://github.com/vapor/random.git from cache (0.66s)
Computing version for https://github.com/vapor/random.git
Computed https://github.com/vapor/random.git at 1.2.0 (1.34s)
Computing version for https://github.com/vapor/routing.git
Computed https://github.com/vapor/routing.git at 2.2.1 (0.79s)
Fetching https://github.com/vapor/debugging.git
[1/260] Fetching debugging
Fetched https://github.com/vapor/debugging.git from cache (0.29s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (1.01s)
Computing version for https://github.com/vapor/json.git
Computed https://github.com/vapor/json.git at 2.2.2 (0.74s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (1.26s)
Fetching https://github.com/vapor/bits.git
[1/358] Fetching bits
Fetched https://github.com/vapor/bits.git from cache (0.42s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (1.52s)
Computing version for https://github.com/vapor/multipart.git
Computed https://github.com/vapor/multipart.git at 2.2.1 (0.77s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 2.1.3 (0.72s)
Fetching https://github.com/vapor/ctls.git
[1/71] Fetching ctls
Fetched https://github.com/vapor/ctls.git from cache (0.38s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 2.3.1 (0.58s)
Computing version for https://github.com/vapor/ctls.git
Computed https://github.com/vapor/ctls.git at 1.1.3 (0.60s)
Computing version for https://github.com/vapor/node.git
Computed https://github.com/vapor/node.git at 2.1.5 (0.63s)
Computing version for https://github.com/vapor/engine.git
Computed https://github.com/vapor/engine.git at 2.2.5 (0.63s)
Fetching https://github.com/vapor/tls.git
Fetching https://github.com/vapor/sockets.git
[1/1144] Fetching tls
[528/4456] Fetching tls, sockets
Fetched https://github.com/vapor/tls.git from cache (0.33s)
Fetched https://github.com/vapor/sockets.git from cache (0.34s)
Computing version for https://github.com/vapor/tls.git
Computed https://github.com/vapor/tls.git at 2.1.3 (1.43s)
Computing version for https://github.com/vapor/sockets.git
Computed https://github.com/vapor/sockets.git at 2.2.3 (0.87s)
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/engine.git
Working copy of https://github.com/vapor/engine.git resolved at 2.2.5
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/tls.git
Working copy of https://github.com/vapor/tls.git resolved at 2.1.3
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/ctls.git
Working copy of https://github.com/vapor/ctls.git resolved at 1.1.3
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/bits.git
Working copy of https://github.com/vapor/bits.git resolved at 1.1.1
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/json.git
Working copy of https://github.com/vapor/json.git resolved at 2.2.2
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/multipart.git
Working copy of https://github.com/vapor/multipart.git resolved at 2.2.1
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/random.git
Working copy of https://github.com/vapor/random.git resolved at 1.2.0
Creating working copy for https://github.com/vapor/routing.git
Working copy of https://github.com/vapor/routing.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/valeriomazzeo/docker-client-swift.git
Working copy of https://github.com/valeriomazzeo/docker-client-swift.git resolved at 1.0.0
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 Bits
/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)
[35/95] 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 |
[36/95] 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 |
[37/95] Emitting module Debugging
[38/95] Compiling Debugging Debuggable.swift
[39/95] Compiling PathIndexable PathIndexable+Subscripting.swift
[40/95] Emitting module PathIndexable
[41/95] Compiling PathIndexable PathIndexable.swift
[44/97] 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 |
[45/97] 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 |
[46/97] Compiling Bits UnsignedInteger+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 |
[47/97] Compiling Bits UnsignedInteger+Shifting.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 |
[47/97] Wrapping AST for PathIndexable for debugging
[47/97] Wrapping AST for Debugging for debugging
<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);
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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
[2/61] 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 |
[3/61] 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)
[4/61] 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 |
[5/61] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/61] 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 {
[7/63] Compiling Bits Aliases.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 |
[8/63] Compiling Bits Base64Encoder.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 |
[9/63] Compiling Bits Byte+Alphabet.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)
[10/63] Emitting module Bits
/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 |
[11/63] Compiling PathIndexable PathIndexable.swift
[12/63] Compiling Bits Byte+ControlCharacters.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 |
[13/63] Compiling Bits Byte+Convenience.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 |
[14/63] Compiling Bits Byte+PatternMatching.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 |
[15/63] Emitting module PathIndexable
[16/63] Compiling PathIndexable PathIndexable+Subscripting.swift
[17/64] Emitting module Debugging
[18/64] Compiling Debugging Debuggable.swift
[19/65] Compiling Bits UnsignedInteger+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 |
[20/65] Compiling Bits UnsignedInteger+Shifting.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 |
[23/65] Compiling Bits Byte+Random.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 |
[24/65] Compiling Bits Byte+UTF8Numbers.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 |
[25/65] Compiling Bits ByteSequence+Conversions.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 |
<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