Build Information
Failed to build mysql-swift with Swift 5.9 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/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: 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/novi/mysql-swift
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 0757437 obsolete notice
Cloned https://github.com/novi/mysql-swift.git
Revision (git rev-parse @):
07574370c94c534857af2bac0695a722b76fd184
SUCCESS checkout https://github.com/novi/mysql-swift.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $PWD/checkout
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/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] Compiling SQLFormatter Error.swift
[2/3] Emitting module SQLFormatter
[3/3] Compiling SQLFormatter QueryFormatter.swift
[6/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
^
[7/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
^
[8/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
^
[9/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
^
[10/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
^
[11/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
^
[12/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
^
[13/21] 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
^
[14/21] 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
^
[15/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
^
[16/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
^
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/15] 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
^
[2/15] 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
^
[3/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
^
[4/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
^
[5/16] 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
^
[6/16] 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
^
[7/16] 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
^
[8/16] 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
^
[9/16] 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
^
[10/16] 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
^
[11/16] 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)
[12/16] 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
^
[13/16] 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
^
[14/16] 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
^
[15/16] 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
^
[16/16] 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
BUILD FAILURE 5.9 linux