The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PerfectLDAP with Swift 5.7 for macOS (SPM).

Build Command

env DEVELOPER_DIR="/Applications/Xcode-14.2.0.app" xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perfectlysoft/perfect-ldap.git
Reference: 3.0.2
Initialized empty Git repository in /Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/perfectlysoft/perfect-ldap
 * tag               3.0.2      -> FETCH_HEAD
HEAD is now at e351ef5 Merge pull request #6 from Lagerregal/master
Cloned https://github.com/perfectlysoft/perfect-ldap.git into spi-builder-workspace
e351ef5b9497265f9498555820e408e57f00f950
SUCCESS checkout https://github.com/perfectlysoft/perfect-ldap.git at 3.0.2
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.7
Building package at path:  spi-builder-workspace
Running build ...
env DEVELOPER_DIR="/Applications/Xcode-14.2.0.app" xcrun swift build --arch arm64
Fetching https://github.com/PerfectlySoft/Perfect-OpenLDAP.git from cache
Fetching https://github.com/PerfectlySoft/Perfect-libSASL.git from cache
Fetching https://github.com/PerfectSideRepos/Perfect-ICONV.git from cache
Fetched https://github.com/PerfectlySoft/Perfect-libSASL.git (0.63s)
Fetched https://github.com/PerfectlySoft/Perfect-OpenLDAP.git (0.63s)
Fetched https://github.com/PerfectSideRepos/Perfect-ICONV.git (0.65s)
Computing version for https://github.com/PerfectSideRepos/Perfect-ICONV.git
Computed https://github.com/PerfectSideRepos/Perfect-ICONV.git at 3.0.1 (0.38s)
Computing version for https://github.com/PerfectlySoft/Perfect-libSASL.git
Computed https://github.com/PerfectlySoft/Perfect-libSASL.git at 1.0.2 (0.41s)
Computing version for https://github.com/PerfectlySoft/Perfect-OpenLDAP.git
Computed https://github.com/PerfectlySoft/Perfect-OpenLDAP.git at 1.0.3 (0.43s)
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
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
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: dependency 'perfect-libsasl' is not used by any target
warning: dependency 'perfect-openldap' is not used by any target
Building for debugging...
[0/1] Compiling ICONVApi ICONVApi.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module PerfectICONV
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-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
  header "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/iconv.h"
         ^
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/Perfect-ICONV/Sources/PerfectICONV/PerfectICONV.swift:22:8: error: could not build Objective-C module 'ICONVApi'
import ICONVApi
       ^
[3/3] Compiling PerfectICONV PerfectICONV.swift
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-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
  header "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/iconv.h"
         ^
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/Perfect-ICONV/Sources/PerfectICONV/PerfectICONV.swift:22:8: error: could not build Objective-C module 'ICONVApi'
import ICONVApi
       ^
ShellOut encountered an error
Status code: 1
Message: "Fetching https://github.com/PerfectlySoft/Perfect-OpenLDAP.git from cache
Fetching https://github.com/PerfectlySoft/Perfect-libSASL.git from cache
Fetching https://github.com/PerfectSideRepos/Perfect-ICONV.git from cache
Fetched https://github.com/PerfectlySoft/Perfect-libSASL.git (0.63s)
Fetched https://github.com/PerfectlySoft/Perfect-OpenLDAP.git (0.63s)
Fetched https://github.com/PerfectSideRepos/Perfect-ICONV.git (0.65s)
Computing version for https://github.com/PerfectSideRepos/Perfect-ICONV.git
Computed https://github.com/PerfectSideRepos/Perfect-ICONV.git at 3.0.1 (0.38s)
Computing version for https://github.com/PerfectlySoft/Perfect-libSASL.git
Computed https://github.com/PerfectlySoft/Perfect-libSASL.git at 1.0.2 (0.41s)
Computing version for https://github.com/PerfectlySoft/Perfect-OpenLDAP.git
Computed https://github.com/PerfectlySoft/Perfect-OpenLDAP.git at 1.0.3 (0.43s)
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
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
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: dependency 'perfect-libsasl' is not used by any target
warning: dependency 'perfect-openldap' is not used by any target"
Output: "Building for debugging...
[0/1] Compiling ICONVApi ICONVApi.c
error: emit-module command failed with exit code 1 (use -v to see invocation)[2/3] Emitting module PerfectICONV
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-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
  header "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/iconv.h"
         ^
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/Perfect-ICONV/Sources/PerfectICONV/PerfectICONV.swift:22:8: error: could not build Objective-C module 'ICONVApi'
import ICONVApi
       ^
[3/3] Compiling PerfectICONV PerfectICONV.swift
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-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
  header "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/iconv.h"
         ^
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/Perfect-ICONV/Sources/PerfectICONV/PerfectICONV.swift:22:8: error: could not build Objective-C module 'ICONVApi'
import ICONVApi
       ^"
Retrying in 0.0 seconds ...
Building ... (attempt 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: dependency 'perfect-libsasl' is not used by any target
warning: dependency 'perfect-openldap' is not used by any target
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/2] Emitting module PerfectICONV
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-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
  header "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/iconv.h"
         ^
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/Perfect-ICONV/Sources/PerfectICONV/PerfectICONV.swift:22:8: error: could not build Objective-C module 'ICONVApi'
import ICONVApi
       ^
[2/2] Compiling PerfectICONV PerfectICONV.swift
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-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
  header "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/iconv.h"
         ^
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/Perfect-ICONV/Sources/PerfectICONV/PerfectICONV.swift:22:8: error: could not build Objective-C module 'ICONVApi'
import ICONVApi
       ^
ShellOut encountered an error
Status code: 1
Message: "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: dependency 'perfect-libsasl' is not used by any target
warning: dependency 'perfect-openldap' is not used by any target"
Output: "[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)[1/2] Emitting module PerfectICONV
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-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
  header "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/iconv.h"
         ^
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/Perfect-ICONV/Sources/PerfectICONV/PerfectICONV.swift:22:8: error: could not build Objective-C module 'ICONVApi'
import ICONVApi
       ^
[2/2] Compiling PerfectICONV PerfectICONV.swift
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-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
  header "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/iconv.h"
         ^
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/Perfect-ICONV/Sources/PerfectICONV/PerfectICONV.swift:22:8: error: could not build Objective-C module 'ICONVApi'
import ICONVApi
       ^"
BUILD FAILURE 5.7 macosSpm

Build Machine: Mac 5