Build Information
Failed to build PerfectSession, reference main (0b3bf3), with Swift 6.4 for Linux on 16 Oct 2026 17:18:26 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344849-1":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perfectlysoft/perfect-session.git
Reference: main
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
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
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-54344849-1":/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/apple/swift-log.git
Fetching https://github.com/PerfectlySoft/Perfect-SQLite.git
Fetching https://github.com/PerfectlySoft/Perfect-PostgreSQL.git
Fetching https://github.com/PerfectlySoft/Perfect-MySQL.git
Fetching https://github.com/PerfectlySoft/Perfect-MongoDB.git
[1/842] Fetching perfect-redis
[128/9147] Fetching perfect-redis, swift-log
[296/10809] Fetching perfect-redis, swift-log, perfect-postgresql
[396/11622] Fetching perfect-redis, swift-log, perfect-postgresql, perfect-sqlite
[10726/12851] Fetching perfect-redis, swift-log, perfect-postgresql, perfect-sqlite, perfect-mongodb
[11276/14168] Fetching perfect-redis, swift-log, perfect-postgresql, perfect-sqlite, perfect-mongodb, perfect-mysql
Fetched https://github.com/apple/swift-log.git (0.51s)
[3695/5863] Fetching perfect-redis, perfect-postgresql, perfect-sqlite, perfect-mongodb, perfect-mysql
Fetched https://github.com/PerfectlySoft/Perfect-MongoDB.git (0.57s)
Fetched https://github.com/PerfectlySoft/Perfect-Redis.git (0.57s)
[3068/3792] Fetching perfect-postgresql, perfect-sqlite, perfect-mysql
Fetched https://github.com/PerfectlySoft/Perfect-PostgreSQL.git (0.70s)
Fetched https://github.com/PerfectlySoft/Perfect-SQLite.git (0.70s)
Fetched https://github.com/PerfectlySoft/Perfect-MySQL.git (0.71s)
Computing version for https://github.com/PerfectlySoft/Perfect-MongoDB.git
Computed https://github.com/PerfectlySoft/Perfect-MongoDB.git at 4.0.3 (0.85s)
Computing version for https://github.com/PerfectlySoft/Perfect-SQLite.git
Computed https://github.com/PerfectlySoft/Perfect-SQLite.git at 6.0.0 (0.13s)
Fetching https://github.com/PerfectlySoft/Perfect-CRUD.git
[1/1723] Fetching perfect-crud
Fetched https://github.com/PerfectlySoft/Perfect-CRUD.git (0.58s)
Computing version for https://github.com/PerfectlySoft/Perfect-Redis.git
Computed https://github.com/PerfectlySoft/Perfect-Redis.git at 4.0.0 (0.73s)
Fetching https://github.com/swift-server/RediStack.git
Fetching https://github.com/apple/swift-nio.git
[1/4814] Fetching redistack
[4815/91332] Fetching redistack, swift-nio
Fetched https://github.com/swift-server/RediStack.git (5.00s)
Fetched https://github.com/apple/swift-nio.git (5.04s)
Computing version for https://github.com/PerfectlySoft/Perfect-PostgreSQL.git
Computed https://github.com/PerfectlySoft/Perfect-PostgreSQL.git at 5.0.0 (5.22s)
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-nio-ssl.git
Fetching https://github.com/apple/swift-atomics.git
[1/1889] Fetching swift-atomics
[1890/5452] Fetching swift-atomics, swift-metrics
Fetched https://github.com/apple/swift-atomics.git (0.46s)
[3207/3563] Fetching swift-metrics
[3564/20452] Fetching swift-metrics, swift-nio-ssl
Fetched https://github.com/apple/swift-metrics.git (1.35s)
Fetched https://github.com/apple/swift-nio-ssl.git (1.35s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.52s)
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.19s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.26s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/7288] Fetching swift-system
[6706/36147] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git (1.49s)
Fetched https://github.com/apple/swift-collections.git (1.50s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (1.74s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.3 (0.25s)
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-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
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-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-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/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-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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.16.1
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-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.12.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
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 1029 / 1405]
[Planning deferred tasks]
[Starting]
[25 / 868] _NIOBase64
[147 / 868] CNIOFreeBSD
[234 / 868]
[248 / 878] _NIOBase64
[253 / 912] _NIODataStructures
[254 / 922] InternalCollectionsUtilities
[255 / 930] PerfectCRUD
[256 / 930] _NIOBase64
[267 / 930] InternalCollectionsUtilities
[267 / 930] NIOConcurrencyHelpers
[278 / 930] CoreMetrics
[287 / 930] InternalCollectionsUtilities
error: SwiftCompile normal x86_64 failed with a nonzero exit code. Command line: cd /host
[288 / 930] PerfectMongoDB
<module-includes>:1:10: [1;39mnote: [1;39min file included from <module-includes>:1:[0;0m
[0;36m1 |[0;0m #include "shim.h"
[0;36m|[0;0m `- [1;39mnote: [1;39min file included from <module-includes>:1:[0;0m
[0;36m2 |[0;0m
/host/spi-builder-workspace/.build/checkouts/Perfect-MongoDB/Sources/PerfectCBSON/shim.h:2:10: [1;31merror: [1;39m'bson/bson.h' file not found[0;0m
[0;36m1 |[0;0m #define BCON_H_
[0;36m2 |[0;0m #include <bson/bson.h>
[0;36m|[0;0m `- [1;31merror: [1;39m'bson/bson.h' file not found[0;0m
[0;36m3 |[0;0m
[0;36m4 |[0;0m // 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: [1;31merror: [1;39mcould not build C module 'PerfectCBSON'[0;0m
[0;36m18 |[0;0m //
[0;36m19 |[0;0m
[0;36m20 |[0;0m import PerfectCBSON
[0;36m|[0;0m `- [1;31merror: [1;39mcould not build C module 'PerfectCBSON'[0;0m
[0;36m21 |[0;0m import Foundation
[0;36m22 |[0;0m
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