The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DecisionTree with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/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/rockfordwei/decisiontree.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/rockfordwei/decisiontree
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at e5372f7 Providing more description details.
Cloned https://github.com/rockfordwei/decisiontree.git
Revision (git rev-parse @):
e5372f73baafdd43013b9de2fafa90b75a50169c
SUCCESS checkout https://github.com/rockfordwei/decisiontree.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/rockfordwei/decisiontree.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/PerfectlySoft/Perfect-MySQL.git
[1/819] Fetching perfect-mysql
Fetched https://github.com/PerfectlySoft/Perfect-MySQL.git from cache (0.43s)
Computing version for https://github.com/PerfectlySoft/Perfect-MySQL.git
Computed https://github.com/PerfectlySoft/Perfect-MySQL.git at 3.5.1 (0.86s)
Fetching https://github.com/PerfectlySoft/Perfect-CRUD.git
Fetching https://github.com/PerfectlySoft/Perfect-mysqlclient-Linux.git
[1/45] Fetching perfect-mysqlclient-linux
[6/1235] Fetching perfect-mysqlclient-linux, perfect-crud
Fetched https://github.com/PerfectlySoft/Perfect-mysqlclient-Linux.git from cache (0.24s)
Fetched https://github.com/PerfectlySoft/Perfect-CRUD.git from cache (0.28s)
Computing version for https://github.com/PerfectlySoft/Perfect-CRUD.git
Computed https://github.com/PerfectlySoft/Perfect-CRUD.git at 1.2.3 (0.48s)
Computing version for https://github.com/PerfectlySoft/Perfect-mysqlclient-Linux.git
Computed https://github.com/PerfectlySoft/Perfect-mysqlclient-Linux.git at 2.1.0 (0.46s)
Creating working copy for https://github.com/PerfectlySoft/Perfect-mysqlclient-Linux.git
Working copy of https://github.com/PerfectlySoft/Perfect-mysqlclient-Linux.git resolved at 2.1.0
Creating working copy for https://github.com/PerfectlySoft/Perfect-MySQL.git
Working copy of https://github.com/PerfectlySoft/Perfect-MySQL.git resolved at 3.5.1
Creating working copy for https://github.com/PerfectlySoft/Perfect-CRUD.git
Working copy of https://github.com/PerfectlySoft/Perfect-CRUD.git resolved at 1.2.3
warning: 'perfect-mysqlclient-linux': ignoring declared target(s) 'mysqlclient' in the system package
warning: you may be able to install mysqlclient using your system-packager:
    apt-get install libmysqlclient-dev
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/28] Emitting module PerfectCRUD
[6/31] Compiling PerfectCRUD In.swift
[7/31] Compiling PerfectCRUD InInts.swift
[8/31] Compiling PerfectCRUD Like.swift
[9/31] Compiling PerfectCRUD Coding.swift
[10/31] Compiling PerfectCRUD CodingBindings.swift
[11/31] Compiling PerfectCRUD CodingJoins.swift
[12/31] Compiling PerfectCRUD CodingKeyPaths.swift
[13/31] Compiling PerfectCRUD Delete.swift
[14/31] Compiling PerfectCRUD Comparison.swift
[15/31] Compiling PerfectCRUD ComparisonInts.swift
[16/31] Compiling PerfectCRUD CodingNames.swift
[17/31] Compiling PerfectCRUD CodingRows.swift
[18/31] Compiling PerfectCRUD Create.swift
[19/31] Compiling PerfectCRUD Database.swift
[20/31] Compiling PerfectCRUD Table.swift
[21/31] Compiling PerfectCRUD Update.swift
[22/31] Compiling PerfectCRUD Where.swift
[23/31] Compiling PerfectCRUD Logical.swift
[24/31] Compiling PerfectCRUD Insert.swift
[25/31] Compiling PerfectCRUD Join.swift
[26/31] Compiling PerfectCRUD Equality.swift
[27/31] Compiling PerfectCRUD EqualityInts.swift
[28/31] Compiling PerfectCRUD Expression.swift
[29/31] Compiling PerfectCRUD Logging.swift
[30/31] Compiling PerfectCRUD PerfectCRUD.swift
[31/31] Compiling PerfectCRUD Select.swift
[33/37] Compiling PerfectMySQL PerfectMySQL.swift
/host/spi-builder-workspace/.build/checkouts/Perfect-mysqlclient-Linux/module.modulemap:2:12: error: header '/usr/include/mysql/mysql.h' not found
    header "/usr/include/mysql/mysql.h"
           ^
/host/spi-builder-workspace/.build/checkouts/Perfect-MySQL/Sources/PerfectMySQL/MySQL.swift:13:8: error: could not build C module 'mysqlclient'
import mysqlclient
       ^
