The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build PerfectMySQL, reference master (c7f0b5), with Swift 6.0 for Linux on 31 Oct 2024 09:21:19 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perfectlysoft/perfect-mysql.git
Reference: master
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-mysql
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at c7f0b5c Merge pull request #52 from AustinFuller/ExposeSSL_MODE
Cloned https://github.com/perfectlysoft/perfect-mysql.git
Revision (git rev-parse @):
c7f0b5c2e4e1c43704ab68933d8dbead7c11ecc6
SUCCESS checkout https://github.com/perfectlysoft/perfect-mysql.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/perfectlysoft/perfect-mysql.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/PerfectlySoft/Perfect-mysqlclient-Linux.git
Fetching https://github.com/PerfectlySoft/Perfect-CRUD.git
[1/45] Fetching perfect-mysqlclient-linux
[46/1235] Fetching perfect-mysqlclient-linux, perfect-crud
Fetched https://github.com/PerfectlySoft/Perfect-mysqlclient-Linux.git from cache (0.24s)
Fetched https://github.com/PerfectlySoft/Perfect-CRUD.git from cache (0.25s)
Computing version for https://github.com/PerfectlySoft/Perfect-CRUD.git
Computed https://github.com/PerfectlySoft/Perfect-CRUD.git at 1.2.3 (0.51s)
Computing version for https://github.com/PerfectlySoft/Perfect-mysqlclient-Linux.git
Computed https://github.com/PerfectlySoft/Perfect-mysqlclient-Linux.git at 2.1.0 (0.48s)
Creating working copy for https://github.com/PerfectlySoft/Perfect-CRUD.git
Working copy of https://github.com/PerfectlySoft/Perfect-CRUD.git resolved at 1.2.3
Creating working copy for https://github.com/PerfectlySoft/Perfect-mysqlclient-Linux.git
Working copy of https://github.com/PerfectlySoft/Perfect-mysqlclient-Linux.git resolved at 2.1.0
warning: 'perfect-mysqlclient-linux': ignoring declared target(s) 'mysqlclient' in the system package
warning: 'spi-builder-workspace': dependency 'perfect-mysqlclient-linux' is not used by any target
warning: you may be able to install mysqlclient using your system-packager:
    apt-get install libmysqlclient-dev
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/27] Emitting module PerfectCRUD
[5/30] Compiling PerfectCRUD Logical.swift
[6/30] Compiling PerfectCRUD Insert.swift
[7/30] Compiling PerfectCRUD Join.swift
[8/30] Compiling PerfectCRUD In.swift
[9/30] Compiling PerfectCRUD InInts.swift
[10/30] Compiling PerfectCRUD Like.swift
[11/30] Compiling PerfectCRUD Logging.swift
[12/30] Compiling PerfectCRUD PerfectCRUD.swift
[13/30] Compiling PerfectCRUD Select.swift
[14/30] Compiling PerfectCRUD Delete.swift
[15/30] Compiling PerfectCRUD Comparison.swift
[16/30] Compiling PerfectCRUD ComparisonInts.swift
[17/30] Compiling PerfectCRUD Table.swift
[18/30] Compiling PerfectCRUD Update.swift
[19/30] Compiling PerfectCRUD Where.swift
[20/30] Compiling PerfectCRUD Equality.swift
[21/30] Compiling PerfectCRUD EqualityInts.swift
[22/30] Compiling PerfectCRUD Expression.swift
[23/30] Compiling PerfectCRUD Coding.swift
[24/30] Compiling PerfectCRUD CodingBindings.swift
[25/30] Compiling PerfectCRUD CodingJoins.swift
[26/30] Compiling PerfectCRUD CodingKeyPaths.swift
[27/30] Compiling PerfectCRUD CodingNames.swift
[28/30] Compiling PerfectCRUD CodingRows.swift
[29/30] Compiling PerfectCRUD Create.swift
[30/30] Compiling PerfectCRUD Database.swift
[32/36] Compiling PerfectMySQL PerfectMySQL.swift
/host/spi-builder-workspace/.build/checkouts/Perfect-mysqlclient-Linux/module.modulemap:2:12: error: header '/usr/include/mysql/mysql.h' not found
1 | module mysqlclient {
2 |     header "/usr/include/mysql/mysql.h"
  |            `- error: header '/usr/include/mysql/mysql.h' not found
3 |     link "mysqlclient"
4 |     export *
/host/spi-builder-workspace/Sources/PerfectMySQL/MySQL.swift:13:8: error: could not build C module 'mysqlclient'
 11 | 	import Darwin
 12 | #endif
 13 | import mysqlclient
    |        `- error: could not build C module 'mysqlclient'
 14 |
 15 | /// Provide access to MySQL connector functions
[33/36] Compiling PerfectMySQL MySQLStmt.swift
/host/spi-builder-workspace/.build/checkouts/Perfect-mysqlclient-Linux/module.modulemap:2:12: error: header '/usr/include/mysql/mysql.h' not found
1 | module mysqlclient {
2 |     header "/usr/include/mysql/mysql.h"
  |            `- error: header '/usr/include/mysql/mysql.h' not found
3 |     link "mysqlclient"
4 |     export *
/host/spi-builder-workspace/Sources/PerfectMySQL/MySQL.swift:13:8: error: could not build C module 'mysqlclient'
 11 | 	import Darwin
 12 | #endif
 13 | import mysqlclient
    |        `- error: could not build C module 'mysqlclient'
 14 |
 15 | /// Provide access to MySQL connector functions
error: emit-module command failed with exit code 1 (use -v to see invocation)
[34/36] Emitting module PerfectMySQL
/host/spi-builder-workspace/.build/checkouts/Perfect-mysqlclient-Linux/module.modulemap:2:12: error: header '/usr/include/mysql/mysql.h' not found
1 | module mysqlclient {
2 |     header "/usr/include/mysql/mysql.h"
  |            `- error: header '/usr/include/mysql/mysql.h' not found
3 |     link "mysqlclient"
4 |     export *
/host/spi-builder-workspace/Sources/PerfectMySQL/MySQL.swift:13:8: error: could not build C module 'mysqlclient'
 11 | 	import Darwin
 12 | #endif
 13 | import mysqlclient
    |        `- error: could not build C module 'mysqlclient'
 14 |
 15 | /// Provide access to MySQL connector functions
[35/36] Compiling PerfectMySQL MySQLCRUD.swift
/host/spi-builder-workspace/.build/checkouts/Perfect-mysqlclient-Linux/module.modulemap:2:12: error: header '/usr/include/mysql/mysql.h' not found
1 | module mysqlclient {
2 |     header "/usr/include/mysql/mysql.h"
  |            `- error: header '/usr/include/mysql/mysql.h' not found
3 |     link "mysqlclient"
4 |     export *
/host/spi-builder-workspace/Sources/PerfectMySQL/MySQL.swift:13:8: error: could not build C module 'mysqlclient'
 11 | 	import Darwin
 12 | #endif
 13 | import mysqlclient
    |        `- error: could not build C module 'mysqlclient'
 14 |
 15 | /// Provide access to MySQL connector functions
[36/36] Compiling PerfectMySQL MySQL.swift
/host/spi-builder-workspace/.build/checkouts/Perfect-mysqlclient-Linux/module.modulemap:2:12: error: header '/usr/include/mysql/mysql.h' not found
1 | module mysqlclient {
2 |     header "/usr/include/mysql/mysql.h"
  |            `- error: header '/usr/include/mysql/mysql.h' not found
3 |     link "mysqlclient"
4 |     export *
/host/spi-builder-workspace/Sources/PerfectMySQL/MySQL.swift:13:8: error: could not build C module 'mysqlclient'
 11 | 	import Darwin
 12 | #endif
 13 | import mysqlclient
    |        `- error: could not build C module 'mysqlclient'
 14 |
 15 | /// Provide access to MySQL connector functions
BUILD FAILURE 6.0 linux