The Swift Package Index logo.Swift Package Index

Build Information

Failed to build GModule with Swift 5.7 for macOS (Xcode) using Xcode 14.2 at 2.80.0.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-14.2.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$workDir/.dependencies -derivedDataPath $workDir/.derivedData build -scheme GModule -destination platform=macos,arch=arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.34.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rhx/SwiftGModule.git
Reference: 2.80.0
Initialized empty Git repository in /Users/admin/builds/Z6YBxSjp/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/rhx/SwiftGModule
 * tag               2.80.0     -> FETCH_HEAD
HEAD is now at 98d2875 Update for glib-2.80
Cloned https://github.com/rhx/SwiftGModule.git
Revision (git rev-parse @):
98d287512dd7589b30b001936a1ab7ab593b7b08
SUCCESS checkout https://github.com/rhx/SwiftGModule.git at 2.80.0
========================================
Build
========================================
Selected platform:         macosXcodebuild
Swift version:             5.7
Building package at path:  $workDir
https://github.com/rhx/SwiftGModule.git
Command line invocation:
    /Applications/Xcode-14.2.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builds/Z6YBxSjp/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builds/Z6YBxSjp/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Fetching from https://github.com/rhx/gir2swift.git (cached)
Fetching from https://github.com/rhx/SwiftGLib.git (cached)
Fetching from https://github.com/rhx/SwiftLibXML.git (cached)
Fetching from https://github.com/jpsim/Yams.git (cached)
Fetching from https://github.com/apple/swift-argument-parser (cached)
Fetching from https://github.com/apple/swift-docc-plugin (cached)
Fetching from https://github.com/apple/swift-docc-symbolkit (cached)
Cloning local copy of package ‘swift-argument-parser’
Checking out 1.3.1 of package ‘swift-argument-parser’
Cloning local copy of package ‘gir2swift’
Checking out main of package ‘gir2swift’
Cloning local copy of package ‘SwiftGLib’
Checking out main of package ‘SwiftGLib’
Cloning local copy of package ‘swift-docc-plugin’
Checking out 1.3.0 of package ‘swift-docc-plugin’
Cloning local copy of package ‘swift-docc-symbolkit’
Checking out 1.0.0 of package ‘swift-docc-symbolkit’
Cloning local copy of package ‘Yams’
Checking out 4.0.6 of package ‘Yams’
Cloning local copy of package ‘SwiftLibXML’
Checking out main of package ‘SwiftLibXML’
you may be able to install gio-unix-2.0 using your system-packager:
    brew install glib glib-networking gobject-introspection
Resolve Package Graph
Resolved source packages:
  SwiftLibXML: https://github.com/rhx/SwiftLibXML.git @ main
  swift-argument-parser: https://github.com/apple/swift-argument-parser @ 1.3.1
  GModule: /Users/admin/builds/Z6YBxSjp/1/finestructure/swiftpackageindex-builder/spi-builder-workspace
  Yams: https://github.com/jpsim/Yams.git @ 4.0.6
  SwiftDocCPlugin: https://github.com/apple/swift-docc-plugin @ 1.3.0
  SymbolKit: https://github.com/apple/swift-docc-symbolkit @ 1.0.0
  GLib: https://github.com/rhx/SwiftGLib.git @ main
  gir2swift: https://github.com/rhx/gir2swift.git @ main
