The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build SwiftGit2, reference develop (e810ca), with Swift 5.9 for watchOS using Xcode 15.2 on 10 Aug 2024 07:29:56 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme SwiftGit2 -destination generic/platform=watchOS

Build Log

========================================
RunAll
========================================
Builder version: 4.49.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mbernson/SwiftGit2.git
Reference: develop
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mbernson/SwiftGit2
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at e810ca5 Sync with fork
Cloned https://github.com/mbernson/SwiftGit2.git
Revision (git rev-parse @):
e810ca5890f6b608b653226a4cdde59affb9392c
SUCCESS checkout https://github.com/mbernson/SwiftGit2.git at develop
========================================
Build
========================================
Selected platform:         watchOS
Swift version:             5.9
Building package at path:  $PWD
https://github.com/mbernson/SwiftGit2.git
Command line invocation:
    /Applications/Xcode-15.2.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Fetching from https://github.com/mbernson/libgit2.git
Fetching from https://github.com/ZipArchive/ZipArchive.git
Fetching from https://github.com/Quick/Quick.git
Fetching from https://github.com/mattgallagher/CwlCatchException.git
Fetching from https://github.com/Quick/Nimble.git
Fetching from https://github.com/mattgallagher/CwlPreconditionTesting.git
Creating working copy of package ‘ZipArchive’
Checking out 2.5.5 of package ‘ZipArchive’
Creating working copy of package ‘CwlCatchException’
Checking out 2.1.2 of package ‘CwlCatchException’
Creating working copy of package ‘libgit2’
Checking out spm of package ‘libgit2’
Creating working copy of package ‘Quick’
Checking out 7.4.0 of package ‘Quick’
Creating working copy of package ‘CwlPreconditionTesting’
Checking out 2.2.0 of package ‘CwlPreconditionTesting’
Creating working copy of package ‘Nimble’
Checking out 13.2.1 of package ‘Nimble’
Resolve Package Graph
Resolved source packages:
  Nimble: https://github.com/Quick/Nimble.git @ 13.2.1
  Quick: https://github.com/Quick/Quick.git @ 7.4.0
  SwiftGit2: /Users/admin/builder/spi-builder-workspace
  libgit2: https://github.com/mbernson/libgit2.git @ spm
  CwlPreconditionTesting: https://github.com/mattgallagher/CwlPreconditionTesting.git @ 2.2.0
  ZipArchive: https://github.com/ZipArchive/ZipArchive.git @ 2.5.5
  CwlCatchException: https://github.com/mattgallagher/CwlCatchException.git @ 2.1.2
