The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftGit2, reference develop (e810ca), with Swift 6.2 for macOS (SPM) on 21 Jun 2025 22:33:27 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/mbernson/SwiftGit2.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
[1/1] Compiling plugin LintCommandPlugin
[2/2] Compiling plugin LintWarning
[3/3] Compiling plugin LintError
[4/4] Compiling plugin DefocusCommandPlugin
[5/5] Compiling plugin GenerateManual
Building for debugging...
[5/220] Write swift-version-1EA4D86E10B52AF.txt
[6/220] Compiling http.c
[7/220] Compiling api.c
[8/220] Compiling pcre_byte_order.c
[9/220] Compiling pcre_config.c
[9/220] Compiling pcre_string_utils.c
[9/220] Compiling pcre_chartables.c
[12/220] Compiling llhttp.c
[13/220] Compiling pcre_compile.c
[14/220] Compiling zstream.c
[15/220] Compiling auth.c
[16/220] Compiling utf8.c
[17/220] Compiling varint.c
[18/220] Compiling wildmatch.c
[19/220] Compiling realpath.c
[20/220] Compiling vector.c
[21/220] Compiling util.c
[22/220] Compiling map.c
[23/220] Compiling thread.c
[24/220] Compiling tsort.c
[25/220] Compiling process.c
[26/220] Compiling strlist.c
[27/220] Compiling strmap.c
[28/220] Compiling runtime.c
[29/220] Compiling regexp.c
[30/220] Compiling sortedcache.c
[31/220] Compiling rand.c
[32/220] Compiling str.c
[33/220] Compiling pqueue.c
[34/220] Compiling posix.c
[35/220] Compiling ubc_check.c
[36/220] Compiling sha224-256.c
[37/220] Compiling pool.c
[38/220] Compiling mbedtls.c
[39/220] Compiling common_crypto.c
[40/220] Compiling net.c
[41/220] Compiling hash.c
[42/220] Compiling sha1.c
[43/220] Compiling futils.c
[43/220] Compiling errors.c
[45/220] Compiling filebuf.c
[46/220] Compiling date.c
[47/220] Compiling fs_path.c
[48/220] Compiling win32_leakcheck.c
[49/220] Compiling stdalloc.c
[50/220] Compiling failalloc.c
[51/220] Compiling debugalloc.c
[52/220] Compiling alloc.c
[53/220] Compiling winhttp.c
[54/220] Compiling ssh_libssh2.c
[55/220] Compiling tree-cache.c
[56/220] Compiling worktree.c
[57/220] Compiling ssh.c
[58/220] Compiling tree.c
[59/220] Compiling ssh_exec.c
[60/220] Compiling smart_pkt.c
[61/220] Compiling smart.c
[62/220] Compiling smart_protocol.c
[63/220] Compiling httpparser.c
[64/220] Compiling local.c
[65/220] Compiling credential_helpers.c
[66/220] Compiling git.c
[67/220] Compiling http.c
[68/220] Compiling credential.c
[69/220] Compiling httpclient.c
[70/220] Compiling auth_sspi.c
[71/220] Compiling auth_ntlmclient.c
[72/220] Compiling auth_gssapi.c
[73/220] Compiling transport.c
[74/220] Compiling trace.c
[75/220] Compiling trailer.c
[76/220] Compiling transaction.c
[77/220] Compiling tls.c
[78/220] Compiling sysdir.c
[79/220] Compiling socket.c
[80/220] Compiling tag.c
[81/220] Compiling schannel.c
[82/220] Compiling submodule.c
[83/220] Compiling openssl_legacy.c
[83/220] Compiling openssl_dynamic.c
[85/220] Compiling registry.c
[86/220] Compiling openssl.c
[87/220] Compiling mbedtls.c
[88/220] Compiling strarray.c
[89/220] Compiling stransport.c
[90/220] Compiling status.c
[91/220] Compiling stash.c
[92/220] Compiling signature.c
[93/220] Compiling settings.c
[94/220] Compiling reset.c
[95/220] Compiling revert.c
[95/220] Compiling revwalk.c
[97/220] Compiling revparse.c
[98/220] Compiling refspec.c
[99/220] Compiling reflog.c
[100/220] Compiling remote.c
[101/220] Compiling repository.c
[102/220] Compiling refs.c
[103/220] Compiling refdb.c
[103/220] Compiling reader.c
[105/220] Compiling proxy.c
[106/220] Compiling push.c
[107/220] Compiling rebase.c
[108/220] Compiling refdb_fs.c
[109/220] Compiling path.c
[110/220] Compiling pathspec.c
[111/220] Compiling parse.c
[112/220] Compiling patch_parse.c
[113/220] Compiling patch_generate.c
[114/220] Compiling patch.c
[115/220] Compiling oidarray.c
[116/220] Compiling oidmap.c
[117/220] Compiling pack.c
[118/220] Compiling pack-objects.c
[119/220] Compiling oid.c
[120/220] Compiling offmap.c
[121/220] Compiling odb_mempack.c
[122/220] Compiling odb_pack.c
[123/220] Compiling odb_loose.c
[124/220] Compiling object_api.c
[125/220] Compiling object.c
[126/220] Compiling odb.c
[127/220] Compiling mwindow.c
[128/220] Compiling notes.c
[129/220] Compiling message.c
[130/220] Compiling midx.c
[131/220] Compiling merge_file.c
[132/220] Compiling merge_driver.c
[133/220] Compiling libgit2.c
[134/220] Compiling mailmap.c
[135/220] Compiling ignore.c
[136/220] Compiling indexer.c
[137/220] Compiling iterator.c
[138/220] Compiling idxmap.c
[139/220] Compiling merge.c
[140/220] Compiling ident.c
[141/220] Compiling hashsig.c
[142/220] Compiling index.c
[143/220] Compiling grafts.c
[144/220] Compiling graph.c
[145/220] Compiling fetchhead.c
[146/220] Compiling diff_xdiff.c
[147/220] Compiling fetch.c
[148/220] Compiling email.c
[149/220] Compiling diff_stats.c
[149/220] Compiling filter.c
[151/220] Compiling diff_tform.c
[152/220] Compiling diff_parse.c
[153/220] Compiling diff_print.c
[154/220] Compiling diff_generate.c
[155/220] Compiling diff_file.c
[156/220] Compiling crlf.c
[157/220] Compiling diff.c
[158/220] Compiling delta.c
[159/220] Compiling diff_driver.c
[160/220] Compiling describe.c
[161/220] Compiling config_snapshot.c
[162/220] Compiling config_parse.c
[163/220] Compiling config_mem.c
[164/220] Compiling config_list.c
[165/220] Compiling config_cache.c
[166/220] Compiling config_file.c
[167/220] Compiling commit_list.c
[168/220] Compiling clone.c
[169/220] Compiling cherrypick.c
[170/220] Compiling commit.c
[171/220] Compiling commit_graph.c
[172/220] Compiling config.c
[173/220] Compiling cache.c
[174/220] Compiling buf.c
[175/220] Compiling checkout.c
[176/220] Compiling blob.c
[177/220] Compiling branch.c
[178/220] Compiling blame_git.c
[179/220] Compiling blame.c
[180/220] Compiling attrcache.c
[181/220] Compiling attr.c
[182/220] Compiling attr_file.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.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/include/stdio.h:61:
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/include/_stdio.h:318:7: error: expected identifier or '('
  318 | 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.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/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.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/include/stdio.h:61:
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/include/_stdio.h:318: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.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:16: note: expanded from macro 'NULL'
   26 | #define NULL ((void*)0)
      |                ^
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/include/_stdio.h:318: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.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/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.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/include/stdio.h:61:
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/include/_stdio.h:318:7: error: expected ')'
  318 | 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.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:22: note: expanded from macro 'NULL'
   26 | #define NULL ((void*)0)
      |                      ^
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/include/_stdio.h:318: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.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:14: note: expanded from macro 'NULL'
   26 | #define NULL ((void*)0)
      |              ^
