The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftGit2, reference develop (e810ca), with Swift 6.3 for macOS (SPM) on 14 Apr 2026 22:09:42 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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
Fetching https://github.com/mbernson/libgit2.git
[1/127016] Fetching libgit2
Fetched https://github.com/mbernson/libgit2.git from cache (7.61s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetching https://github.com/mattgallagher/CwlCatchException.git
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/ZipArchive/ZipArchive.git
[1/460] Fetching cwlcatchexception
[190/1717] Fetching cwlcatchexception, cwlpreconditiontesting
[801/7267] Fetching cwlcatchexception, cwlpreconditiontesting, ziparchive
[802/22169] Fetching cwlcatchexception, cwlpreconditiontesting, ziparchive, quick
[4804/41992] Fetching cwlcatchexception, cwlpreconditiontesting, ziparchive, quick, nimble
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (2.35s)
Fetched https://github.com/Quick/Nimble.git from cache (2.35s)
Fetched https://github.com/ZipArchive/ZipArchive.git from cache (2.35s)
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (2.35s)
Fetched https://github.com/Quick/Quick.git from cache (2.35s)
Computing version for https://github.com/ZipArchive/ZipArchive.git
Computed https://github.com/ZipArchive/ZipArchive.git at 2.5.5 (5.20s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 13.2.1 (0.60s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 7.4.0 (0.58s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.0 (0.67s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.1.2 (0.71s)
Creating working copy for https://github.com/mbernson/libgit2.git
Working copy of https://github.com/mbernson/libgit2.git resolved at spm (dcfcda4)
Creating working copy for https://github.com/ZipArchive/ZipArchive.git
Working copy of https://github.com/ZipArchive/ZipArchive.git resolved at 2.5.5
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 13.2.1
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.0
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.1.2
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 7.4.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "swiftgit2",
      "name": "SwiftGit2",
      "url": "https://github.com/mbernson/SwiftGit2.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftGit2",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "libgit2",
          "name": "libgit2",
          "url": "https://github.com/mbernson/libgit2.git",
          "version": "unspecified",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/libgit2",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/mbernson/SwiftGit2.git
