The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PerfectSession, reference 4.0.0 (0b3bf3), with Swift 6.4 for Linux on 16 Oct 2026 17:16:34 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344846-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.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build 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.4
Building package at path:  $PWD
https://github.com/perfectlysoft/perfect-session.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344846-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.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:ef1451f51398a5019879493c5c492376e60274346858404d898204a8a77273d4
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest
Fetching https://github.com/PerfectlySoft/Perfect-Redis.git
Fetching https://github.com/PerfectlySoft/Perfect-MongoDB.git
Fetching https://github.com/PerfectlySoft/Perfect-MySQL.git
Fetching https://github.com/PerfectlySoft/Perfect-SQLite.git
Fetching https://github.com/PerfectlySoft/Perfect-PostgreSQL.git
Fetching https://github.com/apple/swift-log.git
[1/842] Fetching perfect-redis
[204/9147] Fetching perfect-redis, swift-log
[9148/10376] Fetching perfect-redis, swift-log, perfect-mongodb
[10377/12038] Fetching perfect-redis, swift-log, perfect-mongodb, perfect-postgresql
[10976/13355] Fetching perfect-redis, swift-log, perfect-mongodb, perfect-postgresql, perfect-mysql
[12619/14168] Fetching perfect-redis, swift-log, perfect-mongodb, perfect-postgresql, perfect-mysql, perfect-sqlite
Fetched https://github.com/PerfectlySoft/Perfect-SQLite.git (2.74s)
Fetched https://github.com/PerfectlySoft/Perfect-PostgreSQL.git (2.74s)
Fetched https://github.com/apple/swift-log.git (2.75s)
Fetched https://github.com/PerfectlySoft/Perfect-Redis.git (2.77s)
Fetched https://github.com/PerfectlySoft/Perfect-MongoDB.git (2.77s)
Fetched https://github.com/PerfectlySoft/Perfect-MySQL.git (2.77s)
Computing version for https://github.com/PerfectlySoft/Perfect-MongoDB.git
Computed https://github.com/PerfectlySoft/Perfect-MongoDB.git at 4.0.3 (2.91s)
Computing version for https://github.com/PerfectlySoft/Perfect-SQLite.git
Computed https://github.com/PerfectlySoft/Perfect-SQLite.git at 6.0.0 (0.14s)
Fetching https://github.com/PerfectlySoft/Perfect-CRUD.git
[1/1723] Fetching perfect-crud
Fetched https://github.com/PerfectlySoft/Perfect-CRUD.git (0.49s)
Computing version for https://github.com/PerfectlySoft/Perfect-Redis.git
Computed https://github.com/PerfectlySoft/Perfect-Redis.git at 4.0.0 (0.63s)
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 (0.78s)
[1/86518] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (5.15s)
Computing version for https://github.com/PerfectlySoft/Perfect-PostgreSQL.git
Computed https://github.com/PerfectlySoft/Perfect-PostgreSQL.git at 5.0.0 (5.29s)
Computing version for https://github.com/PerfectlySoft/Perfect-MySQL.git
Computed https://github.com/PerfectlySoft/Perfect-MySQL.git at 4.0.0 (0.13s)
Computing version for https://github.com/PerfectlySoft/Perfect-CRUD.git
Computed https://github.com/PerfectlySoft/Perfect-CRUD.git at 3.1.0 (0.12s)
Computing version for https://github.com/swift-server/RediStack.git
Computed https://github.com/swift-server/RediStack.git at 1.6.3 (0.14s)
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
[3564/20452] Fetching swift-metrics, swift-nio-ssl
Fetched https://github.com/apple/swift-metrics.git (0.45s)
[338/16889] Fetching swift-nio-ssl
[4562/18778] Fetching swift-nio-ssl, swift-atomics
Fetched https://github.com/apple/swift-atomics.git (0.81s)
[15876/16889] Fetching swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git (1.18s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.34s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.1 (0.15s)
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.18s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.25s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/7288] Fetching swift-system
[7289/36147] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git (1.30s)
Fetched https://github.com/apple/swift-collections.git (1.31s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (1.49s)
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.14s)
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/PerfectlySoft/Perfect-SQLite.git
Working copy of https://github.com/PerfectlySoft/Perfect-SQLite.git resolved at 6.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-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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.3
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-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-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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.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/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/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/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/PerfectlySoft/Perfect-MySQL.git
Working copy of https://github.com/PerfectlySoft/Perfect-MySQL.git resolved at 4.0.0
warning: 'perfect-mongodb': couldn't find pc file for mongoc2
warning: 'perfect-mongodb': couldn't find pc file for bson2
warning: 'perfect-mysql': you may be able to install mysqlclient using your system-packager:
    apt-get install libmysqlclient-dev
