The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build MariaDB, reference 3.0.4 (06a7fa), with Swift 6.0 for Linux on 31 Oct 2024 22:36:34 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" 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.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perfectlysoft/perfect-mariadb.git
Reference: 3.0.4
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/perfectlysoft/perfect-mariadb
 * tag               3.0.4      -> FETCH_HEAD
HEAD is now at 06a7fa1 fixing swift compiler warning "Perfect-MariaDB-master/Sources/MariaDB/MySQLStmt.swift:288:17: Initialization of 'UnsafeRawPointer' results in a dangling pointer"
Cloned https://github.com/perfectlysoft/perfect-mariadb.git
Revision (git rev-parse @):
06a7fa15402ca4b4c1bf0b5c7f5b450321250d9f
SUCCESS checkout https://github.com/perfectlysoft/perfect-mariadb.git at 3.0.4
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/perfectlysoft/perfect-mariadb.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" 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
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/PerfectlySoft/Perfect-CRUD.git
[1/1190] Fetching perfect-crud
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 (2.03s)
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: you may be able to install libmariadb using your system-packager:
    apt-get install libmariadb-dev
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/27] Emitting module PerfectCRUD
[5/30] Compiling PerfectCRUD Table.swift
[6/30] Compiling PerfectCRUD Update.swift
[7/30] Compiling PerfectCRUD Where.swift
[8/30] Compiling PerfectCRUD Coding.swift
[9/30] Compiling PerfectCRUD CodingBindings.swift
[10/30] Compiling PerfectCRUD CodingJoins.swift
[11/30] Compiling PerfectCRUD CodingKeyPaths.swift
[12/30] Compiling PerfectCRUD CodingNames.swift
[13/30] Compiling PerfectCRUD CodingRows.swift
[14/30] Compiling PerfectCRUD Create.swift
[15/30] Compiling PerfectCRUD Database.swift
[16/30] Compiling PerfectCRUD Delete.swift
[17/30] Compiling PerfectCRUD Comparison.swift
[18/30] Compiling PerfectCRUD ComparisonInts.swift
[19/30] Compiling PerfectCRUD Logging.swift
[20/30] Compiling PerfectCRUD PerfectCRUD.swift
[21/30] Compiling PerfectCRUD Select.swift
[22/30] Compiling PerfectCRUD In.swift
[23/30] Compiling PerfectCRUD InInts.swift
[24/30] Compiling PerfectCRUD Like.swift
[25/30] Compiling PerfectCRUD Equality.swift
[26/30] Compiling PerfectCRUD EqualityInts.swift
[27/30] Compiling PerfectCRUD Expression.swift
[28/30] Compiling PerfectCRUD Logical.swift
[29/30] Compiling PerfectCRUD Insert.swift
[30/30] Compiling PerfectCRUD Join.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[32/35] Emitting module MariaDB
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "mariadb.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/mariadbclient/mariadb.h:6:10: error: '/usr/include/mariadb/mysql.h' file not found
4 | #include "/usr/local/include/mariadb/mysql.h"
5 | #else
6 | #include "/usr/include/mariadb/mysql.h"
  |          `- error: '/usr/include/mariadb/mysql.h' file not found
7 | #endif
8 | #endif
/host/spi-builder-workspace/Sources/MariaDB/MariaDB.swift:24:8: error: could not build C module 'mariadbclient'
 22 | 	import Glibc
 23 | #endif
 24 | import mariadbclient
    |        `- error: could not build C module 'mariadbclient'
 25 | import Foundation
 26 | /// This class permits an UnsafeMutablePointer to be used as a IteratorProtocol
[33/35] Compiling MariaDB MariaDB.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "mariadb.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/mariadbclient/mariadb.h:6:10: error: '/usr/include/mariadb/mysql.h' file not found
4 | #include "/usr/local/include/mariadb/mysql.h"
5 | #else
6 | #include "/usr/include/mariadb/mysql.h"
  |          `- error: '/usr/include/mariadb/mysql.h' file not found
7 | #endif
8 | #endif
/host/spi-builder-workspace/Sources/MariaDB/MariaDB.swift:24:8: error: could not build C module 'mariadbclient'
 22 | 	import Glibc
 23 | #endif
 24 | import mariadbclient
    |        `- error: could not build C module 'mariadbclient'
 25 | import Foundation
 26 | /// This class permits an UnsafeMutablePointer to be used as a IteratorProtocol
[34/35] Compiling MariaDB MySQLStmt.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "mariadb.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/mariadbclient/mariadb.h:6:10: error: '/usr/include/mariadb/mysql.h' file not found
4 | #include "/usr/local/include/mariadb/mysql.h"
5 | #else
6 | #include "/usr/include/mariadb/mysql.h"
  |          `- error: '/usr/include/mariadb/mysql.h' file not found
7 | #endif
8 | #endif
/host/spi-builder-workspace/Sources/MariaDB/MariaDB.swift:24:8: error: could not build C module 'mariadbclient'
 22 | 	import Glibc
 23 | #endif
 24 | import mariadbclient
    |        `- error: could not build C module 'mariadbclient'
 25 | import Foundation
 26 | /// This class permits an UnsafeMutablePointer to be used as a IteratorProtocol
[35/35] Compiling MariaDB MySQLCRUD.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "mariadb.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/mariadbclient/mariadb.h:6:10: error: '/usr/include/mariadb/mysql.h' file not found
4 | #include "/usr/local/include/mariadb/mysql.h"
5 | #else
6 | #include "/usr/include/mariadb/mysql.h"
  |          `- error: '/usr/include/mariadb/mysql.h' file not found
7 | #endif
8 | #endif
/host/spi-builder-workspace/Sources/MariaDB/MariaDB.swift:24:8: error: could not build C module 'mariadbclient'
 22 | 	import Glibc
 23 | #endif
 24 | import mariadbclient
    |        `- error: could not build C module 'mariadbclient'
 25 | import Foundation
 26 | /// This class permits an UnsafeMutablePointer to be used as a IteratorProtocol
BUILD FAILURE 6.0 linux