Build Information
Failed to build PerfectMongoDB, reference 3.1.2 (5a1d27
), with Swift 6.2 (beta) for Wasm on 17 Jun 2025 17:04:25 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.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perfectlysoft/perfect-mongodb.git
Reference: 3.1.2
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/perfectlysoft/perfect-mongodb
* tag 3.1.2 -> FETCH_HEAD
HEAD is now at 5a1d275 Compatibility with Swift 5
Cloned https://github.com/perfectlysoft/perfect-mongodb.git
Revision (git rev-parse @):
5a1d2755b8ee75d4b81cad462868ffa4d86b229d
SUCCESS checkout https://github.com/perfectlysoft/perfect-mongodb.git at 3.1.2
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/perfectlysoft/perfect-mongodb.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/PerfectSideRepos/Perfect-CBSON.git
Fetching https://github.com/PerfectlySoft/PerfectLib.git
Fetching https://github.com/PerfectSideRepos/Perfect-CMongo.git
[1/22] Fetching perfect-cbson
[23/53] Fetching perfect-cbson, perfect-cmongo
[54/10837] Fetching perfect-cbson, perfect-cmongo, perfectlib
Fetched https://github.com/PerfectSideRepos/Perfect-CBSON.git from cache (0.37s)
[1541/10815] Fetching perfect-cmongo, perfectlib
Fetched https://github.com/PerfectSideRepos/Perfect-CMongo.git from cache (0.38s)
[1618/10784] Fetching perfectlib
Fetched https://github.com/PerfectlySoft/PerfectLib.git from cache (4.04s)
Computing version for https://github.com/PerfectSideRepos/Perfect-CMongo.git
Computed https://github.com/PerfectSideRepos/Perfect-CMongo.git at 0.1.0 (6.31s)
Computing version for https://github.com/PerfectSideRepos/Perfect-CBSON.git
Computed https://github.com/PerfectSideRepos/Perfect-CBSON.git at 0.0.5 (0.79s)
Computing version for https://github.com/PerfectlySoft/PerfectLib.git
Computed https://github.com/PerfectlySoft/PerfectLib.git at 3.1.4 (1.27s)
Fetching https://github.com/PerfectlySoft/Perfect-LinuxBridge.git
[1/65] Fetching perfect-linuxbridge
Fetched https://github.com/PerfectlySoft/Perfect-LinuxBridge.git from cache (0.54s)
Computing version for https://github.com/PerfectlySoft/Perfect-LinuxBridge.git
Computed https://github.com/PerfectlySoft/Perfect-LinuxBridge.git at 3.1.0 (1.64s)
Creating working copy for https://github.com/PerfectlySoft/Perfect-LinuxBridge.git
Working copy of https://github.com/PerfectlySoft/Perfect-LinuxBridge.git resolved at 3.1.0
Creating working copy for https://github.com/PerfectSideRepos/Perfect-CMongo.git
Working copy of https://github.com/PerfectSideRepos/Perfect-CMongo.git resolved at 0.1.0
Creating working copy for https://github.com/PerfectlySoft/PerfectLib.git
Working copy of https://github.com/PerfectlySoft/PerfectLib.git resolved at 3.1.4
Creating working copy for https://github.com/PerfectSideRepos/Perfect-CBSON.git
Working copy of https://github.com/PerfectSideRepos/Perfect-CBSON.git resolved at 0.0.5
warning: 'perfect-cbson': ignoring declared target(s) 'PerfectCBSON' in the system package
warning: 'perfect-cmongo': ignoring declared target(s) 'PerfectCMongo' in the system package
warning: 'spi-builder-workspace': dependency 'perfect-cmongo' is not used by any target
warning: 'spi-builder-workspace': dependency 'perfect-cbson' is not used by any target
warning: you may be able to install libmongoc-1.0 using your system-packager:
apt-get install libmongoc-dev
warning: you may be able to install libbson-1.0 using your system-packager:
apt-get install libbson-dev
warning: you may be able to install libmongoc-1.0 using your system-packager:
apt-get install libmongoc-dev
warning: you may be able to install libbson-1.0 using your system-packager:
apt-get install libbson-dev
Building for debugging...
[0/4] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/Perfect-LinuxBridge/Sources/LinuxBridge/LinuxBridge.c:2:
/host/spi-builder-workspace/.build/checkouts/Perfect-LinuxBridge/Sources/LinuxBridge/include/LinuxBridge.h:6:10: fatal error: 'uuid/uuid.h' file not found
6 | #include <uuid/uuid.h>
| ^~~~~~~~~~~~~
1 error generated.
[2/4] Compiling LinuxBridge LinuxBridge.c
[2/4] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm