Build Information
Failed to build PerfectICONV, reference master (9158e2
), with Swift 6.1 for macOS (SPM) on 24 Apr 2025 12:30:35 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perfectsiderepos/perfect-iconv.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/perfectsiderepos/perfect-iconv
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 9158e26 updating doc
Cloned https://github.com/perfectsiderepos/perfect-iconv.git
Revision (git rev-parse @):
9158e26559b7e33eff6b9bd890fd1e80134dd3af
SUCCESS checkout https://github.com/perfectsiderepos/perfect-iconv.git at master
========================================
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-iconv",
"name": "PerfectICONV",
"url": "https://github.com/perfectsiderepos/perfect-iconv.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/perfect-iconv",
"dependencies": [
]
}
]
}
Fetching https://github.com/perfectsiderepos/perfect-iconv.git
[1/101] Fetching perfect-iconv
Fetched https://github.com/perfectsiderepos/perfect-iconv.git from cache (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 master (9158e26)
warning: '.resolve-product-dependencies': dependency 'perfect-iconv' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/perfectsiderepos/perfect-iconv.git
https://github.com/perfectsiderepos/perfect-iconv.git
{
"dependencies" : [
],
"manifest_display_name" : "PerfectICONV",
"name" : "PerfectICONV",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "PerfectICONV",
"targets" : [
"PerfectICONV"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PerfectICONVTests",
"module_type" : "SwiftTarget",
"name" : "PerfectICONVTests",
"path" : "Tests/PerfectICONVTests",
"sources" : [
"PerfectICONVTests.swift"
],
"target_dependencies" : [
"PerfectICONV"
],
"type" : "test"
},
{
"c99name" : "PerfectICONV",
"module_type" : "SwiftTarget",
"name" : "PerfectICONV",
"path" : "Sources/PerfectICONV",
"product_memberships" : [
"PerfectICONV"
],
"sources" : [
"PerfectICONV.swift"
],
"target_dependencies" : [
"ICONVApi"
],
"type" : "library"
},
{
"c99name" : "ICONVApi",
"module_type" : "ClangTarget",
"name" : "ICONVApi",
"path" : "Sources/ICONVApi",
"product_memberships" : [
"PerfectICONV"
],
"sources" : [
"ICONVApi.c"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/3] Write sources
[1/3] Compiling ICONVApi ICONVApi.c
[2/3] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/5] Emitting module PerfectICONV
/Users/admin/builder/spi-builder-workspace/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/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 |
[5/5] Compiling PerfectICONV PerfectICONV.swift
/Users/admin/builder/spi-builder-workspace/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/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 |
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module PerfectICONV
/Users/admin/builder/spi-builder-workspace/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/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 |
[3/3] Compiling PerfectICONV PerfectICONV.swift
/Users/admin/builder/spi-builder-workspace/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/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 |
BUILD FAILURE 6.1 macosSpm