3 errors generated.
[183/220] Compiling zutil.c
[183/220] Compiling crc32.c
[183/220] Compiling infback.c
[183/220] Compiling inftrees.c
[183/220] Compiling inffast.c
[183/220] Compiling inflate.c
[183/220] Compiling annotated_commit.c
[183/220] Compiling apply.c
[183/220] Compiling deflate.c
[183/220] Compiling trees.c
Fetching https://github.com/mbernson/libgit2.git
[1/127016] Fetching libgit2
Fetched https://github.com/mbernson/libgit2.git from cache (4.24s)
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/ZipArchive/ZipArchive.git
[1/5482] Fetching ziparchive
[56/20241] Fetching ziparchive, quick
[3257/39825] Fetching ziparchive, quick, nimble
Fetched https://github.com/ZipArchive/ZipArchive.git from cache (1.88s)
Fetched https://github.com/Quick/Quick.git from cache (1.88s)
Fetched https://github.com/Quick/Nimble.git from cache (1.88s)
Computing version for https://github.com/ZipArchive/ZipArchive.git
Computed https://github.com/ZipArchive/ZipArchive.git at 2.6.0 (2.34s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 7.6.2 (0.44s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/5959] Fetching swift-algorithms
[240/21339] Fetching swift-algorithms, swift-argument-parser
Fetched https://github.com/apple/swift-algorithms.git from cache (2.70s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.70s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (5.05s)
Fetching https://github.com/apple/swift-numerics.git
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (1.14s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (1.58s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.50s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 13.7.1 (0.43s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.75s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (1.33s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.69s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (1.25s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.1
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/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 13.7.1
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 7.6.2
Creating working copy for https://github.com/ZipArchive/ZipArchive.git
Working copy of https://github.com/ZipArchive/ZipArchive.git resolved at 2.6.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
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.2 macosSpm