The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Getargv, reference 0.0.11 (53c9d6), with Swift 6.0 for macOS (SPM) on 9 Nov 2025 19:45:42 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/getargv/getargv.swift.git
Reference: 0.0.11
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/getargv/getargv.swift
 * tag               0.0.11     -> FETCH_HEAD
HEAD is now at 53c9d6f try using platform swift
Cloned https://github.com/getargv/getargv.swift.git
Revision (git rev-parse @):
53c9d6feab8ebcd35528df73417dc61eb63be7a4
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/getargv/getargv.swift.git at 0.0.11
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/getargv/getargv.swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin GenerateDoccReference
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin Swift-DocC
[4/4] Compiling plugin Swift-DocC Preview
Building for debugging...
[4/18] Write sources
[6/18] Write getargv2-entitlement.plist
[6/18] Write getargv-entitlement.plist
[11/18] Write swift-version-5BDAB9E9C0126B9D.txt
[13/22] Emitting module ArgumentParserToolInfo
[14/22] Compiling ArgumentParserToolInfo ToolInfo.swift
[15/68] Compiling ArgumentParser SequenceExtensions.swift
[16/68] Compiling ArgumentParser StringExtensions.swift
[17/68] Compiling ArgumentParser SwiftExtensions.swift
[18/68] Compiling ArgumentParser Tree.swift
[19/68] Compiling ArgumentParser CodingKeyValidator.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/72] Emitting module SwiftGetargv
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "./umbrella.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Cgetargv/./umbrella.h:1:10: error: 'libgetargv.h' file not found
1 | #include "libgetargv.h"
  |          `- error: 'libgetargv.h' file not found
2 |
/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
[21/72] Compiling SwiftGetargv SwiftGetargv.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "./umbrella.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Cgetargv/./umbrella.h:1:10: error: 'libgetargv.h' file not found
1 | #include "libgetargv.h"
  |          `- error: 'libgetargv.h' file not found
2 |
/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
[22/72] Compiling ArgumentParser ArgumentDiscussion.swift
[23/72] Compiling ArgumentParser ArgumentHelp.swift
[24/72] Compiling ArgumentParser ArgumentVisibility.swift
[25/72] Compiling ArgumentParser CompletionKind.swift
[26/72] Compiling ArgumentParser Errors.swift
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2160] Fetching swift-docc-plugin
[217/18846] Fetching swift-docc-plugin, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.41s)
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.41s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.5 (2.84s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3573] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.93s)
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/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.2 (0.50s)
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.5
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/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.2
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
BUILD FAILURE 6.0 macosSpm