[1/2875] Fetching swiftgit2
Fetched https://github.com/mbernson/SwiftGit2.git from cache (1.06s)
Fetching https://github.com/mbernson/libgit2.git from cache
Fetched https://github.com/mbernson/libgit2.git from cache (0.49s)
Creating working copy for https://github.com/mbernson/libgit2.git
Working copy of https://github.com/mbernson/libgit2.git resolved at spm (160ab4b)
Creating working copy for https://github.com/mbernson/SwiftGit2.git
Working copy of https://github.com/mbernson/SwiftGit2.git resolved at develop (e810ca5)
warning: '.resolve-product-dependencies': dependency 'swiftgit2' is not used by any target
Found 1 product dependencies
  - libgit2
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/mbernson/SwiftGit2.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/210] Write swift-version--6988338F2F200930.txt
[1/210] Compiling pcre_byte_order.c
[2/210] Compiling pcre_get.c
[2/210] Compiling pcre_chartables.c
[4/210] Compiling pcre_config.c
[5/210] Compiling http_parser.c
[6/210] Compiling wildmatch.c
[7/210] Compiling varint.c
[7/210] Compiling util.c
[9/210] Compiling zstream.c
[10/210] Compiling vector.c
[11/210] Compiling utf8.c
[12/210] Compiling realpath.c
[13/210] Compiling map.c
[14/210] Compiling tsort.c
[15/210] Compiling thread.c
[16/210] Compiling strlist.c
[17/210] Compiling strmap.c
[18/210] Compiling process.c
[19/210] Compiling str.c
[20/210] Compiling sortedcache.c
[21/210] Compiling runtime.c
[22/210] Compiling rand.c
[23/210] Compiling regexp.c
[24/210] Compiling pqueue.c
[25/210] Compiling ubc_check.c
[26/210] Compiling posix.c
[27/210] Compiling sha224-256.c
[28/210] Compiling pool.c
[29/210] Compiling net.c
[30/210] Compiling mbedtls.c
[31/210] Compiling sha1.c
[32/210] Compiling common_crypto.c
[33/210] Compiling hash.c
[34/210] Compiling futils.c
[35/210] Compiling filebuf.c
[36/210] Compiling date.c
[37/210] Compiling win32_leakcheck.c
[38/210] Compiling fs_path.c
[39/210] Compiling errors.c
[40/210] Compiling stdalloc.c
[41/210] Compiling failalloc.c
[42/210] Compiling alloc.c
[43/210] Compiling worktree.c
[44/210] Compiling winhttp.c
[45/210] Compiling ssh_libssh2.c
[46/210] Compiling tree-cache.c
[47/210] Compiling ssh.c
[48/210] Compiling ssh_exec.c
[49/210] Compiling tree.c
[50/210] Compiling smart_pkt.c
[51/210] Compiling smart_protocol.c
[52/210] Compiling smart.c
[53/210] Compiling local.c
[54/210] Compiling credential_helpers.c
[55/210] Compiling git.c
[56/210] Compiling httpclient.c
[57/210] Compiling auth_sspi.c
[58/210] Compiling http.c
[59/210] Compiling credential.c
[60/210] Compiling auth_ntlmclient.c
[61/210] Compiling auth.c
[62/210] Compiling auth_gssapi.c
[63/210] Compiling transport.c
[64/210] Compiling trailer.c
[65/210] Compiling trace.c
[66/210] Compiling transaction.c
[67/210] Compiling tls.c
[68/210] Compiling sysdir.c
[69/210] Compiling tag.c
[70/210] Compiling socket.c
[71/210] Compiling schannel.c
[72/210] Compiling submodule.c
[73/210] Compiling openssl_legacy.c
[74/210] Compiling registry.c
[75/210] Compiling openssl_dynamic.c
[76/210] Compiling openssl.c
[77/210] Compiling mbedtls.c
[78/210] Compiling strarray.c
[79/210] Compiling stransport.c
[80/210] Compiling status.c
[81/210] Compiling signature.c
[82/210] Compiling stash.c
[83/210] Compiling revwalk.c
[84/210] Compiling revparse.c
[85/210] Compiling reset.c
[86/210] Compiling revert.c
[87/210] Compiling refspec.c
[88/210] Compiling remote.c
[89/210] Compiling reflog.c
[90/210] Compiling refs.c
[91/210] Compiling repository.c
[92/210] Compiling refdb.c
[93/210] Compiling refdb_fs.c
[94/210] Compiling reader.c
[95/210] Compiling proxy.c
[96/210] Compiling push.c
[97/210] Compiling rebase.c
[98/210] Compiling path.c
[99/210] Compiling pathspec.c
[100/210] Compiling patch_parse.c
[101/210] Compiling patch_generate.c
[102/210] Compiling parse.c
[103/210] Compiling patch.c
[104/210] Compiling oidarray.c
[105/210] Compiling oidmap.c
[106/210] Compiling pack.c
[107/210] Compiling pack-objects.c
[108/210] Compiling oid.c
[109/210] Compiling offmap.c
[110/210] Compiling odb_mempack.c
[111/210] Compiling odb_pack.c
[112/210] Compiling odb_loose.c
[113/210] Compiling object_api.c
[114/210] Compiling object.c
[115/210] Compiling mwindow.c
[116/210] Compiling odb.c
[117/210] Compiling notes.c
[118/210] Compiling message.c
[119/210] Compiling midx.c
[120/210] Compiling merge_driver.c
[121/210] Compiling merge_file.c
[122/210] Compiling mailmap.c
[123/210] Compiling libgit2.c
[124/210] Compiling ignore.c
[125/210] Compiling indexer.c
[126/210] Compiling idxmap.c
[126/210] Compiling iterator.c
[128/210] Compiling merge.c
[129/210] Compiling ident.c
[130/210] Compiling hashsig.c
[131/210] Compiling index.c
[132/210] Compiling graph.c
[133/210] Compiling grafts.c
[134/210] Compiling fetchhead.c
[135/210] Compiling filter.c
[136/210] Compiling email.c
[137/210] Compiling diff_xdiff.c
[138/210] Compiling fetch.c
[139/210] Compiling diff_stats.c
[140/210] Compiling diff_tform.c
[141/210] Compiling diff_print.c
[142/210] Compiling diff_parse.c
[143/210] Compiling diff_generate.c
[144/210] Compiling diff_file.c
[145/210] Compiling diff_driver.c
[146/210] Compiling diff.c
[147/210] Compiling delta.c
[148/210] Compiling describe.c
[149/210] Compiling crlf.c
[150/210] Compiling config_snapshot.c
[151/210] Compiling config_parse.c
[152/210] Compiling config_mem.c
[153/210] Compiling config_list.c
[154/210] Compiling config_file.c
[155/210] Compiling commit_list.c
[156/210] Compiling config_cache.c
[157/210] Compiling config.c
[158/210] Compiling commit.c
[159/210] Compiling commit_graph.c
[160/210] Compiling cherrypick.c
[161/210] Compiling clone.c
[162/210] Compiling cache.c
[163/210] Compiling checkout.c
[164/210] Compiling buf.c
[165/210] Compiling blob.c
[166/210] Compiling branch.c
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/libgit2/deps/zlib/zutil.c:10:
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/libgit2/deps/zlib/gzguts.h:20:
In file included from /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/stdio.h:61:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/_stdio.h:322:7: error: expected identifier or '('
  322 | FILE    *fdopen(int, const char *) __DARWIN_ALIAS_STARTING(__MAC_10_6, __IPHONE_2_0, __DARWIN_ALIAS(fdopen));
      |          ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/libgit2/deps/zlib/zutil.h:147:33: note: expanded from macro 'fdopen'
  147 | #        define fdopen(fd,mode) NULL /* No fdopen() */
      |                                 ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/__stddef_null.h:26:16: note: expanded from macro 'NULL'
   26 | #define NULL ((void*)0)
      |                ^
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/libgit2/deps/zlib/zutil.c:10:
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/libgit2/deps/zlib/gzguts.h:20:
In file included from /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/stdio.h:61:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/_stdio.h:322:7: error: expected ')'
/Users/admin/builder/spi-builder-workspace/.build/checkouts/libgit2/deps/zlib/zutil.h:147:33: note: expanded from macro 'fdopen'
  147 | #        define fdopen(fd,mode) NULL /* No fdopen() */
      |                                 ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/__stddef_null.h:26:16: note: expanded from macro 'NULL'
   26 | #define NULL ((void*)0)
      |                ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/_stdio.h:322:7: note: to match this '('
