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 PerfectMySQL, reference master (c7f0b5), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 09:27:58 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perfectlysoft/perfect-mysql.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/perfectlysoft/perfect-mysql
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at c7f0b5c Merge pull request #52 from AustinFuller/ExposeSSL_MODE
Cloned https://github.com/perfectlysoft/perfect-mysql.git
Revision (git rev-parse @):
c7f0b5c2e4e1c43704ab68933d8dbead7c11ecc6
SUCCESS checkout https://github.com/perfectlysoft/perfect-mysql.git at master
Fetching https://github.com/PerfectlySoft/Perfect-mysqlclient.git
Fetching https://github.com/PerfectlySoft/Perfect-CRUD.git
[1/50] Fetching perfect-mysqlclient
[51/1240] Fetching perfect-mysqlclient, perfect-crud
Fetched https://github.com/PerfectlySoft/Perfect-CRUD.git from cache (0.95s)
Fetched https://github.com/PerfectlySoft/Perfect-mysqlclient.git from cache (0.95s)
Computing version for https://github.com/PerfectlySoft/Perfect-CRUD.git
Computed https://github.com/PerfectlySoft/Perfect-CRUD.git at 1.2.3 (0.64s)
Computing version for https://github.com/PerfectlySoft/Perfect-mysqlclient.git
Computed https://github.com/PerfectlySoft/Perfect-mysqlclient.git at 2.1.1 (0.64s)
Creating working copy for https://github.com/PerfectlySoft/Perfect-mysqlclient.git
Working copy of https://github.com/PerfectlySoft/Perfect-mysqlclient.git resolved at 2.1.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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "perfect-mysql",
      "name": "PerfectMySQL",
      "url": "https://github.com/perfectlysoft/perfect-mysql.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/perfect-mysql",
      "dependencies": [
        {
          "identity": "perfect-crud",
          "name": "PerfectCRUD",
          "url": "https://github.com/PerfectlySoft/Perfect-CRUD.git",
          "version": "1.2.3",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Perfect-CRUD",
          "dependencies": [
          ]
        },
        {
          "identity": "perfect-mysqlclient",
          "name": "mysqlclient",
          "url": "https://github.com/PerfectlySoft/Perfect-mysqlclient.git",
          "version": "2.1.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Perfect-mysqlclient",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/perfectlysoft/perfect-mysql.git
[1/819] Fetching perfect-mysql
Fetched https://github.com/perfectlysoft/perfect-mysql.git from cache (1.34s)
Fetching https://github.com/PerfectlySoft/Perfect-CRUD.git from cache
Fetching https://github.com/PerfectlySoft/Perfect-mysqlclient.git from cache
Fetched https://github.com/PerfectlySoft/Perfect-mysqlclient.git from cache (0.50s)
Fetched https://github.com/PerfectlySoft/Perfect-CRUD.git from cache (0.50s)
Computing version for https://github.com/PerfectlySoft/Perfect-CRUD.git
Computed https://github.com/PerfectlySoft/Perfect-CRUD.git at 1.2.3 (0.03s)
Computing version for https://github.com/PerfectlySoft/Perfect-mysqlclient.git
Computed https://github.com/PerfectlySoft/Perfect-mysqlclient.git at 2.1.1 (0.03s)
Creating working copy for https://github.com/PerfectlySoft/Perfect-mysqlclient.git
Working copy of https://github.com/PerfectlySoft/Perfect-mysqlclient.git resolved at 2.1.1
Creating working copy for https://github.com/perfectlysoft/perfect-mysql.git
Working copy of https://github.com/perfectlysoft/perfect-mysql.git resolved at master (c7f0b5c)
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': ignoring declared target(s) 'mysqlclient' in the system package
warning: '.resolve-product-dependencies': dependency 'perfect-mysql' is not used by any target
Found 2 product dependencies
  - PerfectCRUD
  - mysqlclient
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/perfectlysoft/perfect-mysql.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/28] Emitting module PerfectCRUD
[5/30] Compiling PerfectCRUD Update.swift
[6/30] Compiling PerfectCRUD Where.swift
[7/30] Compiling PerfectCRUD Create.swift
[8/30] Compiling PerfectCRUD Database.swift
[9/30] Compiling PerfectCRUD Delete.swift
[10/30] Compiling PerfectCRUD Logging.swift
[11/30] Compiling PerfectCRUD PerfectCRUD.swift
[12/30] Compiling PerfectCRUD Coding.swift
[13/30] Compiling PerfectCRUD CodingBindings.swift
[14/30] Compiling PerfectCRUD CodingJoins.swift
[15/30] Compiling PerfectCRUD InInts.swift
[16/30] Compiling PerfectCRUD Like.swift
[17/30] Compiling PerfectCRUD Logical.swift
[18/30] Compiling PerfectCRUD Select.swift
[19/30] Compiling PerfectCRUD Table.swift
[20/30] Compiling PerfectCRUD Comparison.swift
[21/30] Compiling PerfectCRUD ComparisonInts.swift
[22/30] Compiling PerfectCRUD Equality.swift
[23/30] Compiling PerfectCRUD Insert.swift
[24/30] Compiling PerfectCRUD Join.swift
[25/30] Compiling PerfectCRUD CodingKeyPaths.swift
[26/30] Compiling PerfectCRUD CodingNames.swift
[27/30] Compiling PerfectCRUD CodingRows.swift
[28/30] Compiling PerfectCRUD EqualityInts.swift
[29/30] Compiling PerfectCRUD Expression.swift
[30/30] Compiling PerfectCRUD In.swift
[31/35] Compiling PerfectMySQL PerfectMySQL.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "mysql_osx.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-mysqlclient/mysql_osx.h:3:10: error: '/usr/local/include/mysql/mysql.h' file not found
 1 | #ifndef __PERFECT_MYSQL_OSX__
 2 | #define __PERFECT_MYSQL_OSX__
 3 | #include "/usr/local/include/mysql/mysql.h"
   |          `- error: '/usr/local/include/mysql/mysql.h' file not found
 4 |
 5 | #if LIBMYSQL_VERSION_ID > 80000
/Users/admin/builder/spi-builder-workspace/Sources/PerfectMySQL/MySQL.swift:13:8: error: could not build Objective-C module 'mysqlclient'
 11 | 	import Darwin
 12 | #endif
 13 | import mysqlclient
    |        `- error: could not build Objective-C module 'mysqlclient'
 14 |
 15 | /// Provide access to MySQL connector functions
error: emit-module command failed with exit code 1 (use -v to see invocation)
[32/35] Emitting module PerfectMySQL
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "mysql_osx.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-mysqlclient/mysql_osx.h:3:10: error: '/usr/local/include/mysql/mysql.h' file not found
 1 | #ifndef __PERFECT_MYSQL_OSX__
 2 | #define __PERFECT_MYSQL_OSX__
 3 | #include "/usr/local/include/mysql/mysql.h"
   |          `- error: '/usr/local/include/mysql/mysql.h' file not found
 4 |
 5 | #if LIBMYSQL_VERSION_ID > 80000
/Users/admin/builder/spi-builder-workspace/Sources/PerfectMySQL/MySQL.swift:13:8: error: could not build Objective-C module 'mysqlclient'
 11 | 	import Darwin
 12 | #endif
 13 | import mysqlclient
    |        `- error: could not build Objective-C module 'mysqlclient'
 14 |
 15 | /// Provide access to MySQL connector functions
[33/35] Compiling PerfectMySQL MySQLStmt.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "mysql_osx.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-mysqlclient/mysql_osx.h:3:10: error: '/usr/local/include/mysql/mysql.h' file not found
 1 | #ifndef __PERFECT_MYSQL_OSX__
 2 | #define __PERFECT_MYSQL_OSX__
 3 | #include "/usr/local/include/mysql/mysql.h"
   |          `- error: '/usr/local/include/mysql/mysql.h' file not found
 4 |
 5 | #if LIBMYSQL_VERSION_ID > 80000
/Users/admin/builder/spi-builder-workspace/Sources/PerfectMySQL/MySQL.swift:13:8: error: could not build Objective-C module 'mysqlclient'
 11 | 	import Darwin
 12 | #endif
 13 | import mysqlclient
    |        `- error: could not build Objective-C module 'mysqlclient'
 14 |
 15 | /// Provide access to MySQL connector functions
[34/35] Compiling PerfectMySQL MySQLCRUD.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "mysql_osx.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-mysqlclient/mysql_osx.h:3:10: error: '/usr/local/include/mysql/mysql.h' file not found
 1 | #ifndef __PERFECT_MYSQL_OSX__
 2 | #define __PERFECT_MYSQL_OSX__
 3 | #include "/usr/local/include/mysql/mysql.h"
   |          `- error: '/usr/local/include/mysql/mysql.h' file not found
 4 |
 5 | #if LIBMYSQL_VERSION_ID > 80000
/Users/admin/builder/spi-builder-workspace/Sources/PerfectMySQL/MySQL.swift:13:8: error: could not build Objective-C module 'mysqlclient'
 11 | 	import Darwin
 12 | #endif
 13 | import mysqlclient
    |        `- error: could not build Objective-C module 'mysqlclient'
 14 |
 15 | /// Provide access to MySQL connector functions
[35/35] Compiling PerfectMySQL MySQL.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "mysql_osx.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-mysqlclient/mysql_osx.h:3:10: error: '/usr/local/include/mysql/mysql.h' file not found
 1 | #ifndef __PERFECT_MYSQL_OSX__
 2 | #define __PERFECT_MYSQL_OSX__
 3 | #include "/usr/local/include/mysql/mysql.h"
   |          `- error: '/usr/local/include/mysql/mysql.h' file not found
 4 |
 5 | #if LIBMYSQL_VERSION_ID > 80000
/Users/admin/builder/spi-builder-workspace/Sources/PerfectMySQL/MySQL.swift:13:8: error: could not build Objective-C module 'mysqlclient'
 11 | 	import Darwin
 12 | #endif
 13 | import mysqlclient
    |        `- error: could not build Objective-C module 'mysqlclient'
 14 |
 15 | /// Provide access to MySQL connector functions
warning: 'perfect-mysqlclient': ignoring declared target(s) 'mysqlclient' in the system package
warning: 'spi-builder-workspace': dependency 'perfect-mysqlclient' is not used by any target
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install mysqlclient using your system-packager:
    brew install mysql
BUILD FAILURE 6.0 macosSpm