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 SwiftKueryMySQL, reference master (ad6355), with Swift 6.1 for Linux on 26 Apr 2025 03:51:48 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kitura/SwiftKueryMySQL.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/Kitura/SwiftKueryMySQL
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at ad6355e Update package reference to community versions (#69)
Cloned https://github.com/Kitura/SwiftKueryMySQL.git
Revision (git rev-parse @):
ad6355e6fe75149efc5dc270f726edf8af867944
SUCCESS checkout https://github.com/Kitura/SwiftKueryMySQL.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Kitura/SwiftKueryMySQL.git
https://github.com/Kitura/SwiftKueryMySQL.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-kuery",
      "requirement" : {
        "branch" : [
          "master"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/IBM-Swift/Swift-Kuery.git"
    }
  ],
  "manifest_display_name" : "SwiftKueryMySQL",
  "name" : "SwiftKueryMySQL",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftKueryMySQL",
      "targets" : [
        "SwiftKueryMySQL"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftKueryMySQLTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftKueryMySQLTests",
      "path" : "Tests/SwiftKueryMySQLTests",
      "sources" : [
        "CommonUtils.swift",
        "MySQLTest.swift",
        "TestAlias.swift",
        "TestColumnTypes.swift",
        "TestInsert.swift",
        "TestJoin.swift",
        "TestParameters.swift",
        "TestSchema.swift",
        "TestSelect.swift",
        "TestSubquery.swift",
        "TestTimingWindows.swift",
        "TestTransaction.swift",
        "TestUpdate.swift"
      ],
      "target_dependencies" : [
        "SwiftKueryMySQL",
        "CMySQL"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftKueryMySQL",
      "module_type" : "SwiftTarget",
      "name" : "SwiftKueryMySQL",
      "path" : "Sources/SwiftKueryMySQL",
      "product_dependencies" : [
        "SwiftKuery"
      ],
      "product_memberships" : [
        "SwiftKueryMySQL"
      ],
      "sources" : [
        "MySQLConnection.swift",
        "MySQLPreparedStatement.swift",
        "MySQLResultFetcher.swift"
      ],
      "target_dependencies" : [
        "CMySQL"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CMySQL",
      "module_type" : "SystemLibraryTarget",
      "name" : "CMySQL",
      "path" : "Sources/CMySQL",
      "product_memberships" : [
        "SwiftKueryMySQL"
      ],
      "sources" : [
      ],
      "type" : "system-target"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/IBM-Swift/Swift-Kuery.git
[1/5661] Fetching swift-kuery
Fetched https://github.com/IBM-Swift/Swift-Kuery.git from cache (1.16s)
Fetching https://github.com/Kitura/LoggerAPI.git
[1/771] Fetching loggerapi
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.27s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 1.9.200 (0.86s)
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.36s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.88s)
Creating working copy for https://github.com/Kitura/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 1.9.200
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/IBM-Swift/Swift-Kuery.git
Working copy of https://github.com/IBM-Swift/Swift-Kuery.git resolved at master (b9f5355)
warning: you may be able to install mysqlclient using your system-packager:
    apt-get install libmysqlclient-dev
warning: you may be able to install mysqlclient using your system-packager:
    apt-get install libmysqlclient-dev
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/10] Compiling Logging MetadataProvider.swift
[7/10] Emitting module Logging
[8/10] Compiling Logging Locks.swift
[9/10] Compiling Logging LogHandler.swift
[10/10] Compiling Logging Logging.swift
[12/13] Emitting module LoggerAPI
[13/13] Compiling LoggerAPI Logger.swift
[15/58] Emitting module SwiftKuery
[16/64] Compiling SwiftKuery Subqueries_GlobalFunctionsAndExtensions.swift
[17/64] Compiling SwiftKuery Table.swift
[18/64] Compiling SwiftKuery Union.swift
[19/64] Compiling SwiftKuery Update.swift
[20/64] Compiling SwiftKuery Utils.swift
[21/64] Compiling SwiftKuery With.swift
[22/64] Compiling SwiftKuery ConditionalClause.swift
[23/64] Compiling SwiftKuery Connection.swift
[24/64] Compiling SwiftKuery ConnectionPool.swift
[25/64] Compiling SwiftKuery ConnectionPoolConnection.swift
[26/64] Compiling SwiftKuery ConnectionPoolOptions.swift
[27/64] Compiling SwiftKuery Delete.swift
[28/64] Compiling SwiftKuery Field.swift
[29/64] Compiling SwiftKuery Filter.swift
[30/64] Compiling SwiftKuery FilterAndHaving_Extensions.swift
[31/64] Compiling SwiftKuery FilterAndHaving_GlobalFunctions.swift
[32/64] Compiling SwiftKuery ForeignKey.swift
[33/64] Compiling SwiftKuery Having.swift
[34/64] Compiling SwiftKuery QueryError.swift
[35/64] Compiling SwiftKuery QueryResult.swift
[36/64] Compiling SwiftKuery QuerySuffixProtocol.swift
[37/64] Compiling SwiftKuery Raw.swift
[38/64] Compiling SwiftKuery RawField.swift
[39/64] Compiling SwiftKuery ResultFetcher.swift
[40/64] Compiling SwiftKuery Index.swift
[41/64] Compiling SwiftKuery IndexColumn.swift
[42/64] Compiling SwiftKuery IndexColumnOrdered.swift
[43/64] Compiling SwiftKuery Insert.swift
[44/64] Compiling SwiftKuery Join.swift
[45/64] Compiling SwiftKuery Migration.swift
[46/64] Compiling SwiftKuery AggregateColumnExpression.swift
[47/64] Compiling SwiftKuery AuxiliaryTable.swift
[48/64] Compiling SwiftKuery Buildable.swift
[49/64] Compiling SwiftKuery Column.swift
[50/64] Compiling SwiftKuery ColumnAndExpressions_Extensions.swift
[51/64] Compiling SwiftKuery ColumnCreator.swift
[52/64] Compiling SwiftKuery Condition.swift
[53/64] Compiling SwiftKuery OrderBy.swift
[54/64] Compiling SwiftKuery Parameter.swift
[55/64] Compiling SwiftKuery Predicate.swift
[56/64] Compiling SwiftKuery PreparedStatement.swift
[57/64] Compiling SwiftKuery Query.swift
[58/64] Compiling SwiftKuery QueryBuilder.swift
[59/64] Compiling SwiftKuery ResultSet.swift
[60/64] Compiling SwiftKuery SQLDataType.swift
[61/64] Compiling SwiftKuery ScalarColumnExpression.swift
[62/64] Compiling SwiftKuery Select.swift
[63/64] Compiling SwiftKuery SpecialOperators_Extensions.swift
[64/64] Compiling SwiftKuery String+Buildable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[66/69] Emitting module SwiftKueryMySQL
<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/Sources/CMySQL/shim.h:3:10: error: 'mysql.h' file not found
 1 | #ifndef __CMYSQL_SHIM_H__
 2 | #define __CMYSQL_SHIM_H__
 3 | #include <mysql.h>
   |          `- error: 'mysql.h' file not found
 4 | #include <errmsg.h>
 5 |
/host/spi-builder-workspace/Sources/SwiftKueryMySQL/MySQLConnection.swift:21:8: error: could not build C module 'CMySQL'
 19 | import Dispatch
 20 |
 21 | import CMySQL
    |        `- error: could not build C module 'CMySQL'
 22 |
 23 | /// An implementation of `SwiftKuery.Connection` protocol for MySQL.
[67/69] Compiling SwiftKueryMySQL MySQLConnection.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/Sources/CMySQL/shim.h:3:10: error: 'mysql.h' file not found
 1 | #ifndef __CMYSQL_SHIM_H__
 2 | #define __CMYSQL_SHIM_H__
 3 | #include <mysql.h>
   |          `- error: 'mysql.h' file not found
 4 | #include <errmsg.h>
 5 |
/host/spi-builder-workspace/Sources/SwiftKueryMySQL/MySQLConnection.swift:21:8: error: could not build C module 'CMySQL'
 19 | import Dispatch
 20 |
 21 | import CMySQL
    |        `- error: could not build C module 'CMySQL'
 22 |
 23 | /// An implementation of `SwiftKuery.Connection` protocol for MySQL.
[68/69] Compiling SwiftKueryMySQL MySQLResultFetcher.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/Sources/CMySQL/shim.h:3:10: error: 'mysql.h' file not found
 1 | #ifndef __CMYSQL_SHIM_H__
 2 | #define __CMYSQL_SHIM_H__
 3 | #include <mysql.h>
   |          `- error: 'mysql.h' file not found
 4 | #include <errmsg.h>
 5 |
/host/spi-builder-workspace/Sources/SwiftKueryMySQL/MySQLConnection.swift:21:8: error: could not build C module 'CMySQL'
 19 | import Dispatch
 20 |
 21 | import CMySQL
    |        `- error: could not build C module 'CMySQL'
 22 |
 23 | /// An implementation of `SwiftKuery.Connection` protocol for MySQL.
[69/69] Compiling SwiftKueryMySQL MySQLPreparedStatement.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/Sources/CMySQL/shim.h:3:10: error: 'mysql.h' file not found
 1 | #ifndef __CMYSQL_SHIM_H__
 2 | #define __CMYSQL_SHIM_H__
 3 | #include <mysql.h>
   |          `- error: 'mysql.h' file not found
 4 | #include <errmsg.h>
 5 |
/host/spi-builder-workspace/Sources/SwiftKueryMySQL/MySQLConnection.swift:21:8: error: could not build C module 'CMySQL'
 19 | import Dispatch
 20 |
 21 | import CMySQL
    |        `- error: could not build C module 'CMySQL'
 22 |
 23 | /// An implementation of `SwiftKuery.Connection` protocol for MySQL.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
warning: you may be able to install mysqlclient using your system-packager:
    apt-get install libmysqlclient-dev
warning: you may be able to install mysqlclient using your system-packager:
    apt-get install libmysqlclient-dev
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/6] Compiling Logging MetadataProvider.swift
[3/6] Emitting module Logging
[4/6] Compiling Logging LogHandler.swift
[5/6] Compiling Logging Logging.swift
[6/6] Compiling Logging Locks.swift
[8/9] Emitting module LoggerAPI
[9/9] Compiling LoggerAPI Logger.swift
[11/54] Compiling SwiftKuery QueryError.swift
[12/54] Compiling SwiftKuery QueryResult.swift
[13/54] Compiling SwiftKuery QuerySuffixProtocol.swift
[14/54] Compiling SwiftKuery Raw.swift
[15/54] Compiling SwiftKuery RawField.swift
[16/54] Compiling SwiftKuery ResultFetcher.swift
[17/60] Emitting module SwiftKuery
[18/60] Compiling SwiftKuery OrderBy.swift
[19/60] Compiling SwiftKuery Parameter.swift
[20/60] Compiling SwiftKuery Predicate.swift
[21/60] Compiling SwiftKuery PreparedStatement.swift
[22/60] Compiling SwiftKuery Query.swift
[23/60] Compiling SwiftKuery QueryBuilder.swift
[24/60] Compiling SwiftKuery ResultSet.swift
[25/60] Compiling SwiftKuery SQLDataType.swift
[26/60] Compiling SwiftKuery ScalarColumnExpression.swift
[27/60] Compiling SwiftKuery Select.swift
[28/60] Compiling SwiftKuery SpecialOperators_Extensions.swift
[29/60] Compiling SwiftKuery String+Buildable.swift
[30/60] Compiling SwiftKuery Index.swift
[31/60] Compiling SwiftKuery IndexColumn.swift
[32/60] Compiling SwiftKuery IndexColumnOrdered.swift
[33/60] Compiling SwiftKuery Insert.swift
[34/60] Compiling SwiftKuery Join.swift
[35/60] Compiling SwiftKuery Migration.swift
[36/60] Compiling SwiftKuery ConditionalClause.swift
[37/60] Compiling SwiftKuery Connection.swift
[38/60] Compiling SwiftKuery ConnectionPool.swift
[39/60] Compiling SwiftKuery ConnectionPoolConnection.swift
[40/60] Compiling SwiftKuery ConnectionPoolOptions.swift
[41/60] Compiling SwiftKuery Delete.swift
[42/60] Compiling SwiftKuery AggregateColumnExpression.swift
[43/60] Compiling SwiftKuery AuxiliaryTable.swift
[44/60] Compiling SwiftKuery Buildable.swift
[45/60] Compiling SwiftKuery Column.swift
[46/60] Compiling SwiftKuery ColumnAndExpressions_Extensions.swift
[47/60] Compiling SwiftKuery ColumnCreator.swift
[48/60] Compiling SwiftKuery Condition.swift
[49/60] Compiling SwiftKuery Field.swift
[50/60] Compiling SwiftKuery Filter.swift
[51/60] Compiling SwiftKuery FilterAndHaving_Extensions.swift
[52/60] Compiling SwiftKuery FilterAndHaving_GlobalFunctions.swift
[53/60] Compiling SwiftKuery ForeignKey.swift
[54/60] Compiling SwiftKuery Having.swift
[55/60] Compiling SwiftKuery Subqueries_GlobalFunctionsAndExtensions.swift
[56/60] Compiling SwiftKuery Table.swift
[57/60] Compiling SwiftKuery Union.swift
[58/60] Compiling SwiftKuery Update.swift
[59/60] Compiling SwiftKuery Utils.swift
[60/60] Compiling SwiftKuery With.swift
[62/65] Compiling SwiftKueryMySQL MySQLConnection.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/Sources/CMySQL/shim.h:3:10: error: 'mysql.h' file not found
 1 | #ifndef __CMYSQL_SHIM_H__
 2 | #define __CMYSQL_SHIM_H__
 3 | #include <mysql.h>
   |          `- error: 'mysql.h' file not found
 4 | #include <errmsg.h>
 5 |
/host/spi-builder-workspace/Sources/SwiftKueryMySQL/MySQLConnection.swift:21:8: error: could not build C module 'CMySQL'
 19 | import Dispatch
 20 |
 21 | import CMySQL
    |        `- error: could not build C module 'CMySQL'
 22 |
 23 | /// An implementation of `SwiftKuery.Connection` protocol for MySQL.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[63/65] Emitting module SwiftKueryMySQL
<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/Sources/CMySQL/shim.h:3:10: error: 'mysql.h' file not found
 1 | #ifndef __CMYSQL_SHIM_H__
 2 | #define __CMYSQL_SHIM_H__
 3 | #include <mysql.h>
   |          `- error: 'mysql.h' file not found
 4 | #include <errmsg.h>
 5 |
/host/spi-builder-workspace/Sources/SwiftKueryMySQL/MySQLConnection.swift:21:8: error: could not build C module 'CMySQL'
 19 | import Dispatch
 20 |
 21 | import CMySQL
    |        `- error: could not build C module 'CMySQL'
 22 |
 23 | /// An implementation of `SwiftKuery.Connection` protocol for MySQL.
[64/65] Compiling SwiftKueryMySQL MySQLResultFetcher.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/Sources/CMySQL/shim.h:3:10: error: 'mysql.h' file not found
 1 | #ifndef __CMYSQL_SHIM_H__
 2 | #define __CMYSQL_SHIM_H__
 3 | #include <mysql.h>
   |          `- error: 'mysql.h' file not found
 4 | #include <errmsg.h>
 5 |
/host/spi-builder-workspace/Sources/SwiftKueryMySQL/MySQLConnection.swift:21:8: error: could not build C module 'CMySQL'
 19 | import Dispatch
 20 |
 21 | import CMySQL
    |        `- error: could not build C module 'CMySQL'
 22 |
 23 | /// An implementation of `SwiftKuery.Connection` protocol for MySQL.
[65/65] Compiling SwiftKueryMySQL MySQLPreparedStatement.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/Sources/CMySQL/shim.h:3:10: error: 'mysql.h' file not found
 1 | #ifndef __CMYSQL_SHIM_H__
 2 | #define __CMYSQL_SHIM_H__
 3 | #include <mysql.h>
   |          `- error: 'mysql.h' file not found
 4 | #include <errmsg.h>
 5 |
/host/spi-builder-workspace/Sources/SwiftKueryMySQL/MySQLConnection.swift:21:8: error: could not build C module 'CMySQL'
 19 | import Dispatch
 20 |
 21 | import CMySQL
    |        `- error: could not build C module 'CMySQL'
 22 |
 23 | /// An implementation of `SwiftKuery.Connection` protocol for MySQL.
BUILD FAILURE 6.1 linux