[34/37] Compiling PerfectMySQL MySQL.swift
/host/spi-builder-workspace/.build/checkouts/Perfect-mysqlclient-Linux/module.modulemap:2:12: error: header '/usr/include/mysql/mysql.h' not found
    header "/usr/include/mysql/mysql.h"
           ^
/host/spi-builder-workspace/.build/checkouts/Perfect-MySQL/Sources/PerfectMySQL/MySQL.swift:13:8: error: could not build C module 'mysqlclient'
import mysqlclient
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[35/37] Emitting module PerfectMySQL
/host/spi-builder-workspace/.build/checkouts/Perfect-mysqlclient-Linux/module.modulemap:2:12: error: header '/usr/include/mysql/mysql.h' not found
    header "/usr/include/mysql/mysql.h"
           ^
/host/spi-builder-workspace/.build/checkouts/Perfect-MySQL/Sources/PerfectMySQL/MySQL.swift:13:8: error: could not build C module 'mysqlclient'
import mysqlclient
       ^
[36/37] Compiling PerfectMySQL MySQLStmt.swift
/host/spi-builder-workspace/.build/checkouts/Perfect-mysqlclient-Linux/module.modulemap:2:12: error: header '/usr/include/mysql/mysql.h' not found
    header "/usr/include/mysql/mysql.h"
           ^
/host/spi-builder-workspace/.build/checkouts/Perfect-MySQL/Sources/PerfectMySQL/MySQL.swift:13:8: error: could not build C module 'mysqlclient'
import mysqlclient
       ^
[37/37] Compiling PerfectMySQL MySQLCRUD.swift
/host/spi-builder-workspace/.build/checkouts/Perfect-mysqlclient-Linux/module.modulemap:2:12: error: header '/usr/include/mysql/mysql.h' not found
    header "/usr/include/mysql/mysql.h"
           ^
/host/spi-builder-workspace/.build/checkouts/Perfect-MySQL/Sources/PerfectMySQL/MySQL.swift:13:8: error: could not build C module 'mysqlclient'
import mysqlclient
       ^
error: fatalError
warning: 'perfect-mysqlclient-linux': ignoring declared target(s) 'mysqlclient' in the system package
warning: you may be able to install mysqlclient using your system-packager:
    apt-get install libmysqlclient-dev
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/6] Compiling PerfectMySQL PerfectMySQL.swift
/host/spi-builder-workspace/.build/checkouts/Perfect-mysqlclient-Linux/module.modulemap:2:12: error: header '/usr/include/mysql/mysql.h' not found
    header "/usr/include/mysql/mysql.h"
           ^
/host/spi-builder-workspace/.build/checkouts/Perfect-MySQL/Sources/PerfectMySQL/MySQL.swift:13:8: error: could not build C module 'mysqlclient'
import mysqlclient
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/6] Emitting module PerfectMySQL
/host/spi-builder-workspace/.build/checkouts/Perfect-mysqlclient-Linux/module.modulemap:2:12: error: header '/usr/include/mysql/mysql.h' not found
    header "/usr/include/mysql/mysql.h"
           ^
/host/spi-builder-workspace/.build/checkouts/Perfect-MySQL/Sources/PerfectMySQL/MySQL.swift:13:8: error: could not build C module 'mysqlclient'
import mysqlclient
       ^
[4/6] Compiling PerfectMySQL MySQLCRUD.swift
/host/spi-builder-workspace/.build/checkouts/Perfect-mysqlclient-Linux/module.modulemap:2:12: error: header '/usr/include/mysql/mysql.h' not found
    header "/usr/include/mysql/mysql.h"
           ^
/host/spi-builder-workspace/.build/checkouts/Perfect-MySQL/Sources/PerfectMySQL/MySQL.swift:13:8: error: could not build C module 'mysqlclient'
import mysqlclient
       ^
[5/6] Compiling PerfectMySQL MySQL.swift
/host/spi-builder-workspace/.build/checkouts/Perfect-mysqlclient-Linux/module.modulemap:2:12: error: header '/usr/include/mysql/mysql.h' not found
    header "/usr/include/mysql/mysql.h"
           ^
/host/spi-builder-workspace/.build/checkouts/Perfect-MySQL/Sources/PerfectMySQL/MySQL.swift:13:8: error: could not build C module 'mysqlclient'
import mysqlclient
       ^
[6/6] Compiling PerfectMySQL MySQLStmt.swift
/host/spi-builder-workspace/.build/checkouts/Perfect-mysqlclient-Linux/module.modulemap:2:12: error: header '/usr/include/mysql/mysql.h' not found
    header "/usr/include/mysql/mysql.h"
           ^
/host/spi-builder-workspace/.build/checkouts/Perfect-MySQL/Sources/PerfectMySQL/MySQL.swift:13:8: error: could not build C module 'mysqlclient'
import mysqlclient
       ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2