Build Information
Failed to build mysql-swift with Swift 6.0 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" 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 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
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: 6.0
Building package at path: $workDir
https://github.com/novi/mysql-swift.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" 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 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 QueryFormatter.swift
[5/6] Emitting module SQLFormatter
[6/6] Compiling SQLFormatter Error.swift
[8/22] Compiling MySQL Result.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:4:10: error: 'mysql/mysql.h' file not found
2 | #define __CMYSQL_SHIM_H__
3 |
4 | #include <mysql/mysql.h>
| `- error: 'mysql/mysql.h' file not found
5 |
6 | #if LIBMYSQL_VERSION_ID >= 80000
/host/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build C module 'CMySQL'
7 | //
8 |
9 | import CMySQL
| `- error: could not build C module 'CMySQL'
10 | import CoreFoundation
11 | import Foundation
[9/22] Compiling MySQL Sync.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:4:10: error: 'mysql/mysql.h' file not found
2 | #define __CMYSQL_SHIM_H__
3 |
4 | #include <mysql/mysql.h>
| `- error: 'mysql/mysql.h' file not found
5 |
6 | #if LIBMYSQL_VERSION_ID >= 80000
/host/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build C module 'CMySQL'
7 | //
8 |
9 | import CMySQL
| `- error: could not build C module 'CMySQL'
10 | import CoreFoundation
11 | import Foundation
[10/22] Compiling MySQL IDType.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:4:10: error: 'mysql/mysql.h' file not found
2 | #define __CMYSQL_SHIM_H__
3 |
4 | #include <mysql/mysql.h>
| `- error: 'mysql/mysql.h' file not found
5 |
6 | #if LIBMYSQL_VERSION_ID >= 80000
/host/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build C module 'CMySQL'
7 | //
8 |
9 | import CMySQL
| `- error: could not build C module 'CMySQL'
10 | import CoreFoundation
11 | import Foundation
[11/22] Compiling MySQL Query.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:4:10: error: 'mysql/mysql.h' file not found
2 | #define __CMYSQL_SHIM_H__
3 |
4 | #include <mysql/mysql.h>
| `- error: 'mysql/mysql.h' file not found
5 |
6 | #if LIBMYSQL_VERSION_ID >= 80000
/host/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build C module 'CMySQL'
7 | //
8 |
9 | import CMySQL
| `- error: could not build C module 'CMySQL'
10 | import CoreFoundation
11 | import Foundation
[12/23] Compiling MySQL RawRepresentableParameter.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:4:10: error: 'mysql/mysql.h' file not found
2 | #define __CMYSQL_SHIM_H__
3 |
4 | #include <mysql/mysql.h>
| `- error: 'mysql/mysql.h' file not found
5 |
6 | #if LIBMYSQL_VERSION_ID >= 80000
/host/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build C module 'CMySQL'
7 | //
8 |
9 | import CMySQL
| `- error: could not build C module 'CMySQL'
10 | import CoreFoundation
11 | import Foundation
[13/23] Compiling MySQL Result-SQLRawStringDecodable.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:4:10: error: 'mysql/mysql.h' file not found
2 | #define __CMYSQL_SHIM_H__
3 |
4 | #include <mysql/mysql.h>
| `- error: 'mysql/mysql.h' file not found
5 |
6 | #if LIBMYSQL_VERSION_ID >= 80000
/host/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build C module 'CMySQL'
7 | //
8 |
9 | import CMySQL
| `- error: could not build C module 'CMySQL'
10 | import CoreFoundation
11 | import Foundation
[14/23] Compiling MySQL Transaction.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:4:10: error: 'mysql/mysql.h' file not found
2 | #define __CMYSQL_SHIM_H__
3 |
4 | #include <mysql/mysql.h>
| `- error: 'mysql/mysql.h' file not found
5 |
6 | #if LIBMYSQL_VERSION_ID >= 80000
/host/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build C module 'CMySQL'
7 | //
8 |
9 | import CMySQL
| `- error: could not build C module 'CMySQL'
10 | import CoreFoundation
11 | import Foundation
[15/23] Compiling MySQL Date.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:4:10: error: 'mysql/mysql.h' file not found
2 | #define __CMYSQL_SHIM_H__
3 |
4 | #include <mysql/mysql.h>
| `- error: 'mysql/mysql.h' file not found
5 |
6 | #if LIBMYSQL_VERSION_ID >= 80000
/host/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build C module 'CMySQL'
7 | //
8 |
9 | import CMySQL
| `- error: could not build C module 'CMySQL'
10 | import CoreFoundation
11 | import Foundation
[16/23] Compiling MySQL Error.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:4:10: error: 'mysql/mysql.h' file not found
2 | #define __CMYSQL_SHIM_H__
3 |
4 | #include <mysql/mysql.h>
| `- error: 'mysql/mysql.h' file not found
5 |
6 | #if LIBMYSQL_VERSION_ID >= 80000
/host/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build C module 'CMySQL'
7 | //
8 |
9 | import CMySQL
| `- error: could not build C module 'CMySQL'
10 | import CoreFoundation
11 | import Foundation
[17/23] Compiling MySQL QueryParameter-Data.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:4:10: error: 'mysql/mysql.h' file not found
2 | #define __CMYSQL_SHIM_H__
3 |
4 | #include <mysql/mysql.h>
| `- error: 'mysql/mysql.h' file not found
5 |
6 | #if LIBMYSQL_VERSION_ID >= 80000
/host/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build C module 'CMySQL'
7 | //
8 |
9 | import CMySQL
| `- error: could not build C module 'CMySQL'
10 | import CoreFoundation
11 | import Foundation
[18/23] Compiling MySQL QueryParameterType.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:4:10: error: 'mysql/mysql.h' file not found
2 | #define __CMYSQL_SHIM_H__
3 |
4 | #include <mysql/mysql.h>
| `- error: 'mysql/mysql.h' file not found
5 |
6 | #if LIBMYSQL_VERSION_ID >= 80000
/host/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build C module 'CMySQL'
7 | //
8 |
9 | import CMySQL
| `- error: could not build C module 'CMySQL'
10 | import CoreFoundation
11 | import Foundation
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/23] Emitting module MySQL
<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:4:10: error: 'mysql/mysql.h' file not found
2 | #define __CMYSQL_SHIM_H__
3 |
4 | #include <mysql/mysql.h>
| `- error: 'mysql/mysql.h' file not found
5 |
6 | #if LIBMYSQL_VERSION_ID >= 80000
/host/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build C module 'CMySQL'
7 | //
8 |
9 | import CMySQL
| `- error: could not build C module 'CMySQL'
10 | import CoreFoundation
11 | import Foundation
[20/23] Compiling MySQL Connection.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:4:10: error: 'mysql/mysql.h' file not found
2 | #define __CMYSQL_SHIM_H__
3 |
4 | #include <mysql/mysql.h>
| `- error: 'mysql/mysql.h' file not found
5 |
6 | #if LIBMYSQL_VERSION_ID >= 80000
/host/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build C module 'CMySQL'
7 | //
8 |
9 | import CMySQL
| `- error: could not build C module 'CMySQL'
10 | import CoreFoundation
11 | import Foundation
[21/23] Compiling MySQL ConnectionPool.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:4:10: error: 'mysql/mysql.h' file not found
2 | #define __CMYSQL_SHIM_H__
3 |
4 | #include <mysql/mysql.h>
| `- error: 'mysql/mysql.h' file not found
5 |
6 | #if LIBMYSQL_VERSION_ID >= 80000
/host/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build C module 'CMySQL'
7 | //
8 |
9 | import CMySQL
| `- error: could not build C module 'CMySQL'
10 | import CoreFoundation
11 | import Foundation
[22/23] Compiling MySQL AutoincrementID.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:4:10: error: 'mysql/mysql.h' file not found
2 | #define __CMYSQL_SHIM_H__
3 |
4 | #include <mysql/mysql.h>
| `- error: 'mysql/mysql.h' file not found
5 |
6 | #if LIBMYSQL_VERSION_ID >= 80000
/host/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build C module 'CMySQL'
7 | //
8 |
9 | import CMySQL
| `- error: could not build C module 'CMySQL'
10 | import CoreFoundation
11 | import Foundation
[23/23] Compiling MySQL Blob.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:4:10: error: 'mysql/mysql.h' file not found
2 | #define __CMYSQL_SHIM_H__
3 |
4 | #include <mysql/mysql.h>
| `- error: 'mysql/mysql.h' file not found
5 |
6 | #if LIBMYSQL_VERSION_ID >= 80000
/host/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build C module 'CMySQL'
7 | //
8 |
9 | import CMySQL
| `- error: could not build C module 'CMySQL'
10 | import CoreFoundation
11 | import Foundation
BUILD FAILURE 6.0 linux