warning: 'perfect-postgresql': you may be able to install libpq using your system-packager:
    apt-get install libpq-dev
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1405]
[Planning 1365 / 1405]
[Planning deferred tasks]
[Starting]
[27 / 868] _NIOBase64
[251 / 897] _NIOBase64
[252 / 906] PerfectCRUD
[253 / 906] _NIOBase64
[264 / 906] PerfectMongoDB
error: SwiftCompile normal x86_64 failed with a nonzero exit code. Command line:     cd /host

<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 |
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/.build/checkouts/Perfect-MongoDB/Sources/PerfectMongoDB/BSON.swift /host/spi-builder-workspace/.build/checkouts/Perfect-MongoDB/Sources/PerfectMongoDB/BSONCodable.swift /host/spi-builder-workspace/.build/checkouts/Perfect-MongoDB/Sources/PerfectMongoDB/MongoAsync.swift /host/spi-builder-workspace/.build/checkouts/Perfect-MongoDB/Sources/PerfectMongoDB/MongoClient.swift /host/spi-builder-workspace/.build/checkouts/Perfect-MongoDB/Sources/PerfectMongoDB/MongoCollection.swift /host/spi-builder-workspace/.build/checkouts/Perfect-MongoDB/Sources/PerfectMongoDB/MongoCollectionCodable.swift /host/spi-builder-workspace/.build/checkouts/Perfect-MongoDB/Sources/PerfectMongoDB/MongoConnectionPool.swift /host/spi-builder-workspace/.build/checkouts/Perfect-MongoDB/Sources/PerfectMongoDB/MongoCursor.swift /host/spi-builder-workspace/.build/checkouts/Perfect-MongoDB/Sources/PerfectMongoDB/MongoDatabase.swift /host/spi-builder-workspace/.build/checkouts/Perfect-MongoDB/Sources/PerfectMongoDB/MongoGridFS.swift /host/spi-builder-workspace/.build/checkouts/Perfect-MongoDB/Sources/PerfectMongoDB/MongoJSONConvertables.swift -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -suppress-warnings -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -user-module-version 4.0.3 -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/Perfect-MongoDB/Sources/PerfectCMongo/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/Perfect-MongoDB/Sources/PerfectCBSON/module.modulemap -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectMongoDB.build/Debug-linux-x86_64/PerfectMongoDB-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectMongoDB.build/Debug-linux-x86_64/PerfectMongoDB-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectMongoDB.build/Debug-linux-x86_64/PerfectMongoDB-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name PerfectMongoDB -package-name perfect_mongodb -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectMongoDB.build/Debug-linux-x86_64/PerfectMongoDB-t.build/Objects-normal/x86_64/PerfectMongoDB_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectMongoDB.build/Debug-linux-x86_64/PerfectMongoDB-t.build/Objects-normal/x86_64/Modules/PerfectMongoDB.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectMongoDB.build/Debug-linux-x86_64/PerfectMongoDB-t.build/Objects-normal/x86_64/Modules/PerfectMongoDB.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectMongoDB.build/Debug-linux-x86_64/PerfectMongoDB-t.build/Objects-normal/x86_64/PerfectMongoDB-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectMongoDB.build/Debug-linux-x86_64/PerfectMongoDB-t.build/Objects-normal/x86_64/PerfectMongoDB-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectMongoDB.build/Debug-linux-x86_64/PerfectMongoDB-t.build/Objects-normal/x86_64/PerfectMongoDB-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectMongoDB.build/Debug-linux-x86_64/PerfectMongoDB-t.build/Objects-normal/x86_64/Modules/PerfectMongoDB.swiftmodule
error: Build failed
BUILD FAILURE 6.4 linux