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.10 for watchOS using Xcode 15.4 on 10 Aug 2024 07:32:01 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.4.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.10
Building package at path:  $PWD
https://github.com/mbernson/SwiftGit2.git
Command line invocation:
    /Applications/Xcode-15.4.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/Quick/Nimble.git
Fetching from https://github.com/Quick/Quick.git
Fetching from https://github.com/mattgallagher/CwlCatchException.git
Fetching from https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetching from https://github.com/ZipArchive/ZipArchive.git
Creating working copy of package ‘Nimble’
Checking out 13.2.1 of package ‘Nimble’
Creating working copy of package ‘CwlPreconditionTesting’
Checking out 2.2.0 of package ‘CwlPreconditionTesting’
Creating working copy of package ‘ZipArchive’
Checking out 2.5.5 of package ‘ZipArchive’
Creating working copy of package ‘libgit2’
Checking out spm (dcfcda4) of package ‘libgit2’
Creating working copy of package ‘Quick’
Checking out 7.4.0 of package ‘Quick’
Creating working copy of package ‘CwlCatchException’
Checking out 2.1.2 of package ‘CwlCatchException’
Resolved source packages:
  CwlPreconditionTesting: https://github.com/mattgallagher/CwlPreconditionTesting.git @ 2.2.0
  Quick: https://github.com/Quick/Quick.git @ 7.4.0
  CwlCatchException: https://github.com/mattgallagher/CwlCatchException.git @ 2.1.2
  ZipArchive: https://github.com/ZipArchive/ZipArchive.git @ 2.5.5
  Nimble: https://github.com/Quick/Nimble.git @ 13.2.1
  libgit2: https://github.com/mbernson/libgit2.git @ spm (dcfcda4)
  SwiftGit2: /Users/admin/builder/spi-builder-workspace
resolved source packages: CwlPreconditionTesting, Quick, CwlCatchException, ZipArchive, Nimble, libgit2, SwiftGit2
{
  "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.4.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.4.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:
  SwiftGit2: /Users/admin/builder/spi-builder-workspace
  ZipArchive: https://github.com/ZipArchive/ZipArchive.git @ 2.5.5
  Nimble: https://github.com/Quick/Nimble.git @ 13.2.1
  Quick: https://github.com/Quick/Quick.git @ 7.4.0
  CwlPreconditionTesting: https://github.com/mattgallagher/CwlPreconditionTesting.git @ 2.2.0
  libgit2: https://github.com/mbernson/libgit2.git @ spm (dcfcda4)
  CwlCatchException: https://github.com/mattgallagher/CwlCatchException.git @ 2.1.2
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (4 targets)
    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
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -v
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch armv7k -isysroot /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64_32 -isysroot /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk -x c -c /dev/null
Build description signature: d697f776459344ef708b73d8fe4ebabb
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/d697f776459344ef708b73d8fe4ebabb.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')
** BUILD FAILED **
Command line invocation:
    /Applications/Xcode-15.4.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:
  Nimble: https://github.com/Quick/Nimble.git @ 13.2.1
  SwiftGit2: /Users/admin/builder/spi-builder-workspace
  CwlCatchException: https://github.com/mattgallagher/CwlCatchException.git @ 2.1.2
  CwlPreconditionTesting: https://github.com/mattgallagher/CwlPreconditionTesting.git @ 2.2.0
  libgit2: https://github.com/mbernson/libgit2.git @ spm (dcfcda4)
  ZipArchive: https://github.com/ZipArchive/ZipArchive.git @ 2.5.5
  Quick: https://github.com/Quick/Quick.git @ 7.4.0
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (4 targets)
    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
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -v
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch armv7k -isysroot /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64_32 -isysroot /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk -x c -c /dev/null
Build description signature: d697f776459344ef708b73d8fe4ebabb
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/d697f776459344ef708b73d8fe4ebabb.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')
** BUILD FAILED **
BUILD FAILURE 5.10 watchOS