The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Getargv, reference 0.0.12 (336f35), with Swift 6.2 for macOS (SPM) on 23 Feb 2026 07:29:29 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: 0.0.12
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/getargv/getargv.swift
 * tag               0.0.12     -> FETCH_HEAD
HEAD is now at 336f355 fix swift version
Cloned https://github.com/getargv/getargv.swift.git
Revision (git rev-parse @):
336f355f10e19d479f1be5c83d7670ce67dda8ea
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/getargv/getargv.swift.git at 0.0.12
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/2171] Fetching swift-docc-plugin
[219/19340] Fetching swift-docc-plugin, swift-argument-parser
[391/23001] Fetching swift-docc-plugin, swift-argument-parser, swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.19s)
[6865/20830] Fetching swift-argument-parser, swift-docc-symbolkit
Fetched https://github.com/apple/swift-argument-parser from cache (1.53s)
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.53s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.5 (4.23s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.2 (0.55s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.66s)
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-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.5
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
========================================
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/626] 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 0.0.12 (336f355)
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
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/18] Write sources
[8/18] Write getargv-entitlement.plist
[10/18] Write getargv2-entitlement.plist
[11/18] Write swift-version-49B95AFC49DCD68C.txt
[13/23] Compiling ArgumentParserToolInfo ToolInfo.swift
[14/23] Emitting module ArgumentParserToolInfo
[15/69] Emitting module ArgumentParser
[16/73] Compiling SwiftGetargv Extensions.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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/73] 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
[18/73] 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
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