/Users/admin/builder/spi-builder-workspace/.build/checkouts/libgit2/deps/zlib/zutil.h:147:33: note: expanded from macro 'fdopen'
  147 | #        define fdopen(fd,mode) NULL /* No fdopen() */
      |                                 ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/__stddef_null.h:26:15: note: expanded from macro 'NULL'
   26 | #define NULL ((void*)0)
      |               ^
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/libgit2/deps/zlib/zutil.c:10:
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/libgit2/deps/zlib/gzguts.h:20:
In file included from /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/stdio.h:61:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/_stdio.h:322:7: error: expected ')'
  322 | FILE    *fdopen(int, const char *) __DARWIN_ALIAS_STARTING(__MAC_10_6, __IPHONE_2_0, __DARWIN_ALIAS(fdopen));
      |          ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/libgit2/deps/zlib/zutil.h:147:33: note: expanded from macro 'fdopen'
  147 | #        define fdopen(fd,mode) NULL /* No fdopen() */
      |                                 ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/__stddef_null.h:26:22: note: expanded from macro 'NULL'
   26 | #define NULL ((void*)0)
      |                      ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/_stdio.h:322:7: note: to match this '('
/Users/admin/builder/spi-builder-workspace/.build/checkouts/libgit2/deps/zlib/zutil.h:147:33: note: expanded from macro 'fdopen'
  147 | #        define fdopen(fd,mode) NULL /* No fdopen() */
      |                                 ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/__stddef_null.h:26:14: note: expanded from macro 'NULL'
   26 | #define NULL ((void*)0)
      |              ^
3 errors generated.
[167/210] Compiling zutil.c
[167/210] Compiling annotated_commit.c
[167/210] Compiling blame_git.c
[167/210] Compiling attr.c
[167/210] Compiling inftrees.c
[167/210] Compiling attrcache.c
[167/210] Compiling attr_file.c
[167/210] Compiling apply.c
[167/210] Compiling trees.c
[167/210] Compiling blame.c
warning: 'nimble': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/PrivacyInfo.xcprivacy
warning: 'quick': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/Quick/Sources/Quick/PrivacyInfo.xcprivacy
BUILD FAILURE 6.3 macosSpm