The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PerfectLDAP, reference master (e351ef), with Swift 6.3 for macOS (SPM) on 11 Apr 2026 02:17:45 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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
Fetching https://github.com/PerfectSideRepos/Perfect-ICONV.git
Fetching https://github.com/PerfectlySoft/Perfect-libSASL.git
Fetching https://github.com/PerfectlySoft/Perfect-OpenLDAP.git
[1/32] Fetching perfect-openldap
[33/61] Fetching perfect-openldap, perfect-libsasl
[38/162] Fetching perfect-openldap, perfect-libsasl, perfect-iconv
Fetched https://github.com/PerfectlySoft/Perfect-libSASL.git from cache (0.66s)
Fetched https://github.com/PerfectlySoft/Perfect-OpenLDAP.git from cache (0.66s)
Fetched https://github.com/PerfectSideRepos/Perfect-ICONV.git from cache (0.66s)
Computing version for https://github.com/PerfectSideRepos/Perfect-ICONV.git
Computed https://github.com/PerfectSideRepos/Perfect-ICONV.git at 3.0.1 (1.38s)
Computing version for https://github.com/PerfectlySoft/Perfect-libSASL.git
Computed https://github.com/PerfectlySoft/Perfect-libSASL.git at 1.0.2 (0.66s)
Computing version for https://github.com/PerfectlySoft/Perfect-OpenLDAP.git
Computed https://github.com/PerfectlySoft/Perfect-OpenLDAP.git at 1.0.3 (0.66s)
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
========================================
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",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "perfect-ldap",
      "name": "PerfectLDAP",
      "url": "https://github.com/perfectlysoft/perfect-ldap.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/perfect-ldap",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "perfect-iconv",
          "name": "PerfectICONV",
          "url": "https://github.com/PerfectSideRepos/Perfect-ICONV.git",
          "version": "3.0.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Perfect-ICONV",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        },
        {
          "identity": "perfect-libsasl",
          "name": "SASL",
          "url": "https://github.com/PerfectlySoft/Perfect-libSASL.git",
          "version": "1.0.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Perfect-libSASL",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        },
        {
          "identity": "perfect-openldap",
          "name": "OpenLDAP",
          "url": "https://github.com/PerfectlySoft/Perfect-OpenLDAP.git",
          "version": "1.0.3",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Perfect-OpenLDAP",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/perfectlysoft/perfect-ldap.git
[1/245] Fetching perfect-ldap
Fetched https://github.com/perfectlysoft/perfect-ldap.git from cache (0.67s)
Fetching https://github.com/PerfectlySoft/Perfect-libSASL.git from cache
Fetching https://github.com/PerfectSideRepos/Perfect-ICONV.git from cache
Fetching https://github.com/PerfectlySoft/Perfect-OpenLDAP.git from cache
Fetched https://github.com/PerfectSideRepos/Perfect-ICONV.git from cache (0.42s)
Fetched https://github.com/PerfectlySoft/Perfect-OpenLDAP.git from cache (0.47s)
Fetched https://github.com/PerfectlySoft/Perfect-libSASL.git from cache (0.47s)
Computing version for https://github.com/PerfectSideRepos/Perfect-ICONV.git
Computed https://github.com/PerfectSideRepos/Perfect-ICONV.git at 3.0.1 (0.54s)
Computing version for https://github.com/PerfectlySoft/Perfect-libSASL.git
Computed https://github.com/PerfectlySoft/Perfect-libSASL.git at 1.0.2 (0.03s)
Computing version for https://github.com/PerfectlySoft/Perfect-OpenLDAP.git
Computed https://github.com/PerfectlySoft/Perfect-OpenLDAP.git at 1.0.3 (0.03s)
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/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/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-ldap.git
Working copy of https://github.com/perfectlysoft/perfect-ldap.git resolved at master (e351ef5)
warning: 'perfect-openldap': ignoring declared target(s) 'OpenLDAP' in the system package
warning: 'perfect-libsasl': ignoring declared target(s) 'SASL' in the system package
warning: '.resolve-product-dependencies': dependency 'perfect-ldap' is not used by any target
Found 3 product dependencies
  - PerfectICONV
  - SASL
  - OpenLDAP
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/perfectlysoft/perfect-ldap.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Write sources
[2/4] Compiling ICONVApi ICONVApi.c
[3/4] Write swift-version--6988338F2F200930.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 |
warning: 'perfect-openldap': ignoring declared target(s) 'OpenLDAP' in the system package
warning: 'perfect-libsasl': ignoring declared target(s) 'SASL' 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.3 macosSpm