Build Information
Failed to build PerfectSession, reference 4.0.0 (0b3bf3), with Swift 6.2 for Linux on 16 Oct 2026 17:18:32 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:linux-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perfectlysoft/perfect-session.git
Reference: 4.0.0
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-session
* tag 4.0.0 -> FETCH_HEAD
HEAD is now at 0b3bf33 Merge pull request #17 from PerfectlySoft/release-prep
Cloned https://github.com/perfectlysoft/perfect-session.git
Revision (git rev-parse @):
0b3bf3314ea6bab1500ad5f3010565ba39849272
SUCCESS checkout https://github.com/perfectlysoft/perfect-session.git at 4.0.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/perfectlysoft/perfect-session.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:linux-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:af72ee10f3ab8145e300c2afec9616a3ae441bd9d7c561ce3ed6cd39331f6017
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.2-latest
Fetching https://github.com/PerfectlySoft/Perfect-PostgreSQL.git
Fetching https://github.com/PerfectlySoft/Perfect-Redis.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/PerfectlySoft/Perfect-MongoDB.git
Fetching https://github.com/PerfectlySoft/Perfect-SQLite.git
Fetching https://github.com/PerfectlySoft/Perfect-MySQL.git
[1/813] Fetching perfect-sqlite
[180/2042] Fetching perfect-sqlite, perfect-mongodb
[800/10347] Fetching perfect-sqlite, perfect-mongodb, swift-log
[2542/11189] Fetching perfect-sqlite, perfect-mongodb, swift-log, perfect-redis
[11190/12506] Fetching perfect-sqlite, perfect-mongodb, swift-log, perfect-redis, perfect-mysql
[11770/14168] Fetching perfect-sqlite, perfect-mongodb, swift-log, perfect-redis, perfect-mysql, perfect-postgresql
Fetched https://github.com/apple/swift-log.git from cache (1.00s)
[5136/5863] Fetching perfect-sqlite, perfect-mongodb, perfect-redis, perfect-mysql, perfect-postgresql
Fetched https://github.com/PerfectlySoft/Perfect-Redis.git from cache (2.09s)
Fetched https://github.com/PerfectlySoft/Perfect-MongoDB.git from cache (2.09s)
Fetched https://github.com/PerfectlySoft/Perfect-PostgreSQL.git from cache (2.09s)
Fetched https://github.com/PerfectlySoft/Perfect-SQLite.git from cache (2.09s)
Fetched https://github.com/PerfectlySoft/Perfect-MySQL.git from cache (2.09s)
Computing version for https://github.com/PerfectlySoft/Perfect-MongoDB.git
Computed https://github.com/PerfectlySoft/Perfect-MongoDB.git at 4.0.3 (2.24s)
Computing version for https://github.com/PerfectlySoft/Perfect-SQLite.git
Computed https://github.com/PerfectlySoft/Perfect-SQLite.git at 6.0.0 (0.15s)
Fetching https://github.com/PerfectlySoft/Perfect-CRUD.git
[1/1723] Fetching perfect-crud
Fetched https://github.com/PerfectlySoft/Perfect-CRUD.git from cache (0.51s)
Computing version for https://github.com/PerfectlySoft/Perfect-Redis.git
Computed https://github.com/PerfectlySoft/Perfect-Redis.git at 4.0.0 (0.66s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/swift-server/RediStack.git
[1/4814] Fetching redistack
Fetched https://github.com/swift-server/RediStack.git from cache (0.51s)
[1/86518] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.54s)
Computing version for https://github.com/PerfectlySoft/Perfect-PostgreSQL.git
Computed https://github.com/PerfectlySoft/Perfect-PostgreSQL.git at 5.0.0 (4.69s)
Computing version for https://github.com/PerfectlySoft/Perfect-MySQL.git
Computed https://github.com/PerfectlySoft/Perfect-MySQL.git at 4.0.0 (0.15s)
Computing version for https://github.com/PerfectlySoft/Perfect-CRUD.git
Computed https://github.com/PerfectlySoft/Perfect-CRUD.git at 3.1.0 (0.14s)
Computing version for https://github.com/swift-server/RediStack.git
Computed https://github.com/swift-server/RediStack.git at 1.6.3 (0.15s)
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/3563] Fetching swift-metrics
[964/20452] Fetching swift-metrics, swift-nio-ssl
[4240/22341] Fetching swift-metrics, swift-nio-ssl, swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (1.54s)
Fetched https://github.com/apple/swift-metrics.git from cache (1.54s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.55s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.71s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.1 (0.16s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.5 (0.19s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.34s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/28859] Fetching swift-collections
[579/36147] Fetching swift-collections, swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.96s)
[5195/28859] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.77s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (1.95s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.3 (0.23s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.12.0 (0.15s)
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.12.0
Creating working copy for https://github.com/swift-server/RediStack.git
Working copy of https://github.com/swift-server/RediStack.git resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.3
Creating working copy for https://github.com/PerfectlySoft/Perfect-Redis.git
Working copy of https://github.com/PerfectlySoft/Perfect-Redis.git resolved at 4.0.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.5
Creating working copy for https://github.com/PerfectlySoft/Perfect-MySQL.git
Working copy of https://github.com/PerfectlySoft/Perfect-MySQL.git resolved at 4.0.0
Creating working copy for https://github.com/PerfectlySoft/Perfect-CRUD.git
Working copy of https://github.com/PerfectlySoft/Perfect-CRUD.git resolved at 3.1.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.104.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.16.1
Creating working copy for https://github.com/PerfectlySoft/Perfect-PostgreSQL.git
Working copy of https://github.com/PerfectlySoft/Perfect-PostgreSQL.git resolved at 5.0.0
Creating working copy for https://github.com/PerfectlySoft/Perfect-MongoDB.git
Working copy of https://github.com/PerfectlySoft/Perfect-MongoDB.git resolved at 4.0.3
Creating working copy for https://github.com/PerfectlySoft/Perfect-SQLite.git
Working copy of https://github.com/PerfectlySoft/Perfect-SQLite.git resolved at 6.0.0
warning: couldn't find pc file for mongoc2
warning: couldn't find pc file for bson2
warning: you may be able to install libpq using your system-packager:
apt-get install libpq-dev
warning: you may be able to install mysqlclient using your system-packager:
apt-get install libmysqlclient-dev
warning: couldn't find pc file for mongoc2
warning: couldn't find pc file for bson2
warning: you may be able to install libpq using your system-packager:
apt-get install libpq-dev
warning: you may be able to install mysqlclient using your system-packager:
apt-get install libmysqlclient-dev
Building for debugging...
[0/443] Write sources
[28/443] Compiling CNIOWindows shim.c
[28/443] Compiling CNIOWASI CNIOWASI.c
[30/443] Compiling CNIOOpenBSD shim.c
[30/443] Compiling CNIOWindows WSAStartup.c
[32/443] Compiling _AtomicsShims.c
[33/443] Compiling CNIOPosix event_loop_id.c
[34/443] Compiling CNIOLinux liburing_shims.c
[35/443] Compiling PerfectSQLiteShim PerfectSQLiteShim.c
[36/443] Compiling CNIODarwin shim.c
[37/443] Compiling CNIOFreeBSD shim.c
[38/443] Compiling fiat_p256_adx_sqr.S
[39/443] Compiling fiat_curve25519_adx_square.S
[40/443] Compiling fiat_curve25519_adx_mul.S
[41/443] Write swift-version-24593BA9C3E375BF.txt
[42/443] Compiling fiat_p256_adx_mul.S
[43/443] Compiling CNIOLinux shim.c
[44/449] Compiling CNIOBoringSSLShims shims.c
[46/460] Emitting module _NIODataStructures
[46/460] Compiling tls_method.cc
[47/460] Compiling tls13_client.cc
[48/460] Compiling tls_record.cc
[49/527] Compiling tls13_server.cc
[50/532] Compiling tls13_enc.cc
[52/532] Emitting module Logging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[53/533] Emitting module PerfectMongoDB
<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/Perfect-MongoDB/Sources/PerfectCBSON/shim.h:2:10: error: 'bson/bson.h' file not found
1 | #define BCON_H_
2 | #include <bson/bson.h>
| `- error: 'bson/bson.h' file not found
3 |
4 | // libbson 2.3 added bson_append_array_unsafe_begin and deprecated bson_append_array_begin
/host/spi-builder-workspace/.build/checkouts/Perfect-MongoDB/Sources/PerfectMongoDB/BSON.swift:20:8: error: could not build C module 'PerfectCBSON'
18 | //
19 |
20 | import PerfectCBSON
| `- error: could not build C module 'PerfectCBSON'
21 | import Foundation
22 |
[53/534] Compiling tls13_both.cc
[54/534] Compiling t1_enc.cc
[56/534] Compiling InternalCollectionsUtilities MutableSpan+Extras.swift
[57/534] Compiling InternalCollectionsUtilities OutputSpan+Extras.swift
[58/534] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[59/534] Compiling InternalCollectionsUtilities Span+Extras.swift
[60/534] Compiling InternalCollectionsUtilities Iterable+CopyContents.swift
[61/534] Compiling InternalCollectionsUtilities Iterable+Equality.swift
[62/534] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[63/534] Compiling InternalCollectionsUtilities MutableRef.swift
[64/537] Compiling Logging LoggingSystem.swift
[65/537] Compiling CoreMetrics MappingMetricsFactory.swift
[66/537] Compiling InternalCollectionsUtilities UnsafeMutablePointer+Extras.swift
[67/537] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[68/537] Compiling InternalCollectionsUtilities UnsafePointer+Extras.swift
[69/537] Compiling PerfectMongoDB MongoGridFS.swift
<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/Perfect-MongoDB/Sources/PerfectCBSON/shim.h:2:10: error: 'bson/bson.h' file not found
1 | #define BCON_H_
2 | #include <bson/bson.h>
| `- error: 'bson/bson.h' file not found
3 |
4 | // libbson 2.3 added bson_append_array_unsafe_begin and deprecated bson_append_array_begin
/host/spi-builder-workspace/.build/checkouts/Perfect-MongoDB/Sources/PerfectMongoDB/BSON.swift:20:8: error: could not build C module 'PerfectCBSON'
18 | //
19 |
20 | import PerfectCBSON
| `- error: could not build C module 'PerfectCBSON'
21 | import Foundation
22 |
[70/537] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[71/537] Compiling InternalCollectionsUtilities _SortedCollection.swift
[72/537] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[73/537] Compiling CoreMetrics WithMetricsFactory.swift
[74/537] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Equality.swift
[75/537] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Extras.swift
[76/537] Compiling InternalCollectionsUtilities Debugging.swift
[77/537] Compiling InternalCollectionsUtilities Descriptions.swift
[78/537] Emitting module InternalCollectionsUtilities
[79/537] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[80/537] Compiling InternalCollectionsUtilities Integer rank.swift
[81/537] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[82/537] Compiling InternalCollectionsUtilities UInt+reversed.swift
[85/537] Compiling _NIODataStructures PriorityQueue.swift
[86/537] Compiling _NIODataStructures _TinyArray.swift
[87/537] Compiling PerfectMongoDB MongoConnectionPool.swift
<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/Perfect-MongoDB/Sources/PerfectCBSON/shim.h:2:10: error: 'bson/bson.h' file not found
1 | #define BCON_H_
2 | #include <bson/bson.h>
| `- error: 'bson/bson.h' file not found
3 |
4 | // libbson 2.3 added bson_append_array_unsafe_begin and deprecated bson_append_array_begin
/host/spi-builder-workspace/.build/checkouts/Perfect-MongoDB/Sources/PerfectMongoDB/BSON.swift:20:8: error: could not build C module 'PerfectCBSON'
18 | //
19 |
20 | import PerfectCBSON
| `- error: could not build C module 'PerfectCBSON'
21 | import Foundation
22 |
<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/Perfect-MongoDB/Sources/PerfectCBSON/shim.h:2:10: error: 'bson/bson.h' file not found
1 | #define BCON_H_
2 | #include <bson/bson.h>
| `- error: 'bson/bson.h' file not found
3 |
4 | // libbson 2.3 added bson_append_array_unsafe_begin and deprecated bson_append_array_begin
/host/spi-builder-workspace/.build/checkouts/Perfect-MongoDB/Sources/PerfectMongoDB/BSON.swift:20:8: error: could not build C module 'PerfectCBSON'
18 | //
19 |
20 | import PerfectCBSON
| `- error: could not build C module 'PerfectCBSON'
21 | import Foundation
22 |
<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/Perfect-MongoDB/Sources/PerfectCBSON/shim.h:2:10: error: 'bson/bson.h' file not found
1 | #define BCON_H_
2 | #include <bson/bson.h>
| `- error: 'bson/bson.h' file not found
3 |
4 | // libbson 2.3 added bson_append_array_unsafe_begin and deprecated bson_append_array_begin
/host/spi-builder-workspace/.build/checkouts/Perfect-MongoDB/Sources/PerfectMongoDB/BSON.swift:20:8: error: could not build C module 'PerfectCBSON'
18 | //
19 |
20 | import PerfectCBSON
| `- error: could not build C module 'PerfectCBSON'
21 | import Foundation
22 |
[90/537] Compiling PerfectMongoDB MongoDatabase.swift
<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/Perfect-MongoDB/Sources/PerfectCBSON/shim.h:2:10: error: 'bson/bson.h' file not found
1 | #define BCON_H_
2 | #include <bson/bson.h>
| `- error: 'bson/bson.h' file not found
3 |
4 | // libbson 2.3 added bson_append_array_unsafe_begin and deprecated bson_append_array_begin
/host/spi-builder-workspace/.build/checkouts/Perfect-MongoDB/Sources/PerfectMongoDB/BSON.swift:20:8: error: could not build C module 'PerfectCBSON'
18 | //
19 |
20 | import PerfectCBSON
| `- error: could not build C module 'PerfectCBSON'
21 | import Foundation
22 |
[91/537] Compiling PerfectMongoDB MongoCursor.swift
<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/Perfect-MongoDB/Sources/PerfectCBSON/shim.h:2:10: error: 'bson/bson.h' file not found
1 | #define BCON_H_
2 | #include <bson/bson.h>
| `- error: 'bson/bson.h' file not found
3 |
4 | // libbson 2.3 added bson_append_array_unsafe_begin and deprecated bson_append_array_begin
/host/spi-builder-workspace/.build/checkouts/Perfect-MongoDB/Sources/PerfectMongoDB/BSON.swift:20:8: error: could not build C module 'PerfectCBSON'
18 | //
19 |
20 | import PerfectCBSON
| `- error: could not build C module 'PerfectCBSON'
21 | import Foundation
22 |
[92/537] Compiling _NIOBase64 Base64.swift
[93/537] Emitting module _NIOBase64
[95/538] Compiling InternalCollectionsUtilities Strideable+LimitHelpers.swift
[96/538] Compiling InternalCollectionsUtilities String+Padding.swift
[97/538] Compiling InternalCollectionsUtilities TemporaryAllocation.swift
[98/538] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[99/538] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[100/538] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[101/538] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[102/538] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[103/539] Compiling Logging Logger+With.swift
[104/539] Compiling Logging Logger.swift
[105/539] Compiling Logging Logger+Attributes.swift
[107/539] Compiling CoreMetrics Metrics.swift
[110/539] Compiling Logging MetadataProvider.swift
[111/539] Emitting module CoreMetrics
[112/539] Compiling CoreMetrics Locks.swift
[116/541] Compiling _NIODataStructures Heap.swift
[117/542] Compiling PerfectMongoDB MongoJSONConvertables.swift
<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/Perfect-MongoDB/Sources/PerfectCBSON/shim.h:2:10: error: 'bson/bson.h' file not found
1 | #define BCON_H_
2 | #include <bson/bson.h>
| `- error: 'bson/bson.h' file not found
3 |
4 | // libbson 2.3 added bson_append_array_unsafe_begin and deprecated bson_append_array_begin
/host/spi-builder-workspace/.build/checkouts/Perfect-MongoDB/Sources/PerfectMongoDB/BSON.swift:20:8: error: could not build C module 'PerfectCBSON'
18 | //
19 |
20 | import PerfectCBSON
| `- error: could not build C module 'PerfectCBSON'
21 | import Foundation
22 |
[120/546] Compiling SpanPreview MutableSpan+InputSpanHelpers.swift
[121/546] Compiling SpanPreview OutputSpan+InputSpanHelpers.swift
[126/549] Emitting module SpanPreview
[127/549] Compiling SpanPreview InputSpan.swift
<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/Perfect-MongoDB/Sources/PerfectCBSON/shim.h:2:10: error: 'bson/bson.h' file not found
1 | #define BCON_H_
2 | #include <bson/bson.h>
| `- error: 'bson/bson.h' file not found
3 |
4 | // libbson 2.3 added bson_append_array_unsafe_begin and deprecated bson_append_array_begin
/host/spi-builder-workspace/.build/checkouts/Perfect-MongoDB/Sources/PerfectMongoDB/BSON.swift:20:8: error: could not build C module 'PerfectCBSON'
18 | //
19 |
20 | import PerfectCBSON
| `- error: could not build C module 'PerfectCBSON'
21 | import Foundation
22 |
<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/Perfect-MongoDB/Sources/PerfectCBSON/shim.h:2:10: error: 'bson/bson.h' file not found
1 | #define BCON_H_
2 | #include <bson/bson.h>
| `- error: 'bson/bson.h' file not found
3 |
4 | // libbson 2.3 added bson_append_array_unsafe_begin and deprecated bson_append_array_begin
/host/spi-builder-workspace/.build/checkouts/Perfect-MongoDB/Sources/PerfectMongoDB/BSON.swift:20:8: error: could not build C module 'PerfectCBSON'
18 | //
19 |
20 | import PerfectCBSON
| `- error: could not build C module 'PerfectCBSON'
21 | import Foundation
22 |
[145/560] Compiling ssl_x509.cc
[147/602] Compiling Metrics Metrics.swift
[148/602] Emitting module Metrics
[149/603] Emitting module PerfectSessionCore
[150/604] Compiling PerfectSessionCore SessionCookie.swift
[152/604] Compiling PerfectSessionCore CSRFSecurity.swift
[153/604] Compiling PerfectSessionCore SessionConfig.swift
[154/604] Compiling PerfectSessionCore SessionDriver.swift
[155/604] Compiling DequeModule UniqueDeque+Descriptions.swift
[156/604] Compiling DequeModule UniqueDeque+Equatable.swift
[157/604] Compiling DequeModule UniqueDeque+Hashable.swift
[158/604] Compiling DequeModule Deque+Extras.swift
[159/604] Compiling DequeModule Deque+Hashable.swift
[160/604] Compiling DequeModule Deque+Testing.swift
[161/604] Compiling DequeModule Deque._Storage.swift
[162/604] Compiling DequeModule Deque._UnsafeHandle.swift
[163/604] Compiling DequeModule Deque.swift
[164/604] Compiling DequeModule Deque+Codable.swift
[165/604] Compiling DequeModule Deque+Collection.swift
[166/604] Emitting module PerfectCRUD
[167/604] Compiling DequeModule RigidDeque+Descriptions.swift
[168/604] Compiling DequeModule RigidDeque+Equatable.swift
[169/604] Compiling DequeModule RigidDeque+Hashable.swift
[170/604] Compiling DequeModule RigidDeque+Initializers.swift
[171/604] Compiling DequeModule RigidDeque+Insertions.swift
[172/604] Compiling DequeModule RigidDeque+Iterable.swift
[173/604] Compiling DequeModule _DequeBuffer.swift
[174/604] Compiling DequeModule _DequeBufferHeader.swift
[175/604] Compiling DequeModule RigidDeque+Append.swift
[176/604] Compiling DequeModule RigidDeque+Consumption.swift
[177/604] Compiling DequeModule RigidDeque+ContainerOperations.swift
[178/604] Compiling DequeModule RigidDeque+Deprecations.swift
[178/604] Compiling ssl_versions.cc
[180/610] Compiling PerfectSessionCore MemorySessionDriver.swift
[181/610] Compiling PerfectSessionCore PerfectSession.swift
[182/610] Compiling ssl_transcript.cc
[184/610] Compiling PerfectSessionCore LogID.swift
[185/610] Compiling PerfectSessionCore AuthFilter.swift
[187/619] Compiling DequeModule UniqueDeque+Consumption.swift
[188/619] Compiling DequeModule UniqueDeque+ContainerOperations.swift
[189/619] Compiling DequeModule UniqueDeque+Deprecations.swift
[193/619] Compiling DequeModule RigidDeque+Prepend.swift
[194/619] Compiling DequeModule RigidDeque+Removals.swift
[195/619] Compiling DequeModule RigidDeque+Replacements.swift
[196/619] Compiling DequeModule RigidDeque+Testing.swift
[197/619] Compiling DequeModule RigidDeque.swift
[198/619] Compiling DequeModule UniqueDeque+Append.swift
[199/619] Compiling DequeModule UniqueDeque+Initializers.swift
[200/619] Compiling DequeModule UniqueDeque+Insertions.swift
[201/619] Compiling DequeModule UniqueDeque+Iterable.swift
[202/619] Compiling DequeModule UniqueDeque+Prepend.swift
[203/619] Compiling DequeModule UniqueDeque+Removals.swift
[204/619] Emitting module PerfectSQLite
[205/619] Compiling PerfectPostgreSQL PostgresCRUDUpdate.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libpq.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Perfect-PostgreSQL/Sources/libpq/libpq.h:1:10: error: 'libpq-fe.h' file not found
1 | #include <libpq-fe.h>
| `- error: 'libpq-fe.h' file not found
2 |
/host/spi-builder-workspace/.build/checkouts/Perfect-PostgreSQL/Sources/PerfectPostgreSQL/PerfectPostgreSQL.swift:21:8: error: could not build C module 'libpq'
19 |
20 | import Foundation
21 | import libpq
| `- error: could not build C module 'libpq'
22 | import Logging
23 |
[206/619] Compiling PerfectPostgreSQL PostgresCRUDInsert.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libpq.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Perfect-PostgreSQL/Sources/libpq/libpq.h:1:10: error: 'libpq-fe.h' file not found
1 | #include <libpq-fe.h>
| `- error: 'libpq-fe.h' file not found
2 |
/host/spi-builder-workspace/.build/checkouts/Perfect-PostgreSQL/Sources/PerfectPostgreSQL/PerfectPostgreSQL.swift:21:8: error: could not build C module 'libpq'
19 |
20 | import Foundation
21 | import libpq
| `- error: could not build C module 'libpq'
22 | import Logging
23 |
[206/619] Compiling ssl_stat.cc
[208/623] Compiling PerfectPostgreSQL PerfectPostgreSQL.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libpq.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Perfect-PostgreSQL/Sources/libpq/libpq.h:1:10: error: 'libpq-fe.h' file not found
1 | #include <libpq-fe.h>
| `- error: 'libpq-fe.h' file not found
2 |
/host/spi-builder-workspace/.build/checkouts/Perfect-PostgreSQL/Sources/PerfectPostgreSQL/PerfectPostgreSQL.swift:21:8: error: could not build C module 'libpq'
19 |
20 | import Foundation
21 | import libpq
| `- error: could not build C module 'libpq'
22 | import Logging
23 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[209/624] Compiling PerfectPostgreSQL PostgresCRUD.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libpq.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Perfect-PostgreSQL/Sources/libpq/libpq.h:1:10: error: 'libpq-fe.h' file not found
1 | #include <libpq-fe.h>
| `- error: 'libpq-fe.h' file not found
2 |
/host/spi-builder-workspace/.build/checkouts/Perfect-PostgreSQL/Sources/PerfectPostgreSQL/PerfectPostgreSQL.swift:21:8: error: could not build C module 'libpq'
19 |
20 | import Foundation
21 | import libpq
| `- error: could not build C module 'libpq'
22 | import Logging
23 |
[210/624] Emitting module PerfectPostgreSQL
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libpq.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Perfect-PostgreSQL/Sources/libpq/libpq.h:1:10: error: 'libpq-fe.h' file not found
1 | #include <libpq-fe.h>
| `- error: 'libpq-fe.h' file not found
2 |
/host/spi-builder-workspace/.build/checkouts/Perfect-PostgreSQL/Sources/PerfectPostgreSQL/PerfectPostgreSQL.swift:21:8: error: could not build C module 'libpq'
19 |
20 | import Foundation
21 | import libpq
| `- error: could not build C module 'libpq'
22 | import Logging
23 |
[210/624] Compiling ssl_privkey.cc
[210/624] Compiling ssl_session.cc
[210/624] Compiling ssl_lib.cc
<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/Perfect-MongoDB/Sources/PerfectCBSON/shim.h:2:10: error: 'bson/bson.h' file not found
1 | #define BCON_H_
2 | #include <bson/bson.h>
| `- error: 'bson/bson.h' file not found
3 |
4 | // libbson 2.3 added bson_append_array_unsafe_begin and deprecated bson_append_array_begin
BUILD FAILURE 6.2 linux