resolved source packages: Nimble, Quick, SwiftGit2, libgit2, CwlPreconditionTesting, ZipArchive, CwlCatchException
{
  "dependencies" : [
    {
      "identity" : "libgit2",
      "requirement" : {
        "branch" : [
          "spm"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mbernson/libgit2.git"
    },
    {
      "identity" : "quick",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "7.0.0",
            "upper_bound" : "8.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Quick.git"
    },
    {
      "identity" : "nimble",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "13.0.0",
            "upper_bound" : "14.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Nimble.git"
    },
    {
      "identity" : "ziparchive",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.5.5",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ZipArchive/ZipArchive.git"
    }
  ],
  "manifest_display_name" : "SwiftGit2",
  "name" : "SwiftGit2",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "15.5"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftGit2",
      "targets" : [
        "SwiftGit2"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftGit2Tests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftGit2Tests",
      "path" : "Tests/SwiftGit2Tests",
      "product_dependencies" : [
        "libgit2",
        "Quick",
        "Nimble",
        "ZipArchive"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftGit2Tests/Fixtures",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Fixtures.swift",
        "FixturesSpec.swift",
        "OIDSpec.swift",
        "ObjectsSpec.swift",
        "ReferencesSpec.swift",
        "RemotesSpec.swift",
        "RepositorySpec.swift",
        "ResultShims.swift"
      ],
      "target_dependencies" : [
        "SwiftGit2"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftGit2",
      "module_type" : "SwiftTarget",
      "name" : "SwiftGit2",
      "path" : "Sources/SwiftGit2",
      "product_dependencies" : [
        "libgit2"
      ],
      "product_memberships" : [
        "SwiftGit2"
      ],
      "sources" : [
        "CheckoutStrategy.swift",
        "CommitIterator.swift",
        "Credentials.swift",
        "Diffs.swift",
        "Errors.swift",
        "OID.swift",
        "Objects.swift",
        "Pointers.swift",
        "References.swift",
        "Remotes.swift",
        "Repository.swift",
        "StatusOptions.swift",
        "SwiftGit2.swift",
        "git_strarray+Extensions.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "SwiftGit2"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme SwiftGit2 -destination generic/platform=watchOS
Command line invocation:
    /Applications/Xcode-15.2.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme SwiftGit2 -destination generic/platform=watchOS
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
  SwiftGit2: /Users/admin/builder/spi-builder-workspace
  ZipArchive: https://github.com/ZipArchive/ZipArchive.git @ 2.5.5
  CwlCatchException: https://github.com/mattgallagher/CwlCatchException.git @ 2.1.2
  Nimble: https://github.com/Quick/Nimble.git @ 13.2.1
  libgit2: https://github.com/mbernson/libgit2.git @ spm
  Quick: https://github.com/Quick/Quick.git @ 7.4.0
  CwlPreconditionTesting: https://github.com/mattgallagher/CwlPreconditionTesting.git @ 2.2.0
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (17 targets)
    Target 'SwiftGit2Tests' in project 'SwiftGit2'
        ➜ Explicit dependency on target 'SwiftGit2_SwiftGit2Tests' in project 'SwiftGit2'
        ➜ Explicit dependency on target 'SwiftGit2' in project 'SwiftGit2'
        ➜ Explicit dependency on target 'libgit2' in project 'libgit2'
        ➜ Explicit dependency on target 'Quick' in project 'Quick'
        ➜ Explicit dependency on target 'Nimble' in project 'Nimble'
        ➜ Explicit dependency on target 'ZipArchive' in project 'ZipArchive'
    Target 'ZipArchive' in project 'ZipArchive'
        ➜ Explicit dependency on target 'ZipArchive' in project 'ZipArchive'
        ➜ Explicit dependency on target 'ZipArchive_ZipArchive' in project 'ZipArchive'
    Target 'ZipArchive' in project 'ZipArchive'
        ➜ Explicit dependency on target 'ZipArchive_ZipArchive' in project 'ZipArchive'
    Target 'ZipArchive_ZipArchive' in project 'ZipArchive' (no dependencies)
    Target 'Nimble' in project 'Nimble'
        ➜ Explicit dependency on target 'Nimble' in project 'Nimble'
        ➜ Explicit dependency on target 'NimbleObjectiveC' in project 'Nimble'
        ➜ Explicit dependency on target 'CwlPosixPreconditionTesting' in project 'CwlPreconditionTesting'
    Target 'NimbleObjectiveC' in project 'Nimble'
        ➜ Explicit dependency on target 'Nimble' in project 'Nimble'
        ➜ Explicit dependency on target 'CwlPosixPreconditionTesting' in project 'CwlPreconditionTesting'
    Target 'Nimble' in project 'Nimble'
        ➜ Explicit dependency on target 'CwlPosixPreconditionTesting' in project 'CwlPreconditionTesting'
    Target 'CwlPosixPreconditionTesting' in project 'CwlPreconditionTesting'
        ➜ Explicit dependency on target 'CwlPosixPreconditionTesting' in project 'CwlPreconditionTesting'
    Target 'CwlPosixPreconditionTesting' in project 'CwlPreconditionTesting' (no dependencies)
    Target 'Quick' in project 'Quick'
        ➜ Explicit dependency on target 'Quick' in project 'Quick'
        ➜ Explicit dependency on target 'QuickObjCRuntime' in project 'Quick'
    Target 'Quick' in project 'Quick'
        ➜ Explicit dependency on target 'QuickObjCRuntime' in project 'Quick'
    Target 'QuickObjCRuntime' in project 'Quick' (no dependencies)
    Target 'SwiftGit2_SwiftGit2Tests' in project 'SwiftGit2' (no dependencies)
    Target 'SwiftGit2' in project 'SwiftGit2'
        ➜ Explicit dependency on target 'SwiftGit2' in project 'SwiftGit2'
        ➜ Explicit dependency on target 'libgit2' in project 'libgit2'
    Target 'SwiftGit2' in project 'SwiftGit2'
        ➜ Explicit dependency on target 'libgit2' in project 'libgit2'
    Target 'libgit2' in project 'libgit2'
        ➜ Explicit dependency on target 'libgit2' in project 'libgit2'
    Target 'libgit2' in project 'libgit2' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
Build description signature: a500bca112c390f3c9dc4709f4c5f8eb
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/a500bca112c390f3c9dc4709f4c5f8eb.xcbuilddata
error: The package product 'libgit2' requires minimum platform version 5.0 for the watchOS platform, but this target supports 4.0 (in target 'SwiftGit2' from project 'SwiftGit2')
error: The package product 'ZipArchive' requires minimum platform version 8.4 for the watchOS platform, but this target supports 7.0 (in target 'SwiftGit2Tests' from project 'SwiftGit2')
Resolve Package Graph
** BUILD FAILED **
Command line invocation:
    /Applications/Xcode-15.2.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme SwiftGit2 -destination generic/platform=watchOS
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Resolved source packages:
  CwlPreconditionTesting: https://github.com/mattgallagher/CwlPreconditionTesting.git @ 2.2.0
  SwiftGit2: /Users/admin/builder/spi-builder-workspace
  Nimble: https://github.com/Quick/Nimble.git @ 13.2.1
  CwlCatchException: https://github.com/mattgallagher/CwlCatchException.git @ 2.1.2
  ZipArchive: https://github.com/ZipArchive/ZipArchive.git @ 2.5.5
  libgit2: https://github.com/mbernson/libgit2.git @ spm
  Quick: https://github.com/Quick/Quick.git @ 7.4.0
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (17 targets)
    Target 'SwiftGit2Tests' in project 'SwiftGit2'
        ➜ Explicit dependency on target 'SwiftGit2_SwiftGit2Tests' in project 'SwiftGit2'
        ➜ Explicit dependency on target 'SwiftGit2' in project 'SwiftGit2'
        ➜ Explicit dependency on target 'libgit2' in project 'libgit2'
        ➜ Explicit dependency on target 'Quick' in project 'Quick'
        ➜ Explicit dependency on target 'Nimble' in project 'Nimble'
        ➜ Explicit dependency on target 'ZipArchive' in project 'ZipArchive'
    Target 'ZipArchive' in project 'ZipArchive'
        ➜ Explicit dependency on target 'ZipArchive' in project 'ZipArchive'
        ➜ Explicit dependency on target 'ZipArchive_ZipArchive' in project 'ZipArchive'
    Target 'ZipArchive' in project 'ZipArchive'
        ➜ Explicit dependency on target 'ZipArchive_ZipArchive' in project 'ZipArchive'
    Target 'ZipArchive_ZipArchive' in project 'ZipArchive' (no dependencies)
    Target 'Nimble' in project 'Nimble'
        ➜ Explicit dependency on target 'Nimble' in project 'Nimble'
        ➜ Explicit dependency on target 'NimbleObjectiveC' in project 'Nimble'
        ➜ Explicit dependency on target 'CwlPosixPreconditionTesting' in project 'CwlPreconditionTesting'
    Target 'NimbleObjectiveC' in project 'Nimble'
        ➜ Explicit dependency on target 'Nimble' in project 'Nimble'
        ➜ Explicit dependency on target 'CwlPosixPreconditionTesting' in project 'CwlPreconditionTesting'
    Target 'Nimble' in project 'Nimble'
        ➜ Explicit dependency on target 'CwlPosixPreconditionTesting' in project 'CwlPreconditionTesting'
    Target 'CwlPosixPreconditionTesting' in project 'CwlPreconditionTesting'
        ➜ Explicit dependency on target 'CwlPosixPreconditionTesting' in project 'CwlPreconditionTesting'
    Target 'CwlPosixPreconditionTesting' in project 'CwlPreconditionTesting' (no dependencies)
    Target 'Quick' in project 'Quick'
        ➜ Explicit dependency on target 'Quick' in project 'Quick'
        ➜ Explicit dependency on target 'QuickObjCRuntime' in project 'Quick'
    Target 'Quick' in project 'Quick'
        ➜ Explicit dependency on target 'QuickObjCRuntime' in project 'Quick'
    Target 'QuickObjCRuntime' in project 'Quick' (no dependencies)
    Target 'SwiftGit2_SwiftGit2Tests' in project 'SwiftGit2' (no dependencies)
    Target 'SwiftGit2' in project 'SwiftGit2'
        ➜ Explicit dependency on target 'SwiftGit2' in project 'SwiftGit2'
        ➜ Explicit dependency on target 'libgit2' in project 'libgit2'
    Target 'SwiftGit2' in project 'SwiftGit2'
        ➜ Explicit dependency on target 'libgit2' in project 'libgit2'
    Target 'libgit2' in project 'libgit2'
        ➜ Explicit dependency on target 'libgit2' in project 'libgit2'
    Target 'libgit2' in project 'libgit2' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
Build description signature: a500bca112c390f3c9dc4709f4c5f8eb
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/a500bca112c390f3c9dc4709f4c5f8eb.xcbuilddata
error: The package product 'ZipArchive' requires minimum platform version 8.4 for the watchOS platform, but this target supports 7.0 (in target 'SwiftGit2Tests' from project 'SwiftGit2')
error: The package product 'libgit2' requires minimum platform version 5.0 for the watchOS platform, but this target supports 4.0 (in target 'SwiftGit2' from project 'SwiftGit2')
** BUILD FAILED **
BUILD FAILURE 5.9 watchOS