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 main (53c9d6), with Swift 6.2 for macOS (SPM) on 9 Nov 2025 19:46:48 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.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: 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 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 main
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/2160] Fetching swift-docc-plugin
[217/18846] Fetching swift-docc-plugin, swift-argument-parser
[384/22419] Fetching swift-docc-plugin, swift-argument-parser, swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.23s)
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.23s)
[8510/16686] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.47s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.5
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
========================================
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": "getargv.swift",
      "name": "Getargv",
      "url": "https://github.com/getargv/getargv.swift.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/getargv.swift",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/getargv/getargv.swift.git
[1/575] Fetching getargv.swift
Fetched https://github.com/getargv/getargv.swift.git from cache (0.92s)
Creating working copy for https://github.com/getargv/getargv.swift.git
Working copy of https://github.com/getargv/getargv.swift.git resolved at main (53c9d6f)
warning: '.resolve-product-dependencies': dependency 'getargv.swift' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/getargv/getargv.swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64
[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
[6/17] Write getargv-entitlement.plist
[6/17] Write sources
[6/17] Write getargv2-entitlement.plist
[6/17] Write sources
[10/17] Write swift-version-49B95AFC49DCD68C.txt
[12/21] Emitting module ArgumentParserToolInfo
[13/21] Compiling ArgumentParserToolInfo ToolInfo.swift
[14/60] Compiling ArgumentParser CommandConfiguration.swift
[15/60] Compiling ArgumentParser CommandGroup.swift
[16/60] Compiling ArgumentParser EnumerableFlag.swift
[17/60] Compiling ArgumentParser ExpressibleByArgument.swift
[18/64] Emitting module ArgumentParser
[19/64] Compiling ArgumentParser ArgumentHelp.swift
[20/64] Compiling ArgumentParser ArgumentVisibility.swift
[21/64] Compiling ArgumentParser CompletionKind.swift
[22/64] Compiling ArgumentParser Errors.swift
[23/64] Compiling ArgumentParser Flag.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/64] 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
[25/64] 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
[26/64] Compiling ArgumentParser InputOrigin.swift
[27/64] Compiling ArgumentParser Name.swift
[28/64] Compiling ArgumentParser Parsed.swift
[29/64] Compiling ArgumentParser ParsedValues.swift
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.2 macosSpm