The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PerfectTemplate, reference main (7b3a5c), with Swift 6.4 for Linux on 17 Oct 2026 17:13:22 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344849-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/perfecttemplate.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/perfecttemplate
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 7b3a5c3 Merge pull request #25 from PerfectlySoft/swift6-modernization
Cloned https://github.com/perfectlysoft/perfecttemplate.git
Revision (git rev-parse @):
7b3a5c389f441ee2c78ff953826cadda9081e306
SUCCESS checkout https://github.com/perfectlysoft/perfecttemplate.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/perfectlysoft/perfecttemplate.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-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-CRUD.git
Fetching https://github.com/PerfectlySoft/Perfect-NIO.git
Fetching https://github.com/PerfectlySoft/Perfect-MySQL.git
Fetching https://github.com/PerfectlySoft/Perfect-Logger.git
Fetching https://github.com/apple/swift-nio.git
[1/1317] Fetching perfect-mysql
[133/2943] Fetching perfect-mysql, perfect-nio
[612/3216] Fetching perfect-mysql, perfect-nio, perfect-logger
[1911/4939] Fetching perfect-mysql, perfect-nio, perfect-logger, perfect-crud
Fetched https://github.com/PerfectlySoft/Perfect-Logger.git (0.46s)
Fetched https://github.com/PerfectlySoft/Perfect-CRUD.git (0.47s)
Fetched https://github.com/PerfectlySoft/Perfect-MySQL.git (0.47s)
[1/86563] Fetching swift-nio
Fetched https://github.com/PerfectlySoft/Perfect-NIO.git (2.88s)
Fetched https://github.com/apple/swift-nio.git (2.91s)
Computing version for https://github.com/PerfectlySoft/Perfect-Logger.git
Computed https://github.com/PerfectlySoft/Perfect-Logger.git at 4.0.0 (3.06s)
Fetching https://github.com/apple/swift-log.git
[1/8305] Fetching swift-log
Fetched https://github.com/apple/swift-log.git (0.46s)
Computing version for https://github.com/PerfectlySoft/Perfect-MySQL.git
Computed https://github.com/PerfectlySoft/Perfect-MySQL.git at 4.0.0 (0.60s)
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/PerfectlySoft/Perfect-NIO.git
Computed https://github.com/PerfectlySoft/Perfect-NIO.git at 0.1.0 (0.14s)
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/16889] Fetching swift-nio-ssl
[2/23594] Fetching swift-nio-ssl, swift-nio-extras
[3/42276] Fetching swift-nio-ssl, swift-nio-extras, swift-crypto
Fetched https://github.com/apple/swift-nio-extras.git (0.55s)
[4065/35571] Fetching swift-nio-ssl, swift-crypto
Fetched https://github.com/apple/swift-nio-ssl.git (1.18s)
Fetched https://github.com/apple/swift-crypto.git (1.34s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.1 (1.49s)
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-collections.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1889] Fetching swift-atomics
[1890/9199] Fetching swift-atomics, swift-system
[5107/38073] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git (0.65s)
Fetched https://github.com/apple/swift-system.git (0.65s)
[6064/28874] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.52s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.69s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.16s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.3 (0.22s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.1 (0.94s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-asn1.git
[1/1284] Fetching swift-http-structured-headers
[1003/7443] Fetching swift-http-structured-headers, swift-algorithms
[1209/9494] Fetching swift-http-structured-headers, swift-algorithms, swift-asn1
[1430/17095] Fetching swift-http-structured-headers, swift-algorithms, swift-asn1, swift-certificates
Fetched https://github.com/apple/swift-http-structured-headers.git (0.39s)
Fetching https://github.com/apple/swift-http-types.git
[782/15811] Fetching swift-algorithms, swift-asn1, swift-certificates
[2624/22632] Fetching swift-algorithms, swift-asn1, swift-certificates, swift-async-algorithms
Fetched https://github.com/apple/swift-algorithms.git (0.56s)
[16169/16473] Fetching swift-asn1, swift-certificates, swift-async-algorithms
Fetching https://github.com/apple/swift-nio-http2.git
[16474/19347] Fetching swift-asn1, swift-certificates, swift-async-algorithms, swift-service-lifecycle
Fetched https://github.com/apple/swift-asn1.git (0.63s)
Fetched https://github.com/apple/swift-async-algorithms.git (0.63s)
Fetched https://github.com/apple/swift-certificates.git (0.63s)
[1380/2874] Fetching swift-service-lifecycle
Fetched https://github.com/swift-server/swift-service-lifecycle.git (0.69s)
[1/1961] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git (0.49s)
[1/12294] Fetching swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git (0.96s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.37s)
Fetching https://github.com/apple/swift-numerics.git
[1/6756] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (0.54s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.67s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (0.13s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.8.0 (0.16s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.13.0 (0.12s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.7 (0.16s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.16s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.0 (0.19s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (0.21s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.0 (0.14s)
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.5.2
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-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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.16.1
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.21.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-NIO.git
Working copy of https://github.com/PerfectlySoft/Perfect-NIO.git resolved at 0.1.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.13.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.8.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-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.35.1
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.46.0
Creating working copy for https://github.com/PerfectlySoft/Perfect-Logger.git
Working copy of https://github.com/PerfectlySoft/Perfect-Logger.git resolved at 4.0.0
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.7.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-MySQL.git
Working copy of https://github.com/PerfectlySoft/Perfect-MySQL.git resolved at 4.0.0
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.7
warning: 'perfect-mysql': you may be able to install mysqlclient using your system-packager:
    apt-get install libmysqlclient-dev
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1262]
[Planning 1195 / 1262]
[Planning deferred tasks]
[Constructing 2309 / 3457]
[211 / 1184] Atomics
[231 / 1239] PerfectCRUD
[232 / 1239] _NIOBase64
[248 / 1239] _AtomicsShims
[249 / 1239] InternalCollectionsUtilities
[261 / 1239] PerfectCRUD
[264 / 1239] _NIODataStructures
[273 / 1239] PerfectCRUD-product
[275 / 1240] _NIOBase64
[276 / 1240] _NIODataStructures
[279 / 1241] _NIODataStructures
[283 / 1241] NIOConcurrencyHelpers-product
[286 / 1241] PerfectCRUD
[289 / 1241] Logging
[293 / 1241] PerfectLogger
[300 / 1242] InternalCollectionsUtilities
[304 / 1242] InternalCollectionsUtilities
[310 / 1243] CryptoBoringWrapper
[313 / 1244] CryptoBoringWrapper
[314 / 1244] Logging
[320 / 1244]
[342 / 1256] _NIODataStructures
[351 / 1258] Atomics
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/.build/checkouts/Perfect-MySQL/Sources/PerfectMySQL/PerfectMySQL.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile PerfectMySQL.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "mysqlclient.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Perfect-MySQL/Sources/mysqlclient/mysqlclient.h:1:10: error: 'mysql.h' file not found
 1 | #include <mysql.h>
   |          `- error: 'mysql.h' file not found
 2 |
 3 | #if defined(LIBMARIADB) || defined(MARIADB_BASE_VERSION)
/host/spi-builder-workspace/.build/checkouts/Perfect-MySQL/Sources/PerfectMySQL/MySQL.swift:8:8: error: could not build C module 'mysqlclient'
  6 | //
  7 |
  8 | import mysqlclient
    |        `- error: could not build C module 'mysqlclient'
  9 | #if canImport(Glibc)
 10 | import Glibc
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/.build/checkouts/Perfect-MySQL/Sources/PerfectMySQL/MySQL.swift /host/spi-builder-workspace/.build/checkouts/Perfect-MySQL/Sources/PerfectMySQL/MySQLCRUD.swift /host/spi-builder-workspace/.build/checkouts/Perfect-MySQL/Sources/PerfectMySQL/MySQLStmt.swift -primary-file /host/spi-builder-workspace/.build/checkouts/Perfect-MySQL/Sources/PerfectMySQL/PerfectMySQL.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectMySQL.build/Debug-linux-x86_64/PerfectMySQL-t.build/Objects-normal/x86_64/PerfectMySQL.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectMySQL.build/Debug-linux-x86_64/PerfectMySQL-t.build/Objects-normal/x86_64/PerfectMySQL.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectMySQL.build/Debug-linux-x86_64/PerfectMySQL-t.build/Objects-normal/x86_64/PerfectMySQL.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectMySQL.build/Debug-linux-x86_64/PerfectMySQL-t.build/Objects-normal/x86_64/PerfectMySQL.dia -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.0 -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-MySQL/Sources/mysqlclient/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/PerfectMySQL.build/Debug-linux-x86_64/PerfectMySQL-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectMySQL.build/Debug-linux-x86_64/PerfectMySQL-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectMySQL.build/Debug-linux-x86_64/PerfectMySQL-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name PerfectMySQL -package-name perfect_mysql -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectMySQL.build/Debug-linux-x86_64/PerfectMySQL-t.build/Objects-normal/x86_64/PerfectMySQL_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 -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectMySQL.build/Debug-linux-x86_64/PerfectMySQL-t.build/Objects-normal/x86_64/PerfectMySQL.o -index-unit-output-path /PerfectMySQL.build/Debug-linux-x86_64/PerfectMySQL-t.build/Objects-normal/x86_64/PerfectMySQL.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 linux