Build Information
Failed to build Cgetargv, reference main (c4bc98
), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 11:54:51 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/getargv/getargv.swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/getargv/getargv.swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at c4bc984 Merge 7a28b74cff75327cd766bdd1ec1b0b9d168c398d into 5c10e5a65ab9f6b72f84dc579f2e37129cea6784
Cloned https://github.com/getargv/getargv.swift.git
Revision (git rev-parse @):
c4bc984b7067714b26577da5e0014d4493991066
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/getargv/getargv.swift.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/getargv/getargv.swift.git
https://github.com/getargv/getargv.swift.git
{
"c_language_standard" : "c99",
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-docc-plugin"
},
{
"identity" : "swift-testing",
"requirement" : {
"range" : [
{
"lower_bound" : "0.11.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-testing"
}
],
"manifest_display_name" : "Cgetargv",
"name" : "Cgetargv",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "SwiftGetargv",
"targets" : [
"SwiftGetargv"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Cgetargv",
"targets" : [
"Cgetargv"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "getargv2",
"targets" : [
"getargv2"
],
"type" : {
"executable" : null
}
},
{
"name" : "getargv",
"targets" : [
"getargv"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "getargv2",
"module_type" : "SwiftTarget",
"name" : "getargv2",
"path" : "Sources/getargv2",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"getargv2"
],
"sources" : [
"getargv2.swift"
],
"target_dependencies" : [
"SwiftGetargv"
],
"type" : "executable"
},
{
"c99name" : "getargv",
"module_type" : "SwiftTarget",
"name" : "getargv",
"path" : "Sources/getargv",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"getargv"
],
"sources" : [
"getargv.swift"
],
"target_dependencies" : [
"Cgetargv"
],
"type" : "executable"
},
{
"c99name" : "SwiftGetargvTests",
"module_type" : "SwiftTarget",
"name" : "SwiftGetargvTests",
"path" : "Tests/SwiftGetargvTests",
"product_dependencies" : [
"Testing"
],
"sources" : [
"Test.swift"
],
"target_dependencies" : [
"SwiftGetargv"
],
"type" : "test"
},
{
"c99name" : "SwiftGetargv",
"module_type" : "SwiftTarget",
"name" : "SwiftGetargv",
"path" : "Sources/SwiftGetargv",
"product_memberships" : [
"SwiftGetargv",
"getargv2"
],
"sources" : [
"SwiftGetargv.swift"
],
"target_dependencies" : [
"Cgetargv"
],
"type" : "library"
},
{
"c99name" : "CgetargvTests",
"module_type" : "SwiftTarget",
"name" : "CgetargvTests",
"path" : "Tests/CgetargvTests",
"product_dependencies" : [
"Testing"
],
"sources" : [
"Test.swift"
],
"target_dependencies" : [
"Cgetargv"
],
"type" : "test"
},
{
"c99name" : "Cgetargv",
"module_type" : "SystemLibraryTarget",
"name" : "Cgetargv",
"path" : "Sources/Cgetargv",
"product_memberships" : [
"SwiftGetargv",
"Cgetargv",
"getargv2",
"getargv"
],
"sources" : [
],
"type" : "system-target"
}
],
"tools_version" : "6.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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/17] Write sources
[7/17] Write getargv2-entitlement.plist
[7/17] Write getargv-entitlement.plist
[7/17] Write sources
[10/17] Write swift-version-2F0A5646E1D333AE.txt
[12/21] Compiling ArgumentParserToolInfo ToolInfo.swift
[13/21] Emitting module ArgumentParserToolInfo
[14/60] Compiling ArgumentParser InputOrigin.swift
[15/60] Compiling ArgumentParser Name.swift
[16/60] Compiling ArgumentParser Parsed.swift
[17/60] Compiling ArgumentParser ParsedValues.swift
[18/64] Compiling ArgumentParser NameSpecification.swift
[19/64] Compiling ArgumentParser Option.swift
[20/64] Compiling ArgumentParser OptionGroup.swift
[21/64] Compiling ArgumentParser AsyncParsableCommand.swift
[22/64] Compiling ArgumentParser ParsableArguments.swift
[23/64] Compiling ArgumentParser ParsableArgumentsValidation.swift
[24/64] Compiling ArgumentParser ParsableCommand.swift
[25/64] Compiling ArgumentParser ArgumentDecoder.swift
[26/64] Compiling ArgumentParser ArgumentDefinition.swift
[27/64] Compiling ArgumentParser ArgumentSet.swift
[28/64] Compiling ArgumentParser CommandParser.swift
[29/64] Compiling ArgumentParser InputKey.swift
[30/64] Compiling ArgumentParser BashCompletionsGenerator.swift
[31/64] Compiling ArgumentParser CompletionsGenerator.swift
[32/64] Compiling ArgumentParser FishCompletionsGenerator.swift
[33/64] Compiling ArgumentParser ZshCompletionsGenerator.swift
[34/64] Compiling ArgumentParser Argument.swift
[35/64] Compiling ArgumentParser Platform.swift
[36/64] Compiling ArgumentParser SequenceExtensions.swift
[37/64] Compiling ArgumentParser StringExtensions.swift
[38/64] Compiling ArgumentParser Tree.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[39/64] Emitting module SwiftGetargv
/Users/admin/builder/spi-builder-workspace/Sources/Cgetargv/module.modulemap:2:10: error: header '/usr/local/include/libgetargv.h' not found
1 | module Cgetargv [system] {
2 | header "/usr/local/include/libgetargv.h"
| `- error: header '/usr/local/include/libgetargv.h' not found
3 | link "getargv"
4 | export *
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGetargv/SwiftGetargv.swift:1:8: error: could not build Objective-C module 'Cgetargv'
1 | import Cgetargv
| `- error: could not build Objective-C module 'Cgetargv'
2 | import Foundation
3 | import System
[40/64] Compiling SwiftGetargv SwiftGetargv.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cgetargv/module.modulemap:2:10: error: header '/usr/local/include/libgetargv.h' not found
1 | module Cgetargv [system] {
2 | header "/usr/local/include/libgetargv.h"
| `- error: header '/usr/local/include/libgetargv.h' not found
3 | link "getargv"
4 | export *
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGetargv/SwiftGetargv.swift:1:8: error: could not build Objective-C module 'Cgetargv'
1 | import Cgetargv
| `- error: could not build Objective-C module 'Cgetargv'
2 | import Foundation
3 | import System
[41/64] Compiling ArgumentParser CommandConfiguration.swift
[42/64] Compiling ArgumentParser CommandGroup.swift
[43/64] Compiling ArgumentParser EnumerableFlag.swift
[44/64] Compiling ArgumentParser ExpressibleByArgument.swift
[45/64] Emitting module ArgumentParser
[46/64] Compiling ArgumentParser ArgumentHelp.swift
[47/64] Compiling ArgumentParser ArgumentVisibility.swift
[48/64] Compiling ArgumentParser CompletionKind.swift
[49/64] Compiling ArgumentParser Errors.swift
[50/64] Compiling ArgumentParser Flag.swift
Fetching https://github.com/swiftlang/swift-docc-plugin from cache
Fetching https://github.com/swiftlang/swift-testing
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-argument-parser from cache (0.70s)
[1/22225] Fetching swift-testing
Fetched https://github.com/swiftlang/swift-testing from cache (1.63s)
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.63s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (2.58s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.87s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (1.38s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.61s)
Computing version for https://github.com/swiftlang/swift-testing
Computed https://github.com/swiftlang/swift-testing at 0.99.0 (0.51s)
Fetching https://github.com/swiftlang/swift-syntax.git from cache
Fetched https://github.com/swiftlang/swift-syntax.git from cache (0.99s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (1.64s)
Creating working copy for https://github.com/swiftlang/swift-testing
Working copy of https://github.com/swiftlang/swift-testing resolved at 0.99.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install getargv using your system-packager:
brew install libgetagv
warning: you may be able to install getargv using your system-packager:
brew install libgetagv
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/10] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/14] Emitting module SwiftGetargv
/Users/admin/builder/spi-builder-workspace/Sources/Cgetargv/module.modulemap:2:10: error: header '/usr/local/include/libgetargv.h' not found
1 | module Cgetargv [system] {
2 | header "/usr/local/include/libgetargv.h"
| `- error: header '/usr/local/include/libgetargv.h' not found
3 | link "getargv"
4 | export *
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGetargv/SwiftGetargv.swift:1:8: error: could not build Objective-C module 'Cgetargv'
1 | import Cgetargv
| `- error: could not build Objective-C module 'Cgetargv'
2 | import Foundation
3 | import System
[6/14] Compiling SwiftGetargv SwiftGetargv.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cgetargv/module.modulemap:2:10: error: header '/usr/local/include/libgetargv.h' not found
1 | module Cgetargv [system] {
2 | header "/usr/local/include/libgetargv.h"
| `- error: header '/usr/local/include/libgetargv.h' not found
3 | link "getargv"
4 | export *
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGetargv/SwiftGetargv.swift:1:8: error: could not build Objective-C module 'Cgetargv'
1 | import Cgetargv
| `- error: could not build Objective-C module 'Cgetargv'
2 | import Foundation
3 | import System
[7/14] Emitting module ArgumentParserToolInfo
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install getargv using your system-packager:
brew install libgetagv
warning: you may be able to install getargv using your system-packager:
brew install libgetagv
BUILD FAILURE 6.1 macosSpm