The Swift Package Index logo.Swift Package Index

Build Information

Failed to build gir2swift, reference main (e2b894), with Swift 6.1 for iOS using Xcode 16.3 on 13 Mar 2026 12:38:05 UTC.

Build Command

No build command. This typically means the build failed at an early stage where we determine the build command.

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rhx/gir2swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/rhx/gir2swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e2b894e Update badges and SwiftLibXML dependency to main branch
Cloned https://github.com/rhx/gir2swift.git
Revision (git rev-parse @):
e2b894e3ba0197d7c2ebe1cde62e5c1faa404b75
SUCCESS checkout https://github.com/rhx/gir2swift.git at main
========================================
Build
========================================
Selected platform:         iOS
Swift version:             6.1
Building package at path:  $PWD
https://github.com/rhx/gir2swift.git
https://github.com/rhx/gir2swift.git
{
  "dependencies" : [
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.6",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    },
    {
      "identity" : "swiftlibxml",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/rhx/SwiftLibXML.git"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    }
  ],
  "manifest_display_name" : "gir2swift",
  "name" : "gir2swift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "gir2swift",
      "targets" : [
        "gir2swift"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "libgir2swift",
      "targets" : [
        "libgir2swift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "gir2swift-plugin",
      "targets" : [
        "gir2swift-plugin"
      ],
      "type" : {
        "plugin" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "libgir2swift",
      "module_type" : "SwiftTarget",
      "name" : "libgir2swift",
      "path" : "Sources/libgir2swift",
      "product_dependencies" : [
        "SwiftLibXML",
        "ArgumentParser",
        "Yams"
      ],
      "product_memberships" : [
        "gir2swift",
        "libgir2swift",
        "gir2swift-plugin"
      ],
      "sources" : [
        "emitting/CodeBuilder.swift",
        "emitting/c2swift.swift",
        "emitting/emit-class.swift",
        "emitting/emit-signals.swift",
        "emitting/gir+swift.swift",
        "emitting/girtypes+swift.swift",
        "emitting/gtk2swiftdoc.swift",
        "models/ConversionContext.swift",
        "models/Gir+Enums.swift",
        "models/Gir+KnowTypeSets.swift",
        "models/Gir+KnownTypes.swift",
        "models/Gir.swift",
        "models/Gir2Swift.swift",
        "models/GirType.swift",
        "models/TypeConversion.swift",
        "models/TypeReference.swift",
        "models/gir elements/GirAlias.swift",
        "models/gir elements/GirArgument.swift",
        "models/gir elements/GirBitfield.swift",
        "models/gir elements/GirCType.swift",
        "models/gir elements/GirCallback.swift",
        "models/gir elements/GirClass.swift",
        "models/gir elements/GirConstant.swift",
        "models/gir elements/GirDatatype.swift",
        "models/gir elements/GirEnumeration.swift",
        "models/gir elements/GirField.swift",
        "models/gir elements/GirFunction.swift",
        "models/gir elements/GirInterface.swift",
        "models/gir elements/GirMethod.swift",
        "models/gir elements/GirProperty.swift",
        "models/gir elements/GirRecord.swift",
        "models/gir elements/GirSignal.swift",
        "models/gir elements/GirThing.swift",
        "models/gir elements/GirUnion.swift",
        "models/girtype+xml.swift",
        "utilities/Character+Utilities.swift",
        "utilities/Collection+Utilities.swift",
        "utilities/Streams.swift",
        "utilities/String+Substring.swift",
        "utilities/String+Utilities.swift",
        "utilities/System.swift",
        "utilities/XML+Utilities.swift",
        "utilities/generation.swift",
        "utilities/incremental-generation.swift",
        "utilities/planning.swift",
        "utilities/postprocessing.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "gir2swiftTests",
      "module_type" : "SwiftTarget",
      "name" : "gir2swiftTests",
      "path" : "Tests/gir2swiftTests",
      "sources" : [
        "gir2swiftTests.swift"
      ],
      "target_dependencies" : [
        "libgir2swift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "gir2swift_plugin",
      "module_type" : "PluginTarget",
      "name" : "gir2swift-plugin",
      "path" : "Plugins/gir2swift-plugin",
      "plugin_capability" : {
        "type" : "buildTool"
      },
      "product_memberships" : [
        "gir2swift-plugin"
      ],
      "sources" : [
        "plugin.swift"
      ],
      "target_dependencies" : [
        "gir2swift"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "gir2swift",
      "module_type" : "SwiftTarget",
      "name" : "gir2swift",
      "path" : "Sources/gir2swift",
      "product_memberships" : [
        "gir2swift",
        "gir2swift-plugin"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "libgir2swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.6"
}
Command line invocation:
    /Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Fetching from https://github.com/rhx/SwiftLibXML.git
Fetching from https://github.com/jpsim/Yams.git (cached)
Fetching from https://github.com/apple/swift-argument-parser (cached)
Creating working copy of package ‘SwiftLibXML’
Checking out main (35dea8f) of package ‘SwiftLibXML’
Creating working copy of package ‘swift-argument-parser’
Checking out 1.7.0 of package ‘swift-argument-parser’
Creating working copy of package ‘Yams’
Checking out 4.0.6 of package ‘Yams’
dataCorrupted(Swift.DecodingError.Context(codingPath: [], debugDescription: "The given data was not valid JSON.", underlyingError: Optional(Error Domain=NSCocoaErrorDomain Code=3840 "Unexpected end of file" UserInfo={NSDebugDescription=Unexpected end of file})))Resolve Package Graph
dataCorrupted(Swift.DecodingError.Context(codingPath: [], debugDescription: "The given data was not valid JSON.", underlyingError: Optional(Error Domain=NSCocoaErrorDomain Code=3840 "Unexpected end of file" UserInfo={NSDebugDescription=Unexpected end of file})))
Resolve Package Graph
dataCorrupted(Swift.DecodingError.Context(codingPath: [], debugDescription: "The given data was not valid JSON.", underlyingError: Optional(Error Domain=NSCocoaErrorDomain Code=3840 "Unexpected end of file" UserInfo={NSDebugDescription=Unexpected end of file})))
Resolved source packages:
  spi-builder-workspace: (null)
2026-03-13 05:38:05.102 xcodebuild[547:3158] Writing error result bundle to /var/folders/5k/5yc19ymj0jqd5v0zvgfqz0xw0000gn/T/ResultBundle_2026-13-03_05-38-0005.xcresult
xcodebuild: error: Could not resolve package dependencies:
  dataCorrupted(Swift.DecodingError.Context(codingPath: [], debugDescription: "The given data was not valid JSON.", underlyingError: Optional(Error Domain=NSCocoaErrorDomain Code=3840 "Unexpected end of file" UserInfo={NSDebugDescription=Unexpected end of file})))
Command line invocation:
    /Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
dataCorrupted(Swift.DecodingError.Context(codingPath: [], debugDescription: "The given data was not valid JSON.", underlyingError: Optional(Error Domain=NSCocoaErrorDomain Code=3840 "Unexpected end of file" UserInfo={NSDebugDescription=Unexpected end of file})))
Resolved source packages:
  spi-builder-workspace: (null)
2026-03-13 05:38:05.920 xcodebuild[817:4478] Writing error result bundle to /var/folders/5k/5yc19ymj0jqd5v0zvgfqz0xw0000gn/T/ResultBundle_2026-13-03_05-38-0005.xcresult
xcodebuild: error: Could not resolve package dependencies:
  dataCorrupted(Swift.DecodingError.Context(codingPath: [], debugDescription: "The given data was not valid JSON.", underlyingError: Optional(Error Domain=NSCocoaErrorDomain Code=3840 "Unexpected end of file" UserInfo={NSDebugDescription=Unexpected end of file})))
BUILD FAILURE 6.1 iOS