The Swift Package Index logo.Swift Package Index

Build Information

Failed to build mysql-swift with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/novi/mysql-swift.git
Reference: 0.9.5
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/novi/mysql-swift
 * tag               0.9.5      -> FETCH_HEAD
HEAD is now at 74f32e3 Update to Swift 5.2 manifesto (#105)
Cloned https://github.com/novi/mysql-swift.git
Revision (git rev-parse @):
74f32e3004e305024afded0c0540eafd822e149b
SUCCESS checkout https://github.com/novi/mysql-swift.git at 0.9.5
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/novi/mysql-swift.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
warning: you may be able to install cmysql using your system-packager:
    apt-get install libmysqlclient-dev
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/6] Compiling SQLFormatter Error.swift
[5/6] Compiling SQLFormatter QueryFormatter.swift
[6/6] Emitting module SQLFormatter
[8/22] Compiling MySQL Result.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
         ^
/host/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build C module 'CMySQL'
import CMySQL
       ^
[9/22] Compiling MySQL Sync.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
         ^
/host/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build C module 'CMySQL'
import CMySQL
       ^
[10/22] Compiling MySQL RawRepresentableParameter.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
         ^
/host/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build C module 'CMySQL'
import CMySQL
       ^
[11/22] Compiling MySQL Result-SQLRawStringDecodable.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
         ^
/host/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build C module 'CMySQL'
import CMySQL
       ^
[12/23] Compiling MySQL IDType.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
         ^
/host/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build C module 'CMySQL'
import CMySQL
       ^
[13/23] Compiling MySQL Query.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
         ^
/host/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build C module 'CMySQL'
import CMySQL
       ^
[14/23] Compiling MySQL QueryParameter-Data.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
         ^
/host/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build C module 'CMySQL'
import CMySQL
       ^
[15/23] Compiling MySQL QueryParameterType.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
         ^
/host/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build C module 'CMySQL'
import CMySQL
       ^
[16/23] Compiling MySQL Transaction.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
         ^
/host/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build C module 'CMySQL'
import CMySQL
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/23] Emitting module MySQL
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
         ^
/host/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build C module 'CMySQL'
import CMySQL
       ^
[18/23] Compiling MySQL AutoincrementID.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
         ^
/host/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build C module 'CMySQL'
import CMySQL
       ^
[19/23] Compiling MySQL Blob.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
         ^
/host/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build C module 'CMySQL'
import CMySQL
       ^
[20/23] Compiling MySQL Date.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
         ^
/host/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build C module 'CMySQL'
import CMySQL
       ^
[21/23] Compiling MySQL Error.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
         ^
/host/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build C module 'CMySQL'
import CMySQL
       ^
[22/23] Compiling MySQL Connection.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
         ^
/host/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build C module 'CMySQL'
import CMySQL
       ^
[23/23] Compiling MySQL ConnectionPool.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
         ^
/host/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build C module 'CMySQL'
import CMySQL
       ^
error: fatalError
warning: you may be able to install cmysql using your system-packager:
    apt-get install libmysqlclient-dev
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/16] Compiling MySQL Result.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
         ^
/host/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build C module 'CMySQL'
import CMySQL
       ^
[3/16] Compiling MySQL Sync.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
         ^
/host/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build C module 'CMySQL'
import CMySQL
       ^
[4/16] Compiling MySQL RawRepresentableParameter.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
         ^
/host/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build C module 'CMySQL'
import CMySQL
       ^
[5/16] Compiling MySQL Result-SQLRawStringDecodable.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
         ^
/host/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build C module 'CMySQL'
import CMySQL
       ^
[6/17] Compiling MySQL QueryParameter-Data.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
         ^
/host/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build C module 'CMySQL'
import CMySQL
       ^
[7/17] Compiling MySQL QueryParameterType.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
         ^
/host/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build C module 'CMySQL'
import CMySQL
       ^
[8/17] Compiling MySQL IDType.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
         ^
/host/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build C module 'CMySQL'
import CMySQL
       ^
[9/17] Compiling MySQL Query.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
         ^
/host/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build C module 'CMySQL'
import CMySQL
       ^
[10/17] Compiling MySQL Transaction.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
         ^
/host/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build C module 'CMySQL'
import CMySQL
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/17] Emitting module MySQL
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
         ^
/host/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build C module 'CMySQL'
import CMySQL
       ^
[12/17] Compiling MySQL AutoincrementID.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
         ^
/host/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build C module 'CMySQL'
import CMySQL
       ^
[13/17] Compiling MySQL Blob.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
         ^
/host/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build C module 'CMySQL'
import CMySQL
       ^
[14/17] Compiling MySQL Connection.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
         ^
/host/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build C module 'CMySQL'
import CMySQL
       ^
[15/17] Compiling MySQL ConnectionPool.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
         ^
/host/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build C module 'CMySQL'
import CMySQL
       ^
[16/17] Compiling MySQL Date.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
         ^
/host/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build C module 'CMySQL'
import CMySQL
       ^
[17/17] Compiling MySQL Error.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
         ^
/host/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build C module 'CMySQL'
import CMySQL
       ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1