Build Information
Failed to build PerfectLDAP with Swift 6.0 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perfectlysoft/perfect-ldap.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/perfectlysoft/perfect-ldap
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at e351ef5 Merge pull request #6 from Lagerregal/master
Cloned https://github.com/perfectlysoft/perfect-ldap.git
Revision (git rev-parse @):
e351ef5b9497265f9498555820e408e57f00f950
SUCCESS checkout https://github.com/perfectlysoft/perfect-ldap.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/perfectlysoft/perfect-ldap.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/4] Write sources
[2/4] Compiling ICONVApi ICONVApi.c
[3/4] Write swift-version-6F35C1178C84523A.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/6] Emitting module PerfectICONV
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-ICONV/Sources/ICONVApi/include/module.modulemap:2:10: error: header '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/iconv.h' not found
1 | module ICONVApi [system] {
2 | header "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/iconv.h"
| `- error: header '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/iconv.h' not found
3 | link "iconv"
4 | export *
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-ICONV/Sources/PerfectICONV/PerfectICONV.swift:22:8: error: could not build Objective-C module 'ICONVApi'
20 | import ICONVApiLinux
21 | #else
22 | import ICONVApi
| `- error: could not build Objective-C module 'ICONVApi'
23 | #endif
24 |
[6/6] Compiling PerfectICONV PerfectICONV.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-ICONV/Sources/ICONVApi/include/module.modulemap:2:10: error: header '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/iconv.h' not found
1 | module ICONVApi [system] {
2 | header "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/iconv.h"
| `- error: header '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/iconv.h' not found
3 | link "iconv"
4 | export *
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-ICONV/Sources/PerfectICONV/PerfectICONV.swift:22:8: error: could not build Objective-C module 'ICONVApi'
20 | import ICONVApiLinux
21 | #else
22 | import ICONVApi
| `- error: could not build Objective-C module 'ICONVApi'
23 | #endif
24 |
Fetching https://github.com/PerfectlySoft/Perfect-libSASL.git
Fetching https://github.com/PerfectlySoft/Perfect-OpenLDAP.git
Fetching https://github.com/PerfectSideRepos/Perfect-ICONV.git
[1/32] Fetching perfect-openldap
[12/133] Fetching perfect-openldap, perfect-iconv
[49/162] Fetching perfect-openldap, perfect-iconv, perfect-libsasl
Fetched https://github.com/PerfectSideRepos/Perfect-ICONV.git from cache (0.78s)
Fetched https://github.com/PerfectlySoft/Perfect-libSASL.git from cache (0.78s)
Fetched https://github.com/PerfectlySoft/Perfect-OpenLDAP.git from cache (0.78s)
Computing version for https://github.com/PerfectSideRepos/Perfect-ICONV.git
Computed https://github.com/PerfectSideRepos/Perfect-ICONV.git at 3.0.1 (0.67s)
Computing version for https://github.com/PerfectlySoft/Perfect-libSASL.git
Computed https://github.com/PerfectlySoft/Perfect-libSASL.git at 1.0.2 (0.65s)
Computing version for https://github.com/PerfectlySoft/Perfect-OpenLDAP.git
Computed https://github.com/PerfectlySoft/Perfect-OpenLDAP.git at 1.0.3 (0.65s)
Creating working copy for https://github.com/PerfectlySoft/Perfect-OpenLDAP.git
Working copy of https://github.com/PerfectlySoft/Perfect-OpenLDAP.git resolved at 1.0.3
Creating working copy for https://github.com/PerfectSideRepos/Perfect-ICONV.git
Working copy of https://github.com/PerfectSideRepos/Perfect-ICONV.git resolved at 3.0.1
Creating working copy for https://github.com/PerfectlySoft/Perfect-libSASL.git
Working copy of https://github.com/PerfectlySoft/Perfect-libSASL.git resolved at 1.0.2
warning: 'perfect-libsasl': ignoring declared target(s) 'SASL' in the system package
warning: 'perfect-openldap': ignoring declared target(s) 'OpenLDAP' in the system package
warning: 'spi-builder-workspace': dependency 'perfect-libsasl' is not used by any target
warning: 'spi-builder-workspace': dependency 'perfect-openldap' is not used by any target
BUILD FAILURE 6.0 macosSpm