Build Information
Failed to build mysql-swift with Swift 5.9 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.25.3
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.9
Building package at path: $PWD/checkout
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-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...
[1/3] Emitting module SQLFormatter
[2/3] Compiling SQLFormatter QueryFormatter.swift
[3/3] Compiling SQLFormatter Error.swift
[6/20] 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
^
[7/20] 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
^
[8/20] 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
^
[9/20] 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
^
[10/21] 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
^
[11/21] 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
^
[12/21] 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
^
[13/21] 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
^
[14/21] 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
^
[15/21] 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
^
[16/21] 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/21] 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/21] 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
^
[19/21] 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
^
[20/21] 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
^
[21/21] 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
^
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...
[1/1] Emitting module SQLFormatter
[4/18] 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
^
[5/18] 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
^
[6/19] 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/19] 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/19] 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
^
[9/19] 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
^
[10/19] 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
^
[11/19] 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
^
[12/19] 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
^
[13/19] 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
^
[14/19] 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
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/19] 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
^
[16/19] 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
^
[17/19] 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
^
[18/19] 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/19] 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
^
error: fatalError
BUILD FAILURE 5.9 linux