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 2.0.200 (ad6355), with Swift 6.0 for Linux on 27 Nov 2024 17:48:18 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.0-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

Build Log

========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kitura/SwiftKueryMySQL.git
Reference: 2.0.200
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
 * tag               2.0.200    -> FETCH_HEAD
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 2.0.200
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Kitura/SwiftKueryMySQL.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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 -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.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/IBM-Swift/Swift-Kuery.git
[1/5661] Fetching swift-kuery
Fetched https://github.com/IBM-Swift/Swift-Kuery.git from cache (1.40s)
Fetching https://github.com/Kitura/LoggerAPI.git
[1/771] Fetching loggerapi
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.19s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 1.9.200 (0.54s)
Fetching https://github.com/apple/swift-log.git
[1/3698] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.77s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.2 (0.43s)
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.2
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)
Creating working copy for https://github.com/Kitura/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 1.9.200
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] Compiling Logging Locks.swift
[8/10] Compiling Logging LogHandler.swift
[9/10] Emitting module Logging
[10/10] Compiling Logging Logging.swift
[12/13] Emitting module LoggerAPI
[13/13] Compiling LoggerAPI Logger.swift
[15/58] Compiling SwiftKuery OrderBy.swift
[16/58] Compiling SwiftKuery Parameter.swift
[17/58] Compiling SwiftKuery Predicate.swift
[18/58] Compiling SwiftKuery PreparedStatement.swift
[19/58] Compiling SwiftKuery Query.swift
[20/58] Compiling SwiftKuery QueryBuilder.swift
[21/58] Compiling SwiftKuery Index.swift
[22/58] Compiling SwiftKuery IndexColumn.swift
[23/58] Compiling SwiftKuery IndexColumnOrdered.swift
[24/58] Compiling SwiftKuery Insert.swift
[25/58] Compiling SwiftKuery Join.swift
[26/58] Compiling SwiftKuery Migration.swift
[27/64] Compiling SwiftKuery QueryError.swift
[28/64] Compiling SwiftKuery QueryResult.swift
[29/64] Compiling SwiftKuery QuerySuffixProtocol.swift
[30/64] Compiling SwiftKuery Raw.swift
[31/64] Compiling SwiftKuery RawField.swift
[32/64] Compiling SwiftKuery ResultFetcher.swift
[33/64] Compiling SwiftKuery ResultSet.swift
[34/64] Compiling SwiftKuery SQLDataType.swift
[35/64] Compiling SwiftKuery ScalarColumnExpression.swift
[36/64] Compiling SwiftKuery Select.swift
[37/64] Compiling SwiftKuery SpecialOperators_Extensions.swift
[38/64] Compiling SwiftKuery String+Buildable.swift
[39/64] Emitting module SwiftKuery
[40/64] Compiling SwiftKuery ConditionalClause.swift
[41/64] Compiling SwiftKuery Connection.swift
[42/64] Compiling SwiftKuery ConnectionPool.swift
[43/64] Compiling SwiftKuery ConnectionPoolConnection.swift
[44/64] Compiling SwiftKuery ConnectionPoolOptions.swift
[45/64] Compiling SwiftKuery Delete.swift
[46/64] Compiling SwiftKuery Field.swift
[47/64] Compiling SwiftKuery Filter.swift
[48/64] Compiling SwiftKuery FilterAndHaving_Extensions.swift
[49/64] Compiling SwiftKuery FilterAndHaving_GlobalFunctions.swift
[50/64] Compiling SwiftKuery ForeignKey.swift
[51/64] Compiling SwiftKuery Having.swift
[52/64] Compiling SwiftKuery AggregateColumnExpression.swift
[53/64] Compiling SwiftKuery AuxiliaryTable.swift
[54/64] Compiling SwiftKuery Buildable.swift
[55/64] Compiling SwiftKuery Column.swift
[56/64] Compiling SwiftKuery ColumnAndExpressions_Extensions.swift
[57/64] Compiling SwiftKuery ColumnCreator.swift
[58/64] Compiling SwiftKuery Condition.swift
[59/64] Compiling SwiftKuery Subqueries_GlobalFunctionsAndExtensions.swift
[60/64] Compiling SwiftKuery Table.swift
[61/64] Compiling SwiftKuery Union.swift
[62/64] Compiling SwiftKuery Update.swift
[63/64] Compiling SwiftKuery Utils.swift
[64/64] Compiling SwiftKuery With.swift
[66/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.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[67/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.
[68/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.
[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.
BUILD FAILURE 6.0 linux