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.1 for macOS (SPM) on 9 Nov 2025 19:45:46 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.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
========================================
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.5",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "Getargv",
  "name" : "Getargv",
  "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",
      "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",
      "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
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/18] Write sources
[7/18] Write getargv-entitlement.plist
[7/18] Write sources
[7/18] Write getargv2-entitlement.plist
[7/18] Write sources
[11/18] Write swift-version-2F0A5646E1D333AE.txt
[13/22] Emitting module ArgumentParserToolInfo
[14/22] Compiling ArgumentParserToolInfo ToolInfo.swift
[15/68] Compiling ArgumentParser ArgumentDiscussion.swift
[16/68] Compiling ArgumentParser ArgumentHelp.swift
[17/68] Compiling ArgumentParser ArgumentVisibility.swift
[18/68] Compiling ArgumentParser CompletionKind.swift
[19/68] Compiling ArgumentParser Errors.swift
[20/68] Compiling ArgumentParser SequenceExtensions.swift
[21/68] Compiling ArgumentParser StringExtensions.swift
[22/68] Compiling ArgumentParser SwiftExtensions.swift
[23/68] Compiling ArgumentParser Tree.swift
[24/68] Compiling ArgumentParser CodingKeyValidator.swift
[25/68] Compiling ArgumentParser CommandConfiguration.swift
[26/68] Compiling ArgumentParser CommandGroup.swift
[27/68] Compiling ArgumentParser EnumerableFlag.swift
[28/68] Compiling ArgumentParser ExpressibleByArgument.swift
[29/68] Compiling ArgumentParser ParsableArguments.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[30/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
[31/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
Fetching https://github.com/swiftlang/swift-docc-plugin from cache
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.64s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.25s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.5 (4.24s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.83s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.49s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.2 (0.49s)
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
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
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
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/11] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/15] 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
[7/15] 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
[8/15] 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