resolved source packages: SwiftLibXML, swift-argument-parser, GModule, Yams, SwiftDocCPlugin, SymbolKit, GLib, gir2swift
{
  "dependencies" : [
    {
      "identity" : "gir2swift",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/rhx/gir2swift.git"
    },
    {
      "identity" : "swiftglib",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/rhx/SwiftGLib.git"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "GModule",
  "name" : "GModule",
  "path" : "/Users/admin/builds/Z6YBxSjp/1/finestructure/swiftpackageindex-builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "GModule",
      "targets" : [
        "GModule"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GModuleTests",
      "module_type" : "SwiftTarget",
      "name" : "GModuleTests",
      "path" : "Tests/GModuleTests",
      "sources" : [
        "GModuleTests.swift"
      ],
      "target_dependencies" : [
        "GModule"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GModule",
      "module_type" : "SwiftTarget",
      "name" : "GModule",
      "path" : "Sources/GModule",
      "product_dependencies" : [
        "gir2swift",
        "GLib",
        "gir2swift-plugin"
      ],
      "product_memberships" : [
        "GModule"
      ],
      "sources" : [
        "GModule.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "GModule"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.2.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$workDir/.dependencies -derivedDataPath $workDir/.derivedData build -scheme GModule -destination platform=macos,arch=arm64
Command line invocation:
    /Applications/Xcode-14.2.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builds/Z6YBxSjp/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies -derivedDataPath /Users/admin/builds/Z6YBxSjp/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData build -scheme GModule -destination platform=macos,arch=arm64
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builds/Z6YBxSjp/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/admin/builds/Z6YBxSjp/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
you may be able to install gio-unix-2.0 using your system-packager:
    brew install glib glib-networking gobject-introspection
Resolve Package Graph
Resolved source packages:
  SwiftDocCPlugin: https://github.com/apple/swift-docc-plugin @ 1.3.0
  SymbolKit: https://github.com/apple/swift-docc-symbolkit @ 1.0.0
  SwiftLibXML: https://github.com/rhx/SwiftLibXML.git @ main
  GLib: https://github.com/rhx/SwiftGLib.git @ main
  GModule: /Users/admin/builds/Z6YBxSjp/1/finestructure/swiftpackageindex-builder/spi-builder-workspace
  Yams: https://github.com/jpsim/Yams.git @ 4.0.6
  gir2swift: https://github.com/rhx/gir2swift.git @ main
  swift-argument-parser: https://github.com/apple/swift-argument-parser @ 1.3.1
you may be able to install gio-unix-2.0 using your system-packager:
    brew install glib glib-networking gobject-introspection
Prepare packages
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:0000FE00-F826A02F5534A97C }
{ platform:macOS, arch:arm64, variant:Mac Catalyst, id:0000FE00-F826A02F5534A97C }
{ platform:macOS, arch:arm64, variant:DriverKit, id:0000FE00-F826A02F5534A97C }
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:0000FE00-F826A02F5534A97C }
2024-04-14 00:27:00.549 xcodebuild[57182:11235488] [MT] IDEFileReferenceDebug: [Load] <IDESwiftPackageCore.IDESwiftPackageSpecialFolderFileReference, 0x6000037e3b00: name:GLib.docc path:group:GLib.docc> Failed to load container at path: /Users/admin/builds/Z6YBxSjp/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies/checkouts/SwiftGLib/Sources/GLib/GLib.docc, Error: Error Domain=com.apple.dt.IDEContainerErrorDomain Code=6 "Cannot open "GLib.docc" as a "Swift Package Folder" because it is already open as a "Folder"." UserInfo={NSLocalizedDescription=Cannot open "GLib.docc" as a "Swift Package Folder" because it is already open as a "Folder".}
2024-04-14 00:27:00.552 xcodebuild[57182:11235488] [MT] IDEFileReferenceDebug: [Load] <IDESwiftPackageCore.IDESwiftPackageSpecialFolderFileReference, 0x6000037ee400: name:SymbolKit.docc path:group:SymbolKit.docc> Failed to load container at path: /Users/admin/builds/Z6YBxSjp/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies/checkouts/swift-docc-symbolkit/Sources/SymbolKit/SymbolKit.docc, Error: Error Domain=com.apple.dt.IDEContainerErrorDomain Code=6 "Cannot open "SymbolKit.docc" as a "Swift Package Folder" because it is already open as a "Folder"." UserInfo={NSLocalizedDescription=Cannot open "SymbolKit.docc" as a "Swift Package Folder" because it is already open as a "Folder".}
2024-04-14 00:27:00.557 xcodebuild[57182:11235488] [MT] IDEFileReferenceDebug: [Load] <IDESwiftPackageCore.IDESwiftPackageSpecialFolderFileReference, 0x6000037c6600: name:Documentation.docc path:group:Documentation.docc> Failed to load container at path: /Users/admin/builds/Z6YBxSjp/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies/checkouts/swift-argument-parser/Sources/ArgumentParser/Documentation.docc, Error: Error Domain=com.apple.dt.IDEContainerErrorDomain Code=6 "Cannot open "Documentation.docc" as a "Swift Package Folder" because it is already open as a "Folder"." UserInfo={NSLocalizedDescription=Cannot open "Documentation.docc" as a "Swift Package Folder" because it is already open as a "Folder".}
** BUILD INTERRUPTED **
The following build commands failed:
	Validate plug-in “gir2swift-plugin” in package “gir2swift”
	eyJ0eXBlIjp7ImJsdWVwcmludFByb3ZpZGVyIjp7fX0sImJsdWVwcmludFByb3ZpZGVyX3Byb3ZpZGVyRmlsZVBhdGhTdHJpbmciOiJcL1VzZXJzXC9hZG1pblwvYnVpbGRzXC9aNllCeFNqcFwvMVwvZmluZXN0cnVjdHVyZVwvc3dpZnRwYWNrYWdlaW5kZXgtYnVpbGRlclwvc3BpLWJ1aWxkZXItd29ya3NwYWNlIn0=
(2 failures)
Command line invocation:
    /Applications/Xcode-14.2.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builds/Z6YBxSjp/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies -derivedDataPath /Users/admin/builds/Z6YBxSjp/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData build -scheme GModule -destination platform=macos,arch=arm64
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builds/Z6YBxSjp/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/admin/builds/Z6YBxSjp/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Resolved source packages:
  Yams: https://github.com/jpsim/Yams.git @ 4.0.6
  GModule: /Users/admin/builds/Z6YBxSjp/1/finestructure/swiftpackageindex-builder/spi-builder-workspace
  gir2swift: https://github.com/rhx/gir2swift.git @ main
  SwiftDocCPlugin: https://github.com/apple/swift-docc-plugin @ 1.3.0
  SwiftLibXML: https://github.com/rhx/SwiftLibXML.git @ main
  SymbolKit: https://github.com/apple/swift-docc-symbolkit @ 1.0.0
  GLib: https://github.com/rhx/SwiftGLib.git @ main
  swift-argument-parser: https://github.com/apple/swift-argument-parser @ 1.3.1
you may be able to install gio-unix-2.0 using your system-packager:
    brew install glib glib-networking gobject-introspection
Prepare packages
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:0000FE00-F826A02F5534A97C }
{ platform:macOS, arch:arm64, variant:Mac Catalyst, id:0000FE00-F826A02F5534A97C }
{ platform:macOS, arch:arm64, variant:DriverKit, id:0000FE00-F826A02F5534A97C }
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:0000FE00-F826A02F5534A97C }
** BUILD INTERRUPTED **
The following build commands failed:
	Validate plug-in “gir2swift-plugin” in package “gir2swift”
	eyJ0eXBlIjp7ImJsdWVwcmludFByb3ZpZGVyIjp7fX0sImJsdWVwcmludFByb3ZpZGVyX3Byb3ZpZGVyRmlsZVBhdGhTdHJpbmciOiJcL1VzZXJzXC9hZG1pblwvYnVpbGRzXC9aNllCeFNqcFwvMVwvZmluZXN0cnVjdHVyZVwvc3dpZnRwYWNrYWdlaW5kZXgtYnVpbGRlclwvc3BpLWJ1aWxkZXItd29ya3NwYWNlIn0=
(2 failures)
BUILD FAILURE 5.7 macosXcodebuild