Build Information
Failed to build PerfectLDAP, reference master (e351ef), with Swift 6.4 for macOS (SPM) on 16 Sep 2026 14:45:15 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.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.4
Building package at path: $PWD
https://github.com/perfectlysoft/perfect-ldap.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Constructing description]
[Planning deferred tasks]
[27 / 47]
[32 / 50] ICONVApi
Fetching https://github.com/PerfectSideRepos/Perfect-ICONV.git
Fetching https://github.com/PerfectlySoft/Perfect-OpenLDAP.git
Fetching https://github.com/PerfectlySoft/Perfect-libSASL.git
[1/32] Fetching perfect-openldap
[12/61] Fetching perfect-openldap, perfect-libsasl
[62/162] Fetching perfect-openldap, perfect-libsasl, perfect-iconv
Fetched https://github.com/PerfectlySoft/Perfect-OpenLDAP.git (0.98s)
Fetched https://github.com/PerfectlySoft/Perfect-libSASL.git (0.98s)
Fetched https://github.com/PerfectSideRepos/Perfect-ICONV.git (0.98s)
Computing version for https://github.com/PerfectSideRepos/Perfect-ICONV.git
Computed https://github.com/PerfectSideRepos/Perfect-ICONV.git at 3.0.1 (1.68s)
Computing version for https://github.com/PerfectlySoft/Perfect-libSASL.git
Computed https://github.com/PerfectlySoft/Perfect-libSASL.git at 1.0.2 (0.64s)
Computing version for https://github.com/PerfectlySoft/Perfect-OpenLDAP.git
Computed https://github.com/PerfectlySoft/Perfect-OpenLDAP.git at 1.0.3 (0.64s)
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-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
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
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
error: SwiftCompile normal arm64 failed with a nonzero exit code. Command line: cd /Users/admin/builder
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-ICONV/Sources/ICONVApi/include/module.modulemap:2:10: [1;31merror: [1;39mheader '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/iconv.h' not found[0;0m
[0;36m1 |[0;0m module ICONVApi [system] {
[0;36m2 |[0;0m header "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/iconv.h"
[0;36m|[0;0m `- [1;31merror: [1;39mheader '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/iconv.h' not found[0;0m
[0;36m3 |[0;0m link "iconv"
[0;36m4 |[0;0m export *
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-ICONV/Sources/PerfectICONV/PerfectICONV.swift:22:8: [1;31merror: [1;39mcould not build Objective-C module 'ICONVApi'[0;0m
[0;36m20 |[0;0m import ICONVApiLinux
[0;36m21 |[0;0m #else
[0;36m22 |[0;0m import ICONVApi
[0;36m|[0;0m `- [1;31merror: [1;39mcould not build Objective-C module 'ICONVApi'[0;0m
[0;36m23 |[0;0m #endif
[0;36m24 |[0;0m
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-ICONV/Sources/PerfectICONV/PerfectICONV.swift -target arm64-apple-macos12.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -suppress-warnings -swift-version 4 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-ICONV/Sources/ICONVApi/include/module.modulemap -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.build/out/SDKStatCaches.noindex/macosx27.0-26A425-80c5bbf1d171475443272936d42f90a36a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-ICONV/Sources/ICONVApi/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectICONV.build/Debug/PerfectICONV-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectICONV.build/Debug/PerfectICONV-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectICONV.build/Debug/PerfectICONV-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name PerfectICONV -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectICONV.build/Debug/PerfectICONV-t.build/Objects-normal/arm64/PerfectICONV_const_extract_protocols.json -disable-clang-spi -target-sdk-version 27.0 -target-sdk-name macosx27.0 -external-plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectICONV.build/Debug/PerfectICONV-t.build/Objects-normal/arm64/PerfectICONV.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectICONV.build/Debug/PerfectICONV-t.build/Objects-normal/arm64/PerfectICONV.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectICONV.build/Debug/PerfectICONV-t.build/Objects-normal/arm64/PerfectICONV-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectICONV.build/Debug/PerfectICONV-t.build/Objects-normal/arm64/PerfectICONV-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectICONV.build/Debug/PerfectICONV-t.build/Objects-normal/arm64/PerfectICONV-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectICONV.build/Debug/PerfectICONV-t.build/Objects-normal/arm64/PerfectICONV.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectICONV.build/Debug/PerfectICONV-t.build/Objects-normal/arm64/PerfectICONV.abi.json
error: Build failed
BUILD FAILURE 6.4 macosSpm